From: "Guillaume Cottenceau" <[EMAIL PROTECTED]> > "Thomas Backlund" <[EMAIL PROTECTED]> writes: > > > I checked out the kernel mailing list and found the reason for the > > 'kmod: failed to exec /sbin/modprobe -s -k ... ' > > > > It seems that kmod is not perfectly happy with the module-loading, > > initrd, and ramfs..., and modprobe is not in the initrd, > > so the line above is it's way of complaining... > > Yes. We always had this problem, it's why in our initrd the > "nash" program has a softlink from "/sbin/modprobe"; and "nash" > itself silently "exit 0" when it sees that it has been called > with the name "modprobe". > > This has always worked in the past. > > Now at a certain point between the 8.2 kernel and now, it broke. > I've spent a bunch of time experimenting, trying to use absolute > or relative symlink, trying to have an hardlink, but no way. I've > read the kernel source in the hope that I could understand, but > nothing. So I've passed the request to our kernel team (around > one month ago). I'm skeptical it will be fixed at all for 9.0. >
Ok, so now I have played around with my firewall (smart, eh...) and reconfigured/rebooted time and again... I installed the MDK8.2 kernel on my MDK9.0RC2 system updated with the latest cooker as of today, and rebooted, and no errors ... ;-) so ... I thought the problems was the SCSI part of the system, so I removed all 'scsi_hostadapter' lines in '/etc/modules.conf' and '/etc/modules.devfs'. then I added this to '/etc/modules' scsi_mod # this has to load first, or nothing works aic7xxx # I thought this should be here, since it is the HBA sd_mod # I placed this last, but it still loads before the aic7xxx then I rebooted, and ... same error ... :-( Preloading those 3 needed modules does not work either... The problem/error comes from the sd_mod module, since the call for 'scsi_hostadapter' is hardcoded into the module as specified in /usr/src/linux/drivers/scsi/scsi.c I even tried to copy the 'aic7xxx.o.gz' to '../scsi_hostadapter.o.gz' to try to fool the system, but with no luck. 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 !! ;-) So a few questions: in the error message: 'kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2' What is 'errno=2'? Is it 'cant find /sbin/modprobe' ? Or is it 'dont find/know scsi_hostadapter'? (doesn't the system read the '/etc/modules.conf'?) So AFAIK something/(someone?) has changed the way the kernel interfaces with devfs, since the 2.4.18 kernel from MDK8.2 works just fine with my MDK9.0RC2 Cooker install... BTW, isn't 'kernel-linus2' the original release from kernel.org? It has the same problems... Oh, well... Thats all for now... More will follow ... Thomas *** T�m� viesti on VirusTarkistettu INRITEL OY:n postipalvelimella!! ***
