Re: a bug in autofs

From: Andrey R. Urazov (coola@ngs.ru)
Date: Mon Dec 02 2002 - 12:50:40 EST


On Mon, Dec 02, 2002 at 08:48:47AM -0800, Jeremy Fitzhardinge wrote:
> On Mon, 2002-12-02 at 07:17, Andrey R. Urazov wrote:
> > # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
> > # Sample auto.master file
> > # Format of this file:
> > # mountpoint map options
> > # For details of the format look at autofs(8).
> > /misc /etc/auto.misc --timeout=60
>
> OK, what's in auto.misc?
>
# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

#cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom

# the following entries are samples to pique your imagination
#linux -ro,soft,intr ftp.example.org:/pub/linux
floppy -fstype=auto,nosuid,noexec,noshowexec,gid=600,umask=002,codepage=866,quiet :/dev/fd0
mirror -fstype=ext3,defaults,grpid :/dev/hdb1
mirrorfat -fstype=vfat,nosuid,noexec,noshowexec,gid=600,umask=002,codepage=866,quiet :/dev/hdb2
cdrom -fstype=iso9660,nosuid,noexec :/dev/cdrom
summer -fstype=ntfs,nosuid,gid=600,umask=007,ro :/dev/hda1
excg -fstype=vfat,nosuid,noexec,noshowexec,gid=600,umask=002,codepage=866,quiet :/dev/hda2
extra -fstype=auto,nosuid,noexec,noshowexec,gid=600,umask=002,codepage=866,quiet :/dev/hdd1
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
#removable -fstype=ext2 :/dev/hdd

/dev/cdrom is a link to /dev/scd0

> > Just tested that the system hangs when the autofs4 module is in use.
> > autofs (without 4) module does not cause any problems.
>
> Do you mean you're switching from the autofs4 kernel module with autofs4
> automount, or are you using the autofs4 kernel module with autofs3
> automount?
In both cases I use user level tools version 3.1.7.
>
> > What is characteristic is that before the system hangs I get numerous
> > messages reading `invalid seek on drive /dev/hdc' on my virtual
> > console.
>
> Can you post the exact messages? Is there anything from automount in
> /var/log/messages? Can you post those messages?
I misinformed you again :)
The message is different from those that was in my memory:

hdc: ATAPI reset complete
hdc: status error: status=0x00 { }
ide-scsi: Strange, packet command initiated yet DRQ isn't asserted

then I get an Oops message. I reproduced the bug twice this time and
I get two different oops messages. At least the call stacks of the two
were different since during second time the call stack was so large that
I didn't see anything else.

Best regards,
  Andrey Urazov

-- 
blithwapping:
	Using anything BUT a hammer to hammer a nail into the
	wall, such as shoes, lamp bases, doorstops, etc.
		-- "Sniglets", Rich Hall & Friends
--
lundi 02 décembre, 2002, 23:41:55 +0600 - Andrey R. Urazov (mailto:coola@ngs.ru)


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



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:13 EST