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#4188 - kernel26archck's initramfs needs to use run-init from klibc
Attached to Project:
Arch Linux
Opened by Ben Webber (bengi) - Saturday, 18 March 2006, 01:28 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 31 March 2006, 17:10 GMT
Opened by Ben Webber (bengi) - Saturday, 18 March 2006, 01:28 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 31 March 2006, 17:10 GMT
|
DetailsI have a problem with kernel26archck and mkinitramfs. I am using linux software raid and have the raid devices /dev/md0 - /dev/md4. The problem is that only the md device node that is configured in initramfs.conf by RAID_ROOT_ARRAY is created in the initramfs image. This means that mdadm is unable to start the other 4 arrays. In rc.sysinit on line 64 rc.sysinit checks to see if /initrd/dev exists and if it does then tries to copy /initrd/dev/md? to /dev. I think that the reason that the device nodes are not created is that /initrd/dev doesn't exist when rc.sysinit executes and rc.sysinit is therefore unable to copy the device nodes from the initramfs image. As kernel2karchck uses initramfs instead of initrd it cannot pivot_root like initrd because pivot_root does not work with initramfs. In initrd when pivot_root is executed pivot_root remounts / as new_root/initrd. If there is no command in the init script of the initramfs image to remount or copy the contents of the initramfs image to /initrd some how and clean up the initramfs image then once chrooted from the initramfs image to my root filesystem /initrd/dev doesn't exist and rc.sysinit can't copy of the device nodes. I have found a link to a LUG here which talks about using run-init from the klibc package as a replacement for pivot_root in initramfs. Here is the link:-
http://www.thisishull.net/showthread.php?t=65762 I think klibc needs to be added to the initramfs image and mkinitramfs needs to include a line which adds run-init to the init script in the initramfs image. For reference here is a link to my post on the forums regarding this:- http://bbs.archlinux.org/viewtopic.php?t=17332&postdays=0&postorder=asc&start=30 Ben |
This task depends upon
Will close, assumed fixed in a week if there are no issues raised.
There have been no complaints raised with the current version, and no negative replies to any requests for testing, so I assume my fixes have worked.
Closing bug as fixed.