Bug#607888: Acknowledgement (initramfs-tools: Generated initrds missing critical modules)

2011-03-06 Thread Marc Haber
On Thu, Dec 23, 2010 at 07:41:32PM +, Ben Hutchings wrote:
 Since you have configured the SCSI core as built-in but SCSI disk
 support as a module, this doesn't work.  To work around this, you can
 either configure both as built-in or both as modules.
 
 Perhaps we should add sd_mod if either condition is true.  But you are
 using a rather silly configuration.

I got bitten by this as well, for the same reason. Compiling SCSI core
as a module as well solved the issue for me. I would have been totally
helpless if I wasn't pointed towards that bug.

Greetings
Marc


-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#607888: Acknowledgement (initramfs-tools: Generated initrds missing critical modules)

2010-12-23 Thread Francis Russell
I've tracked it to this specific change to hook-functions between 0.98.5
and 0.98.6.

-   if [ -e /sys/bus/scsi/devices/ ]; then
+   if [ -d ${DESTDIR}/lib/modules/${version}/kernel/drivers/scsi
]; then
manual_add_modules sd_mod
fi

I had the script die at that point and looked at the contents of ${DESTDIR}:

mkinitramfs_ztyrBv/
mkinitramfs_ztyrBv/scripts
mkinitramfs_ztyrBv/sbin
mkinitramfs_ztyrBv/lib
mkinitramfs_ztyrBv/lib/modules
mkinitramfs_ztyrBv/lib/modules/2.6.36.1
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/drivers
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/drivers/ata
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/drivers/ata/ahci.ko
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/drivers/ata/libahci.ko
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/fs
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/fs/ext4
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/fs/ext4/ext4.ko
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/fs/mbcache.ko
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/fs/jbd2
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/fs/jbd2/jbd2.ko
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/crypto
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/crypto/crc32c.ko
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/lib
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/lib/crc16.ko
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/lib/zlib_deflate
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/lib/zlib_deflate/zlib_deflate.ko
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/kernel/lib/libcrc32c.ko
mkinitramfs_ztyrBv/lib/modules/2.6.36.1/modules.order
mkinitramfs_ztyrBv/etc
mkinitramfs_ztyrBv/conf
mkinitramfs_ztyrBv/conf/modules
mkinitramfs_ztyrBv/conf/conf.d
mkinitramfs_ztyrBv/bin

As there's no scsi folder, sd_mod is never added.

Francis




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#607888: Acknowledgement (initramfs-tools: Generated initrds missing critical modules)

2010-12-23 Thread Ben Hutchings
On Thu, 2010-12-23 at 18:30 +, Francis Russell wrote:
 I've tracked it to this specific change to hook-functions between 0.98.5
 and 0.98.6.
 
 -   if [ -e /sys/bus/scsi/devices/ ]; then
 +   if [ -d ${DESTDIR}/lib/modules/${version}/kernel/drivers/scsi
 ]; then
 manual_add_modules sd_mod
 fi
 
 I had the script die at that point and looked at the contents of ${DESTDIR}:
[...]

That was my change to ensure that sd_mod is included whenever the SCSI
core module is.  This is important when transitioning from IDE to libata
and using MODULES=dep.

Since you have configured the SCSI core as built-in but SCSI disk
support as a module, this doesn't work.  To work around this, you can
either configure both as built-in or both as modules.

Perhaps we should add sd_mod if either condition is true.  But you are
using a rather silly configuration.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part