http://qa.mandrakesoft.com/show_bug.cgi?id=4160

           Product: mkinitrd
         Component: mkinitrd
           Summary: Side effect with /etc/rc.sysinit
           Product: mkinitrd
           Version: 3.4.43-4mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: mkinitrd
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The problem comes from USB init :

# Load usb now to be able to use an usb keyboard to answer questions
if ! LC_ALL=C grep -iq "nousb" /proc/cmdline 2>/dev/null && ! LC_ALL=C grep -iq
"usb" /proc/devices 2>/dev/null ; then
    /etc/init.d/usb start
fi

to load usb, you have to not have "usb" in /proc/devices.
If I use mkinitrd : mkinitrd -v toto.img 2.4.21-0.18mdk
I have these modules loaded :
Using modules:  ./kernel/drivers/scsi/scsi_mod.o
./kernel/drivers/scsi/aic7xxx/aic7xxx.o ./kernel/drivers/usb/usbcore.o
./kernel/drivers/scsi/sd_mod.o ./kernel/fs/jbd/jbd.o ./kernel/fs/ext3/ext3.o

but with this image, usb exists in /proc/devices

now, if I try to remove usbcore :
export IGNOREMODS=usbcore
mkinitrd -v toto.img 2.4.21-0.18mdk
I have the modules loaded :
Using modules:  ./kernel/drivers/scsi/scsi_mod.o
./kernel/drivers/scsi/aic7xxx/aic7xxx.o ./kernel/drivers/scsi/sd_mod.o
./kernel/fs/jbd/jbd.o ./kernel/fs/ext3/ext3.o

and now, it's ok ... usb is initialized in rc.sysinit

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to