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#25096 - [mkinitcpio] 0.7.2-1 - ERROR thrown if user hardcoded sd_mod module into kernel
Attached to Project:
Arch Linux
Opened by John (graysky) - Sunday, 10 July 2011, 18:07 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 05 October 2011, 00:15 GMT
Opened by John (graysky) - Sunday, 10 July 2011, 18:07 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 05 October 2011, 00:15 GMT
|
DetailsDescription: If the user is running a custom kernel with the sd_mod hardcoded into the kernel, the script throws an ERROR.
Here is the error: # mkinitcpio -p kernel26-ck ==> Building image from preset: 'default' -> -k 2.6.39-ck -c /etc/mkinitcpio.conf -g /boot/kernel26-ck.img ==> Starting build: 2.6.39-ck -> Parsing hook: [base] -> Parsing hook: [udev] -> Parsing hook: [autodetect] -> Parsing hook: [sata] ==> ERROR: module not found: `sd_mod' -> Parsing hook: [filesystems] ==> Creating gzip initcpio image: /boot/kernel26-ck.img 5517 blocks ==> WARNING: errors were encountered during the build. The image may not be complete. ==> Image generation successful ==> Building image from preset: 'fallback' -> -k 2.6.39-ck -c /etc/mkinitcpio.conf -g /boot/kernel26-ck-fallback.img -S autodetect ==> Starting build: 2.6.39-ck -> Parsing hook: [base] -> Parsing hook: [udev] -> Parsing hook: [sata] ==> ERROR: module not found: `sd_mod' -> Parsing hook: [filesystems] ==> Generating module dependencies ==> Creating gzip initcpio image: /boot/kernel26-ck-fallback.img 8626 blocks ==> WARNING: errors were encountered during the build. The image may not be complete. ==> Image generation successful This option is found in the following section of an nconfig: Device Drivers ---> SCSI device support ---> [*]SCSI disk support Additional info: * package version(s) 0.7.2-1 * Relevant section of /etc/mkinitcpio.conf MODULES="" BINARIES="" FILES="" HOOKS="base udev autodetect sata filesystems" Steps to reproduce: 1) Use a kernel with sd_mod hardcoded in as noted above. 2) Run mkinitcpio -k $(unane -r) |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 05 October 2011, 00:15 GMT
Reason for closing: Implemented
Additional comments about closing: mkinitcpio 0.7.3
Wednesday, 05 October 2011, 00:15 GMT
Reason for closing: Implemented
Additional comments about closing: mkinitcpio 0.7.3
Comment by Gerardo Exequiel Pozzi (djgera) -
Sunday, 10 July 2011, 18:47 GMT
- Field changed: Summary ([mkinitcpio 0.7.2-1] - ERROR thrown if user hardcoded sd_mod module into kernel → [mkinitcpio] 0.7.2-1 - ERROR thrown if user hardcoded sd_mod module into kernel)
- Field changed: Status (Unconfirmed → Assigned)
- Field changed: Category (Packages: Core → Arch Projects)
- Task assigned to Thomas Bächler (brain0), Dave Reisner (falconindy)
Nothing wrong. If you use a custom kernel, you need to adjust mkinitcpio hooks (sata), or just can ignore the error in that case.
Comment by Dave Reisner (falconindy) -
Wednesday, 05 October 2011, 00:15 GMT
Implemented: http://projects.archlinux.org/mkinitcpio.git/commit/?id=5a0f7ebc8d2cede7532539268e0ffc0bd6816572