To complete the boot process, the block device which holds the SquashFS loopdata container sysrcd.dat must be located. This is accomplished by enumerating all eligible devices from /dev, which is populated by udevd and which, in turn, depends on all necessary chipset drivers (kernel modules) to be available. In the case of the Cypress chipset, for example, the appropriate chipset module ums-cypress.ko is not present in either the embedded initram, nor in the external initram.igz. This prevents any boot from an optical drive using this chipset from completing. It seems logical to assume that other USB chipsets are affected, as well.
Include all essential device driver modules into the initram[.igz]. Since these modules are kernel-specific, to keep with the new policy of minimizing the size of the initram.igz, they are probably best placed in the embedded initram.
As I obviously have one of the affected USB optical drives, I observed that a standard systemrescuecd-x86-1.6.0.iso image would not successfully boot from my CD drive. When this same distro was booted by PXE, however, the USB drive was properly enumerated. This suggested that while the proper driver was ultimately present, it was not available to the early boot environment. To test a fix, I rolled a customized version of the ISO which included a number of additional kernel modules in the external initram.igz. The modules themselves were copied from the SquashFS filesystem in sysrcd.dat. The external initram.igzwas chosen merely for the sake of simplicity to avoid a complete kernel generation. It should be noted that the embedded initram and the external initram.igz are merged by the kernel in a manner similar to a UnionFS.
This is a list of the additional kernel modules included in the initram.igz of my customized ISO:
Code: Select all
kernel/drivers/usb/storage/ums-cypress.ko kernel/drivers/usb/storage/ums-sddr55.ko kernel/drivers/usb/storage/ums-isd200.ko kernel/drivers/usb/storage/ums-jumpshot.ko kernel/drivers/usb/storage/ums-datafab.ko kernel/drivers/usb/storage/ums-freecom.ko kernel/drivers/usb/storage/ums-sddr09.ko kernel/drivers/usb/storage/ums-karma.ko kernel/drivers/usb/storage/ums-usbat.ko kernel/drivers/usb/storage/ums-onetouch.ko kernel/drivers/usb/storage/ums-alauda.ko kernel/drivers/usb/storage/ums-cypress.ko
Code: Select all
/lib/modules/2.6.35-std160-i386 /lib/modules/2.6.32-alt160-i386 /lib64/modules/2.6.35-std160-amd64 /lib64/modules/2.6.32-alt160-amd64
Forum thread: http://www.sysresccd.org/forums/viewtop ... =14&t=3154