Messages in this thread | | | Date | Sat, 28 Mar 1998 20:17:33 +1100 | From | Bradley Baetz <> | Subject | Re: autofs oops |
| |
>This is bad. I suspect at some point a mount of /mnt/dos failed, and >the dentry is still there. This is a known bug, but this is the first >time I've seen the "Armageddon" message actually cause Armageddon :) >It's just nontrivial to fix, although I had a discussion with Bill >Hawes last week with an idea that might work.
-hpa
By experimenting a bit, I found that a timeout value in /etc/auto.master of 2 causes this problem on first mount. My timeout was set to 5, but reasonably heavy fs activity was occuring at the time (the kernel compile).
/mnt/dos had been mounted before, by rc5des (I keep these on my dos drive so that they can be flushed when I connect through '95), looking at the logs, however:
Mar 27 17:01:04 onion automount[249]: starting automounter version 0.3.14, path = /mnt, maptype = file, mapname = /etc/auto.mnt Mar 27 17:01:04 onion automount[249]: using kernel protocol version 3 Mar 27 17:01:09 onion automount[249]: attempting to mount entry /mnt/dos Mar 27 17:01:11 onion kernel: diald uses obsolete (AF_INET,SOCK_PACKET) Mar 27 17:01:11 onion kernel: CSLIP: code copyright 1989 Regents of the University of California Mar 27 17:01:11 onion kernel: SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256). Mar 27 17:01:11 onion kernel: SLIP linefill/keepalive option. Mar 27 17:01:17 onion PAM_pwdb[343]: (login) session opened for user bbaetz by (uid=0) Mar 27 17:01:17 onion PAM_pwdb[343]: LOGIN ON tty1 BY bbaetz Mar 27 17:01:18 onion automount[365]: expired /mnt/dos [diald starts after rc5des] then, a bit later: Mar 27 17:33:07 onion automount[249]: attempting to mount entry /mnt/dos Mar 27 17:33:14 onion automount[2259]: expired /mnt/dos Mar 27 17:33:14 onion automount[249]: attempting to mount entry /mnt/dos Mar 27 17:33:15 onion automount[2260]: >> mount: /dev/hda1 already mounted or /mnt/dos busy Then the fireworks
Noting the time of expiry and attempted remount are the same [BTW I can't remember why /mnt/dos was mounted the first time - I don't remember doing it, but that was yesterday :)], and that the oops happened in autofs_delete_usage, is there some kind of race condition?
Thanks, Bradley
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |