Re: a bug in autofs

Jeremy Fitzhardinge (jeremy@goop.org)
01 Dec 2002 19:25:32 -0800


On Sat, 2002-11-30 at 23:16, Andrey R. Urazov wrote:
> 1) when I run XMMS and its playlist contains entries laying somewhere
> under /misc/cdrom but there is no cd in the drive or the cd in the
> drive is not the one whose entries are stored in the playlist, it
> takes about half a minute for the system to hang. Before it hangs
> absolutely I get numerous messages "invalid seek on /dev/hdc" on my
> virtual consoles

What happens if you try to manually mount the cdrom when there's nothing
in the drive?

> 2) under /misc/summer there resides an ntfs volume with thousands of
> files. And when I run
>
> find /misc/summer
>
> the system becames unusable after some amount of files is scanned.
> Usually it just hangs. But one time "find" terminated with the
> segmentation fault and then after 5 seconds or so the system hung.

Can you reproduce this with some other filesystem type (something which
is less flaky than NTFS)?

How many files are on the NTFS filesystem?

> The problem does not existed if the volumes are mounted through "mount".
> Only automounting causes problems.

Does this comment also apply to the cdrom case?

What mount options are you using to mount these filesystems? Are they
the same when you do it manually and using autofs?

What does the "dentry_cache" line say in /proc/slabinfo while you're
running the find on the NTFS filesystem?

Thanks,
J

-
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/