From owner-freebsd-current@FreeBSD.ORG Mon Dec 8 13:05:40 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4366516A4CE for ; Mon, 8 Dec 2003 13:05:40 -0800 (PST) Received: from spf13.us4.outblaze.com (205-158-62-67.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20A2143D32 for ; Mon, 8 Dec 2003 13:05:25 -0800 (PST) (envelope-from pseniura@techie.com) Received: from 205-158-62-68.outblaze.com (205-158-62-68.outblaze.com [205.158.62.68]) by spf13.us4.outblaze.com (Postfix) with QMQP id 59D671801A64 for ; Mon, 8 Dec 2003 21:04:00 +0000 (GMT) Received: (qmail 47699 invoked from network); 8 Dec 2003 21:04:00 -0000 Received: from unknown (HELO ws1-8.us4.outblaze.com) (205.158.62.59) by 205-158-62-153.outblaze.com with SMTP; 8 Dec 2003 21:04:00 -0000 Received: (qmail 83370 invoked by uid 1001); 8 Dec 2003 21:04:00 -0000 Message-ID: <20031208210400.83369.qmail@mail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [192.149.244.9] by ws1-8.us4.outblaze.com with http for pseniura@techie.com; Mon, 08 Dec 2003 15:04:00 -0600 From: "Paul Seniura" To: "Doug White" Date: Mon, 08 Dec 2003 15:04:00 -0600 X-Originating-Ip: 192.149.244.9 X-Originating-Server: ws1-8.us4.outblaze.com cc: current@freebsd.org Subject: Re: please see PR 59688 (re: [solved] Re: kernel hangs during boot) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2003 21:05:40 -0000 ----- Original Message ----- From: Doug White Date: Mon, 8 Dec 2003 12:40:36 -0800 (PST) To: pseniura@techie.com Subject: Re: please see PR 59688 (re: [solved] Re: kernel hangs during boot) > On Mon, 8 Dec 2003 pseniura@techie.com wrote: > > > > > I filed a PR several weeks ago on this 'device-md'-in-the-kernel bug. > > The PR has yet to be assigned. > > Now it's gone out to 5.2-Release, I bet everyone is going to see this bug. > > Enabling MD_ROOT_SIZE specifies that a MDROOT has been compiled into the > kernel, and gives its size so the volume will be appropriately > initialized. So specifying this option in the beginning was a mistake. > There is absolutely no need for MD_ROOT_SIZE in any production kernel, > unless you are booting diskless or some other special need. > > I think we have to blame PEBKAC on this although a word of caution in > NOTES is probably warranted. Oh I did include MDROOT in my kernel, as the PR's attached files will show. I had to take _all_ bits dealing with 'md' out of the kernel for it to boot-up w/o a panic. (was hoping to use md as a RAMdisk thing, otherwise it's no loss for me, but I did want to report it asap before -Release was affected, since it is included in GENERIC.) (btw I keep forgetting to include a sig) -- Paul Seniura System Specialist State of Okla. D.O.T. > > ________ > > > > On Sun, 7 Dec 2003, Doug White wrote: > > > > > On Sat, 6 Dec 2003, Wesley Morgan wrote: > > > > > > > > Eh, this is you hitting the gdb key. how about 'ps'? > > > > > > > > Hooray for serial consoles! > > > > > > You didn't compile with BREAK_TO_DEBUGGER? you still hit the ddb key :) > > > > > > I'm still not seeing anything hanging. Have you tried booting with -v and > > > seeing if ata is trying anything, for instance? > > > > Ok, I've found the culprit: > > > > options MD_ROOT_SIZE=10 > > > > Removing that from my kernel config allows it to boot (this is > > some cruft left over from previous experiments). As for WHY it won't boot, > > I'll leave that to those with much more knowledge than me! > > > > -- > > Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! > > > > ________ > > > > -- > Doug White | FreeBSD: The Power to Serve > dwhite@gumbysoft.com | www.FreeBSD.org > -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm