From owner-freebsd-current Fri Jan 8 11:56:24 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA16196 for freebsd-current-outgoing; Fri, 8 Jan 1999 11:56:24 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA16191 for ; Fri, 8 Jan 1999 11:56:20 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (peter@localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Netplex) with ESMTP id DAA46630; Sat, 9 Jan 1999 03:55:13 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199901081955.DAA46630@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Bruce Evans cc: alexlh@funk.org, damascus@eden.rutgers.edu, freebsd-current@FreeBSD.ORG Subject: Re: freeze when trying to mount FAT32 In-reply-to: Your message of "Sat, 09 Jan 1999 04:53:40 +1100." <199901081753.EAA21909@godzilla.zeta.org.au> Date: Sat, 09 Jan 1999 03:55:12 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans wrote: > >This happened to me a few times in current. Seemed to happen to me only if > >I accidentally typed in mount /dev/wd0s1 /msdos first. (this was not > >fat32.. but still i got the lock up). And then i typed in mount -t msdos > >/dev/wd0s1 /msdos.. and it froze. hardlock. mount_msdos /dev/wd0s1 /msdos > >the first time always seems to work for me. > > vfsload() still execs /sbin/modload to load an LKM. This should fail, > because -current doesn't have any LKMs. Everyone should have removed > the old ones a week or so ago when they stopped being installed. LKMs > and modules are only valid when compiled with the same headers as the > kernel. Actually, it will try to kldload() it first and will fall back to the old way. vfsload() is kinda redundant now, as mount(2) will load it if needed. We can remove the #ifdef FreeBSD code in the mount_* routines and have just plain mount("msdos", ...); which will load the module if needed. > Bruce Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message