From owner-cvs-all Mon Jan 29 6:23:36 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id B14C637B6AB; Mon, 29 Jan 2001 06:21:28 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f0TELLK21406; Mon, 29 Jan 2001 15:21:21 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Sheldon Hearn Cc: mjacob@feral.com, Matt Dillon , John Baldwin , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Mikhail Teterin Subject: Re: workaround for broken mfs using vn. (was Re: cvs commit: src/sys/i386/conf GENERIC ) In-Reply-To: Your message of "Mon, 29 Jan 2001 16:14:52 +0200." <22776.980777692@axl.fw.uunet.co.za> Date: Mon, 29 Jan 2001 15:21:21 +0100 Message-ID: <21404.980778081@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <22776.980777692@axl.fw.uunet.co.za>, Sheldon Hearn writes: > > >On Mon, 29 Jan 2001 02:01:04 PST, Matthew Jacob wrote: > >> Let's try again- there's a panic in a filesystem created by mdconfig on top of >> an md device. Since I wuz being sold (perhaps not by you) mdconfig(8) on top >> of md as the replacement for the now brooooookkeeeen MFS. > >Since some of us aren't seeing the panic, it would probably help if you >sent the details of the panic. You know, the post-mortem crashdump >analysis? > >I'm using an md(4)-backed /tmp fine at the moment with last night's >CURRENT. I _did_ have hassles with Monday's CURRENT when my box locked >solid doing this: > ># kldload md ># mdconfig -a -t swap -s 128M >md0 ># mdconfig -d -u 0 ># kldunload md ># kldload md >[...] /boot/kernel/kernel: WARNING: Driver mistake: repeat make_dev("mdctl") Uhm, I'm not that KLD savy, but there is no code in md(4) to support unloading and consequently, it is at best a bad idea. The initial commit for the sys/modules/md/Makefile hints strongly at that: ] Revision 1.1 / Wed Sep 22 21:28:19 1999 UTC (16 months, 1 week ago) by green ] Branch: MAIN ] ] Add phk's m(4) Memory Disk driver as a KLD. I don't believe it ] works properly after unloading, however. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message