FS#7739 - Kernel 26-2.6.22.1-4 fails on boot

Attached to Project: Arch Linux
Opened by Bruno Espinoza (BrunoProg64) - Saturday, 04 August 2007, 15:44 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 27 October 2007, 12:28 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture i686
Severity Critical
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: After upgrading Arch Linux with the command: pacman -Syu, I can't boot into my system anymore. The Kernel give me this message and the system halt:

No filesystem could mount root, tried:
Kernel Panic - not syncing VFS: Unable to mount root fs on unknown block (0,0)

Additional info:
* package version(s): kernel26-2.6.22.1-4

Steps to reproduce:

Update to kernel26-2.6.22.1-4 using the following commands:

pacman -S kernel26
Or
pacman -Syu
reboot.

If you want to boot you system again, just reinstall the kernel found in the LiveCD.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 27 October 2007, 12:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  no response
Comment by Tobias Powalowski (tpowa) - Saturday, 04 August 2007, 19:53 GMT
from which kernel you upgraded?
Comment by David (Jacuturu) - Saturday, 04 August 2007, 20:11 GMT
To my also it happens to me. My previous version is Kernel26-2.6.22.1-3, with Kernel26-2.6.22.1-4 fail.
Comment by Tobias Powalowski (tpowa) - Saturday, 04 August 2007, 20:34 GMT
only unionfs patch was updated during last rebuild, makes me wonder why it breaks your systems
Comment by David (Jacuturu) - Sunday, 05 August 2007, 08:03 GMT
The problem this in script of post-installation, depmod does not find the modules and mkinitcpio does not generate the kernel image correctly. Executing mkinitcpio with “mkinitcpio - g kernel26.img” if it is generated correctly.
Comment by Tobias Powalowski (tpowa) - Sunday, 05 August 2007, 08:40 GMT
do you use 686 or x86_64?
Comment by Bruno Espinoza (BrunoProg64) - Monday, 06 August 2007, 02:29 GMT
Well... many of you asked for more details. I feel that this is my mistake, so I am going to provide all the information:

- 80 GB Hard Disk - Samsung - IDE
- Arch Linux 0.7.1 LiveCD
- Kernel 26-2.6.22.1-3
- Architecture: i686
- Processor: Pentium III - 700 Mhz - Coppermine.

Thank you David (Jacuturu), I going to try what you sugested.

Thanks all for your feedbacks!
Comment by GCN (gilcn) - Monday, 06 August 2007, 22:38 GMT
Not sure if this is related or not but when I'm installing kernel26-2.6.22.1-4 on my system here is what I get:

>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.22-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
/lib/initcpio/install/autodetect: line 14: mdadm: command not found
:: Parsing hook [sata]
:: Parsing hook [lvm2]
:: Parsing hook [usbinput]
:: Parsing hook [filesystems]
:: Generating module dependencies
/sbin/mkinitcpio: line 226: depmod: command not found
ERROR: file '/tmp/lib/modules/2.6.22-ARCH/modules.dep' does not exist
ERROR: file '/tmp/lib/modules/2.6.22-ARCH/modules.alias' does not exist
ERROR: file '/tmp/lib/modules/2.6.22-ARCH/modules.symbols' does not exist
/sbin/mkinitcpio: line 235: gen_init_cpio: command not found
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS

Since I don't want to be unable to boot, I reverted immediately to the previous working kernel (-3) and didn't even try to boot with this one.
Comment by David (Jacuturu) - Tuesday, 07 August 2007, 06:09 GMT
I use version 686. A clean installation in another equipment from the ISO of “don't panic” does not produce this one error.
Comment by Sascha Hoppe (sH) - Tuesday, 14 August 2007, 10:51 GMT
I can confirm this. Same error after pacman -Syu
I chrooted in my installation from the install CD and installed an old kernel from /var/cache/pacman/pkg
but can't boot back in my system.
cannot parse block device on /dev/sda6 (something similar)
Comment by Sascha Hoppe (sH) - Tuesday, 14 August 2007, 10:51 GMT
PS:

ERROR: file '/tmp/lib/modules/2.6.22-ARCH/modules.dep' does not exist
ERROR: file '/tmp/lib/modules/2.6.22-ARCH/modules.alias' does not exist
ERROR: file '/tmp/lib/modules/2.6.22-ARCH/modules.symbols' does not exist

these were the errors I also have seen on upgrade
Comment by Sascha Hoppe (sH) - Wednesday, 15 August 2007, 08:26 GMT
After re-installing the old kernel I get the following errors at boot:

Loading root filesystem module...
Attempting to create root device name for '/dev/sda6'
unknown
ERROR: root fs cannot be detected. Try using the rootfstype=kernel parameter

Waiting for device to settle...done
Root device '/dev/sda6' doesn`t exist, attempting to create it
ERROR: Failed to parse block device name for '/dev/sda6'
ERROR: Unable to create/detect root device '/dev/sda6'
Dropping to a recovery shell
NOTE: klibc contains no 'ls' binary
Comment by Tobias Powalowski (tpowa) - Friday, 26 October 2007, 06:41 GMT
can we close this?

Loading...