Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 15:21:21 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        mjacob@feral.com, Matt Dillon <dillon@earth.backplane.com>, John Baldwin <jhb@FreeBSD.org>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Mikhail Teterin <mi@aldan.algebra.com>
Subject:   Re: workaround for broken mfs using vn. (was Re: cvs commit: src/sys/i386/conf GENERIC ) 
Message-ID:  <21404.980778081@critter>
In-Reply-To: Your message of "Mon, 29 Jan 2001 16:14:52 %2B0200." <22776.980777692@axl.fw.uunet.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21404.980778081>