From owner-freebsd-current@FreeBSD.ORG Wed Sep 15 14:19:14 2004 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 E63B716A4CE for ; Wed, 15 Sep 2004 14:19:14 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 931E343D5F for ; Wed, 15 Sep 2004 14:19:14 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by mproxy.gmail.com with SMTP id 78so213437rnk for ; Wed, 15 Sep 2004 07:18:59 -0700 (PDT) Received: by 10.38.96.12 with SMTP id t12mr618005rnb; Wed, 15 Sep 2004 07:18:59 -0700 (PDT) Received: by 10.38.75.49 with HTTP; Wed, 15 Sep 2004 07:18:59 -0700 (PDT) Message-ID: <790a9fff04091507181f3b5860@mail.gmail.com> Date: Wed, 15 Sep 2004 09:18:59 -0500 From: Scot Hetzel To: freebsd-current@freebsd.org, sos@freebsd.org In-Reply-To: <20040915095304.GC761@galgenberg.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <790a9fff04091500172a40bd13@mail.gmail.com> <20040915095304.GC761@galgenberg.net> Subject: Re: 5.3 BETA kernel hangs without debugging options X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Scot Hetzel List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 14:19:15 -0000 On Wed, 15 Sep 2004 11:53:04 +0200, Ulrich Spoerlein wrote: > On Wed, 15.09.2004 at 02:17:07 -0500, Scot Hetzel wrote: > > I have been trying to track down a problem with the 5.3 BETA4 kernel > > where it would hang after trying to sense my CD ROM drive. I have > > found that disconnecting the CD ROM drive would allow it to boot the > > sos@ committed some fixes for these hangs, but unfortunately it still > happens on my laptop too. The situation is greatly improved, but in 1 > out of ... say 12 reboots the Kernel still hangs at the DVD-detection. > > Someone worked around this by placing a DELAY() somewhere in the code > (can't remember right now, search the archives). It also seems that it > doesn't happen with bootverbose. Turning on debugging seems to avoid it > for you, because the kernel is slower and thus not fast enough to win > the race against the CD-drive (Note: I'm only guessing!). > I just built a BETA4 kernel from the a checked out sources of last night and re-enabled the debugging options. This morning the kernel didn't have any problems booting my system. I'm currently building a kernel without debugging options to see if the problem re-occurs. I'll know if it works in about 8hrs, when I get home from work. Scot