Le ven 13/09/2002 � 13:35, Thomas Backlund a �crit :
> From: "Guillaume Cottenceau" <[EMAIL PROTECTED]>
> > "Thomas Backlund" <[EMAIL PROTECTED]> writes:
> >
> > [...]
> >
> > > As the last 'fix' (wich I should have tried first...) I changed
> > > the lilo.conf from 'devfs=mount' to 'devfs=nomount',
> > > executed '/sbin/lilo', undid the 'scsi_hostadapter' changes
> > > mentioned in the beginning, and rebooted.
> > >
> > > Guess what... NO ERROR MESSAGES !! ;-)
> >
> > Strange. Planel, does it help? Maybe the no such file or
> > directory comes from a missing /dev file, no? We could strace
> > kmod, ehm, ehm.
> >
> > Well anyway, I've relooked at the problem and found a workaround:
> > loading sd_mod after the actual scsi host adapter fixes kmod
> > suckiness. Will be in mkinitrd 31mdk.
> >
>
> Correct me if I'm wrong, but isn't this the actual bugfix ...
> If I understand the scsi documentation correctly this is the way
> to load scsi support, in this order:
> 1. scsi_mod
> - without this no scsi support at all
> 2. scsi_hostadapter
> - without this the system wont find any scsi devices
> 3. sd_mod (or sr_mod, or sg_mod, or ...)
> - this gives you disk support under the scsi_hostadapter...
> - this (theese) modules depend on a host adapter in the system,
> that translates between the module and scsi_mod.
Yes it's the good way to load the modules, but the problem comes from
scsi_mod with KMOD enable in the kernel, that scsi_mod whant modprobe
scsi_hostadapter when no adpater is released ... and the error appear
when do_exec counldn't exec /sbin/modprobe in current fs (ram0) for
strange things :(
I also integrated a little patch in futher kernel release (11mdk) to fix
that (workaround too): no need to load scsi_hostadapter when no adapater
found ... module depenence resolve this :)
>
> Example: (if I understand it correctly)
> scsi disk <-> sd_mod <-> scsi_hostadapter <->scsi_mod <-> kernel
not exactliy look lsmod
scsi_disk (logicaly) <-> sd_mod <-> scsi_mod <-> kernel
scsi_disk (physacly) <-> scsi_hostadapter <->
scsi_mod : is the scsi middleware interface
sd_mod : try to find scsi_disk via host bus and have implementation of
scsi_disk command
>
> Thomas
>
>
>
> *** T�m� viesti on VirusTarkistettu INRITEL OY:n postipalvelimella!! ***
>
--
Nicolas PLANEL
Les trous noirs sont les endroits ou Dieu divisa par zero.