On Thu, 2002-02-14 at 01:04, Borsenkow Andrej wrote: > > On Thu, 2002-02-14 at 00:21, Borsenkow Andrej wrote: > > > > > > > > > > > $ ll /dev/scsi/host0/bus0/target0/lun0/ > > > > total 0 > > > > > > > Well, that's not actually a problem, accessing /dev/sg0 (or > > > /dev/.../generic) should load sg and does for me. > > > > > > > That's also what I hoped, but: > > > > Could you please: > > Reboot with devfs > Kill devfsd > Start it with devfsd /dev -t 3 > Wait until outputs stops and from another terminal do ls /dev/sg0 (or > cdrecord if you want) and send the output. Or do ls /dev/loop0, does not > matter. > > Chmouel did it and found it tries to load "loop*" - note final `*' - > instead of plain "loop". No idea where it may come from. > Now that's interesting.
<start dump> # ls -l /dev/sg0 lr-xr-xr-x 1 root root 36 Feb 14 01:49 /dev/sg0 -> scsi/host0/bus0/target0/lun0/generic Looking for "sg0" (4) /lib/modutils.so load failure: /lib/modutils.so: cannot open shared object file: No such file or directory Executing modprobe with name: "/dev/sg0" Looking for "scsi/host0/bus0/target0/lun0/generic" (0) made symlink: "sg0" for dev: 21,0 made symlink: "sg/c0b0t0u0" for dev: 21,0 Copying /lib/dev-state/scsi/host0/bus0/target0/lun0/generic to /dev/scsi/host0/bus0/target0/lun0/generic for "scsi/host0/bus0/target0/lun0/generic" | "/dev/scsi/host0/bus0/target0/lun0/generic" Calling pam_console_apply_single in /lib/security/pam_console_apply_devfsd.so for "scsi/host0/bus0/target0/lun0/generic" | "/dev/scsi/host0/bus0/target0/lun0/generic": '/dev/scsi/host0/bus0/target0/lun0/generic'. i.e. 1 arg # ls -l /dev/loop0 ls: /dev/loop0: No such file or directory Looking for "loop0" (4) Executing modprobe with name: "/dev/loop0" /lib/modules/2.4.17-16mdk/kernel/drivers/block/loop.o.gz: /lib/modules/2.4.17-16mdk/kernel/drivers/block/loop.o.gz is not an ELF file modprobe: insmod /dev/loop0 failed <end dump> So the sg module is actually loaded when devfsd is started with the -t 3 option. If I reboot the system normally and try ls /dev/sg0, I still receive the No such file or directory. Apparently, the loop module still fails to load. I just checked that modprobe loop works fine manually. =-= kk1
