The keyboard backlight adjustment options are not working on the ROG Flow Z13 2025 running Ubuntu 26.04 beta [closed] https://askubuntu.com/questions/1565421/the-keyboard-backlight-adjustment-options-are-not-working-on-the-rog-flow-z13-20

When I adjust the keyboard backlight using the quick settings in the top‑right corner, the keyboard light does not turn on no matter how I move the slider.This issue does not occur on Fedora or Arch Linux.

Why does cheese freeze? https://askubuntu.com/questions/1565420/why-does-cheese-freeze

I have finally managed to get the internal camera on a Macbook Air 2017 to work thanks to this post: https://www.reddit.com/r/Ubuntu/comments/1kdpjqw/how_to_make_macbook_air_webcam_work_on_ubuntu_2204/

When I try the camera with cheese I get the following message: "Cheese is nor responding", "Force quit" or "Wait".

What should I do to make the video recording work?

How do i fix my install so i can finally log in https://askubuntu.com/questions/1565418/how-do-i-fix-my-install-so-i-can-finally-log-in

So I just installed Ubuntu server on my laptop and after I reboot I can't login I type the right login and password but it still displays login incorrect

Mouse wheel jumpy when connecting to a Windows computer https://askubuntu.com/questions/1565417/mouse-wheel-jumpy-when-connecting-to-a-windows-computer

When I'm connecting to a Windows-computer from my laptop (using Ubuntu 24.04.4 LTS), the mouse wheel acts a bit weird. It's mostly noticed in games, where the mouse wheel moves several clicks at once (so in stragegy/4X games I only have a couple of zoom levels since it zooms in/out several levels at once, and in first-person games with an inventory or similar it skips every 2-3 items every time I scroll), but I also notice it when using TeamViewer/Rustdesk, where it moves web pages many times faster than it would if I were to visit the same web page in Ubuntu.

Is this something known? It seems to happen no matter which mouse I use (I've tried several models of Logitech mice, as well as a couple of other brands), and it happens no matter the remote connection I use (Steam Remote Play, TeamViewer, or RustDesk).

I've tried using imwheel, but it seems to have no effect at all in games, even with extreme settings in either direction.

How do i recover saved passwords in a snap browser that i deleted? https://askubuntu.com/questions/1565415/how-do-i-recover-saved-passwords-in-a-snap-browser-that-i-deleted

Just now I encountered a error where Firefox would not download items, hence I found a solution where you need to reinstall it but not using snap. Without further hesitation, I deleted Firefox via the app center. I then reinstalled it using the .deb. As I opened it for the first time, to my shock, I forgot to export my passwords from my old Firefox. I know this question seems stupid, but is there any way to recover them?

Any easy way to recover a ZIP file password? https://askubuntu.com/questions/1565414/any-easy-way-to-recover-a-zip-file-password

I’ve got a ZIP file that I locked a while ago and now I can’t remember the password at all. I’ve tried a few guesses but no luck so far. Are there any simple tools or methods that actually work? Not looking for anything too complicated, just something that can help me get back into my file.

I cant actually enter a password to access sudo commands [duplicate] https://askubuntu.com/questions/1565413/i-cant-actually-enter-a-password-to-access-sudo-commands

When I type in a sudo command, it asks for the password of the user, I know my password but i simply cannot type anything there where Im prompted to and am locked out from using commands. Does anyone know how i can resolve this?

G++ command not found after reinstalling on ubuntu https://askubuntu.com/questions/1565410/g-command-not-found-after-reinstalling-on-ubuntu

I'm running Ubuntu,and I'm getting a "bash G++ command not found" error,even though I just installed it with 'sudo apt install buil-essential'. I've tried refreshing the package list, but it's still not working. When I check the version with 'gplusplus --version', I still get command not found'. Any ideas on how to fix this?"

Can not upgrade from 22.04 to 24.04 https://askubuntu.com/questions/1565409/can-not-upgrade-from-22-04-to-24-04

I can not upgrade from Ubuntu 22.04 to Ubuntu 24.04.

sudo do-release-upgrade
Checking for a new Ubuntu release
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts.  
Check your Internet connection or proxy settings
There is no development version of an LTS available.
To upgrade to the latest non-LTS development release 
set Prompt=normal in /etc/update-manager/release-upgrades.
Audio & xRDP Sound Redirection on iMac 19.1 (2019) (Ubuntu 24.04+) https://askubuntu.com/questions/1565407/audio-xrdp-sound-redirection-on-imac-19-1-2019-ubuntu-24-04

I installed Ubuntu 24.04.4 on a iMac 19.1 computer and the audio did not function. Ubuntu 24.04 uses PipeWire and WirePlumber for the audio/video implementation. Pipewire is the core multimedia server and WirePlumber is the session/policy manager that handles how data streams are connected and responds to events like plugging in headphones or when xRDP is used for screen sharing. These were not properly configured form the iMac when Ubuntu was installed. The way to see current sources and sinks for the session is to use the CLI command


wpctl status

Furthermore

Trying to create a custom keyboard layout on Ubuntu 24.04 https://askubuntu.com/questions/1565404/trying-to-create-a-custom-keyboard-layout-on-ubuntu-24-04

Currently my keyboard layout is:
layout

I added:

➜  ~ cat /usr/share/X11/xkb/symbols/cust
partial alphanumeric_keys
xkb_symbols "cust" {

    include "us(euro)"

    name[Group1]= "English (Cust)";

    // AltGr + c → ç
    key <AC02> { [ c, C, ccedilla, Ccedilla ] };

    // AltGr + s → ş
    key <AC03> { [ s, S, scedilla, Scedilla ] };

    include "level3(ralt_switch)"

};

and also added the layout block in /usr/share/X11/xkb/rules/evdev.xml

The settings does detect my layout, but as you see in the image it becomes acsfghjkl instead of asdfghjkl and it messes up the layout.

I want to override the s and c key such that alt_gr+c or alt_gr+s adds a cedilla. What am I overlooking.

How do I install Psiphon on Ubuntu 20.04 LTS (Step by Step) [closed] https://askubuntu.com/questions/1565403/how-do-i-install-psiphon-on-ubuntu-20-04-lts-step-by-step

i try to install Psiphon with wine but it doesn't work

Window animations are broken! https://askubuntu.com/questions/1565397/window-animations-are-broken

I'm on 24.04.4 LTS, and window animations randomly stopped working, after I unplugged my hdmi cable for 10 hours.
I plugged it back in in the morning and there was no animation at all.
This is all I know.
I have tried rebooting

Here is some more information, I think.

Window animations, as in, geany effects. Closing a window has an animation. Instead of immidiately dissapearing, the window fades. clicking "show apps" has a fancy animation as well. The apps list comes up from the bottom of the screen, instead of just appearing

None of these are working on my pc.

6.17.0-20-generic I am running my display like this: pc, soundbar, monitor. Graphics card: gtx 980 I have checked accesibility. reduce animations is off. I have checked the terminal redout of that same setting. Something like "window-animations-enabled:" and it was set to true

UPDATE Upon running the command ununtu-drivers install, my pc is not booting. (Shows white screen with text "oh no something has gone wrong. a problem has occurred and the system can't recover. please contact a system administrator”)

Ubuntu 26 apt install [closed] https://askubuntu.com/questions/1565395/ubuntu-26-apt-install

I am having a problem installing with apt on Ubuntu 26.04. It won't solve dependencies.

sudo apt install asn
[sudo: authenticate] Password:       
Solving dependencies... Error!  
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 asn : Depends: aha but it is not going to be installed
       Depends: curl but it is not going to be installed
       Depends: grepcidr but it is not going to be installed
       Depends: ipcalc but it is not going to be installed
       Depends: ncat but it is not going to be installed
       Depends: nmap but it is not going to be installed
       Depends: whois but it is not going to be installed
Error: Unable to satisfy dependencies. Reached two conflicting assignments:
   1. asn:amd64=0.78.0-1build1 is selected for install
   2. asn:amd64 Depends curl
      but none of the choices are installable:
      - curl:amd64 Depends libcurl4t64 (= 8.18.0-1ubuntu1)
        but none of the choices are installable:
        - libcurl4t64:amd64=8.18.0-1ubuntu1 is not selected for install
Installing Ubuntu 22.04 with full disk encryption (LUKS) and swap partitions https://askubuntu.com/questions/1467409/installing-ubuntu-22-04-with-full-disk-encryption-luks-and-swap-partitions

I`m just trying to install Ubuntu 22.04 in my notebook, but I need to have full disk encryption enabled and I would like to define the size of my swap partition.

When searching for answers I saw multiple mentions that Ubuntu 22 doesn`t need a swap partition, because it would use swapfile. However If I proceed with the default installation (plus enabling FDE) I get a swap partition anyway:

nvme0n1               259:0    0 238.5G  0 disk  
├─nvme0n1p1           259:1    0   512M  0 part  
├─nvme0n1p2           259:2    0   1.7G  0 part  
└─nvme0n1p3           259:3    0 236.3G  0 part  
  └─crypt             253:0    0 236.3G  0 crypt 
    ├─vgubuntu-root   253:1    0 234.4G  0 lvm   
    └─vgubuntu-swap_1 253:2    0   1.9G  0 lvm   

So I went for a new install following these tutorials: (They are mostly the same)

  1. https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019
  2. https://www.tecmint.com/encrypt-disk-installing-ubuntu/

Note: Its a nvme notebook

Following the tutorial, I ran command for command with no error, but got a warning when partitioning:

Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)

The sgdisk --print $DEV returns as expected:

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1574911   768.0 MiB   8301  /boot
   2         1574912         1579007   2.0 MiB     EF02  GRUB
   3         1579008         1841151   128.0 MiB   EF00  EFI-SP
   5         1841152       500118158   237.6 GiB   8301  rootfs

However when I get to the point of using LUKS, the first time it works as expected, but the second command fails: This command works:

cryptsetup luksFormat --type=luks1 ${DEVP}1 

And then this command fails:

# cryptsetup luksFormat --type=luks1 ${DEVP}5
Device /dev/nvme0n1p5 does not exist or access denied.

I`ve also tried like this:

# cryptsetup luksFormat ${DEVP}5
Device /dev/nvme0n1p5 does not exist or access denied.

Because that is a difference between both tutorials so far... I`m on a live boot from USB.

How can I encrypt the last partition so I can continue on?

OR how can I achieve the Ubuntu 22 install + LUKS FDE + Custom SWAP?

Kernel panic on Ubuntu 21.10 AMDGPU https://askubuntu.com/questions/1369663/kernel-panic-on-ubuntu-21-10-amdgpu

I'm trying to boot the latest Ubuntu 21.10 on Lenovo ThinkPad E14 (Ryzen 3 5300U with integrated Renoir graphics), and I'm stuck on Lenovo logo. When trying to boot with safe graphics, I got the following error:

drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
Kernel panic - not syncing: stack protector: Kernel stack is corrupted in:elantech_change_report_id+0x1bf/)x1c4 [psmouse]
CPU: 3 PID: 136 Comm: kworker/3:1 Not tainted 5.13.0-19-generic #19-Ubuntu
Hardware name: LENOVO 20Y7S00R00/20Y7S00R00, BIOS R10ET28W (1.07) 07/15/2021
Workqueue: events_log serio_handle_event

Kernel panic:

[    1.338540] [drm:amdgpu_init [amdgpu]] ERROR VGACON disables amdgpu kernel
modesetting.
[    1.910025] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: elantech_change_report_id+0x1bf/0x1c4 [psmouse]
[    1.910095] CPU: 3 PID: 136 Comm: kworker/3:1 Not tainted 5.13.0-19-generic #19-Ubuntu
[    1.910138] Hardware name: LENOVO 20Y7S00R00/20Y7S00R00, BIOS R10ET28W (1.07 ) 07/15/2021
[    1.910181] Workqueue: events_long serio_handle_event
[    1.910213] Call Trace:
[    1.910230]  show_stack+0x52/0x58
[    1.910252]  dump_stack+0x7d/0x9c
[    1.910274]  panic+0x101/0x2e3
[    1.910293]  ? elantech_change_report_id+0x1bf/0x1c4 [psmouse]
[    1.910332]  __stack_chk_fail+0x14/0x20
[    1.910356]  elantech_change_report_id+0x1bf/0x1c4 [psmouse]
[    1.910393]  elantech_query_info.cold+0x316/0x594 [psmouse]
[    1.910431]  elantech_init+0x34/0x160 [psmouse]
[    1.910465]  ? synaptics_send_cmd+0x60/0x60 [psmouse]
[    1.910499]  psmouse_extensions+0x4b6/0x520 [psmouse]
[    1.910533]  psmouse_switch_protocol+0x144/0x190 [psmouse]
[    1.910568]  psmouse_connect+0x185/0x3a0 [psmouse]
[    1.910601]  serio_driver_probe+0x36/0x50
[    1.910625]  really_probe+0x245/0x4c0
[    1.910647]  driver_probe_device+0xf0/0x160
[    1.910672]  device_driver_attach+0xab/0xb0
[    1.910697]  __driver_attach+0x8e/0x140
[    1.910719]  ? device_driver_attach+0xb0/0xb0
[    1.910744]  bus_for_each_dev+0x7e/0xc0
[    1.910767]  driver_attach+0x1e/0x20
[    1.910788]  serio_handle_event+0x10f/0x290
[    1.910812]  process_one_work+0x220/0x3c0
[    1.910838]  worker_thread+0x53/0x420
[    1.910860]  kthread+0x11f/0x140
[    1.910880]  ? process_one_work+0x3c0/0x3c0
[    1.910906]  ? set_kthread_struct+0x50/0x50
[    1.910930]  ret_from_fork+0x22/0x30
[    1.911212] Kernel Offset: 0xd400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    1.911269] ---[ end Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: elantech_change_report_id+0x1bf/0x1c4 [psmouse] ]---
_

I tried the amdgpu.dc=0 on normal boot option but the error persisted. Note that the boot is successful on 20.04.3 and 21.04. What needs to be done for successful boot? This problem is not observed with my NVIDIA card.

Output of lspci:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 Non-Volatile memory controller: Sandisk Corp Device 5008 (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 164c (rev c3)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller

Output of lsusb:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:c123 Realtek Semiconductor Corp. Bluetooth Radio
Bus 003 Device 002: ID 27c6:5503 Shenzhen Goodix Technology Co.,Ltd. Goodix FingerPrint Device
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 30c9:003a 8SSC20F27145V1SR18H039A Integrated Camera
Bus 001 Device 002: ID 24ae:2000 RAPOO RAPOO 2.4G Wireless Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Stuck in boot menu after installing Ubuntu and cannot install Windows https://askubuntu.com/questions/1334489/stuck-in-boot-menu-after-installing-ubuntu-and-cannot-install-windows

After installing Ubuntu on my laptop and even changing the hard drive (for another reason) I cannot boot from the Windows installer anymore. It's just showing a box when system turns on which has two menus: Boot Menu: Ubuntu and App Menu: [empty]. And then nothing happens.

boot menu 1

boot menu 2

Ubuntu 20.04 with xen 4.11 domU panic with pci passthrough https://askubuntu.com/questions/1284783/ubuntu-20-04-with-xen-4-11-domu-panic-with-pci-passthrough

I started to upgrade my server from Ubuntu 18.04 to 20.04. After reinstalling xen / qemu in the dom0 XEN cannot start domains after upgrading from 18.04 to 20.04 dom0 and all domU instances worked as expected.

Next I updated a domU from 18.04 to 20.04. The update went well, but the domU crashed on boot.

The configuration of the domU looks like this:

#
#  Hostname
#
name        = 'smarthome'
    
#
#  Kernel + memory size
#
kernel      = '/usr/lib/grub-xen/grub-x86_64-xen.bin'
root        = ''
extra       = 'iommu=soft console=hvc0 earlyprintk=xen (xen/xvdb)/boot/grub/grub.cfg'
   
vcpus       = '2'
cpus        = '6-11'
memory      = '4096'
localtime   = 0

#
#  Disk device(s).
#
disk        = [
                  '/dev/pulsar02-vg/Xsmarthome-disk,,xvdb',
                  '/dev/pulsar02-vg/Xsmarthome-swap,,xvda',
              ]

#
#  Networking
#
#vif         = [ 'ip=192.168.20.250 ,mac=00:16:3E:2D:F8:6B,bridge=xbrlan' ]

pci = [ 
        "0000:02:12.1,permissive=1"     # SRV (VF)
]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'destroy'

The kernel message when starting with xl create -c /etc/xen/Xsmarthome.cfg is:

(early) [    1.652005] PM: Registered nosave memory: [mem 0xfed92000-0xfedfffff]
(early) [    1.652008] PM: Registered nosave memory: [mem 0xfee00000-0xfeefffff]
(early) [    1.652012] PM: Registered nosave memory: [mem 0xfef00000-0xfeffffff]
(early) [    1.652015] PM: Registered nosave memory: [mem 0xff000000-0xffffffff]
(early) [    1.652019] [mem 0x90000000-0xdfffffff] available for PCI devices
(early) [    1.652023] Booting paravirtualized kernel on Xen
(early) [    1.652026] Xen version: 4.11.4-pre (preserve-AD)
(early) [    1.652032] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
(early) [    1.652040] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
(early) [    1.652133] percpu: Embedded 54 pages/cpu s184320 r8192 d28672 u1048576
(early) [    1.652174] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
(early) [    1.652180] Built 1 zonelists, mobility grouping on.  Total pages: 1032073
(early) [    1.652184] Policy zone: Normal
(early) [    1.652188] Kernel command line: root=UUID=024e1144-d306-4e5f-b67e-01db80827787 ro mitigations=off iommu=soft console=hvc0 earlyprintk=xen
(early) [    1.652374] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
(early) [    1.652439] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
(early) [    1.652660] mem auto-init: stack:off, heap alloc:on, heap free:off
(early) [    1.698831] software IO TLB: mapped [mem 0x178200000-0x17c200000] (64MB)
(early) [    1.706256] Memory: 3960888K/4193916K available (14339K kernel code, 2398K rwdata, 4956K rodata, 2716K init, 4988K bss, 233028K reserved, 0K cma-reserved)
(early) [    1.706269] random: get_random_u64 called from kmem_cache_open+0x2d/0x410 with crng_init=0
(early) [    1.706471] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
(early) [    1.706906] ftrace: allocating 44527 entries in 174 pages
(early) [    1.718159] rcu: Hierarchical RCU implementation.
(early) [    1.718164] rcu:     RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=2.
(early) [    1.718168]  Tasks RCU enabled.
(early) [    1.718171] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
(early) [    1.718174] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
(early) [    1.721252] Using NULL legacy PIC
(early) [    1.721257] NR_IRQS: 524544, nr_irqs: 48, preallocated irqs: 0
(early) [    1.721304] xen:events: Using FIFO-based ABI
(early) [    1.721478] random: crng done (trusting CPU's manufacturer)
(early) [    1.721508] Console: colour dummy device 80x25
(early) [    1.721597] printk: console [tty0] enabled
[    1.721604] printk: console [hvc0] enabled
(early) [    1.721604] printk: console [hvc0] enabled
[    1.721610] printk: bootconsole [xenboot0] disabled
(early) [    1.721610] printk: bootconsole [xenboot0] disabled
[    1.721636] clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    1.721650] installing Xen timer for CPU 0
[    1.721677] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2fc04a0142b, max_idle_ns: 440795346615 ns
[    1.721687] Calibrating delay loop (skipped), value calculated using timer frequency.. 6625.46 BogoMIPS (lpj=13250936)
[    1.721694] pid_max: default: 32768 minimum: 301
[    1.721752] LSM: Security Framework initializing
[    1.721772] Yama: becoming mindful.
[    1.721818] AppArmor: AppArmor initialized
[    1.721900] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.721910] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.721943] *** VALIDATE tmpfs ***
[    1.722115] *** VALIDATE proc ***
[    1.722214] *** VALIDATE cgroup1 ***
[    1.722218] *** VALIDATE cgroup2 ***
(early) Poking(early)  KASLR using(early)  RDRAND(early)  RDTSC(early) ...
[    1.722386] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[    1.722391] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    1.722398] Speculative Store Bypass: Vulnerable
[    1.722402] SRBDS: Unknown: Dependent on hypervisor status
[    1.762961] cpu 0 spinlock event irq 1
[    1.762967] VPMU disabled by hypervisor.
[    1.763121] Performance Events: unsupported p6 CPU model 158 no PMU driver, software events only.
[    1.763173] rcu: Hierarchical SRCU implementation.
[    1.763631] NMI watchdog: Perf NMI watchdog permanently disabled
[    1.763674] smp: Bringing up secondary CPUs ...
[    1.763790] installing Xen timer for CPU 1
[    1.763811] SMP alternatives: switching to SMP code
[    1.803767] cpu 1 spinlock event irq 13
[    1.803767] smp: Brought up 1 node, 2 CPUs
[    1.803767] smpboot: Max logical packages: 1
[    1.803767] devtmpfs: initialized
[    1.803767] x86/mm: Memory block size: 128MB
[    1.803767] PM: Registering ACPI NVS region [mem 0x836a9000-0x836a9fff] (4096 bytes)
[    1.803767] PM: Registering ACPI NVS region [mem 0x8ccc5000-0x8cda6fff] (925696 bytes)
[    1.803767] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    1.803767] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    1.803767] pinctrl core: initialized pinctrl subsystem
[    1.822672] PM: RTC time: 165:165:165, date: 2065-165-165
[    1.822823] NET: Registered protocol family 16
[    1.822837] xen:grant_table: Grant tables using version 1 layout
[    1.849698] Grant table initialized
[    1.849738] audit: initializing netlink subsys (disabled)
[    1.849751] audit: type=2000 audit(1603042631.327:1): state=initialized audit_enabled=0 res=1
[    1.849751] EISA bus registered
[    1.850622] PCI: setting up Xen PCI frontend stub
[    1.853869] fbcon: Taking over console
[    1.853869] ACPI: Interpreter disabled.
[    1.853869] xen:balloon: Initialising balloon driver
[    1.853869] iommu: Default domain type: Translated
[    1.853869] SCSI subsystem initialized
[    1.853869] vgaarb: loaded
[    1.853869] usbcore: registered new interface driver usbfs
[    1.853869] usbcore: registered new interface driver hub
[    1.853869] usbcore: registered new device driver usb
[    1.853869] pps_core: LinuxPPS API ver. 1 registered
[    1.853869] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.853869] PTP clock support registered
[    1.853869] EDAC MC: Ver: 3.0.0
[    1.853869] PCI: System does not support PCI
[    1.853869] NetLabel: Initializing
[    1.853869] NetLabel:  domain hash size = 128
[    1.853869] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.853869] NetLabel:  unlabeled traffic allowed by default
[    1.858197] clocksource: Switched to clocksource xen
[    1.864969] *** VALIDATE bpf ***
[    1.865005] VFS: Disk quotas dquot_6.6.0
[    1.865017] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.865033] *** VALIDATE ramfs ***
[    1.865036] hugetlbfs: disabling because there are no supported hugepage sizes
[    1.865085] AppArmor: AppArmor Filesystem Enabled
[    1.865099] pnp: PnP ACPI: disabled
[    1.866763] thermal_sys: Registered thermal governor 'fair_share'
[    1.866763] thermal_sys: Registered thermal governor 'bang_bang'
[    1.866785] thermal_sys: Registered thermal governor 'step_wise'
[    1.866790] thermal_sys: Registered thermal governor 'user_space'
[    1.866794] thermal_sys: Registered thermal governor 'power_allocator'
[    1.866838] NET: Registered protocol family 2
[    1.866947] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.866968] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.867010] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.867047] TCP: Hash tables configured (established 32768 bind 32768)
[    1.867066] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.867077] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.867105] NET: Registered protocol family 1
[    1.867112] NET: Registered protocol family 44
[    1.867117] PCI: CLS 0 bytes, default 64
[    1.867138] Trying to unpack rootfs image as initramfs...
[    2.218397] Freeing initrd memory: 43228K
[    2.218495] check: Scanning for low memory corruption every 60 seconds
[    2.218936] Initialise system trusted keyrings
[    2.218950] Key type blacklist registered
[    2.219018] workingset: timestamp_bits=36 max_order=20 bucket_order=0
[    2.219708] zbud: loaded
[    2.219896] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.220102] fuse: init (API version 7.31)
[    2.220121] *** VALIDATE fuse ***
[    2.220125] *** VALIDATE fuse ***
[    2.220207] Platform Keyring initialized
[    2.222191] Key type asymmetric registered
[    2.222195] Asymmetric key parser 'x509' registered
[    2.222204] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.222244] io scheduler mq-deadline registered
[    2.222316] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    2.222711] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    2.223862] Linux agpgart interface v0.103
[    2.224871] loop: module loaded
[    2.224876] Invalid max_queues (4), will use default max: 2.
[    2.225814] libphy: Fixed MDIO Bus: probed
[    2.225821] tun: Universal TUN/TAP device driver, 1.6
[    2.225857] PPP generic driver version 2.4.2
[    2.225890] xen_netfront: Initialising Xen virtual ethernet driver
[    2.225922] VFIO - User Level meta-driver version: 0.3
[    2.225977] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.225983] ehci-pci: EHCI PCI platform driver
[    2.225991] ehci-platform: EHCI generic platform driver
[    2.226002] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.226011] ohci-pci: OHCI PCI platform driver
[    2.226018] ohci-platform: OHCI generic platform driver
[    2.226023] uhci_hcd: USB Universal Host Controller Interface driver
[    2.226060] i8042: PNP: No PS/2 controller found.
[    2.226064] i8042: Probing ports directly.
[    3.238830] i8042: No controller found
[    3.238859] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2fc04a0142b, max_idle_ns: 440795346615 ns
[    3.238984] mousedev: PS/2 mouse device common for all mice
[    3.239072] i2c /dev entries driver
[    3.239103] device-mapper: uevent: version 1.0.3
[    3.239168] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[    3.239189] platform eisa.0: Probing EISA bus 0
[    3.239213] platform eisa.0: EISA: Detected 0 cards
[    3.239222] intel_pstate: CPU model not supported
[    3.239263] ledtrig-cpu: registered to indicate activity on CPUs
[    3.239301] BUG: unable to handle page fault for address: ffffc900401d3818
[    3.239308] #PF: supervisor read access in kernel mode
[    3.239312] #PF: error_code(0x0000) - not-present page
[    3.239315] PGD 7ec72067 P4D 7ec72067 PUD 177d50067 PMD 177d51067 PTE 0
[    3.239321] Oops: 0000 [#1] SMP NOPTI
[    3.239325] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.0-51-generic #56-Ubuntu
[    3.239333] RIP: e030:pmc_core_probe+0x134/0x17f
[    3.239337] Code: 82 48 c7 c7 68 70 d7 82 e8 a9 e5 80 ff 48 8b 05 82 2c 48 01 48 c7 83 88 00 00 00 40 70 d7 82 48 63 40 44 48 03 05 64 2c 48 01 <8b> 00 48 8b 15 63 2c 48 01 48 c7 c7 60 db 14 82 8b 4a 48 ba 01 00
[    3.239349] RSP: e02b:ffffc9004000bbc8 EFLAGS: 00010286
[    3.239353] RAX: ffffc900401d3818 RBX: ffffffff827dbe80 RCX: 80000000fe001073
[    3.239358] RDX: ffffffff82d77020 RSI: ffffffff8242e365 RDI: ffffffff82d77068
[    3.239363] RBP: ffffc9004000bbe0 R08: 0000000000000000 R09: ffffc9004000ba80
[    3.239368] R10: 0000000000007ff0 R11: ffff888177f96900 R12: ffffffff827dbe90
[    3.239373] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[    3.239384] FS:  0000000000000000(0000) GS:ffff88817c600000(0000) knlGS:0000000000000000
[    3.239389] CS:  e030 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.239394] CR2: ffffc900401d3818 CR3: 000000000260a000 CR4: 0000000000040660
[    3.239402] Call Trace:
[    3.239408]  platform_drv_probe+0x3b/0x80
[    3.239412]  really_probe+0x2b3/0x3e0
[    3.239415]  driver_probe_device+0xbc/0x100
[    3.239419]  __device_attach_driver+0x71/0xd0
[    3.239423]  ? driver_allows_async_probing+0x50/0x50
[    3.239427]  bus_for_each_drv+0x84/0xd0
[    3.239431]  __device_attach+0xed/0x170
[    3.239434]  device_initial_probe+0x13/0x20
[    3.239437]  bus_probe_device+0x8f/0xa0
[    3.239441]  device_add+0x3c7/0x6b0
[    3.239444]  platform_device_add+0xf9/0x240
[    3.239448]  platform_device_register+0x6b/0x70
[    3.239455]  ? pmc_core_driver_init+0x19/0x19
[    3.239459]  pmc_core_platform_init+0x43/0x45
[    3.239464]  do_one_initcall+0x4a/0x1fa
[    3.239469]  kernel_init_freeable+0x1b2/0x255
[    3.239474]  ? rest_init+0xb0/0xb0
[    3.239478]  kernel_init+0xe/0x100
[    3.239481]  ret_from_fork+0x1f/0x40
[    3.239485] Modules linked in:
[    3.239488] CR2: ffffc900401d3818
[    3.239494] ---[ end trace c5dde7a582f9e4e9 ]---
[    3.239499] RIP: e030:pmc_core_probe+0x134/0x17f
[    3.239502] Code: 82 48 c7 c7 68 70 d7 82 e8 a9 e5 80 ff 48 8b 05 82 2c 48 01 48 c7 83 88 00 00 00 40 70 d7 82 48 63 40 44 48 03 05 64 2c 48 01 <8b> 00 48 8b 15 63 2c 48 01 48 c7 c7 60 db 14 82 8b 4a 48 ba 01 00
[    3.239513] RSP: e02b:ffffc9004000bbc8 EFLAGS: 00010286
[    3.239517] RAX: ffffc900401d3818 RBX: ffffffff827dbe80 RCX: 80000000fe001073
[    3.239522] RDX: ffffffff82d77020 RSI: ffffffff8242e365 RDI: ffffffff82d77068
[    3.239527] RBP: ffffc9004000bbe0 R08: 0000000000000000 R09: ffffc9004000ba80
[    3.239532] R10: 0000000000007ff0 R11: ffff888177f96900 R12: ffffffff827dbe90
[    3.239538] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[    3.239547] FS:  0000000000000000(0000) GS:ffff88817c600000(0000) knlGS:0000000000000000
[    3.239552] CS:  e030 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.239556] CR2: ffffc900401d3818 CR3: 000000000260a000 CR4: 0000000000040660
[    3.239565] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[    3.239574] Kernel Offset: disabled
Ubuntu can't boot, access rescue mode or reinstall https://askubuntu.com/questions/1139350/ubuntu-cant-boot-access-rescue-mode-or-reinstall

Since a few days ago, I can't boot my computer on ubuntu, I can't even access rescue mode or boot on a liveusb to try to reinstall my os. Windows is booting fine however.

On a regular Ubuntu boot some services fail to start, and at some point the boot process simply stops.

[  OK  ] Stopped Login Service.
         Starting Login Service...
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started LSB: Speech Dispatcher.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped Login Service.
         Starting Login Service...
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped Login Service.
         Starting Login Service...
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped Login Service.
         Starting Login Service...
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped Login Service.
         Starting Login Service...
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Started System Logging Service.
[  OK  ] Started LSB: Record successful boot for GRUB.
[  OK  ] Started Detect the available GPUs and deal with any system changes.
[  OK  ] Started Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Started Thermal Daemon Service.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started Clean php session files.
[  OK  ] Started Snappy daemon.
         Starting Wait until snapd is fully seeded...
[  OK  ] Started Wait until snapd is fully seeded.
[  OK  ] Started Accounts Service.
[FAILED] Failed to start WPA supplicant.
See 'systemctl status wpa_supplicant.service' for details.
[FAILED] Failed to start Avahi mDNS/DNS-SD Stack.
See 'systemctl status avahi-daemon.service' for details.
[FAILED] Failed to start Disk Manager.
See 'systemctl status udisks2.service' for details.
[  OK  ] Started Make remote CUPS printers available locally.
[FAILED] Failed to start Modem Manager.
See 'systemctl status ModemManager.service' for details.
[FAILED] Failed to start Network Manager.
See 'systemctl status NetworkManager.service' for details.
[DEPEND] Dependency failed for Network Manager Wait Online.
[  OK  ] Reached target Network.
         Starting A high performance web server and a reverse proxy server...
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting Permit User Sessions...
         Starting OpenVPN service...
         Starting The PHP 7.2 FastCGI Process Manager...
[  OK  ] Reached target Network is Online.
         Starting Samba NMB Daemon...
         Starting Tool to automatically collect and submit kernel crash signatures...
[  OK  ] Started crash report submission daemon.
         Starting Process error reports when automatic reporting is enabled...
         Starting TeamViewer remote control daemon...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started OpenVPN service.
         Starting Hold until boot process finishes up...
         Starting GNOME Display Manager...
[  OK  ] Started Tool to automatically collect and submit kernel crash signatures.
[  OK  ] Stopped Network Manager.
         Starting Network Manager...
_

When I try to start rescue mode or boot with liveusb, I have other messages like AMD-VI: Completion-Wait loop timed out and iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e596610] or Kernel panic - not syncing: corrupted stack end detected inside scheduler.

[    6.099856]  ? ata_msleep+0xb5/0x80
[    6.100830]  ? sata_link_resume+0xee/0x160
[    6.101798]  ? sata_link_hardreset+0x12e/0x210
[    6.102747]  ? ahci_fill_cmd_slot+0x50/0x50 [libahci]
[    6.103697]  ? ahci_do_hardreset+0xe6/0x140 [libahci]
[    6.104637]  ? ahci_do_hardreset+0x140/0x140 [libahci]
[    6.105564]  ? ahci_do_hardreset+0x140/0x140 [libahci]
[    6.106474]  ? ahci_hardreset+0x25/0x9d0 [libahci]
[    6.107376]  ? ata_do_reset+0x2f/0x70
[    6.108263]  ? ata_eh_reset+0x4c6/0xd30
[    6.109133]  ? ahci_do_softreset+0x260/0x260 [libahci]
[    6.110005]  ? ahci_pmp_attach+0x70/0x70 [libahci]
[    6.110876]  ? ahci_do_hardreset+0x140/0x140 [libahci]
[    6.111751]  ? ahci_do_hardreset+0x140/0x140 [libahci]
[    6.112606]  ? ahci_pmp_attach+0x70/0x70 [libahci]
[    6.113449]  ? ata_eh_recover+0x2f2/0x1320
[    6.114285]  ? ahci_pmp_attach+0x70/0x70 [libahci]
[    6.115123]  ? ahci_do_hardreset+0x140/0x140 [libahci]
[    6.115961]  ? ahci_do_softreset+0x260/0x260 [libahci]
[    6.116778]  ? ata_phys_link_offline+0x60/0x60
[    6.117587]  ? ata_phys_link_offline+0x60/0x60
[    6.118373]  ? sata_pmp_eh_recover+0x564/0xa40
[    6.119153]  ? ahci_do_softreset+0x260/0x260 [libahci]
[    6.119932]  ? ahci_do_hardreset+0x140/0x140 [libahci]
[    6.120701]  ? ata_phys_link_offline+0x60/0x60
[    6.121460]  ? ahci_pmp_attach+0x70/0x70 [libahci]
[    6.122207]  ? sata_pmp_error_handler+0x22/0x30
[    6.122943]  ? ahci_error_handler+0x1d/0x70 [libahci]
[    6.123671]  ? ata_scsi_port_error_handler+0x29b/0x770
[    6.124389]  ? ata_scsi_cmd_error_handler+0x101/0x140
[    6.125111]  ? ata_scsi_error+0x95/0xd0
[    6.125827]  ? scsi_try_target_reset+0x90/0x90
[    6.126539]  ? scsi_error_handler+0xd0/0x5b0
[    6.127230]  ? kthread+0x121/0x140
[    6.127892]  ? scsi_eh_get_sense+0x200/0x200
[    6.128534]  ? kthread_create_worker_on_cpu+0x70/0x70
[    6.129161]  ? ret_from_fork+0x22/0x40
[    6.129786] Code: Bad RIP value.
[    6.130408] RIP:           (null) RSP: fffabe442753808
[    6.131031] CR2: 0000000000000000
[    6.131647] ---[ end trace 2ded3a4c8dc2c87a ]---
[    6.132283] Kernel panic - not syncing: corrupted stack end detected inside scheduler
[    6.132283]
[    6.195345] AMD-Vi: Completion-Wait loop timed out
[    6.196008] Kernel Offset: 0x9a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    6.196679] ---[ end Kernel panic - not syncing: corrupted stack end detected inside scheduler
[    6.196679]
_

Completion-Wait loop timed out:

[   10.668360] AMD-Vi: Completion-Wait loop timed out
[   10.791620] AMD-Vi: Completion-Wait loop timed out
[   10.792857] usb 1-9: New USB device found, idVendor=413c, idProduct=2105, bcdDevice= 3.50
[   10.794114] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   10.795373] usb 1-9: Product: Dell USB Keyboard
[   10.796630] usb 1-9: Manufacturer: Dell
[   10.915700] AMD-Vi: Completion-Wait loop timed out
[   10.916974] scsi 9:0:0:0: Direct-Access     Kingston DataTraveler 2.0 0000 PQ: 0 ANSI: 4
[   10.918407] sd 9:0:0:0: Attached scsi generic sg2 type 0
[   10.920166] sd 9:0:0:0: [sdc] 15151168 512-byte logical blocks: (7.76 GB/7.22 GiB)
[   10.923133] sd 9:0:0:0: [sdc] Write Protect is off
[   10.924432] sd 9:0:0:0: [sdc] Mode Sense: 23 00 00 00
[   10.927378] sd 9:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   10.935869]  sdc: sdc1
[   10.981640] input: Dell Dell USB Keyboard as /devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-9/1-9:1.0/0003:41
t/input/input6
[   11.044067] hid-generic 0003:413C:2105.0004: input,hidraw3: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-
9-9/input0
[   11.054675] AMD-Vi: Completion-Wait loop timed out
[   11.176961] AMD-Vi: Completion-Wait loop timed out
[   11.296398] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e596570]
[   11.418430] AMD-Vi: Completion-Wait loop timed out
[   11.434256] sd 9:0:0:0: [sdc] Attached SCSI removable disk
[   11.566017] AMD-Vi: Completion-Wait loop timed out
[   11.702047] AMD-Vi: Completion-Wait loop timed out
[   11.824737] AMD-Vi: Completion-Wait loop timed out
[   11.961580] AMD-Vi: Completion-Wait loop timed out
[   12.084257] AMD-Vi: Completion-Wait loop timed out
[   12.221535] AMD-Vi: Completion-Wait loop timed out
[   12.296228] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e5965c0]
[   12.433993] AMD-Vi: Completion-Wait loop timed out
[   12.565993] AMD-Vi: Completion-Wait loop timed out
[   12.688806] AMD-Vi: Completion-Wait loop timed out
[   12.845867] AMD-Vi: Completion-Wait loop timed out
[   13.296385] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e596610]
[   14.296374] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e596660]
[   15.296377] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e596690]
[   16.296379] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e5966c0]
[   17.296380] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e5966f0]
[   18.296371] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e596720]
[   19.296383] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e596750]
[   20.296385] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e596780]
[   21.296373] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e5967b0]
[   22.296369] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e596800]
[   23.296373] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e596850]
[   24.296379] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e5968a0]
[   25.296381] iommu ivhd0: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x40e5968f0]
_

Computer specs:

  • Motherboard: b350 PC MATE (BIOS up-to-date)
  • CPU: Ryzen 5 2600X
  • GPU: Radeon RX 570
  • Ubuntu 18.04.2

I checked my hardware (memtest, GPU/CPU stress test, SMART drive check) and nothing was wrong. I even tried another graphics card. I tried to boot with an Ubuntu 16.04 live USB, but it had the same issue. I tried boot options noapic, nolapic without any success. With acpi=off I have a black screen with the following boot messages.

[    0.347849] core perfctr but no constraints: unknown hardware
[    3.696347] AMD-Vi: Completion-Wait loop timed out
[    3.842706] AMD-Vi: Completion-Wait loop timed out
[    3.989264] AMD-Vi: Completion-Wait loop timed out
[    4.135405] AMD-Vi: Completion-Wait loop timed out
[    4.281522] AMD-Vi: Completion-Wait loop timed out
[    4.427683] AMD-Vi: Completion-Wait loop timed out
[    4.696174] AMD-Vi: Completion-Wait loop timed out
[    4.696595] AMD-Vi: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x
000000040cecc890]
[    4.696602] AMD-Vi: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x
000000040cecc8b0]
[    4.825145] AMD-Vi: Completion-Wait loop timed out
[    4.949494] AMD-Vi: Completion-Wait loop timed out
[    5.073950] AMD-Vi: Completion-Wait loop timed out
[    5.199620] AMD-Vi: Completion-Wait loop timed out
[    5.324417] AMD-Vi: Completion-Wait loop timed out
[    5.448750] AMD-Vi: Completion-Wait loop timed out
[    5.551040] AMD-Vi: Event logged [IOTLB_INV_TIMEOUT device=1b:00.0 address=0x
000000040cecc8f0]
[    9.055354] sd 10:0:0:0: [sdd] No Caching mode page found
[    9.055379] sd 10:0:0:0: [sdd] Assuming drive cache: write through
_

I tried to boot with an Ubuntu daily build in order to have the latest kernel, but I had no luck.

I managed to access my terminal, update-grub didn't help, but when I typed sudo apt update I had E: Error reading the CPU table. /usr/share/dpkg/cputable was missing, I copied a version of the file I found in /snap/core18/941/usr/share/dpkg/cputable and now I have E: Cannot find dpkg tuplet or triplet table.

Ubuntu boot option still in boot menu https://askubuntu.com/questions/1133600/ubuntu-boot-option-still-in-boot-menu

I deleted my Ubuntu partition, but it still shows up in the boot menu. When I did bcdedit it doesn't show up, just a Windows Boot Manager and Windows Boot Loader as shown below.

Could one of those accidentally somehow be Ubuntu?

Windows Boot Manager
--------------------
identifier              {bootmgr}
device                  partition=\Device\HarddiskVolume1
path                    \EFI\Microsoft\Boot\bootmgfw.efi
description             Windows Boot Manager
locale                  en-us
inherit                 {globalsettings}
default                 {current}
resumeobject            {3c539c7f-48a8-11e9-b674-c60821372aa9}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

Windows Boot Loader
-------------------
identifier              {current}
device                  partition=C:
path                    \windows\system32\winload.efi
description             Windows 10
locale                  en-us
inherit                 {bootloadersettings}
isolatedcontext         Yes
allowedinmemorysettings 0x15000075
osdevice                partition=C:
systemroot              \windows
resumeobject            {3c539c7f-48a8-11e9-b674-c60821372aa9}
nx                      OptIn
bootmenupolicy          Standard

C:\windows\system32>

enter image description here

I was at a friend's and he said he fixed it by getting that grub gnu pop-up removed when I start my Windows which he did, but when I got home it was still in my boot menu

Remove/hide grub menu and decrease boot time https://askubuntu.com/questions/1067581/remove-hide-grub-menu-and-decrease-boot-time

I have removed Windows partitions in order to completely remove Windows 10 and continue with Ubuntu, however even after updating grub using sudo update-grub it still shows the Windows bootloader. Its output was this:

vimal@vimal-Inspiron-3558:~$ sudo update-grub
[sudo] password for vimal:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-32-generic
Found initrd image: /boot/initrd.img-4.15.0-32-generic
Found linux image: /boot/vmlinuz-4.15.0-30-generic
Found initrd image: /boot/initrd.img-4.15.0-30-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
vimal@vimal-Inspiron-3558:~$ █

I also want to remove the grub menu which shows before booting so that it takes less time to boot up. I tried it with Grub Customizer. After booting up it takes even more time. I want to know how can I change the grub settings so that it takes least amount of time to boot?

Some information about my system is:

  • Ubuntu 18.04
  • i3-5005u
  • 4GB RAM
Ubuntu 18.04 kernel panic on shutdown [closed] https://askubuntu.com/questions/1041343/ubuntu-18-04-kernel-panic-on-shutdown

I am having trouble when shutting down Dell Alienware Aurora R7 after installing Ubuntu 18.04. The Nvidia drivers were successfully installed.

Kernel panic:

[ 262.156531]  ? __intel_pmu_enable_all.constprop.19+0x4d/0x80
[ 262.159783]  __handle_irq_event_percpu+0x44/0x1a0
[ 262.162977]  handle_irq_event_percpu+0x32/0x80
[ 262.166183]  handle_irq_event+0x3b/0x60
[ 262.169378]  handle_fasteoi_irq+0x75/0x130
[ 262.172479]   handle_irq+0x20/0x30
[ 262.175441]  do_IRQ+0x46/0xd0
[ 262.178277]  common_interrupt+0x84/0x84
[ 262.181013]  </IRQ>
[ 262.183644] RIP: 0010:cpuidle_enter_state+0xa7/0x2f0
[ 262.186196] RSP: 0018:ffffa17481997e68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff fdc
[ 262.188720] RAX: ffff8ce8f04a2880 RBX: 0000003d09839358 RCX: 000000000000001f
[ 262.191175] RDX: 0000003d09839358 RSI: ffffffff d2792f056 RDI: 0000000000000000
[ 262.193540] RBP: ffffa17481997ea8 R08: 0000000000003ea6c R09: 0000000000079be7
[ 262.195806] R10: ffffa17481997e38 R11: 0000000000000060 R12: ffff8ce8f04acd00
[ 262.197960] R13: 0000000000000008 R14: ffffffffa5f71f38 R15: 0000000000000000
[ 262.200039]  ? cpuidle_enter_state+0x97/0x2f0
[ 262.202050]  cpuidle_enter+0x17/0x20
[ 262.203979]  call_cpuidle+0x23/0x40
[ 262.205841]  do_idle+0x18c/0x1f0
[ 262.207684]  cpu_startup_entry+0x73/0x80
[ 262.209506]  start_secondary+0x1a6/0x200
[ 262.211356]  secondary_startup_64+0xa5/0xb0
[ 262.213214] Code: 8b a7 88 00 00 00 e9 dd fe ff ff 49 63 47 6c 49 8b 4f 60 41 8b 7f 68 4d 8b 6f 78 48 89 4d c0 48 8
48 c1 e0 04 48 01 c8 39 fa <0f> b7 08 66 89 4d ba 41 8b 4f 70 89 4d d0 0f 8d 60 02 00 00 0f
[ 262.217391] RIP: i2c_dw_isr+0x3e5/0x6f0 RSP: ffff8ce8f0483e90
[ 262.219493] CR2: 0000000000000000
[ 262.221540] ---[ end trace dc12d10ec8be8843 ]---
[ 262.223585] Kernel panic - not syncing: Fatal exception in interrupt
[ 262.225751] Kernel Offset: 0x23a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbffff
[ 262.230265] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
GRUB terminal instead of boot menu https://askubuntu.com/questions/989238/grub-terminal-instead-of-boot-menu

I have Windows dual booted with Ubuntu. Recently I moved one of my free partition so that it would be near the Ubuntu partition and I could expand the Ubuntu partition, but when I moved the free space partition and rebooted the system, I got stuck at the GRUB terminal instead of the GRUB boot menu.

When I use F12 to get the boot options and choose Ubuntu from there, it redirects me back to GRUB terminal. Windows however boots normally.

Here is the GRUB terminal output that I tried diagnosing.

                              GNU GRUB version 2.02~beta2-36ubuntu3.14

  Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions.   
  Anywhere else TAB lists possible device or file completions.

grub>
Possible commands are:

. [ acpi authenticate background_color background_image badram boot break cat chainloader clear configfile continue cutmem dump echo exit export extract_entries configfile extract_entries
initrdefi insmod keystatus linux linuxefi list_env load_env loadfont loopback ls lsefi lsefimmap lsefisystab lsfonts lsmod lssal menuentry net_add_addr net_add_dns net_add_route net_bootp
net_get_dhcp_option net_ipv6_autoconf net_ls_addr net_ls_cards net_ls_dns net_ls_routes net_nslookup normal normal_exit password_pbkdf2 reboot return rmmod save_env search search.file search
sleep source submenu terminal_input terminal_output test true unset zfs-bootfs zfsinfo zfskey
grub> ls
(hd0) (hd0,msdos1) (hd1) (hd1,gpt6) (hd1,gpt5) (hd1,gpt4) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1)
grub> ls (hd0,1)
(hd0,1): Filesystem is fat.
grub> ls (hd1,6)
(hd1,6): Filesystem is unknown.
grub> ls (hd1,5)
(hd1,5): Filesystem is unknown.
grub> ls (hd1,4)
(hd1,4): Filesystem is unknown.
grub> ls (hd1,3)
(hd1,3): Filesystem is unknown.
grub> ls (hd1,2)
(hd1,2): Filesystem is fat.
grub> ls (hd1,1)
(hd1,1): Filesystem is unknown.
grub>
grub>
grub> ls (hd0,1)/
System Volume Information/ ldlinux.sys .disk/ boot/ casper/ dists/ efi/ install/ isolinux/ md5sum.txt pics/ pool/ preseed/ README.diskdefines ubuntu syslinux.cfg autorun.inf autorun.ico
grub> ls (hd1,2)/
efi/ boot/ boot-repair/ System Volume Information/
grub> _

I listed the drives using the ls command and I think that (hd0,1) is the Linux partition. Can anyone guide me as to what should be my next step?

Ubuntu installation problem - Kernel panic https://askubuntu.com/questions/898849/ubuntu-installation-problem-kernel-panic

I'm trying to install Ubuntu from a USB flash drive. The purple screen of Ubuntu doesn't show up, it only says

Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b 

and stops there.

I tried the USB with another computer and it works perfectly. I thought maybe the problem is my computer which is Toshiba Satellite L50 but I couldn't find any helpful comment on the internet.

I tried both FAT32 and NTFS as USB format, but nothing changes.

I also thought maybe the problem is I'm using Windows 10 currently and searched for that. I have disabled "Turn on fast startup", but again nothing changes.

Kernel panic:

[    5.264221]  ffff8882a70032c0 0000000000000010e ffff9e82a4bd3059 ffff9e82a4baffc0
[    5.264333]  ffff9e82a4e747e0 ffff9e82a61efca0 ffff9e82a61efba8 ffffffffa09c4750
[    5.264365] Call Trace:
[    5.264377]  [<ffffffffa09c4750>] kmemdup+0x20/0x50
[    5.264398]  [<ffffffffa0bf1039>] x509_cert_parse+0x109/0x1e0
[    5.264420]  [<ffffffffa0bf17c6>] x509_key_preparse+0x26/0x1c0
[    5.264443]  [<ffffffffa08dcc89>] ? console_unlock+0x319/0x600
[    5.264466]  [<ffffffffa0befd9c>] asymmetric_key_preparse+0x5c/0xd0
[    5.264489]  [<ffffffffa0b65257>] key_create_or_update+0x157/0x470
[    5.264514]  [<ffffffffa17c5964>] parse_efi_signature_list+0x172/0x1e4
[    5.264540]  [<ffffffffa17818cc>] ? set_debug_rodata+0x12/0x12
[    5.264562]  [<ffffffffa17aa31b>] load_uefi_certs+0x259/0x2a1
[    5.264583]  [<ffffffffa17aa31b>] ? load_uefi_certs+0x259/0x2a1
[    5.264605]  [<ffffffffa17a9b2b>] ? init_timer_stats+0x45/0x45
[    5.264626]  [<ffffffffa17aa0c2>] ? get_cert_list+0xe6/0xe6
[    5.264648]  [<ffffffffa0802190>] do_one_initcall+0x50/0x190
[    5.264669]  [<ffffffffa0802190>] ? do_one_initcall+0x50/0x190
[    5.264691]  [<ffffffffa17818cc>] ? set_debug_rodata+0x12/0x12
[    5.265124]  [<ffffffffa1782162>] kernel_init_freeable+0x16e/0x1fb
[    5.265494]  [<ffffffffa10919fe>] kernel_init+0xe/0x100
[    5.265859]  [<ffffffffa109f29f>] ret_from_fork+0x1f/0x40
[    5.266217]  [<ffffffffa10919f0>] ? rest_init+0x80/0x80
[    5.266560] Code: 08 65 4c 03 05 3f c3 5f 5f 49 83 78 10 00 4d 8b 10 0f 84 ce 00 00 00 4d 85 d2 0
f 84 c5 00 00 00 49 63 47 20 49 8b 3f 48 8d 4a 01 <49> 8b 1c 02 4c 89 d0 65 48 0f c7 0f 0f 94 c0 84
c0 74 bb 49 63
[    5.267756] RIP  [<ffffffffa0a0de73>] __kmalloc_track_caller+0xc3/0x200
[    5.268118]  RSP <ffff9e82a61efb58>
[    5.268479] ---[ end trace cea42c092d9a0aae ]---
[    5.269022] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    5.269022]
[    5.269772] Kernel Offset: 0x1f800000 from 0xffffffff81000000 (relocation range: 0xffffffff800000
00-0xffffffffbfffffff)
[    5.270746] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    5.270746]
_

Please notice that it is the first time I'm trying to install/use Ubuntu.

How to clean up Ubuntu 16.04 boot menu alongside Windows 10 https://askubuntu.com/questions/814077/how-to-clean-up-ubuntu-16-04-boot-menu-alongside-windows-10

I'm a total newbie on Linux as of two days ago. I'm running Ubuntu 16.04. I just got a new HP Pavilion with Windows 10 64-bit.

I know enough to safely set up a dual boot system without breaking anything, but the GRUB boot menu is a little frustrating with so many options. I really only want the option of booting from either of the OSs installed, but I am met with a list of options.

If all of this is necessary I guess I'll leave it, but I'd really only like to have the two operating systems as boot options. Do I really need this big list of boot options or can it be reduced somehow to only be the two OS options?

Boot menu:

enter image description here

Kernel panic /dev/sda: clean https://askubuntu.com/questions/791052/kernel-panic-dev-sda-clean

I'm using Xubuntu/Windows 10 dual boot. I installed the NVIDIA CUDA toolkit to use GPU version of TensorFlow. After rebooting it, it got stuck at /dev/sda6: clean,..... for a very long time and the laptop was out of charge.

After I plugged in and turned it on, it got stuck at a kernel panic screen:

[    2.449743] usb 2-1-port3: over-current condition
[    2.657752] usb 2-1-port4: over-current condition
/dev/sda6: clean, 403126/6471680 files, 8843406/25877760 blocks
run-init: /sbin/init: No such file or directory
[    4.653826] Kernel panic - not syncing: Attempted to kill init\! exitcode=0x00000100
[    4.653826]
[    4.653876] CPU: 0 PID: 1 Comm: run-init Not tainted 4.4.0-24-generic \#43-Ubuntu
[    4.653899] Hardware name: ASUSTeK Computer Inc. K53SM/K53SM, BIOS K53SM.210 01/03/2012
[    4.653923]  0000000000000086 000000008fa02b55 ffff880245e27e40 ffffffff813eab23
[    4.653954]  ffffffff81cb04f8 ffff880245e27ed8 ffff880245e27ec8 ffffffff8118bce7
[    4.653984]  ffff880000000010 ffff880245e27ed8 ffff880245e27e70 000000008fa02b55
[    4.654015] Call Trace:
[    4.654030]  [<ffffffff813eab23>] dump_stack+0x63/0x90
[    4.654049]  [<ffffffff8118bce7>] panic+0xd3/0x215
[    4.654066]  [<ffffffff81104bce>] ? perf_event_exit_task+0xbe/0x350
[    4.654087]  [<ffffffff8108450b>] do_exit+0xadb/0xae0
[    4.654105]  [<ffffffff81084547>] SyS_exit+0x17/0x20
[    4.654124]  [<ffffffff81825bf2>] entry_SYSCALL_64_fastpath+0x16/0x71
[    4.654183] Kernel Offset: disabled
[    4.654197] ---[ end Kernel panic - not syncing: Attempted to kill init\! exitcode=0x00000100
[    4.654197]
_
Opera will not play Twitter videos (and others) https://askubuntu.com/questions/777573/opera-will-not-play-twitter-videos-and-others

enter image description here

Here is an example above. It also does the same thing on other sites with other video players, but I figure this is one of the more well known ones.

Any help?

Why is my GRUB displaying so many options? https://askubuntu.com/questions/707069/why-is-my-grub-displaying-so-many-options

I have Ubuntu in dual boot alongside the original Windows 8 install. My grub shows a ton of options. The first one loads Ubuntu alright. In the past I tried loading Windows 8 (which I hardly ever use) and after loading Windows 8 and restating the machine it somehow managed to get grub disabled. Which option loads Windows 8, and is there a way to clean up grub to show only relevant options?

enter image description here

How to re-install libgcc1:i386 which breaks libgcc1? https://askubuntu.com/questions/609959/how-to-re-install-libgcc1i386-which-breaks-libgcc1

So, I went and did something very stupid. I have ubuntu-toolchain-r repository added to repositories which has up to some time ago provided libgcc1:i386 among other things. For a some time now the i386 packages have been shown as kept back during upgrades. I've ignored those since they are rather vital libraries but today I decided to look into it a bit.

I stumbled upon this "The following packages have been kept back:" Why and how do I solve it? and went to use the aptitude gui approach without realizing that it shall do basically the same thing as apt-get dist upgrade and as the gui hanged for a while, it took in my key presses after a while without me having a chance to do anything before it started to do some horrid package removing to my misfortune. I went and killed the aptitude process but a lot of damage was already done.

So afterwards killing aptitude I carefully went through the list of packages that it had removed and re-installed those. All except the ones that need ia32-libs or libc6:i386, meaning for example my wine and lots of other 32-bit applications and packages that I use because it all comes down to the fact that I can't re-install libgcc1:i386 package since it breaks libgcc1 package and vice versa (same goes for libstdc++6).

ahti@ahti:~$ sudo apt-get install libgcc1:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgcc1 : Breaks: libgcc1:i386 (!= 1:4.9.2-0ubuntu1~12.04) but 1:5-20150401-0ubuntu12~12.04 is to be installed
 libgcc1:i386 : Breaks: libgcc1 (!= 1:5-20150401-0ubuntu12~12.04) but 1:4.9.2-0ubuntu1~12.04 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

So previously libgcc1:i386 was kept back in my system not causing any problems. Now that it's not there anymore and can't be re-installed it's bringing me a lot of things I can't re-install or use.

Here are results for apt-cache policy command:

ahti@ahti:~$ apt-cache policy libgcc1
libgcc1:
  Installed: 1:4.9.2-0ubuntu1~12.04
  Candidate: 1:4.9.2-0ubuntu1~12.04
  Version table:
 *** 1:4.9.2-0ubuntu1~12.04 0
        500 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
     1:4.6.3-1ubuntu5 0
        500 http://fi.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
ahti@ahti:~$ apt-cache policy libgcc1:i386
libgcc1:i386:
  Installed: (none)
  Candidate: 1:5-20150401-0ubuntu12~12.04
  Version table:
     1:5-20150401-0ubuntu12~12.04 0
        500 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/ precise/main i386 Packages
     1:4.9.2-0ubuntu1~12.04 0
        100 /var/lib/dpkg/status
     1:4.6.3-1ubuntu5 0
        500 http://fi.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

Also I do have foreign-architecture i386 in my /etc/dpkg/dpkg.cfg.d/multiarch and here's a result of aptitude install wine command.

Is there anything I can do? This was a classic case of "if it ain't broken, don't fix it". Please help?

My system is 64-bit Ubuntu 12.04.5 with 3.2.0-80-generic kernel and gnome-session-fallback.

What kind of themes can I use on Xfce? https://askubuntu.com/questions/53437/what-kind-of-themes-can-i-use-on-xfce

I don't like the themes I have in my system (Xubuntu 11.04) by default.

  • Is Xfce Look the only place where I can get new themes?

  • Can I run themes that are made for Gnome, for example?