From owner-freebsd-stable Sun Nov 12 20:15:41 2000 Delivered-To: freebsd-stable@freebsd.org Received: from peak.mountin.net (peak.mountin.net [207.227.119.2]) by hub.freebsd.org (Postfix) with ESMTP id 013B137B479 for ; Sun, 12 Nov 2000 20:15:38 -0800 (PST) Received: (from daemon@localhost) by peak.mountin.net (8.9.1/8.9.1) id WAA11048 for ; Sun, 12 Nov 2000 22:15:34 -0600 (CST) (envelope-from jeff-ml@mountin.net) Received: from dial-89.max1.wa.cyberlynk.net(207.227.118.89) by peak.mountin.net via smap (V1.3) id sma011046; Sun Nov 12 22:15:17 2000 Message-Id: <4.3.2.20001112220608.00d921b0@207.227.119.2> X-Sender: jeff-ml@207.227.119.2 X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Sun, 12 Nov 2000 22:14:32 -0600 To: stable@FreeBSD.ORG From: "Jeffrey J. Mountin" Subject: Re: md panic (follow-up) In-Reply-To: <4.3.2.20001016120244.00b5ccc0@207.227.119.2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:33 PM 10/16/00 -0500, Jeffrey J. Mountin wrote: >Scenario: > >Needed a larger md mount. Added the following line to the kernel config: > >options MD_NSECT=40000 > >Rebuilt >reboot > >Here's the interesting part, after the reboot, when md is configured and >mounted there is no problem, other than it only having 20,000 sectors and >not 40,000. Guess I forgot to MAKEDEV... > >umount /tmp_ports >kldunload md >sh MAKEDEV md0 >kldload md >disklabel -r -w md0 auto >newfs /dev/md0c >Panic! Finally re-visited this... Found that compiled in md support will not cause this panic and also uses the MD_NSECT value. Is there a reason why the kld version does not? If there is, then a disclaimer should be added to LINT: *** LINT.orig Wed Nov 8 19:32:39 2000 --- LINT Sun Nov 12 22:12:40 2000 *************** *** 674,677 **** --- 674,678 ---- # Specify double the default maximum size for malloc(9)-backed md devices. + # (this option will have no effect on the kld module) options MD_NSECT=40000 Jeff Mountin - jeff@mountin.net Systems/Network Administrator FreeBSD - the power to serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message