Re: Devfs strangeness in 2.4.18

Dag Nygren (dag@newtech.fi)
Fri, 07 Jun 2002 10:46:29 +0300


> Ruth Ivimey-Cook writes:
> > On Thu, 6 Jun 2002, Dag Nygren wrote:
> >
> > >The problems are tha the sg? links doesn't correspond to the real
> > >devices shown by /proc/scsi/scsi (Which matches the real situation)
> > >sg0 matches the first disk, OK
> > >sg1 matches the Medium changer, OK
> > >sg2 matches nothing...... There is no target 2 on host1 !!!
> > >sg3 matches the DLT tape drive
> > >sg4 matches the DAT tape drive
> > >
> > >The other problem is the st? links.
> > >st0 is linked out into nothing ...
> > >
> > >Seems like 3 host adapters is too much for devfs......
> > >Do I need an upgrade ?
> >
> > In my experience, devfs doesn't create /dev/sg or /dev/st softlinks.
>
> Indeed. It's devfsd that creates it.
>
> > The only links it creates are from /dev/discs/... to /dev/ide/... or
> > /dev/scsi/... as appropriate.
> >
> > I would look into the mandrake boot sequence in detail.
>
> Also check that you don't have bogus entries in your dev-state
> area. Mandrake had some configuration problems a few months back.

Yess!!!
That's what did it, removing the sg? and st? entries from /lib/dev-state
did the trick. There were some oldies ghosting there. Thanks a lot
Richard, I didn't even know that there was a dev-state directory to
look for ;-).
Is there any comprehensive documentation on devfsd and devfs anywhere
on the net? Could be good to read a bit more about this.

BRGDS

Dag

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/