devfs
[Top] [All Lists]

Re: devfs & autoloading

To: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Subject: Re: devfs & autoloading
From: Joan Picanyol i Puig <joan@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 May 2001 02:10:21 +0200 (CEST)
Cc: devfs@xxxxxxxxxxx
In-reply-to: <200105022150.f42Lojw30479@vindaloo.ras.ucalgary.ca>
Sender: owner-devfs@xxxxxxxxxxx
Hi again, I definitely think I'm getting closer now

On Wed, 2 May 2001, Richard Gooch wrote:

> I assume you're running glibc? In that case, talk to the glibc
> maintainers. It sounds like their ttyname(3) implementation doesn't
> scan /dev/pty for terminals.
I'm running glibc-2.1.3 and you mention a 'similar fix', could you point to the
patch for it please (I'd just like to get rid of MKOLDCOMPAT...)?

Well, my question wasn't precise enough (as a matter of fact nor correct I
forgot to do this before), here's what I've done with the configuration files
attached:

1 scsi hd & 1 ide hd already working
root:/root # ls /dev/discs/ -l
total 0
lr-xr-xr-x   1 root     root           30 Jan  1  1970 disc0 ->
../ide/host0/bus0/target0/lun0
lr-xr-xr-x   1 root     root           31 Jan  1  1970 disc1 ->
../scsi/host0/bus0/target6/lun0

These work fine (thankfully), the problem comes with module autoloading:

root:/root # cdrecord -scanbus
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.

Running
root:/root # exec 2>&1; devfsd /dev/ -t 3 -fg
yields no more output afterwards, however sr_mod does not get loaded...

root:/root # modprobe sr_mod
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
Detected scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 4x/32x cd/rw xa/form2 cdda tray



<Prev in Thread] Current Thread [Next in Thread>