Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7833 - kernel 2.6.22.3-1 panics on boot

Attached to Project: Arch Linux
Opened by Sascha Hoppe (sH) - Friday, 17 August 2007, 04:50 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 17 August 2007, 09:43 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture i686
Severity Critical
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Upgrading to the actual kernel leads to a kernel panic. The problem maybe comes from the post installation script. I get the following errors:


(3/6) upgrading kernel26 [#####################] 100%
>>>
>>> If you use the LILO bootloader, you should run 'lilo' before rebooting.
>>>
>>> Updating module dependencies. Please wait ...
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> 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 [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [usbinput]
:: Parsing hook [keymap]
:: 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
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.22-ARCH -c /etc/mkinitcpio.d/kernel26-fallback.conf -g /boot/kernel26-fallback.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [ide]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [usbinput]
:: Parsing hook [raid]
:: 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-fallback.img'...SUCCESS
==> SUCCESS


Steps to reproduce:

pacman -Syu

This task depends upon

Closed by  Roman Kyrylych (Romashka)
Friday, 17 August 2007, 09:43 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Friday, 17 August 2007, 06:09 GMT
Can be fixed by using the full path to depmod in mkinitcpio. Somehow /usr/sbin isn't in your PATH variable, causing this failure (you did a su instead of su -).
Comment by Roman Kyrylych (Romashka) - Friday, 17 August 2007, 09:43 GMT
user requested task closure: Seems that I did su instead of su - That fixes the problem with the kernel.

Loading...