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 registeredio scheduler deadline registeredio 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)
- Add kernel parameter "pci=noacpi" and/or disable ACPI in BIOS
- Add kernel paremeter "noapic" and/or disable IOAPIC in BIOS
- 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"