FS#29226 - [udev] version 181-8 - initramfs is not bootable

Attached to Project: Arch Linux
Opened by zless (roentgen) - Sunday, 01 April 2012, 20:39 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 01 April 2012, 22:30 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I usually do a mkinitcpio -p linux after upgrading some packages such as udev.

After upgrading to udev-181-8 this is the output of mkinitcpio:

$ sudo mkinitcpio -p linux
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.3.0-1-ARCH
-> Parsing hook: [base]
-> Parsing hook: [udev]
==> ERROR: file not found: `/lib/udev/rules.d/50-udev-default.rules'
==> ERROR: file not found: `/lib/udev/rules.d/60-persistent-storage.rules'
==> ERROR: file not found: `/lib/udev/rules.d/80-drivers.rules'
==> ERROR: file not found: `/lib/udev/ata_id'
==> ERROR: file not found: `/lib/udev/scsi_id'
-> Parsing hook: [autodetect]
-> Parsing hook: [pata]
-> Parsing hook: [scsi]
-> Parsing hook: [sata]
-> Parsing hook: [encrypt]
-> Parsing hook: [lvm2]
-> Parsing hook: [filesystems]
-> Parsing hook: [usbinput]
-> Parsing hook: [fsck]
-> Parsing hook: [archlogo]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.3.0-1-ARCH
-> Parsing hook: [base]
-> Parsing hook: [udev]
==> ERROR: file not found: `/lib/udev/rules.d/50-udev-default.rules'
==> ERROR: file not found: `/lib/udev/rules.d/60-persistent-storage.rules'
==> ERROR: file not found: `/lib/udev/rules.d/80-drivers.rules'
==> ERROR: file not found: `/lib/udev/ata_id'
==> ERROR: file not found: `/lib/udev/scsi_id'
-> Parsing hook: [pata]
-> Parsing hook: [scsi]
-> Parsing hook: [sata]
-> Parsing hook: [encrypt]
-> Parsing hook: [lvm2]
-> Parsing hook: [filesystems]
-> Parsing hook: [usbinput]
-> Parsing hook: [fsck]
-> Parsing hook: [archlogo]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful

With such initramfs the system does not boot.

Symlinking the missing files from /usr/lib/udev makes a bootable image (even though with some errors about 'scsi_id' which I guess isn't meant to be a symlink).


Additional info:
udev 181-8
mkinitcpio 0.8.5-1

This task depends upon

Closed by  Tom Gundersen (tomegun)
Sunday, 01 April 2012, 22:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  Dave to the rescue: this is fixed by the most recent mkinitcpio.
Comment by Tom Gundersen (tomegun) - Sunday, 01 April 2012, 22:19 GMT
Sorry, I cocked this up. Fix is imminent...

Loading...