Matlab Graphics Error https://askubuntu.com/questions/1565621/matlab-graphics-error

I can't use basic plotting commands like plot in MATLAB on Kubuntu. It gives an error related to graphics even before the plot opens. Starting MATLAB with OpenGL didn't fix the issue. How can we resolve this?

I also try using gnu octave but it does not have table object support.

Can I swap my Ubuntu 22.04 boot disk between machines? [duplicate] https://askubuntu.com/questions/1565617/can-i-swap-my-ubuntu-22-04-boot-disk-between-machines

I have an ancient Dell Optiplex 780 (i3, two core, 8GB RAM) which has run happily under 22.04 for some years. It's getting a bit rickety now (possibly because of snap, but that's another topic) and I have now acquired a refurb Optiplex 7060 (i7, six core, 16GB RAM) in the hope of improvement.

The old machine has a 1TB SATA SSD with Ubuntu installed, the `new' one came with a 256GB SATA SSD with MS Windows 11.

My question: if I just replace the SSD on the new machine with the the Ubuntu drive will it just work? My worry is that that the newer machine will (I imagine) have different hardware (eg onboard graphics) and I don't know at what point appropriate drivers get installed.

Could just suck it and see I suppose, but would prefer to be informed before making the switch.

Bob.

trying to automatically restart wifi https://askubuntu.com/questions/1565613/trying-to-automatically-restart-wifi

Ubuntu 24.04.4 LTS

To preface, I didn't have this issue with Ubuntu 22...Trying to automatically restart wifi for my jellyfin server. I can't remotely connect to jellyfin at all times, because at some point my wifi is possibly going to sleep (everything appears connected, can reach all websites, jellyfin works locally). So I initially disabled wifi power saving. Didn't stop the issue. Then I tried an auto script via cron, it runs every 10 minutes to check if there is a connection and if there isn't it restarts the network. Problem is everything appears connected, in fact is connected. So it doesn't go through restarting the network. Does anyone have a possible solution? Perhaps a way to restart the network every 4 hours regardless of a current connection.

Some programs are flickering on the eGPU, but not on the internal screen https://askubuntu.com/questions/1565612/some-programs-are-flickering-on-the-egpu-but-not-on-the-internal-screen

I am considering switching from Windows 11 to Ubuntu. To fully test Ubuntu (24.04 LTS) before switching, I am using a second SSD on my Laptop. But the problems already start at the beginning: my eGPU is not working properly on Ubuntu. I have an unusual GPU setup:

  • Intel GPU from the processor
  • Nvidia MX250 iGPU inside my Laptop
  • Nvidia RTX3060 eGPU connected using Thunderbolt 3 (TB3)

I disabled the iGPU and the Screen connected to the eGPU works now after doing the following:

  • Updated all general drivers:
    sudo apt update
    sudo apt install linux-headers-$(uname -r)
    sudo ubuntu-drivers install

  • eGPU setup:

    • Disabled automatic loading of Nvidia graphics drivers at boot by creating /etc/modprobe.d/blacklist-nvidia-mx250.conf with:
      blacklist nvidia
      blacklist nvidia_drm
      blacklist nvidia_modeset
      blacklist nouveau
    • Enforced explicit sync by editing /etc/environment and adding:
      XWAYLAND_NO_GLAMOR=0
      __GL_GSYNC_ALLOWED=0
      __GL_VRR_ALLOWED=0
      KWIN_DRM_NO_AMS=1
    • Installed the script from: https://github.com/ewagner12/all-ways-egpu
    • Launched All-Ways-eGPU, ran Guided Setup (1), selected the eGPU as the primary GPU, then selected the iGPU (Intel + MX250), confirming all suggested methods with y.
    • Enabled automatic GPU switching:
      sudo prime-select nvidia
    • After any driver changes and reboot, always ran:
      sudo flatpak update
      (otherwise some apps won’t launch)

Currently an annoying issue remains: some programs/apps like OnlyOffice (Flatpak) or PDF-XChange Editor running on Bottles/Wine are flickering. When the window is still nothing happens but when switching between tabs or scrolling the window kind of switches fast between the tabs or scroll positions and stops when clicking. I read it may be some issue with XWAYLAND. I definitely want to use WAYLAND because I want to update to Ubuntu 26 soon. A short video can be seen here (only 2 days valid sadly): https://streamable.com/adtks7 When I move the window to the laptop screen everything works fine!

How do I solve this problem? Did I miss something? I would be lad for any help!

Intel NUC5 system keeps freezing https://askubuntu.com/questions/1565611/intel-nuc5-system-keeps-freezing

I just did a clean install with Ubuntu on an old Intel NUC5. Everything seems to have gone well except the system keeps freezing and I have to manual restart it. It will work for a while, and then freeze again. My NUC has 8GB of memory, and a 256GB SSD. Do you have any suggestions as to where to look to solve the issue?

Newest update for libcjson1 not available on Ubuntu APT Repos - Ubuntu 22.04 Free Pro Activated https://askubuntu.com/questions/1565608/newest-update-for-libcjson1-not-available-on-ubuntu-apt-repos-ubuntu-22-04-fre

When trying to harden my home server i came across a libcjson vulnerability where my current version is - 1.7.15-1ubuntu0.1+esm1 but the suggested version shows - 1.7.15-1ubuntu0.1~esm2.

However even after enabling global repos & multiple APT updates & cache clearings. apt-cache policy libcjson1 shows the candidate version as 1.7.15-1ubuntu0.1+esm1

The Ubuntu security page also defines the latest package that was released to Ubuntu 22.04 (link below)

https://ubuntu.com/security/CVE-2024-31755

Error when trying to reinstall Ubuntu https://askubuntu.com/questions/1565602/error-when-trying-to-reinstall-ubuntu

I have had Ubuntu running on this system for a year. I tried Truenas, but I decided to go back to Ubuntu. When trying to install it gives an error, and does not complete installation. Nothing else has changed in the system. I'm using 24.04.04 desktop.

This is what it shows on the log when it errors out.

                                              Something went wrong

Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:       
                                                              builtin_curthooks(cfg, target, state)
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/
python3.10/site-packages/curtin/commands/curthooks.py", line 2179, in builtin_curthooks
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:             update_initramfs(target, all_kernels=True)
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/
python3.10/site-packages/curtin/commands/curthooks.py", line 908, in update_initramfs
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:             in_chroot.subp(cmd)
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/
python3.10/site-packages/curtin/util.py", line 851, in subp
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:             return subp(*args, **kwargs)
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/
python3.10/site-packages/curtin/util.py", line 331, in subp
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:             return _subp(*args, **kwargs)
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/
python3.10/site-packages/curtin/util.py", line 175, in _subp
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:             raise ProcessExecutionError(stdout=out,
stderr=err,
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]: curtin.util.ProcessExecutionError: Unexpected error
while running command.
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]: Command: ['unshare', '--fork', '--pid', '--mount-
proc=/target/proc', '--', 'chroot', '/target', 'update-initramfs', '-c', '-k', '6.17.0-20-generic']
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Exit code: 1
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Reason: -
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Stdout: ''
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Stderr: ''
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Unexpected error while running command.
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]: Command: ['unshare', '--fork', '--pid', '--mount-
proc=/target/proc', '--', 'chroot', '/target', 'update-initramfs', '-c', '-k', '6.17.0-20-generic']
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Exit code: 1
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Reason: -
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Stdout: ''
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Stderr: ''
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Stderr: ''
Apr 09 15:04:42 ubuntu subiquity_event.6881[6881]:  curtin command install
New 25.10 install on ASUS Zenbook UX3407R install, 4 major issues https://askubuntu.com/questions/1565597/new-25-10-install-on-asus-zenbook-ux3407r-install-4-major-issues

How can I install the correct driver for Snapdragon Elite X? I'm unable to install anything from Qualcomm. This causes further problems:

  • The battery was not found, upower -e (no bat0,1,etc.) Main issue is there is no indication of battery level. Can I resolve this out of the UEFI?
  • While I can get a network connection via ethernet, I cannot get my wireless working or even seen in settings or terminal.
  • When in the App Center the screen starts flickering. I have set the value to 60 Hz now but there are still instances occurring mainly in the app center.

I have searched through other people's solutions, but couldn't get anything to work besides updating and upgrading via sudo apt. This is beating me down; I was going to Ubuntu 24.04 LTS on because I have lost patience, but that wouldn't boot.

How to make a Bluetooth game controller show up under /dev/input/js* in addition to /dev/input/event*? https://askubuntu.com/questions/1565596/how-to-make-a-bluetooth-game-controller-show-up-under-dev-input-js-in-addition

I'm using Ubuntu Cinnamon 24.04, and have a Bluetooth gamepad (a Gioteck WX5 that emulates a Nintendo Switch 2 Pro Controller). I can pair it with my laptop, and when I do, it shows up as a pair of devices in /dev/input (specifically, "Pro Controller" in /dev/input/event18, which responds to button presses and thumbstick movements, and "Pro Controller (IMU)" in /dev/input/event19, which I think (but am not totally sure) is the accelerometer / motion controls).

I can confirm that the gamepad is working by using evtest, which displays the button presses. I have added myself to the input group in /etc/group, giving myself permissions to read from /dev/input directly.

However, the gamepad doesn't show up under /dev/input/js*, which means that some programs (such as jstest-gtk) aren't able to see it. I'm particularly interested in using the gamepad from a browser such as Firefox or Chromium, but they don't appear to see the gamepad either, and I think that the fact that it doesn't show up under /dev/input/js* is the most likely cause. (To rule out possibilities, I also tried a wired Xbox 360 game controller, and this does show up as /dev/input/js0 and does work correctly in at least Chromium.)

I tried checking for existing questions but none seemed to have similar enough circumstances: in most of them, the controller was appearing in /dev/input/js* and the problem was elsewhere. This question is the closest, but the journalctl entries I'm seeing are substantially different from the ones seen in that case:

kernel: nintendo 0005:057E:2009.0005: hidraw2: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on [REDACTED]
kernel: nintendo 0005:057E:2009.0005: controller MAC = [REDACTED]
kernel: nintendo 0005:057E:2009.0005: using user cal for left stick
kernel: nintendo 0005:057E:2009.0005: using user cal for right stick
[...]
kernel: nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
kernel: nintendo 0005:057E:2009.0005: Failed to read left stick cal, using defaults; e=-110
kernel: nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
kernel: nintendo 0005:057E:2009.0005: Failed to read right stick cal, using defaults; e=-110
kernel: nintendo 0005:057E:2009.0005: using factory cal for IMU
kernel: nintendo 0005:057E:2009.0005: assigned player 1 led pattern
kernel: input: Pro Controller as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:3/0005:057E:2009.0005/input/input31
kernel: input: Pro Controller (IMU) as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:3/0005:057E:2009.0005/input/input32
systemd[1]: Starting iio-sensor-proxy.service - IIO Sensor Proxy service...
systemd[1]: Started iio-sensor-proxy.service - IIO Sensor Proxy service.
systemd[1]: iio-sensor-proxy.service: Deactivated successfully.

I also don't want to blacklist the Nintendo driver because part of the reason I bought this controller is that I was interested in making use of the motion/accelerometer inputs (given that I already have a different controller for which the button/joystick inputs work).

Is there a way to configure the Bluetooth gamepad to show up under /dev/input/js* in addition to /dev/input/event*, and/or to allow Chromium to see it directly from /dev/input/event*?

Information requested in the comments

One of the comments asked for information from the udevadm command; here it is (with MAC addresses redacted):

$ udevadm info --no-pager /sys/class/input/input35
P: /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:1/0005:057E:2009.0007/input/input35
M: input35
R: 35
U: input
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:1/0005:057E:2009.0007/input/input35
E: SUBSYSTEM=input
E: PRODUCT=5/57e/2009/8001
E: NAME="Pro Controller"
E: PHYS="[REDACTED]"
E: UNIQ="[REDACTED]"
E: PROP=0
E: EV=20000b
E: KEY=7ffb000000000000 0 0 0 0
E: ABS=3001b
E: FF=107030000 0
E: MODALIAS=input:b0005v057Ep2009e8001-e0,1,3,15,k130,131,133,134,135,136,137,138,139,13A,13B,13C,13D,13E,ra0,1,3,4,10,11,mlsf50,51,58,59,5A,60,w
E: USEC_INITIALIZED=34383723107
E: ID_INPUT=1
E: ID_INPUT_JOYSTICK=1
E: ID_BUS=bluetooth
E: ID_PATH_WITH_USB_REVISION=pci-0000:00:14.0-usbv2-0:8:1.0
E: ID_PATH=pci-0000:00:14.0-usb-0:8:1.0
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_8_1_0
E: ID_FOR_SEAT=input-pci-0000_00_14_0-usb-0_8_1_0
E: TAGS=:seat:
E: CURRENT_TAGS=:seat:

$ udevadm info --no-pager /sys/class/input/input36
P: /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:1/0005:057E:2009.0007/input/input36
M: input36
R: 36
U: input
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:1/0005:057E:2009.0007/input/input36
E: SUBSYSTEM=input
E: PRODUCT=5/57e/2009/8001
E: NAME="Pro Controller (IMU)"
E: PHYS="[REDACTED]"
E: UNIQ="[REDACTED]"
E: PROP=40
E: EV=19
E: ABS=3f
E: MSC=20
E: MODALIAS=input:b0005v057Ep2009e8001-e0,3,4,kra0,1,2,3,4,5,m5,lsfw
E: USEC_INITIALIZED=34383723420
E: ID_INPUT=1
E: ID_INPUT_ACCELEROMETER=1
E: ID_BUS=bluetooth
E: ID_PATH_WITH_USB_REVISION=pci-0000:00:14.0-usbv2-0:8:1.0
E: ID_PATH=pci-0000:00:14.0-usb-0:8:1.0
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_8_1_0
E: ID_FOR_SEAT=input-pci-0000_00_14_0-usb-0_8_1_0
E: IIO_SENSOR_PROXY_TYPE=input-accel
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: TAGS=:systemd:seat:
E: CURRENT_TAGS=:systemd:seat:

joydev appears in the output of lsmod (showing a size of 32768 and no users, regardless of whether or not I connect the gamepad). The kernel version is 6.17.0-20-generic #20~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC.

Ubuntu 24.04.4 LTS video issue https://askubuntu.com/questions/1565008/ubuntu-24-04-4-lts-video-issue

I'm a new user of Ubuntu (24.04.4 LTS)

I have used Linux casually over the last 30 years. With Windows becoming everything that I abhor, I decided to turn my Plex Media Server into a Ubuntu based machine.

I have installed everything but there are some quirky issues I'm not sure how to resolve, the most nagging is a video issue:

When I right-click to open a context menu the resulting menu or context window flickers and distorts.

This happens whether using the local keyboard and display OR when I remote desktop into the machine.

It's a frustrating issue; I often cannot see the menu or the resulting window. This is a real problem for me.

I suspect that this might have something to do with the video/graphics driver. I know I have an Nvidia Quadro adapter. I've looked for help online about how to install a better driver but I'm deeply concerned I'm going to do something wrong.

Is there FAQ on how to properly install a better driver for my video adapter?

Update:

I ran sudo lshw -C display and it returned:

*-display                 
       description: VGA compatible controller
       product: G96CGL [Quadro FX 580]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:28:00.0
       logical name: /dev/fb0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=nouveau latency=0 mode=3440x1440 resolution=3440,1440 visual=truecolor xres=3440 yres=1440
       resources: irq:31 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f4000000-f5ffffff ioport:e000(size=128) memory:c0000-dffff

As I said I'm seeing lots of video artifacts and distortions that I believe are symptoms of a driver that's not adequate to my video adapter...

Can anyone assist me choosing a proper driver compatible with ubuntu 24.04?

How do i optimize the swap usage? https://askubuntu.com/questions/1562819/how-do-i-optimize-the-swap-usage

I am running a "fairly" old laptop ,idea pad 310, 12Gb of ram, and i put a 12Gb swap, can i make it use swap more or more efficiently? Its only uses like 1Gb

What settings for TigerVNC on Ubuntu 24.04 running Cinnamon? https://askubuntu.com/questions/1550887/what-settings-for-tigervnc-on-ubuntu-24-04-running-cinnamon

I am running Ubuntu 24.04 and the Cinnamon Desktop.

I want to install TiverVNC, and ran the sudo apt install tigervnc... CLI part.

I ran TigerVNC and it asked me for a password, (this seemed to go OK) and I read to make a xstartup file in my home .vnc directory.

There is no xstartup file in that directory, so I assume I must create one from scratch?

I get instructions for Gnome, and XFCE, but can't seem to find what to enter tor Cinnamon.

Any help would be appreciated,

Thanks, Mark.

nvidia "GPU has fallen off the bus" after upgrade to 25.04 https://askubuntu.com/questions/1546891/nvidia-gpu-has-fallen-off-the-bus-after-upgrade-to-25-04

After an upgrade from 24.10 to 25.04 this morning, my GPU (RTX 4070 mobile) has become extremely unreliable. It seems to depend a bit on how much it is doing, but with just the QHD laptop screen connected it can go several minutes before freezing, while with a 4K external screen connected it rarely lasts past the first user interaction.

The problem appears to be related to something trying to allocate enormous amounts of RAM:

2025-05-01T11:42:29.780885+01:00 VSYS-LT28 kernel: __vm_enough_memory: pid: 9603, comm: nvidia-smi, bytes: 51539607552 not enough memory for the allocation
2025-05-01T11:43:36.001898+01:00 VSYS-LT28 kernel: NVRM: GPU at PCI:0000:01:00: GPU-57164be6-eed0-8252-bb72-2e95a2e0dbd4
2025-05-01T11:43:36.001911+01:00 VSYS-LT28 kernel: NVRM: Xid (PCI:0000:01:00): 79, pid=4451, name=gnome-shell, GPU has fallen off the bus.
2025-05-01T11:43:36.001911+01:00 VSYS-LT28 kernel: NVRM: GPU 0000:01:00.0: GPU has fallen off the bus.
2025-05-01T11:43:36.001921+01:00 VSYS-LT28 kernel: NVRM: Xid (PCI:0000:01:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required)
2025-05-01T11:43:36.583002+01:00 VSYS-LT28 kernel: ------------[ cut here ]------------
2025-05-01T11:43:36.583010+01:00 VSYS-LT28 kernel: WARNING: CPU: 10 PID: 9109 at nvidia/nv.c:4946 nvidia_dev_put+0xb3/0xc0 [nvidia]
2025-05-01T11:43:36.583010+01:00 VSYS-LT28 kernel: Modules linked in: xt_nat veth vxlan ip6_udp_tunnel udp_tunnel xt_policy xt_mark xt_bpf nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype snd_seq_dummy snd_hrtimer ipt_REJECT nf_reject_ipv4 xt_conntrack xt_MASQUERADE nft_chain_nat xt_CHECKSUM xt_comment xt_tcpudp nft_compat iptable_raw iptable_mangle iptable_nat ipmi_devintf nf_nat ipmi_msghandler nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables ccm overlay qrtr rfcomm cmac algif_hash algif_skcipher af_alg bnep msr nvidia_uvm(POE) binfmt_misc nls_iso8859_1 nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel soundwire_cadence snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof iwlmvm snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi_intel_sdca_quirks snd_hda_codec_realtek soundwire_generic_allocation snd_soc_acpi soundwire_bus snd_hda_codec_generic snd_hda_scodec_component snd_soc_sdca

The thing only has 8GB of VRAM so trying to allocate about 50GB is never going to work. nvidia-smi reports that about 350MB is currently being used.

I found a number of references on the web to setting "persistent mode" using nvidia-smi -pm 1 but this fails:

$ sudo nvidia-smi -pm 1
Unable to set persistence mode for GPU 00000000:01:00.0: Unknown Error
Terminating early due to previous errors.
Slow gnome-shell memory leak of 1%/day on unattended computer https://askubuntu.com/questions/1546787/slow-gnome-shell-memory-leak-of-1-day-on-unattended-computer

We have a computer running Ubuntu 24.04.2 that is exhibiting a slow memory leak of about 1% per day. It is running headless and is part of our community radio station's airchain: it processes the audio that is broadcast for consistent loudness. Ideally the PC would be stable enough to run 24/7/365 without supervision but the memory leak requires a monthly reboot, which is annoying, it requires taking it offline for the process, and I am a lazy man. Looking at the daily top reports we can see that is it gnome-shell which is using more and more memory. The gnome extensions we are running are

ding@rastersoft.com  tiling-assistant@ubuntu.com ubuntu-appindicators@ubuntu.com  ubuntu-dock@ubuntu.com

At this time we are considering stepping away from Gnome and running a different DE. But that would be a big deal, esp. on a device that is part of our on-the-air FM signal.

So my questions two are:

  1. Does anyone have any words of wisdom about how we might get gnome-shell to cut back on its 1%/day memory appetite? and if not,
  2. Is there a recommendation for a stable DE that doesn't want to chew up memory?

Thank you!

LibTiff5 removed after Ubuntu 24.04 installation, how to install again? https://askubuntu.com/questions/1540324/libtiff5-removed-after-ubuntu-24-04-installation-how-to-install-again

I use an animation software (Mine-Imator lol) which has a hard dependency on a package going under the name of "LibTiff5". Now I know what that is, the problem is that it wants LibTiff5 specifically. But as of Ubuntu 24.04 (or 23 not sure) LT5 was dropped in favor of LibTiff6, and remains on 22.04 (Jammy Jellyfish). LT6 of course isn't supported by it because the software hasn't been updated in 2 years at the time of writing. Neither is LT5-dev. My question is, is there a good non-painful way to install the old LT5 on Ubuntu 24.04?

......../Mine-imator: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory
Suspension and hibernation on Ubuntu 24.04 - Dell Precision 5490 https://askubuntu.com/questions/1525525/suspension-and-hibernation-on-ubuntu-24-04-dell-precision-5490

I have a new Dell Precision 5490 Laptop that comes with Ubuntu 22.04, and I have installed the stock Ubuntu 24.04, but I have now problems I didn't "tested" with the shipped OS (I was too quick to move on Ubuntu 24.04), namely suspension and hibernation. The laptop is quite powerful, as it comes with Intel Core Ultra 7 165H, 64 Gb of RAM and NVIDIA RTX2000 GPU.

Suspension "works" but eats 10% of the battery in 1 h !!! So, pretty useless. Hibernation doesn't, even if I followed all the steps in this long tutorial:

  • I have updated the bios to the latest version and disables Secure Boot
  • as I had a swap file of "only" 8 GB vs a RAM of 32 GB I created a swap partition of 70GB and added to fstab (it works) - /dev/nvme0n1p5 / UUID e4e24763-b174-4057-9ebe-2aa34a423583
  • I have added the option resume=UUID=e4e24763-b174-4057-9ebe-2aa34a423583 to the GRUB_CMDLINE_LINUX_DEFAULT parameter in /etc/default/grub and I have run update-grub
  • I have created a file /etc/tmpfiles.d/hibernation_resume.conf with content :
#    Path                   Mode UID  GID  Age Argument
w    /sys/power/resume       -    -    -    -   259:5

(I have also tried adding w /sys/power/image_size - - - - 8036093952 but I don't know what does it means... of course I would like to be hibernated only the actual RAM in use, not all the 64GB that I need only in particular circumstances)

  • I have created a file /etc/initramfs-tools/conf.d/resume with content resume=UUID=e4e24763-b174-4057-9ebe-2aa34a423583 and run sudo update-initramfs -c -k all

Still, running systemctl hibernate "seems" to work, but then the pc freeze on restart and need a physical power reset.

Any idea what else could I try ?

EDIT

I reverted to Dell Ubuntu 22.04 where ibernation still not works, but I have discovered that if I hibernate from a tty terminal (e.g. CTR+ALT+F4) then, when I have the black screen comig back from hibernation, I can again press CTR+ALT+F4 and "see" the old session, but there is nothing else I can do, can't type and have to manually bruteforece take down the system.

So the issue is not on bios or getting the wrong partition, but has to do with login and taking on X on post hibernation.

What is this RED PROHIBITED ICON showing everywhere on my system? https://askubuntu.com/questions/1516813/what-is-this-red-prohibited-icon-showing-everywhere-on-my-system

I'm currently running Ubuntu 22.04.4 LTS and recently there has been a red prohibited icon showing everywhere on my system.

I updated the system not long ago, but the issue started some weeks after the update so I am not sure they are related.

This red circle appears on the top bar menu, built-in apps, and manually installed ones. I believe it's an icon issue but I'm not sure

Any suggestions on what may be causing it?

This image shows that the red circle appears in different parts of the system.

enter image description here

Ubuntu 22.04 Kernel panic - Cannot open root device LVC [duplicate] https://askubuntu.com/questions/1418195/ubuntu-22-04-kernel-panic-cannot-open-root-device-lvc

I tried to update to Ubuntu 22.04 from 20.04 though after updating I have an issue with the system not starting either via normal or recovery or an old kernel version.

[    1.530064] integrity: Loaded X.509 cert 'Canonical Ltd. Master Certificate Authority: ad91990bc22ab1f517048c23b6655a2
[    1.530683] ima: No TPM chip found, activating TPM-bypass!
[    1.530999] Loading compiled-in module X.509 certificates
[    1.531584] Loaded X.509 cert 'Build time autogenerated kernel key: 7f2e266096ca6df1a1e0bcd33100abd18aeaa3ca'
[    1.531911] ima: Allocated hash algorithm: sha1
[    1.532296] ima: No architecture policies found
[    1.532627] evm: Initialising EVM extended attributes:
[    1.532959] evm: security.selinux
[    1.533294] evm: security.SMACK64
[    1.533631] evm: security.SMACK64EXEC
[    1.533969] evm: security.SMACK64TRANSMUTE
[    1.534308] evm: security.SMACK64MMAP
[    1.534757] evm: security.apparmor
[    1.535088] evm: security.ima
[    1.535414] evm: security.capability
[    1.535737] evm: HMAC attrs: 0x1
[    1.536216] PM: Magic number: 14:125:879
[    1.536649] RAS: Correctable Errors collector initialized.
[    1.536987] md: Waiting for all devices to be available before autodetect
[    1.537310] md: If you don't use raid, use raid=noautodetect
[    1.537633] md: Autodetecting RAID arrays.
[    1.537956] md: autorun ...
[    1.538271] md: ... autorun DONE.
[    1.538651] VFS: Cannot open root device "mapper/ubuntu--vg-ubuntu--lv" or unknown-block(0,0): error -6
[    1.538977] Please append a correct "root=" boot option; here are the available partitions:
[    1.539310] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.539644] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.0-40-generic #43-Ubuntu
[    1.539996] Hardware name: Gigabyte Technology Co., Ltd. Z590 AORUS PRO AX/Z590 AORUS PRO AX, BIOS F5 03/16/2021
[    1.540404] Call Trace:
[    1.540799]  <TASK>
[    1.541189]  show_stack+0x52/0x58
[    1.541582]  dump_stack_lvl+0x4a/0x5f
[    1.541968]  dump_stack+0x10/0x12
[    1.542345]  panic+0x149/0x321
[    1.542718]  mount_block_root+0x144/0x1d9
[    1.543084]  mount_root+0x10c/0x118
[    1.543440]  prepare_namespace+0x13f/0x18d
[    1.543793]  kernel_init_freeable+0x18c/0x1b1
[    1.544152]  ? rest_init+0x100/0x100
[    1.544486]  kernel_init+0x1b/0x150
[    1.544807]  ? rest_init+0x100/0x100
[    1.545125]  ret_from_fork+0x1f/0x30
[    1.545445]  </TASK>
[    1.545808] Kernel Offset: 0x4200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    1.546165] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

Do you have any suggestions?

Kernel panic - not syncing: Fatal exception interrupt after update software https://askubuntu.com/questions/1408956/kernel-panic-not-syncing-fatal-exception-interrupt-after-update-software

after update software by update manager of Ubuntu I got this error. I try to find solutions here, but it seem to be different with my case. I need to find error information from this console then try to fix it. If not I have to reinstall the OS.

My version Ubuntu: 20.04
Kernel: 5.13.0-43-generic

[   50.860009] Call Trace:
[   50.860016]  <IRQ>
[   50.860022]  ____fput+0xe/0x10
[   50.860030]  rcu_do_batch+0x16d/0x420
[   50.860041]  rcu_core+0x10a/0x280
[   50.860050]  rcu_core_si+0xe/0x10
[   50.860059]  __do_softirq+0xcf/0x282
[   50.860069]  irq_exit_rcu+0xa4/0xb0
[   50.860079]  sysvec_apic_timer_interrupt+0x7c/0x90
[   50.860092]  </IRQ>
[   50.860097]  <TASK>
[   50.861258]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[   50.862466] RIP: 0010:cpuidle_enter_state+0xdc/0x360
[   50.863663] Code: 3d 91 84 ab 5b e8 24 68 78 ff 49 89 c6 0f 1f 44 00 00 31 ff e8 75 73 78 ff 80 7d d7 00 0f 85 01 01 00 00 fb 66
[   50.864869] RSP: 0018:ffffb0678010fe48 EFLAGS: 00000246
[   50.866038] RAX: ffff8f566dab4e40 RBX: 0000000000000001 RCX: 000000000000001f
[   50.867190] RDX: 0000000000000000 RSI: 0000000022a1cda2 RDI: 0000000000000000
[   50.868338] RBP: ffffb0678010fe80 R08: 00000000d774189e R09: ffffffff85c50e60
[   50.869488] R10: ffff8f566dab3864 R11: ffff8f566dab3844 R12: ffffd0677fa80000
[   50.870641] R13: ffffffff85c50e60 R14: 00000000d774189e R15: 0000000000000001
[   50.871892]  ? cpuidle_enter_state+0xbb/0x360
[   50.873047]  cpuidle_enter+0x2e/0x40
[   50.874194]  call_cpuidle+0x23/0x40
[   50.875335]  do_idle+0x1e6/0x260
[   50.876510]  cpu_startup_entry+0x20/0x30
[   50.877645]  start_secondary+0x11f/0x160
[   50.878782]  secondary_startup_64_no_verify+0xc2/0xcb
[   50.879957]  </TASK>
[   50.881091] Modules linked in: veth xt_nat xt_tcpudp xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo xt
q ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_gener
oundwire_bus snd_hda_codec_generic ledtrig_audio snd_soc_core snd_hda_codec_hdmi snd_compress ac97_bus snd_pcm_dmaengine intel_rapl_msr
eau snd_pcm snd_seq_midi snd_seq_midi_event
[   50.881120] kvm mxm_wmi snd_rawmidi drm_ttm_helper ttm mei_hdcp nls_iso8859_1 crct10dif_pclmul ghash_clmulni_intel drm_kms_helper snc
soundcore efi_pstore wmi_bmof sysimgblt ee1004 mei acpi_tad acpi_pad mac_hid sch_fq_codel ipmi_devintf ipmi_msghandler msr parport_pc ppc
bahci xhci_pci_renesas wmi video
[   50.890757] invalid opcode: 0000 [#3] SMP PTI
[   50.890761] ---[ end trace 976474f38c6b039f ]---
[   50.892279] CPU: 4 PID: 38 Comm: ksoftirqd/4 Tainted: G        D           5.13.0-43-generic #48~20.04.1-Ubuntu
[   50.895298] Hardware name: System manufacturer System Product Name/PRIME H370M-PLUS, BIOS 1901 02/20/2020
[   50.896812] RIP: 0010:____fput+0x247/0x250
[   50.898299] Code: 00 48 85 ff 0f 84 8b fe ff ff f6 c7 40 0f 85 82 fe ff ff e8 ab 38 00 00 e9 78 fe ff ff 4c 89 f7 e8 2e 88 02 00 e9 b5 f
[   50.899877] RSP: 0018:ffffb06780203d60 EFLAGS: 00010246
[   50.901407] RAX: 0000000000000000 RBX: 0000000000aa801d RCX: ffff8f4745257800
[   50.910453] RIP: 0010:____fput+0x247/0x250
[   50.902947] RDX: ffff8f4744eee8c0 RSI: 0000000000000001 RDI: 0000000000000000
[   50.904528] Code: 00 48 85 ff 0f 84 8b fe ff ff f6 c7 40 0f 85 82 fe ff ff e8 ab 38 00 00 e9 78 fe ff ff 4c 89 f7 e8 2e 88 02 00 e9 b5 fe
[   50.906080] RBP: ffffb06780203d88 R08: 0000000000000014 R09: ffff8f4748b86550
[   50.907720] RSP: 0018:ffffb06781723df8 EFLAGS: 00010246
[   50.909275] R10: ffffb06780203d60 R11: ffff8f474bccef10 R12: ffff8f474bccef00
[   50.909275] R13: ffff8f4748b86550 R14: ffff8f4744eee8e0 R15: ffff8f4745a3e000
[   50.910781] RAX: 0000000000000000 RBX: 0000000000aa801d RCX: ffff8f4745257800
[   50.912290] FS:  0000000000000000(0000) GS:ffff8f566da00000(0000) knlGS:0000000000000000
[   50.912291] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   50.912292] CR2: 00007fe204025478 CR3: 0000000da7610006 CR4: 00000000003706e0
[   50.913712] RDX: ffff8f4744eee8c0 RSI: 0000000000000001 RDI: 0000000000000000
[   50.915090] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   50.916468] RBP: ffffb06781723e20 R08: 0000000000000001 R09: ffff8f4748b86550
[   50.917762] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   50.919058] R10: ffffb06781723df8 R11: ffff8f474bccef10 R12: ffff8f474bccef00
[   50.920396] Call Trace:
[   50.920396]  <TASK>
[   50.920397]   ____fput+0xe/0x10
[   50.921670]  R13: ffff8f4748b86550 R14: ffff8f4744eee8e0 R15: ffff8f4745a3e000
[   50.922919]   rcu_do_batch+0x16d/0x420
[   50.924210]  FS:  0000000000000000(0000) GS:ffff8f566da00000(0000) knlGS:0000000000000000
[   50.925463]   rcu_core+0x10a/0x280
[   50.926710]  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   50.927994]   rcu_core_si+0xe/0x10
[   50.927996]  __do_softirq+0xcf/0x282
[   50.929238]  CR2: 00007fe224b36d90 CR3: 0000000da7610003 CR4: 00000000003706e0
[   50.930488]   run_ksoftirqd+0x2b/0x40
[   50.931773]  DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   50.933029]   smpboot_thread_fn+0xd0/0x170
[   50.934279]  DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   50.935583]   ? sort_range+0x30/0x30
[   50.936840]  Kernel panic - not syncing: Fatal exception in interrupt
[   50.938092]   kthread+0x12b/0x150
[   50.948347]   ? set_kthread_struct+0x40/0x40
[   50.949574]   ret_from_fork+0x22/0x30
[   50.950797]  </TASK>
[   50.952012] Modules linked in: veth xt_nat xt_tcpudp xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo xt_addrtype ip
q ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocatio
oundwire_bus snd_hda_codec_generic ledtrig_audio snd_soc_core snd_hda_codec_hdmi snd_compress ac97_bus snd_pcm_dmaengine intel_rapl_msr intel_rapl_co
eau snd_pcm snd_seq_midi snd_seq_midi_event
[   50.952038] kvm mxm_wmi snd_rawmidi drm_ttm_helper ttm mei_hdcp nls_iso8859_1 crct10dif_pclmul ghash_clmulni_intel drm_kms_helper snd_seq aesni_i
soundcore efi_pstore wmi_bmof sysimgblt ee1004 mei acpi_tad acpi_pad mac_hid sch_fq_codel ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp parpor
bahci xhci_pci_renesas wmi video
[   50.962071] Kernel Offset: 0x22c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[   50.970750] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
_
Kernel panic - not syncing : Attempted to kill init exitcode=0x0000009 https://askubuntu.com/questions/1408537/kernel-panic-not-syncing-attempted-to-kill-init-exitcode-0x0000009

I'm newbie in Linux. I facing this issue when try to restart or shutdown my laptop. It just get stuck black screen with Kernel panic - not syncing Attempted to kill init exitcode=0x0000009.

[46682.001916]  nvkm_ioctl_del+0x83/0xa0 [nouveau]
[46682.001943]  nvkm_ioctl+0x11d/0x280 [nouveau]
[46682.001979]  nvkm_client_ioctl+0x12/0x20 [nouveau]
[46682.002007]  nvif_object_ioctl+0x47/0x50 [nouveau]
[46682.002034]  nvif_object_fini+0x5a/0x80 [nouveau]
[46682.002069]  nouveau_channel_del+0x8e/0x120 [nouveau]
[46682.002105]  nouveau_abi16_chan_fini.isra.4+0xa5/0xf0 [nouveau]
[46682.002141]  nouveau_abi16_fini+0x31/0x70 [nouveau]
[46682.002177]  nouveau_drm_postclose+0x95/0x130 [nouveau]
[46682.002199]  drm_file_free.part.11+0x1c8/0x260 [drm]
[46682.002221]  drm_release+0x9e/0xd0 [drm]
[46682.002235]  __fput+0xc6/0x260
[46682.002246]  ____fput+0xe/0x10
[46682.002257]  task_work_run+0x9d/0xc0
[46682.002270]  exit_to_usermode_loop+0x109/0x130
[46682.002286]  do_syscall_64+0x170/0x190
[46682.002299]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[46682.002316] RIP: 0033:0x7f03e8a888a7
[46682.002329] Code: b8 03 00 00 00 0f 05 48 3d 00 f0 ff ff 77 3c f3 c3 66 90 53 89 fb 48 83 ec 10 e8 a4 fc 01 00 89 df 89 c2 b8 0
[46682.002384] RSP: 002b:00007fff5a9cf6b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
[46682.002407] RAX: 0000000000000000 RBX: 0000000000000031 RCX: 00007f03e8a888a7
[46682.002429] RDX: 0000000000000000 RSI: 00005628e7924010 RDI: 0000000000000031
[46682.002452] RBP: 00007f03e8f6fd40 R08: 0000000000000000 R09: 00005628e5e7626c
[46682.002474] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
[46682.002496] R13: 0000000000000000 R14: 00005628e7965f20 R15: 00005628e5e80920
[46682.002518] Modules linked in: snd_usb_audio snd_usbmidi_lib rfcomm ccm cmac bnep snd_sof_pci snd_sof_intel_hda_common snd_hda_co
[46682.002518] pi_pxa2xx_platform snd_hda_ext_core dw_dmac dw_dmac_core 8250_dw hid_multitouch snd_soc_acpi_intel_match snd_hda_codec_realtek snd_s
[46682.002518] cm_dmaengine x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_intel snd_intel_dspcfg kvm_intel snd_hda_codec nls_iso8859_1 kvm
[46682.002518] yptd snd_seq_midi glue_helper snd_seq_midi_event rapl snd_rawmidi intel_cstate nouveau snd_seq snd_seq_device snd_timer asus_nb_wmi
[46682.002518] videobuf2_memops videobuf2_v4l2 videobuf2_common
[46682.002528] videodev mac80211 mc btusb drm_kms_helper btrtl libarc4 btbcm btintel processor_thermal_device drm iwlwifi bluetooth
[46682.002528] cdh_generic idma64 sysfillrect cfg80211 ecc mei virt_dma intel_soc_dts_iosf sysimgblt intel_pch_thermal int3403_thermal int340x_therr
[46682.002528] ip_tables x_tables autofs4 hid_generic usbhid nvme nvme_core ahci libahci i2c_hid hid pinctrl_cannonlake wmi video pinctrl_intel
[46682.002935] CR2: ffffffffffffffcc00
[46682.004317] ---[ end trace ecb386c737c2c8e9 ]---
[46682.005685] RIP: 0010:gk104_fifo_recover_chan+0xd5/0x2c0 [nouveau]
[46682.007045] Code: 74 24 f8 48 89 d6 48 8d 0c bf 4d 8d 94 16 88 04 00 00 48 8d 0c 4f 49 8b 8c cc 80 04 00 00 4c 39 d1 4c 8d 89 68 f
[46682.008517] RSP: 0018:ffffb9b9200037a18 EFLAGS: 00010007
[46682.009943] RAX: 00000000ffffffff RBX: 0000000000080014 RCX: 0000000000000000
[46682.011386] RDX: 0000000000000528 RSI: 0000000000000528 RDI: 000000000000000f
[46682.012813] RBP: ffffb9b9200037a78 R08: 000000000000000f R09: ffffffffffffffb68
[46682.014243] R10: ffff8885900a89b0 R11: 00000000ffffffff R12: ffff8885900a8008
[46682.015675] R13: 0000000000000002 R14: ffff8885900a8000 R15: ffff88858c915c00
[46682.017124] FS:  00007f03e8f6fdc0(0000) GS:ffff888599b40000(0000) knlGS:0000000000000000
[46682.018531] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[46682.019928] CR2: ffffffffffffffcc00 CR3: 0000000553cb4005 CR4: 00000000003606e0
[46682.021382] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[46682.022966] Kernel Offset: 0xd000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[46682.024396] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009 ]---
_

I'm trying to update my BIOS to the newest, but it did not solve my problem. I can't restart or shutdown my laptop.

When I run lspci | grep VGA and then lspci -k | grep -EA3 'VGA|3D|Display', this is the output:

nafidinara@nafidinara-pc 
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 3ea0
nafidinara@nafidinara-pc 
$ lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Device 3ea0
Subsystem: ASUSTeK Computer Inc. Device 1cae
Kernel driver in use: i915
Kernel modules: i915

02:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)
Subsystem: ASUSTeK Computer Inc. GP108M [GeForce MX150]
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
nafidinara@nafidinara-pc
█

When I run ls -al /boot and then dpkg -l *nvidia* this is the output:

nafidinara@nafidinara-pc
$ ls -al /boot
total 114588
drwxr-xr-x  4 root root      4096 Mei 14 01:59 .
drwxr-xr-x 25 root root      4096 Mei 14 21:10 ..
-rw-r--r--  1 root root    237880 Apr 22 16:36 config-5.4.0-110-generic
-rw-r--r--  1 root root    237789 Agu 27  2021 config-5.4.0-84-generic
drwx------  3 root root      4096 Jan  1  1970 efi
drwxr-xr-x  5 root root      4096 Mei 14 01:53 grub
-rw-r--r--  1 root root  43336153 Mei 14 01:59 initrd.img-5.4.0-110-generic
-rw-r--r--  1 root root  43320314 Mei 14 01:58 initrd.img-5.4.0-84-generic
-rw-r--r--  1 root root    182704 Jan 28  2016 memtest86+.bin
-rw-r--r--  1 root root    184380 Jan 28  2016 memtest86+.elf
-rw-r--r--  1 root root    184840 Jan 28  2016 memtest86+_multiboot.bin
-rw-------  1 root root   4594273 Apr 22 16:36 System.map-5.4.0-110-generic
-rw-------  1 root root   4588571 Agu 27  2021 System.map-5.4.0-84-generic
-rw-------  1 root root  10961152 Apr 22 16:36 vmlinuz-5.4.0-110-generic
-rw-r--r--  1 root root   9457920 Mei 14 08:07 vmlinuz-5.4.0-84-generic
nafidinara@nafidinara-pc 
$ dpkg -l *nvidia*
zsh: no matches found: *nvidia*
nafidinara@nafidinara-pc
█

Ubuntu version: 18.04 LTS

Laptop: VivoBook_ASUSLaptop X430FN_S430FN

SSD- Ubuntu 20.04 kernel panic "nvme nvme1: Device not ready; aborting reset" https://askubuntu.com/questions/1330440/ssd-ubuntu-20-04-kernel-panic-nvme-nvme1-device-not-ready-aborting-reset
'# <file system> <mount point>   <type>  <options>       <dump>  <pass>'
'# / was on /dev/nvme1n1p2 during installation'
'UUID=dcf15593-4afa-4381-8d3f-7be280b0d955 /               ext4    errors=remount-ro 0       1'
'# /boot/efi was on /dev/nvme1n1p1 during installation'
'UUID=B97A-EC82  /boot/efi       vfat    umask=0077      0       1'
'/swapfile                                 none            swap    sw              0       0'
[15029.689357] systemd-shutdown[1]: Syncing filesystems and block devices - timed out, issuing SIGKILL to PID 11952.
[15031.602605] nvme nvme1: I/O 448 QID 2 timeout, aborting
[15031.602675] nvme nvme1: I/O 449 QID 2 timeout, aborting
[15031.602713] nvme nvme1: I/O 450 QID 2 timeout, aborting
[15031.602750] nvme nvme1: I/O 451 QID 2 timeout, aborting
[15031.602787] nvme nvme1: I/O 452 QID 2 timeout, aborting
[15039.696570] systemd-shutdown[1]: Waiting for process: (sd-sync), systemd-journal
[15062.323342] nvme nvme1: I/O 448 QID 2 timeout, reset controller
[15093.044064] nvme nvme1: I/O 4 QID 0 timeout, reset controller
[15129.705209] systemd-shutdown[1]: Waiting for process: (sd-sync), systemd-journal
_
[ 1143.812555] ACPI: button: The lid device is not compliant to SW_LID.
[ 1170.005018] systemd-shutdown[1]: Syncing filesystems and block devices - timed out, issuing SIGKILL to PID 3546.
[ 1170.430051] nvme nvme1: I/O 640 QID 6 timeout, aborting
[ 1170.430127] nvme nvme1: I/O 641 QID 6 timeout, aborting
[ 1170.430174] nvme nvme1: I/O 697 QID 6 timeout, aborting
[ 1170.430212] nvme nvme1: I/O 698 QID 6 timeout, aborting
[ 1170.430250] nvme nvme1: I/O 699 QID 6 timeout, aborting
[ 1180.010828] systemd-shutdown[1]: Waiting for process: systemd-journal, (sd-sync)
[ 1201.148255] nvme nvme1: I/O 640 QID 6 timeout, reset controller
[ 1231.866451] nvme nvme1: I/O 20 QID 0 timeout, reset controller
[ 1270.012117] systemd-shutdown[1]: Waiting for process: systemd-journal, (sd-sync)
[ 1330.165072] INFO: task jbd2/nvme1n1p2-:313 blocked for more than 120 seconds.
[ 1330.165136]       Tainted: G        W         5.8.0-50-generic #56~20.04.1-Ubuntu
[ 1330.165184] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1330.165315] INFO: task systemd-journal:355 blocked for more than 120 seconds.
[ 1330.165361]       Tainted: G        W         5.8.0-50-generic #56~20.04.1-Ubuntu
[ 1330.165407] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1330.165559] RIP: 0033:0x7ffbd8e4ce0c
[ 1330.165584] RSP: 002b:00007ffc1972eb00 EFLAGS: 00010246
[ 1330.165619] RAX: 00007ffbd63077f0 RBX: 00007ffc1972eb50 RCX: 00007ffbd671ea20
[ 1330.165664] RDX: 0000000000000000 RSI: 0000000000038e38 RDI: 00007ffbd671ea60
[ 1330.165708] RBP: 000055b3464ce980 R08: 0000000000451a20 R09: 000055b346489c80
[ 1330.165754] R10: 00007ffbd8f9d848 R11: 0000000000000000 R12: 0000000000000026
[ 1330.165798] R13: 0000000000039210 R14: 00007ffc1972eb30 R15: 000055b3464ce1a0
[ 1330.165877] INFO: task (sd-sync):3546 blocked for more than 120 seconds.
[ 1330.165919]       Tainted: G        W         5.8.0-50-generic #56~20.04.1-Ubuntu
[ 1330.165966] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1330.166069] RIP: 0033:0x7ff4fbeb038b
[ 1330.166093] RSP: 002b:00007ffc1062d458 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
[ 1330.166142] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff4fbeb038b
[ 1330.166186] RDX: 00000000ffffffff RSI: 0000000000000000 RDI: 0000000000000003
[ 1330.166232] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 1330.166276] R10: 00007ff4fbf36ac0 R11: 0000000000000246 R12: 00007ffc1062d8e8
[ 1330.166321] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 1383.082396] nvme nvme1: Device not ready; aborting reset, CSTS=0x1
[ 1383.099045] nvme nvme1: Abort status: 0x371
[ 1383.099076] nvme nvme1: Abort status: 0x371
[ 1383.099106] nvme nvme1: Abort status: 0x371
[ 1383.099135] nvme nvme1: Abort status: 0x371
[ 1383.099163] nvme nvme1: Abort status: 0x371
[ 1440.005946] systemd-shutdown[1]: Remounting '/' timed out, issuing SIGKILL to PID 3548.
[ 1450.991383] INFO: task jbd2/nvme1n1p2-:313 blocked for more than 241 seconds.
[ 1450.991448]       Tainted: G        W         5.8.0-50-generic #56~20.04.1-Ubuntu
[ 1450.991495] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1450.991626] INFO: task systemd-journal:355 blocked for more than 241 seconds.
[ 1450.991672]       Tainted: G        W         5.8.0-50-generic #56~20.04.1-Ubuntu
[ 1450.991719] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1450.991870] RIP: 0033:0x7ffbd8e4ce0c
[ 1450.991895] RSP: 002b:00007ffc1972eb00 EFLAGS: 00010246
[ 1450.991930] RAX: 00007ffbd63077f0 RBX: 00007ffc1972eb50 RCX: 00007ffbd671ea20
[ 1450.991975] RDX: 0000000000000000 RSI: 0000000000038e38 RDI: 00007ffbd671ea60
[ 1450.992019] RBP: 000055b3464ce980 R08: 0000000000451a20 R09: 000055b346489c80
[ 1450.992064] R10: 00007ffbd8f9d848 R11: 0000000000000000 R12: 0000000000000026
[ 1450.992109] R13: 0000000000039210 R14: 00007ffc1972eb30 R15: 000055b3464ce1a0
[ 1450.992184] INFO: task (sd-sync):3546 blocked for more than 241 seconds.
[ 1450.992226]       Tainted: G        W         5.8.0-50-generic #56~20.04.1-Ubuntu
[ 1450.992272] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1450.992376] RIP: 0033:0x7ff4fbeb038b
[ 1450.992400] RSP: 002b:00007ffc1062d458 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
[ 1450.992449] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff4fbeb038b
[ 1450.992493] RDX: 00000000ffffffff RSI: 0000000000000000 RDI: 0000000000000003
[ 1450.992538] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 1450.992582] R10: 00007ff4fbf36ac0 R11: 0000000000000246 R12: 00007ffc1062d8e8
[ 1450.992627] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
_
[15029.689357] systemd-shutdown[1]: Syncing filesystems and block devices - timed out, issuing SIGKILL to PID 11952.
[15031.602605] nvme nvme1: I/O 448 QID 2 timeout, aborting
[15031.602675] nvme nvme1: I/O 449 QID 2 timeout, aborting
[15031.602713] nvme nvme1: I/O 450 QID 2 timeout, aborting
[15031.602750] nvme nvme1: I/O 451 QID 2 timeout, aborting
[15031.602787] nvme nvme1: I/O 452 QID 2 timeout, aborting
[15039.696570] systemd-shutdown[1]: Waiting for process: (sd-sync), systemd-journal
[15062.323342] nvme nvme1: I/O 448 QID 2 timeout, reset controller
[15093.044064] nvme nvme1: I/O 4 QID 0 timeout, reset controller
[15129.705209] systemd-shutdown[1]: Waiting for process: (sd-sync), systemd-journal
[15226.166981] INFO: task jbd2/nvme1n1p2-:321 blocked for more than 120 seconds.
[15226.167042]       Tainted: G        U         5.8.0-50-generic #56~20.04.1-Ubuntu
[15226.167090] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[15226.167214] INFO: task systemd-journal:361 blocked for more than 120 seconds.
[15226.167259]       Tainted: G        U         5.8.0-50-generic #56~20.04.1-Ubuntu
[15226.167305] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[15226.167433] RIP: 0033:0x7effa0554153
[15226.167460] RSP: 002b:00007ffc889ec3c0 EFLAGS: 00010246
[15226.167503] RAX: 00007ffbd63077f0 RBX: 0000000000000067 RCX: 0000000000000000
[15226.167548] RDX: 0000000000000000 RSI: 00007effa05541e9 RDI: 0000561de2c18e70
[15226.167592] RBP: 0000000000000001 R08: 0000000000000001 R09: 0000561de2be3c80
[15226.167637] R10: 00007ffbd8f9d848 R11: 0000000000000246 R12: 00007ffc889ec4e8
[15226.167683] R13: 00007ffc889ec3e0 R14: 0000561de2c18be0 R15: 00000037e3e37b8
[15226.167760] INFO: task (sd-sync):11952 blocked for more than 120 seconds.
[15226.167803]       Tainted: G        U         5.8.0-50-generic #56~20.04.1-Ubuntu
[15226.167849] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[15226.167950] RIP: 0033:0x7f418b9a338b
[15226.167975] RSP: 002b:00007ffc6fc65818 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
[15226.168022] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f418b9a338b
[15226.168067] RDX: 00000000ffffffff RSI: 0000000000000000 RDI: 0000000000000003
[15226.168112] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[15226.168157] R10: 00007f418ba29ac0 R11: 0000000000000246 R12: 00007ffc6fc65ca8
[15226.168201] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[15226.168247] INFO: task kworker/14:2H:11953 blocked for more than 120 seconds.
[15226.168292]       Tainted: G        U         5.8.0-50-generic #56~20.04.1-Ubuntu
[15226.168340] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[15244.272477] nvme nvme1: Device not ready; aborting reset, CSTS=0x1
[15244.287897] nvme nvme1: Abort status: 0x371
[15244.287932] nvme nvme1: Abort status: 0x371
[15244.287963] nvme nvme1: Abort status: 0x371
[15244.287992] nvme nvme1: Abort status: 0x371
[15244.288021] nvme nvme1: Abort status: 0x371
_
Filename                Type        Size    Used      Priority
/swapfile                               file        2097148 0   -2

sysctl vm.swappiness

vm.swappiness=60

I have been using Ubuntu for the past 4 days, and today during shutdown the computer stalled for 5 minutes and displayed the attached outputs. I have checked online forums and found this articles which basically says it is a issue related to power saving (APST), so adding a kernel parameter should disable the APST and I won't see that output anymore, however I wonder why I started to get this output on the fifth day of my Ubuntu adventure. I was using Xubuntu and Windows before, then I formatted the disk and installed Ubuntu on it.

When I run smartctl -H /dev/nvme0n1 I get:

SMART overall-health self-assessment test result: PASSED

My SSD seems healthy, but why do I get this message? Should I replace my SSD? Is the system is improperly installed?

2 months update:

  • By following @heynnema's direction, I was able to solve my issue. Checking SSD slot fit and checking or firmware update did help.
How to disable mouse scroll wheel in ubuntu 20.04? https://askubuntu.com/questions/1280225/how-to-disable-mouse-scroll-wheel-in-ubuntu-20-04

I see this question has already an answer here. But it didn't work for 20.04. What might be the solution for 20.04 version?

My Qualcomm Atheros QCA9377 Wireless adopter is not working in Ubuntu 20.04 LTS (Vendor: Lenovo Model:E41-25) https://askubuntu.com/questions/1277359/my-qualcomm-atheros-qca9377-wireless-adopter-is-not-working-in-ubuntu-20-04-lts

My Qualcomm Atheros QCA9377 Wireless adapter is not working. In that I can't use WiFi in my Ubuntu 20.04 version. Also my laptop vendor is Lenovo(Model:E41-25) Already I referred some of the solutions here on AskUbuntu.

I can use my WiFi adopter in Windows but not in Ubuntu.

I'm searching this for more than 4 months Still I didn't get the solution.

Please help to find the solution.

When I'm running sudo apt-get update

wintersoldier@wintersoldier:~$ sudo apt-get update
#details done
wintersoldier@wintersoldier:~$ 

When I'm running lspci

wintersoldier@wintersoldier:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev ea)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15b3
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 4b)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4b)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney HT Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney Address Maps
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney DRAM Configuration
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney Miscellaneous Configuration
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney PM Configuration
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney NB Performance Monitor
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
wintersoldier@wintersoldier:~$ 

When running lspci -nnk | grep -iA3 net

wintersoldier@wintersoldier:~$ lspci -nnk | grep -iA3 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:38a6]
    Kernel driver in use: r8169
    Kernel modules: r8169
02:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)
    Subsystem: Lenovo QCA9377 802.11ac Wireless Network Adapter [17aa:0901]
    Kernel modules: ath10k_pci
wintersoldier@wintersoldier:~$ 

While running rfkill list

wintersoldier@wintersoldier:~$ rfkill list
0: ideapad_wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: ideapad_bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
2: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
wintersoldier@wintersoldier:~$

While running inxi -F

wintersoldier@wintersoldier:~$ inxi -F
System:
  Host: wintersoldier Kernel: 5.4.0-47-generic x86_64 bits: 64 
  Desktop: Gnome 3.36.4 Distro: Ubuntu 20.04.1 LTS (Focal Fossa) 
Machine:
  Type: Laptop System: LENOVO product: 81FS v: Lenovo E41-25 
  serial: <superuser/root required> 
  Mobo: LENOVO model: LNVNB161216 v: SDK0K88286 WIN 
  serial: <superuser/root required> UEFI: LENOVO v: 7UCN28WW(V2.02) 
  date: 11/14/2019 
Battery:
  ID-1: BAT1 charge: 43.2 Wh condition: 44.6/48.0 Wh (93%) 
CPU:
  Topology: Dual Core model: AMD PRO A4-4350B R4 5 COMPUTE CORES 2C+3G 
  bits: 64 type: MCP L2 cache: 1024 KiB 
  Speed: 1297 MHz min/max: 1300/2500 MHz Core speeds (MHz): 1: 1297 2: 1297 
Graphics:
  Device-1: AMD Stoney [Radeon R2/R3/R4/R5 Graphics] driver: amdgpu 
  v: kernel 
  Display: x11 server: X.Org 1.20.8 driver: amdgpu resolution: 1366x768~60Hz 
  OpenGL: renderer: AMD STONEY (DRM 3.35.0 5.4.0-47-generic LLVM 10.0.0) 
  v: 4.5 Mesa 20.0.8 
Audio:
  Device-1: AMD driver: snd_hda_intel 
  Device-2: AMD Family 15h Audio driver: snd_hda_intel 
  Sound Server: ALSA v: k5.4.0-47-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
  IF: enp1s0 state: down mac: 9c:5a:44:4a:22:7a 
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter 
  driver: N/A 
  Device-3: Qualcomm Atheros type: USB driver: btusb 
  IF-ID-1: bnep0 state: unknown speed: N/A duplex: N/A 
  mac: 3c:91:80:66:e9:1c 
Drives:
  Local Storage: total: 465.76 GiB used: 48.09 GiB (10.3%) 
  ID-1: /dev/sda vendor: Toshiba model: MQ01ABF050 size: 465.76 GiB 
Partition:
  ID-1: / size: 37.30 GiB used: 7.38 GiB (19.8%) fs: ext4 dev: /dev/sda7 
  ID-2: /home size: 136.79 GiB used: 7.15 GiB (5.2%) fs: ext4 dev: /dev/sda9 
  ID-3: swap-1 size: 7.63 GiB used: 6.8 MiB (0.1%) fs: swap dev: /dev/sda8 
Sensors:
  System Temperatures: cpu: 59.2 C mobo: N/A gpu: amdgpu temp: 59 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 220 Uptime: 1h 33m Memory: 3.73 GiB used: 1.62 GiB (43.4%) 
  Shell: bash inxi: 3.0.38 
wintersoldier@wintersoldier:~$ 

While running ifconfig

wintersoldier@wintersoldier:~$ ifconfig
bnep0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.44.195  netmask 255.255.255.0  broadcast 192.168.44.255
        inet6 fe80::7c9f:4917:c300:61ff  prefixlen 64  scopeid 0x20<link>
        ether 3c:91:80:66:e9:1c  txqueuelen 1000  (Ethernet)
        RX packets 20703  bytes 19297996 (19.2 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15228  bytes 2641916 (2.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 9c:5a:44:4a:22:7a  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 4353  bytes 378490 (378.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4353  bytes 378490 (378.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wintersoldier@wintersoldier:~$ 

While running iwconfig

wintersoldier@wintersoldier:~$ iwconfig
lo        no wireless extensions.

bnep0     no wireless extensions.

enp1s0    no wireless extensions.

While Running dkms status

wintersoldier@wintersoldier:~$ dkms status
wintersoldier@wintersoldier:~$ 

Note: Nothing shows while running this command - dkms status

While Runnig dmesg | grep ath

wintersoldier@wintersoldier:~$ dmesg | grep ath
[    5.689125] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[    5.726047] systemd[1]: /etc/systemd/system/teamviewerd.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/teamviewerd.pid → /run/teamviewerd.pid; please update the unit file accordingly.
[   12.054173] ath10k_pci 0000:02:00.0: failed to iomap BAR0
[   12.054223] ath10k_pci 0000:02:00.0: failed to claim device: -5
[   12.054308] ath10k_pci: probe of 0000:02:00.0 failed with error -5
[   78.643772] audit: type=1107 audit(1601128160.462:52): pid=663 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.16" pid=1817 label="snap.snap-store.ubuntu-software" peer_pid=664 peer_label="unconfined"
[   79.186168] audit: type=1107 audit(1601128161.006:53): pid=663 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.7" pid=1817 label="snap.snap-store.ubuntu-software" peer_pid=693 peer_label="unconfined"
[   79.187068] audit: type=1107 audit(1601128161.006:54): pid=663 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.7" pid=1817 label="snap.snap-store.ubuntu-software" peer_pid=693 peer_label="unconfined"
[   79.343785] audit: type=1107 audit(1601128161.162:55): pid=663 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.7" pid=1817 label="snap.snap-store.ubuntu-software" peer_pid=693 peer_label="unconfined"
[   79.345006] audit: type=1107 audit(1601128161.166:56): pid=663 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.7" pid=1817 label="snap.snap-store.ubuntu-software" peer_pid=693 peer_label="unconfined"

While Running modinfo ath10k_pci

wintersoldier@wintersoldier:~$ modinfo ath10k_pci
filename:       /lib/modules/5.4.0-47-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
firmware:       ath10k/QCA9377/hw1.0/board.bin
firmware:       ath10k/QCA9377/hw1.0/firmware-5.bin
firmware:       ath10k/QCA9377/hw1.0/firmware-6.bin
firmware:       ath10k/QCA6174/hw3.0/board-2.bin
firmware:       ath10k/QCA6174/hw3.0/board.bin
firmware:       ath10k/QCA6174/hw3.0/firmware-6.bin
firmware:       ath10k/QCA6174/hw3.0/firmware-5.bin
firmware:       ath10k/QCA6174/hw3.0/firmware-4.bin
firmware:       ath10k/QCA6174/hw2.1/board-2.bin
firmware:       ath10k/QCA6174/hw2.1/board.bin
firmware:       ath10k/QCA6174/hw2.1/firmware-5.bin
firmware:       ath10k/QCA6174/hw2.1/firmware-4.bin
firmware:       ath10k/QCA9887/hw1.0/board-2.bin
firmware:       ath10k/QCA9887/hw1.0/board.bin
firmware:       ath10k/QCA9887/hw1.0/firmware-5.bin
firmware:       ath10k/QCA988X/hw2.0/board-2.bin
firmware:       ath10k/QCA988X/hw2.0/board.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-5.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-4.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-3.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-2.bin
license:        Dual BSD/GPL
description:    Driver support for Qualcomm Atheros 802.11ac WLAN PCIe/AHB devices
author:         Qualcomm Atheros
srcversion:     51F04E4FC0190954FF7DF5E
alias:          pci:v0000168Cd00000050sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000042sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000046sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000056sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000040sv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000003Esv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000041sv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000003Csv*sd*bc*sc*i*
alias:          pci:v00000777d000011ACsv*sd*bc*sc*i*
depends:        ath10k_core
retpoline:      Y
intree:         Y
name:           ath10k_pci
vermagic:       5.4.0-47-generic SMP mod_unload 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        60:9F:61:6A:D4:C9:3C:64:35:01:B1:13:6F:DD:36:46:DB:88:1D:84
sig_hashalgo:   sha512
signature:      61:51:18:1B:01:A1:62:8D:09:69:35:76:A8:3F:AE:1B:FC:DE:C4:57:
        29:50:B5:88:D1:5B:8C:72:7B:C0:25:AB:FD:1D:C5:AD:DB:94:57:76:
        9A:02:E1:E8:2E:04:B8:99:31:8D:73:68:3E:B4:66:5E:7B:E5:A6:3C:
        E9:FA:1C:AD:06:04:F7:C9:7D:E8:AB:B8:33:7E:35:03:19:E9:81:DF:
        17:4E:73:45:03:DC:AB:3C:60:E4:8F:F8:86:23:87:12:09:F8:6B:D3:
        40:23:E0:7F:E5:6D:63:ED:D5:0E:57:19:93:8F:A7:06:1A:7C:67:FF:
        B2:E8:C1:F7:C8:2C:13:D6:56:65:8A:70:62:A6:83:F0:1C:BE:F5:BD:
        CC:6F:38:46:F3:A6:F2:4B:84:B1:55:9B:D4:D3:74:2F:3C:08:7C:19:
        2F:78:B6:D1:95:4D:89:1D:0B:81:D5:15:15:75:59:F5:8C:2A:C8:B2:
        AC:51:0F:5E:72:46:4A:A2:52:B3:0D:E1:E0:41:F6:3B:D3:36:D7:6B:
        C3:33:AF:1A:DE:28:2C:BA:D8:D3:6E:80:56:A7:7C:1E:EF:FF:DA:F9:
        5D:7D:50:75:0E:2F:F9:6E:8A:E0:E6:5C:5D:89:8C:AA:F2:6B:2B:59:
        74:1D:FE:6B:7C:1B:07:CA:6F:1B:88:95:6E:92:39:84:07:27:86:49:
        CB:17:8D:A5:47:9F:67:EF:FA:AA:08:7E:1E:DC:4D:1D:E5:21:86:DB:
        FC:F9:E4:26:23:16:08:1E:52:2E:66:23:0E:0B:9B:7B:93:F1:22:4E:
        8A:FF:F0:86:0E:54:98:20:20:4A:2B:E7:DC:A9:B9:A9:99:92:BA:F7:
        5D:BC:5A:A8:FE:BD:30:F6:6B:B8:53:28:96:BC:D8:E3:47:24:C1:4C:
        F5:CF:50:3C:8A:64:2C:F8:91:0E:97:EE:95:4F:96:71:90:DE:0E:3A:
        AA:D1:C4:D0:E1:A8:45:86:09:6E:3E:75:8D:1B:3D:5B:E0:C7:5D:5B:
        6E:B8:36:BF:E8:C3:64:0C:A9:56:F5:7F:C7:62:66:67:12:F8:28:ED:
        A6:C3:29:31:B2:91:4D:21:22:5B:D0:2B:3F:49:7A:29:73:D2:F7:9F:
        F9:0B:76:9E:23:32:3B:B1:8A:A9:E5:89:55:D2:AB:94:65:49:A3:64:
        02:16:DA:87:E5:AA:5A:F1:59:75:C8:EC:88:BD:AE:21:D6:0C:BC:93:
        F4:28:20:FA:EB:3D:4E:5A:AC:64:6F:AA:05:AC:B4:0B:70:E2:06:44:
        E9:FF:2D:3D:DE:C8:F4:6B:01:1F:8A:59:0C:E2:11:50:0E:38:77:70:
        E7:FC:A0:E9:37:E6:C8:7A:AF:56:2D:35
parm:           irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
parm:           reset_mode:0: auto, 1: warm only (default: 0) (uint)
wintersoldier@wintersoldier:~$ 

While Running echo "options ath9k_pci irq_mode=1" | sudo tee /etc/modprobe.d/ath10k-pci.conf

wintersoldier@wintersoldier:~$ echo "options ath9k_pci irq_mode=1" | sudo tee /etc/modprobe.d/ath10k-pci.conf
[sudo] password for wintersoldier: 
options ath9k_pci irq_mode=1
wintersoldier@wintersoldier:~$ 
VirtualBox startup error for Lubuntu - kernel panic not syncing https://askubuntu.com/questions/1120392/virtualbox-startup-error-for-lubuntu-kernel-panic-not-syncing

I am trying to boot up Lubuntu on virtualbox to obtain OpenFOAM software as indicated @ Using OpenFOAM in VirtualBox .

I'm using Ubuntu 16.04. I receive this kernel panic error message on startup.

[   22.835415]  [<c13a4ea0>] ? __wrmsr_on_cpu+0x40/0x40
[   22.835706]  [<c13a4ea0>] ? __wrmsr_on_cpu+0x40/0x40
[   22.835876]  [<c10e89df>] smp_call_function_single+0x6f/0x100
[   22.836060]  [<c1b26193>] ? intel_cqm_init+0x288/0x288
[   22.836220]  [<c1b26193>] ? intel_cqm_init+0x288/0x288
[   22.836438]  [<c13a526d>] rdmsrl_safe_on_cpu+0x4d/0x80
[   22.836603]  [<c1b261db>] pt_init+0x48/0x259
[   22.836750]  [<c100211a>] do_one_initcall+0xaa/0x200
[   22.836905]  [<c1b26193>] ? intel_cqm_init+0x288/0x288
[   22.837073]  [<c1b18cf6>] ? kernel_init_freeable+0x126/0x1d9
[   22.837246]  [<c1b18d16>] kernel_init_freeable+0x146/0x1d9
[   22.837416]  [<c1757700>] kernel_init+0x10/0xe0
[   22.837562]  [<c1092ed1>] ? schedule_tail+0x11/0x50
[   22.837720]  [<c17658c1>] ret_from_kernel_thread+0x21/0x30
[   22.837883]  [<c17576f0>] ? rest_init+0x70/0x70
[   22.838071] Code: Bad EIP value.
[   22.838401] EIP: [<febdb8b3>] 0xfebdb8b3 SS:ESP 0068:f6cbbe5c
[   22.839193] ---[ end trace 1b06e6cf98ad2464 ]---
[   22.842657] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00
00000b
[   22.842657]
[   22.843212] ---[ end Kernel panic - not syncing: Attempted to kill init! exit
code=0x0000000b
[   22.843212]
_
possible to mark all mail as read using one line terminal? https://askubuntu.com/questions/994498/possible-to-mark-all-mail-as-read-using-one-line-terminal

I am not trying to remove all the mails.

I googled for mark all mail as read, actually got posts saying how to delete them instead.

I found out using echo p | mail will output first of unread then mark it read, but if I do this, I have to loop through them.

I figured for all read mails, they will be appended to a file named mbox

What I am trying to do is...I want to create a bash file which is then used for crontab that let's say, at the end of each month, change the name of mbox into month-year in this way I can keep track and organize the mails BUT in order to have the mails appended into mbox is reading the mails one by one first.

Am I thinking this in a wrong direction? Or can someone give me some advices?

Thanks in advance for any help

EDIT: I am just using sudo apt install mailutils for my ubuntu server

how to setup a Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) https://askubuntu.com/questions/779442/how-to-setup-a-cambridge-silicon-radio-ltd-bluetooth-dongle-hci-mode

Bluetooth setup docs seem a bit dated; my device, but with a different chipset, is on the hardware support docs, however.

thufir@mordor:~$ 
thufir@mordor:~$ hciconfig 
hci0:   Type: BR/EDR  Bus: USB
    BD Address: 00:11:22:98:76:54  ACL MTU: 1021:4  SCO MTU: 180:1
    UP RUNNING PSCAN ISCAN 
    RX bytes:1118 acl:0 sco:0 events:39 errors:0
    TX bytes:413 acl:0 sco:0 commands:37 errors:0

thufir@mordor:~$ 
thufir@mordor:~$ hciconfig -a hci0
hci0:   Type: BR/EDR  Bus: USB
    BD Address: 00:11:22:98:76:54  ACL MTU: 1021:4  SCO MTU: 180:1
    UP RUNNING PSCAN ISCAN 
    RX bytes:1118 acl:0 sco:0 events:39 errors:0
    TX bytes:413 acl:0 sco:0 commands:37 errors:0
    Features: 0xff 0x3e 0x09 0x76 0x80 0x01 0x00 0x80
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
    Link policy: RSWITCH HOLD SNIFF 
    Link mode: SLAVE ACCEPT 
    Name: 'mordor'
    Class: 0x0c0104
    Service Classes: Rendering, Capturing
    Device Class: Computer, Desktop workstation
    HCI Version: 2.0 (0x3)  Revision: 0x50
    LMP Version: 2.0 (0x3)  Subversion: 0x3
    Manufacturer: Mitel Semiconductor (16)

thufir@mordor:~$ 
thufir@mordor:~$ lsusb
Bus 002 Device 003: ID 0a48:3302 I/O Interconnect 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 147a:e034 Formosa Industrial Computing, Inc. 
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 004 Device 002: ID 045e:00b4 Microsoft Corp. Digital Media Keyboard 1.0A
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
thufir@mordor:~$ 

also:

thufir@mordor:~$ 
thufir@mordor:~$ dmesg | grep Bluetooth 
[ 8112.206222] Bluetooth: Core ver 2.20
[ 8112.206258] Bluetooth: HCI device and connection manager initialized
[ 8112.206264] Bluetooth: HCI socket layer initialized
[ 8112.206267] Bluetooth: L2CAP socket layer initialized
[ 8112.206276] Bluetooth: SCO socket layer initialized
[ 8114.340022] Bluetooth: hci0 command 0x0c12 tx timeout
[ 8132.558756] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 8132.558761] Bluetooth: BNEP filters: protocol multicast
[ 8132.558769] Bluetooth: BNEP socket layer initialized
[ 8146.465549] Bluetooth: RFCOMM TTY layer initialized
[ 8146.465560] Bluetooth: RFCOMM socket layer initialized
[ 8146.465570] Bluetooth: RFCOMM ver 1.11
thufir@mordor:~$ 

Running 15.10 wily.

How do I enable ______ so that I can access BT through the settings interface? The bluez package is installed.

I've tried a few bluetooth devices, it can't connect with any of them:

enter image description here

killing and restarting the applet:

thufir@mordor:~$ 
thufir@mordor:~$ killall blueman-applet
thufir@mordor:~$ 
thufir@mordor:~$ blueman-applet
blueman-applet version 2.0 starting
Stale PID, overwriting
_________
Load (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:60)
['StatusIcon', 'ExitItem', 'SerialManager', 'AppIndicator', 'Headset', 'PowerManager', 'NetUsage', 'NMPANSupport', 'GameControllerWakelock', 'RecentConns', 'StandardItems', 'TransferService', 'DBusService', 'Menu', 'ShowConnected', 'Networking', 'PPPSupport', 'AuthAgent', 'DhcpClient', 'DiscvManager', 'NMDUNSupport', 'KillSwitch'] 
_________
get_interface_version (/usr/lib/python2.7/dist-packages/blueman/bluez/BlueZInterface.py:13)
Detected BlueZ 5 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.Headset.Headset'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.Networking.Networking'> 
_________
load_nap_settings (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/Networking.py:36)
Loading NAP settings 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.StatusIcon.StatusIcon'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.DBusService.DBusService'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.NMDUNSupport.NMDUNSupport'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.Menu.Menu'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.ShowConnected.ShowConnected'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
Not loading PPPSupport because it's conflict has higher priority 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.PowerManager.PowerManager'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.KillSwitch.KillSwitch'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.AuthAgent.AuthAgent'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.ExitItem.ExitItem'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.DhcpClient.DhcpClient'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.SerialManager.SerialManager'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.AppIndicator.AppIndicator'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
Not loading NMPANSupport because it's conflict has higher priority 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.GameControllerWakelock.GameControllerWakelock'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.TransferService.TransferService'> 
_________
get_interface_version (/usr/lib/python2.7/dist-packages/blueman/bluez/obex/Base.py:20)
Detected BlueZ integrated obexd 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.DiscvManager.DiscvManager'> 
_________
update_menuitems (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:123)
warning: Adapter is None 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.RecentConns.RecentConns'> 
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.applet.StandardItems.StandardItems'> 
_________
io_event (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:72)
killswitch registered 0 
_________
io_event (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:72)
State: True 
_________
UpdatePowerState (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:159)
off False 
foff False 
on True 
current state True 
new state True 
_________
_on_obex_owner_changed (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/TransferService.py:170)
obex owner changed: :1.59 
_________
on_dbus_name_owner_change (/usr/bin/blueman-applet:94)
org.bluez owner changed to :1.8 
_________
set_nap (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/Networking.py:65)
set nap False 
_________
update_menuitems (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:123)
warning: Adapter is None 
_________
initialize (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/RecentConns.py:144)
rebuilding menu 
_________
enumerate_connections (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/ShowConnected.py:50)
Found 0 existing connections 
_________
on_registered (/usr/lib/python2.7/dist-packages/blueman/bluez/obex/AgentManager.py:18)
/org/blueman/obex_agent 
_________
RequestPowerState (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:131)
Requesting True 
_________
on_power_state_change_requested (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:119)
True 
_________
UpdatePowerState (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:159)
off True 
foff False 
on True 
current state True 
new state False 
_________
UpdatePowerState (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:159)
Signalling False 
_________
check (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:119)
callbacks done 
_________
set_adapter_state (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:90)
True 
Install of 14.04 causes kernel panic before boot completes [closed] https://askubuntu.com/questions/717224/install-of-14-04-causes-kernel-panic-before-boot-completes

I have just reinstalled 14.04 for perhaps the fifteenth time. I have had much trouble getting it to install and have played around with formatting and partitions quite a bit.

Here is the output of lsblk -f:

ubuntu@ubuntu:~$ lsblk -f
NAME                FSTYPE LABEL MOUNTPOINT
sda
├─sda1
├─sda2
└─sda5
├─ubuntu--vg-root (dm-0)
└─ubuntu--vg-swap_1 (dm-1)
sdb
└─sdb1                           /cdrom
loop0                            /rofs
ubuntu@ubuntu:~$ █

Boot-Repair Boot Info Summary

Here is the last thing I see after it stops booting:

[    0.965006] Failed to execute /init (error -8)
[    0.968269] Starting init: /bin/sh exists but couldn't execute it (error -8)
[    0.968298] Kernel panic - not syncing: No working init found.  Try passing 
init= option to kernel. See Linux Documentation/init.txt for guidance.
[    0.968335] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 3.19.0-15-generic #15-Ubuntu
[    0.968361] Hardware name: LENOVO 4291L18/4291L18, BIOS 8DET50WW (1.20 ) 07/07/2011
[    0.968388]  00000000 00000000 ec149f80 c16e966d 47855053 ec149f98 c16e7bf8 0
0000000
[    0.968532]  47855053 00000000 00000000 ec149fac c16e1628 c18d8e48 c18d8969 fffffff8
[    0.968676]  ec148000 c16ef501 c16e1550 00000000 00000000 00000000 00000000 00000000
[    0.968819] Call Trace:
[    0.968844]  [<c16e966d>] dump_stack+0x41/0x52
[    0.968868]  [<c16e7bf8>] panic+0x81/0x199
[    0.968890]  [<c16e1628>] kernel_init+0xd8/0xe0
[    0.968913]  [<c16ef501>] ret_from_kernel_thread+0x21/0x30
[    0.968948]  [<c16e1550>] ? rest_init+0x70/0x70
[    0.968988] Kernel Offset: 0x0 from 0xc1000000 (relocation range: 0xc0000000-
0xf83fdfff)
[    0.969037] ---[ end Kernel panic - not syncing: No working init found.  
Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
_
bluetooth stops working after resuming from sleep https://askubuntu.com/questions/645004/bluetooth-stops-working-after-resuming-from-sleep

I am on Lenovo Z50-70 running Ubuntu 15.04 with Linux kernel 4.0

My bluetooth works fine until I resume from sleep, it says bluetooth is disabled, it doesn't start even if i toggle the OFF button (see image below)

output of lsusb; lsmod | grep bluetooth; dmesg | grep firmware is:

Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0cf3:3004 Atheros Communications, Inc. 
Bus 002 Device 003: ID 5986:055e Acer, Inc 
Bus 002 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
bluetooth             446409  12 bnep,ath3k,btusb,rfcomm
[  483.670589] usb 1-7: device firmware changed

enter image description here

Kernel Panic - not syncing: A hardware or a software issue? https://askubuntu.com/questions/400514/kernel-panic-not-syncing-a-hardware-or-a-software-issue

When I try to start my PC I can hear the CPU fan spinning up then turning itself off before again spinning up, repeating itself. Nothing is visible on the screen. Disconnecting the power plug and pressing the power on button to flush the system of residual charge sometimes helps avoid this problem and about 1 in 5 times I am able to boot the system.

Once the system is running it usually crashes within 2-6 minutes.

Kernel panic:

[ 411.231403] ffff88022fc03d88 ffff88021eee8158 ffff88021eee8000 ffff88021eee9c68
[ 411.231440] ffff88021eee9c68 0000000000000001 ffff8802fc03db80 ffff88014db9ae5
[ 411.231476] ffff88021eee8158 ffff88021eee8000 ffff88021eee8078 ffff88022fc03de0
[ 411.231513] Call Trace:
[ 411.231525]  <IRQ>
[ 411.231535]  [<ffffffff814db9a5>] ? ata_qc_complete+0x85/0x120
[ 411.231566]  [<ffffffff814dbaf6>] ata_qc_complete+0xb6/0x210
[ 411.231591]  [<ffffffff814dbce9>] ata_qc_complete_multiple+0x99/0xe0
[ 411.231621]  [<ffffffff8101b6a9>] ahci_handle_port_interrupt+0xf9/0x520 [libahci]
[ 411.231655]  [<ffffffff810934d3>] ? scheduler_tick+0xa3/0xe0
[ 411.231681]  [<ffffffff8101d2b0>] ahci_port_intr+0x30/0x40 [libahci]
[ 411.231710]  [<ffffffff8101d33e>] ahci_interrupt+0x7e/0xe0 [libahci]
[ 411.231739]  [<ffffffff810f5e5e>] handle_irq_event_percpu+0x3e/0x1e0
[ 411.231766]  [<ffffffff810f603f>] handle_irq_event+0x3f/0x60
[ 411.231791]  [<ffffffff810f89e7>] handle_edge_irq+0x77/0x130
[ 411.231817]  [<ffffffff81014b8e>] handle_irq+0x1e/0x30
[ 411.231841]  [<ffffffff816f7a0d>] do_IRQ+0x4d/0xc0
[ 411.231863]  [<ffffffff816ed02d>] common_interrupt+0x6d/0x6d
[ 411.231886]  <EOI>
[ 411.231896]  [<ffffffff8104d386>] ? native_safe_halt+0x6/0x10
[ 411.231927]  [<ffffffff8101b23f>] default_idle+0x1f/0xc0
[ 411.231950]  [<ffffffff8101bb06>] arch_cpu_idle+0x26/0x30
[ 411.231975]  [<ffffffff810b54de>] cpu_startup_entry+0xce/0x280
[ 411.232001]  [<ffffffff816d4be7>] rest_init+0x77/0x80
[ 411.232024]  [<ffffffff81d26ef7>] start_kernel+0x40a/0x416
[ 411.232049]  [<ffffffff81d268f6>] ? repair_env_string+0x5c/0x5c
[ 411.232075]  [<ffffffff81d26120>] ? early_idt_handlers+0x120/0x120
[ 411.232102]  [<ffffffff81d265de>] x86_64_start_reservations+0x2a/0x2c
[ 411.232130]  [<ffffffff81d266e8>] x86_64_start_kernel+0x108/0x117
[ 411.232156] Code: e5 41 57 41 56 41 55 41 54 41 89 e4 53 48 89 fb 48 83 ec 08 4c 8b 6f 10 8b 97 a4 00 00 00 4c 8b 37 49 8b 45 50 85 d2 41 0f 95 c4 <0f> b6 10 80 fa a1
[ 411.232328] RIP  [<ffffffff814e29f3>] ata_scsi_qc_complete+0x33/0x440
[ 411.232357] RSP <ffff88022fc03d58>
[ 411.232374] ---[ end trace fa42a7ec781902cb ]---
[ 411.232378] BUG: unable to handle kernel paging request at 000000000010c029
[ 411.232382] IP: [<ffffffff8104de94>] __ticket_spin_unlock+0x4/0x10
[ 411.232384] PGD 21ee13067 PUD 1dfc5f067 PMD 0
[ 411.232385] Oops: 0002 [#2] SMP
[ 411.232403] Modules linked in: rfcomm bnep bluetooth binfmt_misc(F) ext2(F) ppdev(F) dm_multipath(F) scsi_dh(F) snd_hda_codec_hdmi kvm(F) microcode(F) snd_hda_codec_re[...]
edac_mce_amd snd_hda_codec snd_hwdep(F) snd_pcm(F) sp5100_tco i2c_piix4 snd_page_alloc(F) snd_seq_midi(F) snd_seq_midi_event(F) snd_rawmidi(F) snd_seq(F) snd_seq_device[...]
amd_iommu_v2 soundcore(F) lp(F) parport(F) xts(F) gf128mul(F) dm_crypt(F) dm_raid45 xor(F) vesa fb(F) hid_generic usbhid hid dm_mirror(F) dm_region_hash(F) dm_log(F) firew[...]
i(F) libahci(F) pata_via crc_itu_t(F) wmi
[ 411.232405] CPU: 2 PID: 2098 Comm: wcgrid_faah_7.1 Tainted: PF      D      O 3.11.0-14-generic #21-Ubuntu
[ 411.232405] Hardware name: System manufacturer System Product Name/M4A88TD-M EVO, BIOS 1404   05/28/2010
[ 411.232406] task: ffff8801ebb70000 ti: ffff8801ea9e0000 task.ti: ffff8801ea9e0000
[ 411.232408] RIP: 0010:[<ffffffff8104de94>]  [<ffffffff8104de94>] __ticket_spin_unlock+0x4/0x10
[ 411.232409] RSP: 0000:ffff88022fc83ed0  EFLAGS: 00010046
[ 411.232409] RAX: ffffea0008bd9ae0 RBX: ffff88022f15e940 RCX: 0000000000000000
[ 411.232409] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 000000000010c029
[ 411.232410] RBP: ffff88022fc83ed0 R08: ffffffffffffffff R09: 000001a596d4a73
[ 411.232410] R10: 1346785c3bfafccb R11: 00007f5c02b9f888 R12: ffff88022fc83f48
[ 411.232411] R13: ffff88021e4f74e0 R14: 000000000010c029 R15: 00000005fc60357ee
[ 411.232412] FS:  00000000005ec870(0063) GS:ffff88022fc80000(0000) knlGS:0000000000000000
[ 411.232412] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 411.232413] CR2: 000000000010c029 CR3: 00000001eabbd000 CR4: 00000000000007e0
[ 411.232413] Stack:
[ 411.232415]  ffff88022fc83f10 ffffffff81087ed9 ffffea0008bd9ae0 ffff88022fc8e1a0
[ 411.232416]  ffff88022fc8e1a0 0000000000000000 7fffffffffffffff 00000005fc60357ee
[ 411.232417]  ffff88022fc83f78 ffffffff810886f7 00000005fc60357ee ffff88022fc8e2d8
[ 411.232418] Call Trace:
[ 411.232418]  <IRQ>
[ 411.232419]  [<ffffffff81087ed9>] __run_hrtimer+0x69/0x1d0
[ 411.232421]  [<ffffffff810886f7>] hrtimer_interrupt+0xf7/0x240
[ 411.232422]  [<ffffffff81040c97>] local_apic_timer_interrupt+0x37/0x60
[ 411.232424]  [<ffffffff816f7abf>] smp_apic_timer_interrupt+0x3f/0x60
[ 411.232427]  [<ffffffff816f45d3>] apic_timer_interrupt+0x6d/0x80
[ 411.232429]  <EOI>
[ 411.232437] Code: d1 c1 e9 10 66 39 ca 74 06 5d c3 0f 1f 40 00 8d 8a 00 00 01 00 89 d0 f0 0f b1 0f 39 d0 0f 94 c0 0f b6 c0 5d c3 66 90 55 48 89 e5 <66> 83 07 01 5d c3 6
[ 411.232438] RIP  [<ffffffff8104de94>] __ticket_spin_unlock+0x4/0x10
[ 411.232438]  RSP <ffff88022fc83ed0>
[ 411.232439] CR2: 000000000010c029
[ 411.232441] ---[ end trace fa42a7ec781902cc ]---
[ 411.232441] Kernel panic - not syncing: Fatal exception in interrupt
[ 412.288321] shutting down cpus with NMI

Is this the sign of a faulty motherboard, as the PC has problems starting? Is there other hardware which could be failing?

A few weeks ago, the problems were not too severe and the computer would only crash after an hour or two so I was able to do an upgrade, thinking this would help. Having tested my PC under Ubuntu 13.04 and after upgrading to 13.10 (currently installed) the problem still persists. I have also tried various kernels to no avail.

The issues exist even if I don't log in to graphical mode (Ctrl + Alt + F1).

How to use debconf-show results with debconf-set-selections? https://askubuntu.com/questions/381593/how-to-use-debconf-show-results-with-debconf-set-selections

I'd like to know how to use the results of debconf-show with debconf-set-selections to pre-configure deb packages with the command line or within a shell script

For example, if I use

sudo debconf-get-selections | grep java7 > result; cat result

I get the following

oracle-java7-installer  shared/present-oracle-license-v1-1  note    
oracle-java7-installer  oracle-java7-installer/local    string  
oracle-java7-installer  shared/accepted-oracle-license-v1-1 boolean true
oracle-java7-installer  shared/error-oracle-license-v1-1    error   
oracle-java7-installer  oracle-java7-installer/not_exist    error

How would the right debconf-set-selections line look like to configure the two dialogs that appear trough the installation?

In general how is the right syntax of debconf-set-selections? I assume there are not only booleans like true or false and yes or no

I guess there is much more an other example will be how to select the default desktop manager if lightdm and gdm installed by a bash script.

Is there a general proofed approach to determine and the right values for a debconf package and write a proper bash script that installs something like the webupt8 java package and preselect the values that the user normally would be asked for?