Re: 2.4.1 segfault when doing "ls /dev/"

Pierfrancesco Caci (ik5pvx@penny.ik5pvx.ampr.org)
04 Feb 2001 17:28:03 +0100


:-> "Pierre" == Pierre Rousselet <pierre.rousselet@wanadoo.fr> writes:

> /dev is mounted at boot time by the kernel (CONFIG_DEVFS_MOUNT=y).
> The system boots and runs without devfsd. You just can't start any
> process calling for non-existing device under /dev and not created
> by devfsd. For instance pppd or mc won't start by lack of pseudo-tty
> esd needs /dev/dsp ...

Yes I know this. Actually, booting with "devfs=nomount s" is the only
way to update the boot record with lilo and my existing lilo.conf.
If I boot with devfs=nomount, I *can* ls /dev, without segfaulting.
I don't want to access or use any device in /dev, I just want to stat
/dev and see what's inside. There's something wrong with (I suspect)
devfsd and the way it populates /dev with symlinks, whick make /dev
un-listable but still usable, somewhat.

> i was thinking the trouble may come from some programme launched by
> your boot scripts before devfsd is running.

I have no idea. Any other debian users reporting this ?

> is your version of fileutils > 4.0.28 (ls --version) ?

root@penny:/usr/src/linux # ls --version
ls (fileutils) 4.0.37

Pf

-- 

------------------------------------------------------------------------------- Pierfrancesco Caci | ik5pvx | mailto:p.caci@tin.it - http://gusp.dyndns.org Firenze - Italia | Office for the Complication of Otherwise Simple Affairs Linux penny 2.4.1 #1 Sat Feb 3 20:43:54 CET 2001 i686 unknown - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/