Thinkpad Lenovo P40 Yoga not turning off after shutdown https://askubuntu.com/questions/1565471/thinkpad-lenovo-p40-yoga-not-turning-off-after-shutdown

I have my computer with the following settings:

UEFI

Sleep set to S2Idle (if it's on "deep" it never wakes up from sleep)

It sleeps fine, but it shuts down incompletely: the screen is off, yet they keyboard still operates and the power indicator is still on. What went wrong?

I'll have to stop using ubuntu if this isn't fixed soon. There's no way forced shutdowns every day is good for the computer.

AlienFX Tools on Alienware 15r2 https://askubuntu.com/questions/1565470/alienfx-tools-on-alienware-15r2

I installed Ubuntu 25.10 on an Alienware 15 r2, and i want to download the alienfx to have control over my keyboard lights, but i do not know where i can download it and install it.

Help, please!

Thank you.

Backup (duplicity) fails https://askubuntu.com/questions/1565469/backup-duplicity-fails

Scan fails with
"Failed to read duplicity-new-signatures.20260313T002340Z.to.20260319T124720Z.sigtar.gz: Compressed file ended before the end-of-stream marker was reached"

Question about automatic updates in App Center/apt in Ubuntu [duplicate] https://askubuntu.com/questions/1565467/question-about-automatic-updates-in-app-center-apt-in-ubuntu

I'm wondering if there's a way to disable automatic updates for applications in Ubuntu that were downloaded via snap/App Center. I use CLion to code my C++ projects, and it will sometimes update in the middle of me coding, which causes massive stuttering until it closes and I get a App Center notification that CLion finished updating. Does apt have this issue? There are several apps I've downloaded via apt in the terminal, and I don't believe I notice them doing this as well.

Also if for instance the answer turns out that apt doesn't do the automatic background updates like CLion does, how can I transition from CLion in App Center, to CLion in apt, without losing my settings (ideally without having to back up my settings to JetBrains)?

Network interfaces dissapear in 24.04 https://askubuntu.com/questions/1565466/network-interfaces-dissapear-in-24-04

After a normal restart, the network controls (and the network itself) in the graphical interface are no longer there.

It is an Asus A14 with double operating system laptop computer. In the Windows enviroment all is working as usual.

I don't know the appropiate commands to diagnose the problem.

Any advise?

The exit from the command line

$ nmcli 
lo: connected (externally) to lo
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
        inet4 127.0.0.1/8
        inet6 ::1/128

$ ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

Thanks in advance

Remote Network access [closed] https://askubuntu.com/questions/1565465/remote-network-access

I now have two Ubuntu 24.04 boxes that I can not access remotly, update works I have been using wired network but when I switch to wifi it fails. The other wired box works on the 192.168.1.0 but not on 10.0.0.0 network. Neither has a firewall running iptables-save shows nothing

Carl

Color Glitch In Chrome https://askubuntu.com/questions/1565462/color-glitch-in-chrome

Ever since I installed Chrome on Ubuntu, its color scheme has been messed up, like colors are off in places, which sometimes makes it really difficult to see. I've tried changing the theme and stuff like that; nothing worked. I also tried stuff with flags with the guidance of GPT, but that didn't work as well. I've added this image; that's just one example.

enter image description here

How to install xrdp with support for H.264 advanced video coding on Ubuntu 24.04 https://askubuntu.com/questions/1565460/how-to-install-xrdp-with-support-for-h-264-advanced-video-coding-on-ubuntu-24-04

Installations of xrdp on Ubuntu 24.04 and earlier have often had very slow response to the point of not really being usable. The use case is the default viewer on a Win 11 mstsc.exe is used to view the Gnome ubuntu-xorg desktop of a remote Linux desktop. I have used the c-nergy installation script 1.5.6.1 for xRDP (https://c-nergy.be/blog/?p=20352), but it fails when trying to install support for H.264.
How then can I implement support for sound and H.264 advanced video coding for xRDP on Ubuntu 24.04.4?

Ubuntu-Mate 24.04, help for understanding : No 26.04 LTS version will be released https://askubuntu.com/questions/1565457/ubuntu-mate-24-04-help-for-understanding-no-26-04-lts-version-will-be-release

My way to get Ubuntu-Mate 24.04. I have a Dual boot system. With the Ubuntu-Mate 24.04 Distro it was not possible to replace a former used Ubuntu Version by Ubuntu-Mate (I did denied expert modus). Therefore I did use the 22.04 Mate-Distro, to replace my former Ubuntu. After installation, I did update my system with the latest 22.04 packets. And via :

sudo do-release-upgrade

I got Ubuntu-Mate 24.04 ?!

I still have the Ubuntu-Mate desktop, but cat shows me something else :

cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.4 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

The Mate-LTS ends with 27.04.

I expect with :

sudo do-release-upgrade

I will get a LTS-26.04.

My favourite, to stay with the Mate Desktop, which problems could I have after 27.04 in respect to security updates ?

How can I boot only 1 gig of RAM? https://askubuntu.com/questions/1565454/how-can-i-boot-only-1-gig-of-ram

I'm trying to run a program from 2001 and they've used (according to some forum) an integer to express the amount of available RAM for the installer. An error message saying "not enough memory" interrupts as soon as you start.

I have a 2 gig module but I don't want to reconfigure physically if I can just change boot settings. Maybe there's a way to limit it at runtime even.

How to run the snap version of Visual Studio Code on Wayland? https://askubuntu.com/questions/1565453/how-to-run-the-snap-version-of-visual-studio-code-on-wayland

The snap version of VSCode looks extremely blurry as shown in this screenshot.

screenshot
Click image to enlarge it.

I'm using a Wayland session with fractional scaling at 150% on Ubuntu 24.04.4 LTS.

I've tried to use the ozone-platform-hint command line option to see if it was any use, but it threw the following output along with VSCode opening with the blurriness still there:

$ code --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations
Warning: 'ozone-platform-hint' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.

Visual Studio Code version:

$ code --version
1.114.0
e7fb5e96c0730b9deb70b33781f98e2f35975036
x64

Snap version:

$ snap --version
snap          2.74.1
snapd         2.74.1
series        16
ubuntu        24.04
kernel        6.17.0-20-generic
architecture  amd64

VSCode is using XWayland in the snap version. It works fine in the official .deb file. Is there any way to run it on Wayland?

How to make a C++ program output audio in somewhat realtime with libao in Ubuntu? [closed] https://askubuntu.com/questions/1565451/how-to-make-a-c-program-output-audio-in-somewhat-realtime-with-libao-in-ubuntu

OK - so I'm an extremely experienced programmer mostly on the graphics side. I've been using Linux since it was called "UNIX" but getting a simple sound buffer to play to my speakers is driving me crazy.

  • Hey - just write the data to /dev/audio! (This was good - but is obsolete.)
  • Hey - just install ALSA and it'll be easy (This might have been good - but doesn't work for me.
  • Hey - you should be using PulseAudio (Still doesn't work).

I use an nVidia graphics card - and other software has no problem producing stereo through the speakers on my HP monitors. I have two computers - one rather old which is stuck on an older Ubuntu release:

  • Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-139-generic x86_64)

And another running a recent version

  • Ubuntu 25.10 (GNU/Linux 6.17.0-19-generic x86_64)

I've been reading mountains of awesome posts on the subject and NONE of them work.

I can generate audio by piping my buffer through SOX or aplay - so I know I have the right bit rates, sample size, buffer length, stereo interleave, etc.

But I want C++ code that does it with minimal intervention.

I'm currently trying to get 'libAO' to work - and although I've copy-pasted many code snippets - they all fail when I get to "device = ao_open_live ( driver, &format, NULL ) ;" - when I get an AO_EOPENDEVICE error - which seems to be a problem that it can't open /dev/dsp - which is reasonable because it doesn't exist.

My "apt install yaddayadda" efforts have not produced said device.

void sndImage::PlayLibAO () const
{
  int               driver ;
  ao_device        *device ;
  ao_sample_format  format ;
  char *matrix = strdup ( "L,R" ) ;
  int bufferSize = GetNumFragments() * 2 ;

  // Initialize libao

           ao_initialize () ;
  driver = ao_default_driver_id () ;
  memset ( &format, 0, sizeof(format) ) ;

  format.bits        = GetBitDepth         () ;
  format.channels    = 2 ;
  format.rate        = GetSamplesPerSecond () ;
  format.byte_format = AO_FMT_NATIVE ;
//format.matrix      = matrix ;

  errno = 0 ; // Just to be sure!

  device = ao_open_live ( driver, &format, NULL ) ;

  if ( device == 0 )     // YES IT IS!!
  {
    const char *message = NULL ;

    switch ( errno )
    {
      case AO_ENODRIVER   : message = "AO: No driver corresponds to driver_id." ; break ;
      case AO_ENOTLIVE    : message = "AO: This driver is not a live output device." ; break ;
      case AO_EBADOPTION  : message = "AO: A valid option key has an invalid value." ; break ;
      case AO_EOPENDEVICE : message = "AO: Cannot open the device "
                                      " (eg: /dev/dsp can't be opened for writing)." ; break ;
      case AO_EFAIL       : message = "AO: Unspecified cause of failure." ; break ;
      default             : message = "Unknown AO error." ; break ;
    }

    fprintf ( stderr, "ERROR: ALSA Audio device open failed : %s\n", message ) ;
    ao_shutdown () ;
    assert ( false ) ;
  }

So AO_EOPENDEVICE...because no /dev/dsp...maybe.

This is quietly driving me insane!

Ydotool installation failure? https://askubuntu.com/questions/1565449/ydotool-installation-failure

I attempted to following the answer in How can I install and use the latest ydotool (keyboard automation tool working on Wayland) in Ubuntu 22.04?

But got the error message :

ydotool: notice: ydotoold backend unavailable (may have latency+delay issues)

How do I solve this?

Fix modprobe: ERROR: could not insert 'module_name', separate vermagic SMP and flags between modinfo on module and current linux kernel version https://askubuntu.com/questions/1565426/fix-modprobe-error-could-not-insert-module-name-separate-vermagic-smp-and-f

I am trying to run modprobe on a kernel module, specifically 'nft_fib' and 'nft_fib_ipv4'. When I try to run the 'sudo modprobe nft_fib' command, I receive:

 modprobe: ERROR: could not insert 'nft_fib': Exec format error    

I recently upgraded from Ubuntu 24.04 LTS to 25.10, upon examination:

Results of me@compuper:\~$ find /lib/modules/$(uname -r) -type f -name 'nft_fib\*

/lib/modules/6.17.0-20-generic/kernel/net/netfilter/nft_fib.ko.zst
/lib/modules/6.17.0-20-generic/kernel/net/netfilter/nft_fib_netdev.ko.zst
/lib/modules/6.17.0-20-generic/kernel/net/netfilter/nft_fib_inet.ko.zst
/lib/modules/6.17.0-20-generic/kernel/net/ipv6/netfilter/nft_fib_ipv6.ko.zst
/lib/modules/6.17.0-20-generic/kernel/net/ipv4/netfilter/nft_fib_ipv4.ko.zst  

Results of `me@compuper:\~$ modinfo /lib/modules/6.17.0-20-generic/kernel/net/netfilter/nft_fib.ko.zst | grep vermagic` :
vermagic:       6.17.0-20-generic SMP preempt mod_unload modversions 

... vs. ...

Results of me@compuper:\~$ uname -r:

6.17.0-20-generic

I discovered I have different kernel version between my system's kernel and the vermagic kernel version on the module. I think these different flags are what are giving my error while trying to run modprobe on my kernel module. If anyone thinks otherwise, please let me know.

I want to have the vermagic version exactly match the kernel I get on my machine by typing uname -r. I have tried: sudo apt-get reinstall linux-headers-$(uname -r) and the vermagic versions on the modules did not change.

Afterwards, I tried moving the modules to another directory so their path could be broken, I thought then the correct modules would be installed if I tried re-installing again. Subsequent apt installs and apt reinstalls do not install these kernel module headers.

How can I make these kernel module header files exactly match the kernel version of my machine? (what I get from typing uname -r)?

~ EDIT

~ here is the output of dpkg-query --no-page -l linux-* : (notes, the nft-tables modules I mentioned earlier are still in another directory when I ran this command, but their location didn't seem relevant to the command so I didn't bother putting them back in place.) ~

me@compuper:~$ dpkg-query --no-pager -l linux-\* 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version                         Architecture Description
+++-======================================-===============================-============-===============================================================
ii  linux-base                             4.14ubuntu2                     all          Linux image base package
un  linux-cpupower                         <none>                          <none>       (no description available)
ii  linux-firmware                         20250901.git993ff19b-0ubuntu1.9 all          Firmware for Linux kernel drivers
un  linux-firmware-raspi2                  <none>                          <none>       (no description available)
un  linux-firmware-snapdragon              <none>                          <none>       (no description available)
ii  linux-generic                          6.17.0-20.20                    amd64        Complete Generic Linux kernel and headers
ii  linux-generic-hwe-24.04                6.17.0-20.20                    amd64        Complete Generic Linux kernel and headers
un  linux-headers                          <none>                          <none>       (no description available)
un  linux-headers-3.0                      <none>                          <none>       (no description available)
un  linux-headers-6.11.0-17-generic        <none>                          <none>       (no description available)
un  linux-headers-6.11.0-29-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-24-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-27-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-28-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-29-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-32-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-33-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-34-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-35-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-36-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-37-generic        <none>                          <none>       (no description available)
un  linux-headers-6.17.0-14-generic        <none>                          <none>       (no description available)
ii  linux-headers-6.17.0-19                6.17.0-19.19                    all          Header files related to Linux kernel version 6.17.0
ii  linux-headers-6.17.0-19-generic        6.17.0-19.19                    amd64        Linux kernel headers for version 6.17.0
ii  linux-headers-6.17.0-20                6.17.0-20.20                    all          Header files related to Linux kernel version 6.17.0
ii  linux-headers-6.17.0-20-generic        6.17.0-20.20                    amd64        Linux kernel headers for version 6.17.0
ii  linux-headers-generic                  6.17.0-20.20                    amd64        Generic Linux kernel headers
ii  linux-headers-generic-hwe-24.04        6.17.0-20.20                    amd64        Generic Linux kernel headers
un  linux-hwe-6.11-tools                   <none>                          <none>       (no description available)
un  linux-hwe-6.14-tools                   <none>                          <none>       (no description available)
un  linux-hwe-6.17-tools                   <none>                          <none>       (no description available)
un  linux-image                            <none>                          <none>       (no description available)
rc  linux-image-6.11.0-17-generic          6.11.0-17.17~24.04.2            amd64        Signed kernel image generic
rc  linux-image-6.11.0-29-generic          6.11.0-29.29~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-24-generic          6.14.0-24.24~24.04.3            amd64        Signed kernel image generic
rc  linux-image-6.14.0-27-generic          6.14.0-27.27~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-28-generic          6.14.0-28.28~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-29-generic          6.14.0-29.29~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-32-generic          6.14.0-32.32~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-33-generic          6.14.0-33.33~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-34-generic          6.14.0-34.34~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-35-generic          6.14.0-35.35~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-36-generic          6.14.0-36.36~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-37-generic          6.14.0-37.37~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.17.0-14-generic          6.17.0-14.14~24.04.1            amd64        Signed kernel image generic
ii  linux-image-6.17.0-19-generic          6.17.0-19.19                    amd64        Signed kernel image generic
ii  linux-image-6.17.0-20-generic          6.17.0-20.20                    amd64        Signed kernel image generic
un  linux-image-fb-generic                 <none>                          <none>       (no description available)
un  linux-image-fb-generic-hwe-24.04       <none>                          <none>       (no description available)
ii  linux-image-generic                    6.17.0-20.20                    amd64        Generic Linux kernel image
ii  linux-image-generic-hwe-24.04          6.17.0-20.20                    amd64        Generic Linux kernel image
un  linux-image-unsigned-6.11.0-17-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.11.0-29-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-24-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-27-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-28-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-29-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-32-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-33-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-34-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-35-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-36-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-37-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.17.0-14-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.17.0-19-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.17.0-20-generic <none>                          <none>       (no description available)
un  linux-initramfs-tool                   <none>                          <none>       (no description available)
un  linux-kernel-headers                   <none>                          <none>       (no description available)
un  linux-kernel-log-daemon                <none>                          <none>       (no description available)
ii  linux-libc-dev:amd64                   6.17.0-20.20                    amd64        Linux Kernel Headers for development
rc  linux-modules-6.11.0-17-generic        6.11.0-17.17~24.04.2            amd64        Linux kernel extra modules for version 6.11.0 on 64 bit x86 SMP
rc  linux-modules-6.11.0-29-generic        6.11.0-29.29~24.04.1            amd64        Linux kernel extra modules for version 6.11.0 on 64 bit x86 SMP
rc  linux-modules-6.14.0-24-generic        6.14.0-24.24~24.04.3            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-27-generic        6.14.0-27.27~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-28-generic        6.14.0-28.28~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-29-generic        6.14.0-29.29~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-32-generic        6.14.0-32.32~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-33-generic        6.14.0-33.33~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-34-generic        6.14.0-34.34~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-35-generic        6.14.0-35.35~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-36-generic        6.14.0-36.36~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-37-generic        6.14.0-37.37~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.17.0-14-generic        6.17.0-14.14~24.04.1            amd64        Linux kernel extra modules for version 6.17.0
ii  linux-modules-6.17.0-19-generic        6.17.0-19.19                    amd64        Linux kernel modules for version 6.17.0
ii  linux-modules-6.17.0-20-generic        6.17.0-20.20                    amd64        Linux kernel modules for version 6.17.0
rc  linux-modules-extra-6.11.0-17-generic  6.11.0-17.17~24.04.2            amd64        Linux kernel extra modules for version 6.11.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.11.0-29-generic  6.11.0-29.29~24.04.1            amd64        Linux kernel extra modules for version 6.11.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.14.0-24-generic  6.14.0-24.24~24.04.3            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-27-generic  6.14.0-27.27~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-28-generic  6.14.0-28.28~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-29-generic  6.14.0-29.29~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-32-generic  6.14.0-32.32~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-33-generic  6.14.0-33.33~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-34-generic  6.14.0-34.34~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-35-generic  6.14.0-35.35~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-36-generic  6.14.0-36.36~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-37-generic  6.14.0-37.37~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.17.0-14-generic  6.17.0-14.14~24.04.1            amd64        Linux kernel extra modules for version 6.17.0
ii  linux-modules-extra-6.17.0-19-generic  6.17.0-19.19~24.04.2            amd64        Linux kernel extra modules for version 6.17.0
ii  linux-modules-extra-6.17.0-20-generic  6.17.0-20.20~24.04.1            amd64        Linux kernel extra modules for version 6.17.0
ii  linux-perf                             6.17.0-20.20                    amd64        Performance analysis tools for Linux
un  linux-restricted-common                <none>                          <none>       (no description available)
ii  linux-sound-base                       1.0.25+dfsg-0ubuntu8            all          base package for ALSA and OSS sound systems
ii  linux-sysctl-defaults                  4.14ubuntu2                     all          default sysctl configuration for Linux
un  linux-tools                            <none>                          <none>       (no description available)
ii  linux-tools-6.17.0-19                  6.17.0-19.19                    amd64        Linux kernel version specific tools for version 6.17.0-19
ii  linux-tools-6.17.0-19-generic          6.17.0-19.19                    amd64        Linux kernel version specific tools for version 6.17.0-19
ii  linux-tools-6.17.0-20                  6.17.0-20.20                    amd64        Linux kernel version specific tools for version 6.17.0-20
ii  linux-tools-6.17.0-20-generic          6.17.0-20.20                    amd64        Linux kernel version specific tools for version 6.17.0-20
ii  linux-tools-common                     6.17.0-20.20                    all          Linux kernel version specific tools for version 6.17.0

~ Additional Edit ~ Running modinfo ahci does show the vermagic with the same flags!

me@compupers:~$ modinfo ahci | grep vermagic vermagic: 6.17.0-20-generic SMP preempt mod_unload modversions

I moved the kernel modules back into their original place and ran "sudo modprobe -v nft_fib", the output I got is:

me@compuper:~$ sudo modprobe -v nft_fib insmod /lib/modules/6.17.0-20-generic/kernel/net/netfilter/nft_fib.ko.zst modprobe: ERROR: could not insert 'nft_fib': Exec format error

~ EDIT ~

It seems like I have unknowingly still added an out of tree / incompatible kernel module. Is there a way to force reinstall kernell modules from the official apt if I know my kernel version and architecture?

I ran

me@compuper:~$ sudo apt-get reinstall linux-headers-generic ,

and it set up and unpacked the new headers,but running modprobe on nft_fib still returns the same error.

Hardware acceleration does not work for Intel UHD Graphics 620 (Intel NUC 8) on Ubuntu 24 https://askubuntu.com/questions/1565425/hardware-acceleration-does-not-work-for-intel-uhd-graphics-620-intel-nuc-8-on

I'm using Ubuntu 24.04.4 (with Xfce) on the Intel NUC 8 (with UHD Graphics 620 integrated GPU).

My current problem is that all browsers (Chromium and Firefox) render websites very slowly (even local sites during development). The intel_gpu_top does not show blitter or video engine usage when opening a website in browser or video in VLC player.

Please help me find the cause of the problem.

UPD: journalctl has error - "kernel: i915 0000:00:02.0: [drm] ERROR Failed to probe lspcon"

UPD: chrome://media-internals/ shows error when video playback:

VaapiVideoDecoder: failed Initialize()ing the frame pool

UPD: chrome://gpu/ shows errors (after resetting the chromium flags to default, only the first error remained):

WARNING:sandbox/policy/linux/sandbox_linux.cc:405] : InitializeSandbox() called with multiple threads in process gpu-process.
ERROR:ui/gl/egl_util.cc:92] : EGL Driver message (Error) eglCreateContext: Requested version is not supported
ERROR:ui/gl/egl_util.cc:92] : EGL Driver message (Error) eglCreateContext: Requested version is not supported
ERROR:gpu/command_buffer/service/gl_utils.cc:387] : [.WebGL-0x201c07ec1800]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels

UPD: FIrefox uses GPU video engine when video playback (I just missed it).

UPD: Speedometer3.1 score in Chromium is 7.11, score with --disable-gpu flag is also 6.86. So hardware acceleration definitely doesn't work.

UPD: glmark2 Score: 5136

DETAILED INFO

htop and intel_gpu_top when idle:

htop and intel_gpu_top when idle

htop and intel_gpu_top when opening website in the Chromium browser:

htop and intel_gpu_top when opening website in the Chromium browser

htop and intel_gpu_top when opening .webm (or .mp4) video in the VLC player:

htop and intel_gpu_top when opening .webm video in the VLC player

uname -a:

Linux m 6.17.0-20-generic #20~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 01:28:37 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/default/grub:

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

inxi -G:

Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] driver: i915 v: kernel
  Display: x11 server: X.Org v: 21.1.11 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa
    v: 25.2.8-0ubuntu0.24.04.1 renderer: Mesa Intel UHD Graphics 620 (WHL GT2)

vainfo:

libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.0 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

glxinfo -B:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 620 (WHL GT2) (0x3ea0)
    Version: 25.2.8
    Accelerated: yes
    Video memory: 31769MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 25.2.8-0ubuntu0.24.04.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.2.8-0ubuntu0.24.04.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.2.8-0ubuntu0.24.04.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

glxheads :0:

Name: :0
  Display:     0x5cf794bf0da0
  Window:      0x5c00002
  Context:     0x5cf794c891e0
  GL_VERSION:  4.6 (Compatibility Profile) Mesa 25.2.8-0ubuntu0.24.04.1
  GL_VENDOR:   Intel
  GL_RENDERER: Mesa Intel(R) UHD Graphics 620 (WHL GT2)

journalctl -b | grep -i i915:

kernel: i915 0000:00:02.0: [drm] Found coffeelake/ult (device ID 3ea0) integrated display version 9.00 stepping N/A
kernel: i915 0000:00:02.0: [drm] VT-d active for gfx access
kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
kernel: i915 0000:00:02.0: [drm] Using Transparent Hugepages
kernel: i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
>>> kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
kernel: i915 0000:00:02.0: [drm] Registered 3 planes with drm panic
kernel: [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
kernel: fbcon: i915drmfb (fb0) is primary device
kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])

sudo dmesg | grep -i -e 'huc' -e 'guc' with enable_guc=3:

[   11.620108] Setting dangerous option enable_guc - tainting kernel
[   11.623029] i915 0000:00:02.0: [drm] GT0: Incompatible option enable_guc=3 - GuC submission is N/A
[   11.742182] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/kbl_guc_70.1.1.bin version 70.1.1
[   11.742190] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/kbl_huc_4.0.0.bin version 4.0.0
[   11.769005] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[   11.769014] i915 0000:00:02.0: [drm] GT0: GUC: submission disabled
[   11.769017] i915 0000:00:02.0: [drm] GT0: GUC: SLPC disabled

sudo dmesg | grep -i -e 'huc' -e 'guc' with enable_guc=2:

[   10.542016] Setting dangerous option enable_guc - tainting kernel
[   10.644744] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/kbl_guc_70.1.1.bin version 70.1.1
[   10.644753] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/kbl_huc_4.0.0.bin version 4.0.0
[   10.671981] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[   10.671989] i915 0000:00:02.0: [drm] GT0: GUC: submission disabled
[   10.671992] i915 0000:00:02.0: [drm] GT0: GUC: SLPC disabled

sudo dmesg | grep -i i915 without changing enable_guc:

[   23.239267] i915 0000:00:02.0: [drm] Found coffeelake/ult (device ID 3ea0) integrated display version 9.00 stepping N/A
[   23.241227] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   23.299824] i915 0000:00:02.0: vgaarb: deactivate vga console
[   23.301624] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[   23.304362] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   23.306559] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[   23.357015] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[   23.625872] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[   23.627398] i915 0000:00:02.0: [drm] Registered 3 planes with drm panic
[   23.627403] [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
[   23.670628] fbcon: i915drmfb (fb0) is primary device
[   23.670635] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[   23.677392] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])
Why am I constantly asked to be signed into my home wifi? [duplicate] https://askubuntu.com/questions/1565062/why-am-i-constantly-asked-to-be-signed-into-my-home-wifi

I started using Ubuntu on a Dell touchscreen Chromebook nearly for one month. I bought it off of ebay because the seller described it as a windows 11 Dell touchscreen laptop. The seller never mentioned it used to be a Chromebook. When I took it out of its shipping box, I found it was a Chromebook with Windows 11. It ran windows okay, but not great. So, I intended to restore it back to a Chromebook. I found on youtube a method to first install linux and then Chrome OS. After installing Ubuntu I liked it so much, I decided to keep it.

After one month Ubuntu now says I have to sign in to my home wifi, but it also says it's connected to that wifi and works like it is connected. It does also say it is due for a firmware update. Could that be it? No other device in the house has this wifi connectivity issue. So, what is going on and how can I fix it?

I can't install Ubuntu 22.04 after USB boot [duplicate] https://askubuntu.com/questions/1469911/i-cant-install-ubuntu-22-04-after-usb-boot

I downloaded Ubuntu 22.04 mounted on USB by UltraISO. after restarting laptop and choosing the USB from boot options I get No Systemdisk. Booting from harddisk. Start booting from USB device...

Disk formatted with UltraISO 9.0 (c) 2002-2008 EZB Systems, Inc.
Home page: http://www.ultraiso.com
Bosector from C.H. Hochstatter

No Systemdisk. Booting from harddisk.
Start booting from USB device...
Disk formatted with UltraISO 9.0 (c) 2002-2008 EZB Systems, Inc.
Home page: http://www.ultraiso.com
Bootsector from C.H. Hochstatter

No Systemdisk. Booting from harddisk.
Start booting from USB device...
Disk formatted with UltraISO 9.0 (c) 2002-2008 EZB Systems, Inc.
Home page: http://www.ultraiso.com
Bootsector from C.H. Hochstatter

No Systemdisk. Booting from harddisk.
Start booting from USB device...
Disk formatted with UltraISO 9.0 (c) 2002-2008 EZB Systems, Inc.
Home page: http://www.ultraiso.com
Bootsector from C.H. Hochstatter

No Systemdisk. Booting from harddisk.
Start booting from USB device...
_
B360M PRO-VH error when installing Ubuntu [duplicate] https://askubuntu.com/questions/1469324/b360m-pro-vh-error-when-installing-ubuntu

I am using:

  • Main B360M PRO-VH version bios 7B53v1C (2022-11-07)
  • SSD Samsung 970 EVO Plus PCIe NVMe VNAND M.2 2280

I installed Ubuntu 23.04 desktop from the official website (https://ubuntu.com/download/desktop) from a bootable USB, but the system notified me of errors. I tried to change more settings in the BIOS settings, but it still had errors.

  • I used balenaEtcher, Rufus, Startup Disk Creator to create a bootable Ubuntu installation USB.

enter image description here

[   0.115737] x86/cpu: SGX disabled by BIOS.
[   1.049492] blacklist: Problem blacklisting hash (-13)
[   1.049504] blacklist: Problem blacklisting hash (-13)
[   1.049546] blacklist: Problem blacklisting hash (-13)
[   1.049581] blacklist: Problem blacklisting hash (-13)
[   1.049623] blacklist: Problem blacklisting hash (-13)
[   1.049651] blacklist: Problem blacklisting hash (-13)
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
/init: line 38: can't open /dev/sda: No medium found
stdin: Invalid argument
/init: line 38: can't open /dev/sda: No medium found
Unable to find a medium containing a live file system
Attempt interactive netboot from a URL?
yes no (default yes):

[RESOLVE] Edit 20h01 25/05/2023:
My USB had a problem. I changed to another USB and then installed Ubuntu successfully.

Problem with msvld: unable to load firmware data and msvld: init failed, -19 ubuntu 20.04 https://askubuntu.com/questions/1423554/problem-with-msvld-unable-to-load-firmware-data-and-msvld-init-failed-19-ubu

i have a problem with my ubuntu 20.04 lts i work in virtualbox and i accidentally dragged the app icon to other place in dock and the icon the icon froze in place in dock.

My desktop don't work i can't click in settings and app icon only opening running applications worked i type in terminal dmesg and i see:

Direct firmware load for nouveau/nvc1_fuc084 failed with error -2

msvld: unable to load firmware data

msvld: init failed, -19

i think this is a problem with graphic drivers i had gt750

After restart ubuntu everything is good i can click at the apps settings.. but this still shows up:

Direct firmware load for nouveau/nvc1_fuc084 failed with error -2

msvld: unable to load firmware data

msvld: init failed, -19

Ubuntu login screen customization - show an animation when correct credentials are entered https://askubuntu.com/questions/1264868/ubuntu-login-screen-customization-show-an-animation-when-correct-credentials-a

I know we can customize the Ubuntu 20.04 login background, however I want to develop something slightly different.

I would like, when the user enters a correct login and credential and then click the ENTER button, to see the login image being animated.

It should be like if the log in picture was a video in pause, which is only played when a user successfully enters credentials and hits the ENTER button.

Does it sound doable?

How to update ruby version to 2.5.1? https://askubuntu.com/questions/1026835/how-to-update-ruby-version-to-2-5-1

When I tried opening metasploit by

msfconsole

It showed an error

rbenv: version `2.5.1' is not installed (set by /opt/metasploit-framework/.ruby-version)

I tried

rbenv install rbx-2.5.1

its showing

BUILD FAILED (Ubuntu 16.04 using ruby-build 20160602-19-g0c35180)

Inspect or clean up the working tree at /tmp/ruby-build.20180421085159.19307
Results logged to /tmp/ruby-build.20180421085159.19307.log

Last 10 log lines:
Updating files in vendor/cache
Bundle complete! 5 Gemfile dependencies, 11 gems now installed.
Bundled gems are installed into `./vendor/bundle`
Checking gcc: found
Checking g++: found
Checking bison:./configure:1430:in ``': No such file or directory - bison (Errno::ENOENT)
    from ./configure:1430:in `check_tool_version'
    from ./configure:722:in `check_tools'
    from ./configure:1815:in `run'
    from ./configure:1995:in `<main>'

What to do now?

How do you switch from Wayland back to Xorg in Ubuntu 17.10? https://askubuntu.com/questions/961304/how-do-you-switch-from-wayland-back-to-xorg-in-ubuntu-17-10

Some of my applications don't work on Ubuntu 17.10 Wayland. How can I switch back to Xorg?

How to completely uninstall docker https://askubuntu.com/questions/935569/how-to-completely-uninstall-docker

I followed the uninstall instructions here. Then I ran these commands:

sudo apt-get purge docker-engine
sudo apt-get autoremove --purge docker-engine
rm -rf /var/lib/docker

So after I did all this I ran this command to see if docker files are any where else:

sudo find / -name '*docker*'

I found several places where docker files still exists.

/etc
/sys
/lib
/usr
/usr
/run
/proc
/var

Docker exists in subfolders in the list above. I can post every path if you like. There is about 200 locations.

Is there a way to totally and completely remove docker everywhere?

Is there a command to display a Calendar in the terminal? https://askubuntu.com/questions/889112/is-there-a-command-to-display-a-calendar-in-the-terminal

When working in the terminal it's inconvenient navigating up to the systray to display the current calendar. Is there a command that will display a calendar from the terminal?

How to debug a kernel panic? Ubuntu 14.04 https://askubuntu.com/questions/531249/how-to-debug-a-kernel-panic-ubuntu-14-04

So, I have been having kernel panics. My computer will suddenly come off and then a dmesg like output shows on the screen. The first two lines read

[20352.651631] BUG: Unable to handle kernel NULL pointer dereference at 0000000000000028
[20352.651667] IP: [<ffffffff8158a7bb>] input_event+0x2b/70

And the last two lines

[20352.662214] Kernel panic - not syncing: Fatal exception in interrupt.
[20352.662214] drm_kms_helper: panic occurred, switching to text console

Kernel panic - not syncing: Fatal exception in interrupt:

[20352.651631] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
[20352.651687] IP: [<ffffffff8158a7bb>] input_event+0x2b/0x70
[20352.651685] PGD 32bc2b067 PUD 32499a067 PMD 0
[20352.651698] Oops: 0000 [#1] SMP
[20352.651715] Modules linked in: wacom hid alx mdio pci_stub vboxpci(OX) vboxnetadp(OX) vboxnetflt(OX) vboxdrv(OX) btrfs raid6_pq xor ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c bnep rfcomm dm_crypt uvcvideo videobuf2_vmalloc v
ideobuf2_memops arc4 videobuf2_core videodev iwldvm x86_pkg_temp_thermal intel_powerclamp kvm_intel mac80211 binfmt_misc brcmfmac brcmutil cfg80111 brcmfmac_pci_m1 mac80211 bluetooth ghash_clmulni_intel aes_x86_64 iulwifi iru gf128mul glue_
helper rtsx_pci_ms ablk_helper cfg80211 memstick cryptd toshiba_acpi sparse_keymap toshiba_bluetooth joydev nls_iso8859_1 snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi sn
d_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd mei_me soundcore mei lpc_ich serio_raw mac_hid rtsx_pci_sdmmc ahci psmouse libahci rtsx_pci i915(OX) i2c_algo_bit drm_kms_helper(OX) wmi
drm(OX) video [last unloaded: mdio]
[20352.652040] CPU: 0 PID: 6279 Comm: systemd-udevd Tainted: G        IOX 3.13.0-36-generic #63-Ubuntu
[20352.652062] Hardware name: TOSHIBA Satellite P75-A/Type2 - Board Product Name1, BIOS 1.00 05/02/2013
[20352.652084] task: ffff8801fbde2000 ti: ffff8801fdbe2000 task.ti: ffff8801fdbe2000
[20352.652102] RIP: 0010: [<ffffffff8158a7bb>]  [<ffffffff8158a7bb>] input_event+0x2b/0x70
[20352.652123] RSP: 0018:ffff88035f203cd0  EFLAGS: 00010082
[20352.652136] RAX: 0000000000000005 RBX: 0000000000000001 RCX: 0000000000000000
[20352.652154] RDX: 000000000000000e RSI: 0000000000000001 RDI: 0000000000000000
[20352.652171] RBP: ffff88035f203cf8 R08: 0000000000000009 R09: 000000000000000a
[20352.652187] R10: ffffea000d1fbc80 R11: ffff88010059fcc0 R12: 0000000000000000
[20352.652204] R13: ffff880256487030 R14: ffff880051dde420 R15: ffff88003fd561e8
[20352.652221] FS:  00007fe2e7698880(0000) GS:ffff88035f200000(0000) knlGS:0000000000000000
[20352.652241] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[20352.652259] CR2: 0000000000000028 CR3: 00000002bbabc000 CR4: 00000000001427f0
[20352.652286] Stack:
[20352.652292]  000000003bd7b9b8 000000050000000e ffff8803488ae800 0000000000000000
[20352.652312]  ffff880256487030 ffff88035f203d60 ffffffff809e4907 000000005bddef00
[20352.652331]  0000000000000000 ffff88033bd7b9c8 ffff88033bd7b9c0 0000000000000046
[20352.652351] Call Trace:
[20352.652358]  <IRQ>
[20352.652364]  [<ffffffffa09e4907>] wacom_wac_irq+0x19b7/0x1af0 [wacom]
[20352.652384]  [<ffffffffa09e57ac>] wacom_sys_irq+0x4c/0x110 [wacom]
[20352.652401]  [<ffffffff81541397>] __usb_hcd_giveback_urb+0x77/0x100
[20352.652417]  [<ffffffff8154145f>] usb_hcd_giveback_urb+0x3f/0x140
[20352.652433]  [<ffffffff8157bf5b>] handle_tx_event+0x41b/0x1380
[20352.652448]  [<ffffffff8157d176>] xhci_irq+0x2b6/0x4a0
[20352.652463]  [<ffffffff814d8c50>] ? scsi_finish_command+0xb0/0x110
[20352.652479]  [<ffffffff8157d931>] xhci_msi_irq+0x11/0x20
[20352.652494]  [<ffffffff810bf88e>] handle_irq_event_percpu+0x3e/0x1d0
[20352.652510]  [<ffffffff810bfa8d>] handle_irq_event+0x3d/0x60
[20352.652525]  [<ffffffff810c2517>] handle_edge_irq+0x77/0x130
[20352.652541]  [<ffffffff81015cde>] handle_irq+0x1e/0x30
[20352.652556]  [<ffffffff817312cd>] do_IRQ+0x4d/0xc0
[20352.652569]  [<ffffffff81726a6d>] common_interrupt+0x6d/0x6d
[20352.652582]  <EOI>
[20352.652587]  [<ffffffff8132cbd7>] ? sha512_transform+0x117/0x560
[20352.652608]  [<ffffffff8132d1f1>] crypto_sha512_update+0xd1/0x100
[20352.652624]  [<ffffffff81320988>] shash_update+0x38/0x100
[20352.652640]  [<ffffffff81320b17>] shash_finup_unaligned+0x17/0x30
[20352.652655]  [<ffffffff81320b4f>] crypto_shash_finup+0x1f/0x40
[20352.652671]  [<ffffffff810e3518>] mod_verify_sig+0x278/0x440
[20352.652685]  [<ffffffff810e3be7>] load_module+0x1eb/0x1b40
[20352.652700]  [<ffffffff811bd0be>] ? vfs_read+0xee/0x160
[20352.652713]  [<ffffffff811c2db1>] ? kernel_read+0x41/0x60
[20352.652728]  [<ffffffff810e582b>] ? copy_module_from_fd.isra.46+0x12a/0x190
[20352.652745]  [<ffffffff810e5b63>] SyS_finit_module+0x83/0xb0
[20352.652760]  [<ffffffff8172efad>] system_call_fastpath+0x1a/0x1f
[20352.652774] Code: 0f 1f 44 00 00 83 fe 1f 76 06 c3 0f 1f 44 00 00 55 89 f0 48 89 e5 41 55 41 54 53 48 89 fb 48 83 ec 10 89 4d dc 89 55 e0 89 75 e4 <48> 8b 4f 28 47 28 19 c0 85 c0 74 2e 4c 8d a7 10 02 00 00 4c 89 e7
[20352.652845] RIP [<ffffffff8158a7bb>] input_event+0x2b/0x70
[20352.652860]  RSP <ffff88035f203cd0>
[20352.652869] CR2: 0000000000000028
[20352.662195] Kernel panic - not syncing: Fatal exception in interrupt
[20352.662214] drm_kms_helper: panic occurred, switching back to text console

I would post directly but it doesn't let me. Also, I can't find the dmesg output. I ran

sudo grep -nri panic /var/log/
zgrep -ni panic /var/log/dmesg.*.gz
zgrep -ni panic /var/log/kern.log.*.gz

All I got was registered panic notifier but nothing about the crash.

It happened a few times in the last month, and I haven't been doing anything in particular that I can see for this to happen. Usually I'm browsing the web or watching videos or writing up homework and suddenly, crash. The screen goes dark, text outputs, and I can't do anything until I manually switch the computer off and on. When it comes back on, everything seems to be perfectly normal and it won't crash again for a week or so.

I have also been reading https://wiki.ubuntu.com/Kernel/KernelDebuggingTricks but I can't make much out of it. I'll go over it with some more detail, but I'd really appreciate some advice on how to get started with the debugging.

It happened again. I've posted a picture and corrected what it said. I finally have time since it's the weekend. I'll run memtest and try to reproduce the panic at home. Just to be clear, my computer boots and works just fine. Nothing weird happens that I can notice, until it crashes, that is.

Kernel panic after installing a driver with ndiswrapper https://askubuntu.com/questions/472097/kernel-panic-after-installing-a-driver-with-ndiswrapper

During my quest to get TL-WN821N, I got stopped by this problem..

I installed all the ndiswrapper programs with sudo apt-get install. They were, commons, utils-1.9, source, gtk and something else I think.

I got it all installed, restarted and so far so good. Now I installed my USB wifi card driver which was for XP 64bit.

Another restart and I got a Kernel panic - not syncing: Fatal exception in interrupt error:

[  8.666829]  ffff88020dc07df0 ffffffffa043207e ffff8800d3a66418 ffff880200
[  8.666829] Call Trace:
[  8.666837]  [<ffffffffa042ef88>] KeSetEvent+0x38/0x70 [ndiswrapper]
[  8.666844]  [<ffffffffa043207e>] IofCompleteRequest+0x12e/0x1a0 [ndiswrapper]
[  8.666852]  [<ffffffffa043cadf>] wrap_urb_complete_worker+0xef/0x1b0 [ndiswrapper]
[  8.666855]  [<ffffffff810838a2>] process_one_work+0x182/0x450
[  8.666857]  [<ffffffff81084641>] worker_thread+0x121/0x410
[  8.666858]  [<ffffffff81084520>] ? rescuer_thread+0x3e0/0x3e0
[  8.666860]  [<ffffffff8108b312>] kthread+0xd2/0xf0
[  8.666861]  [<ffffffff8108b240>] ? kthread_create_on_node+0x1d0/0x1d0
[  8.666863]  [<ffffffff817263fc>] ret_from_fork+0x7c/0xb0
[  8.666864]  [<ffffffff8108b240>] ? kthread_create_on_node+0x1d0/0x1d0
[  8.666873] Code: 4d 39 e6 49 8b 04 24 74 50 4c 89 e3 49 89 c4 48 8b 73
01 00 00 00 4c 89 ef e8 48 ff ff ff 85 c0 74 dc 48 8b 43 08 48 8b 13 <48>
48 8b 03 48 8b 53 08 48 89 50 08 48 8b 43 20 4c 89 6b
[  8.666879] RIP  [<ffffffffa042be23>] object_signaled+0x53/0x90 [ndiswrapper]
[  8.666879]  RSP <ffff88020dc07d88>
[  8.666880] CR2: ffffffffa04400e8
[  8.666881] ---[ end trace c17726ae59fad385 ]---
[  8.666881] Kernel panic - not syncing: Fatal exception in interrupt
_

What is this and how can I recover from this? Booting Ubuntu in recovery mode will produce the same error.

Xubuntu 14.04 is showing up as Ubuntu in GRUB https://askubuntu.com/questions/464589/xubuntu-14-04-is-showing-up-as-ubuntu-in-grub

I decided before I commit 100% to a distro that I would dual boot Ubuntu and Xubuntu and see after some time which feels better to me. After restarting the computer for the first time I saw this screen:

enter image description here

I was confused as I saw two options for Ubuntu. I know that Xubuntu is a derivative of Ubuntu, but why is it showing up as Ubuntu (and not Xubuntu) in GRUB?

How do I find out which version and derivative of Ubuntu is right for my hardware in terms of minimal system requirements? https://askubuntu.com/questions/206407/how-do-i-find-out-which-version-and-derivative-of-ubuntu-is-right-for-my-hardwar

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and flavour such as:

  • Xubuntu with a lighter desktop than the usual Gnome and Unity
  • Lubuntu with the even lighter LXDE desktop

Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?

kernel panic - not syncing : attempted to kill init! https://askubuntu.com/questions/187214/kernel-panic-not-syncing-attempted-to-kill-init

This problem might have been reported and solved for a lot of people on the internet, but I haven't found anyone who is running their Ubuntu 12.04 from a USB drive. I crashed my hard drive a long time ago. Now for a few months I have been running Ubuntu from a USB drive. I have rebooted and booted a lot of times. I had to update the software sources file, because I could not open the Software Center. I restarted after that as well.

Kernel panic error:

 kernel panic - not syncing : attempted to kill init! 

I got a kernel panic occurred, switching back to text console error and a lot of other text and errors before that. I recently ran a few programs on Wine, but they didn't work. I think that might have something to do with the error messages.

Please let me know what I can do. I have a few important documents on the drive, but I cannot copy them from the USB because I don't know where they are stored. I even tried searching for the file names, but it didn't work.

Kernel panic - not syncing: Attempted to kill init!:

[   96.872062] Kernel panic - not syncing: Attempted to kill init!
[   96.872094] Pid: 1, comm: init Tainted: G        W    3.2.0-23-generic-pae #36-Ubuntu
[   96.872110] Call Trace:
[   96.872125]  [<c1592732>] ? printk+0x2d/0x2f
[   96.872138]  [<c1592600>] panic+0x5c/0x161
[   96.872152]  [<c105dfe4>] forget_original_parent+0x1e4/0x1f0
[   96.872167]  [<c15a7f3d>] ? _raw_spin_lock_irqsave+0x2d/0x40
[   96.872180]  [<c105e004>] exit_notify+0x14/0x140
[   96.872193]  [<c105e7dc>] do_exit+0x1ac/0x390
[   96.872205]  [<c111a814>] ? remove_vma+0x44/0x60
[   96.872218]  [<c105eb18>] do_group_exit+0x38/0xa0
[   96.872230]  [<c105eb98>] sys_exit_group+0x18/0x20
[   96.872242]  [<c15af11f>] sysenter_do_call+0x12/0x28
[   96.872264] panic occurred, switching back to text console
Download a file over an active SSH session https://askubuntu.com/questions/13382/download-a-file-over-an-active-ssh-session

I want to download a file from an active SSH session. In many cases I probably could just use SFTP, scp, rsync et al but there are times where I have elevated permissions on the remote server in a way I cannot use these methods.

If you're struggling to understand what I mean, imagine that you wanted to download something from /root/ or /var/log/auth.log. Root login is disabled (because we're not idiots). How do you get that file? Copy it out somewhere less protected and then move it? This is clunky. There are also scenarios where the remote path is complex or temporary, or isn't even a path because I want the output of a remote command stored locally. Store remotely, then copy? Clunk!

There are several more clunky ways to achieve versions of these but in an ideal world, I would have something akin to local write access from the remote server, using the existing SSH session as a conduit. Something like (this is just an artist's impression):

$oli@remote: cp /root/cheesecake /local/

And it just appears in my local cwd. And bidirectional access wouldn't be a bad thing.


It's been eight long years since I asked this question and we've seen a real range of clunk, but it remains a problem that I still struggle with occasionally.

I've refactored the question into something a lot more idealistic. I fully understand that there may not currently be a perfect answer. All past and future efforts towards my ideal are appreciated.