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!
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!
FS#20661 - [mkinitcpio] ignores modprobe failures and reports success
Attached to Project:
Arch Linux
Opened by Dieter Plaetinck (Dieter_be) - Sunday, 29 August 2010, 15:39 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 21 July 2011, 17:19 GMT
Opened by Dieter Plaetinck (Dieter_be) - Sunday, 29 August 2010, 15:39 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 21 July 2011, 17:19 GMT
|
Detailsmkinitcpio 0.6.7-1
[root@dieter-ws-a7n8x-arch ~]# mkinitcpio -k 2.6.35-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img :: Begin build ERROR: module 'pata_acpi' not found ERROR: module 'pata_amd' not found ERROR: module 'ata_generic' not found ERROR: module 'scsi_mod' not found ERROR: module 'sata_sil' not found :: Parsing hook [base] :: Parsing hook [udev] :: Parsing hook [autodetect] :: Parsing hook [pata] :: Parsing hook [scsi] :: Parsing hook [sata] :: Parsing hook [usbinput] :: Parsing hook [keymap] :: Parsing hook [encrypt] ERROR: module 'dm_crypt' not found :: Parsing hook [lvm2] ERROR: module 'dm_mod' not found ERROR: module 'dm_snapshot' not found ERROR: module 'dm_mirror' not found :: Parsing hook [filesystems] :: Generating image '/boot/kernel26.img'...SUCCESS [root@dieter-ws-a7n8x-arch ~]# echo $? 0 This happens when the add_module call fails in /lib/initcpio/functions, function parse_hook (). Obviously the kernel26.img did not successfully generate and exitcode should be >0 I see other calls in parse_hook () like add_binary or add_file which might fail |
This task depends upon
Closed by Dave Reisner (falconindy)
Thursday, 21 July 2011, 17:19 GMT
Reason for closing: Fixed
Additional comments about closing: see comments
Thursday, 21 July 2011, 17:19 GMT
Reason for closing: Fixed
Additional comments about closing: see comments
$ ./mkinitcpio -g foo.img -k /boot/vmlinuz26-rampage
==> Starting build: 2.6.39.1-rampage
-> Parsing hook: [base]
-> Parsing hook: [udev]
-> Parsing hook: [autodetect]
-> Parsing hook: [pata]
==> ERROR: module 'sd_mod' not found
-> Parsing hook: [scsi]
==> ERROR: module 'sd_mod' not found
-> Parsing hook: [sata]
==> ERROR: module 'sd_mod' not found
-> Parsing hook: [filesystems]
==> Generating module dependencies
==> Creating gzip initcpio image: foo.img
5593 blocks
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Image generation successful
$ echo $?
1
http://projects.archlinux.org/mkinitcpio.git/commit/?id=bb2b9737a8343a1a3bb87a15ffb605ce8ff2af70