Linux Kernel Freeze/Hang during boot on io scheduler cfq registered (default)

You'll see the following and the boot process will freeze:

io scheduler noop registered

io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)

I have struggled with this issue on various systems using all sorts of kernels, kernels where the issue should be "fixed".  As far as I can recall through debugging, this is a hang during pci_init.

It's beyond me why such a critical thing could happen and has not been fixed. 

Some Common Solutions (but don't work in many cases)

  1. Add kernel parameter "pci=noacpi" and/or disable ACPI in BIOS
  2. Add kernel paremeter "noapic" and/or disable IOAPIC in BIOS
  3. Add kernel parameters "i915.modeset=0 xforcevesa radeon.modeset=0 noswap nomodeset acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp ip=frommedia vga=normal nosplash"

 


Tags:

linux, kernel, io, scheduler, cfq, registered, default, ll, noop, anticipatory, deadline, struggled, various, kernels, quot, debugging, pci_init, solutions, parameter, pci, noacpi, disable, acpi, bios, paremeter, noapic, ioapic, parameters, modeset, xforcevesa, radeon, noswap, nomodeset, irqpoll, noapm, nodma, nomce, nolapic, nosmp, ip, frommedia, vga, nosplash,

Latest Articles

  • Convert and install to LUKS Encrypted Drive Ubuntu 18.04 19.10 Linux Mint and Debian Based Linux
  • Debian and Netplan
  • CentOS 8 how to restart the network!
  • CentOS 8 how to convert to a bootable mdadm RAID software array
  • ADATA USB Thumb Drive Issues
  • KMODE EXCEPTION NOT HANDLED - QEMU/KVM Won't Boot Windows 2016 or 10 Image or Physical Machine
  • Linux Mint / Ubuntu / Debian Mate Disable Guest Session and Hide Usernames on Lightdm Login screen GUI
  • SSH How To Create Public/Private Key Pair and with a Larger Keysize than 2048 bits
  • selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service geckodriver
  • python ModuleNotFoundError: No module named 'bs4' even though you have the module
  • ssh how to connect using a SOCKS 5 proxy with nc and proxycommand
  • Enable AMDGPU Linux Driver
  • apache symlinks denied even with followsymlinks
  • chown how to change ownership on a symlink
  • how to use ifplugd in Linux to execute a command or script when a NIC cable is unplugged or plugged in
  • dd how to backup and restore disk images including compression with gzip
  • mpv / mplayer with Radeon / AMD GPU Video Card Driver enable VDPAU GPU Accelerated Video Decoding
  • Wordpress Reset Blog User Password from MySQL Using Linux Bash and not PHPMyadmin
  • Ubuntu Linux Mint Debian xorg performance and tear-free tuning for AMD Radeon Based Cards
  • Centos 7 Stopped and Disabled Firewalld and ports still blocked