From owner-freebsd-stable@FreeBSD.ORG Sat Oct 25 01:21:51 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50C4E106569C for ; Sat, 25 Oct 2008 01:21:51 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id 1AAE68FC21 for ; Sat, 25 Oct 2008 01:21:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id WoQg1a00c0lTkoCA7pMqRi; Sat, 25 Oct 2008 01:21:50 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id WpMo1a0032P6wsM8QpMomk; Sat, 25 Oct 2008 01:21:49 +0000 X-Authority-Analysis: v=1.0 c=1 a=j1jtvhf0zA8A:10 a=T4SDRHG4orYA:10 a=QycZ5dHgAAAA:8 a=fP69OAasJoYc0tmgijUA:9 a=2GyPBCaTGpZJ8sfvNm0d-oWrIR8A:4 a=EoioJ0NPDVgA:10 a=EfPB1bUmjyUA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 1832BC9419; Fri, 24 Oct 2008 18:21:48 -0700 (PDT) Date: Fri, 24 Oct 2008 18:21:48 -0700 From: Jeremy Chadwick To: Aragon Gouveia Message-ID: <20081025012148.GA48297@icarus.home.lan> References: <200810230627.46478.freebsd-stable@dino.sk> <209111CB-326D-4758-80B2-2505CAE9BCDF@netconsonance.com> <20081025003750.GA42077@phat.za.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081025003750.GA42077@phat.za.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Jo Rhett , freebsd-stable Stable , John Baldwin Subject: Re: 6.4 RC1 locks up solid on first reboot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2008 01:21:51 -0000 On Sat, Oct 25, 2008 at 02:37:50AM +0200, Aragon Gouveia wrote: > | By Jo Rhett > | [ 2008-10-24 21:13 +0200 ] > > On Oct 22, 2008, at 9:27 PM, Milan Obuch wrote: > > >I did not investigate on this issue too much, but there is an > > >workaround - > > >copy older /boot/loader over newer one. In my case, I am rebuilding > > >whole > > >world often, and now /boot/loader seems to not build correctly for > > >me. Older > > >one is ~ 250 kB, rebuilt will be ~ 185 kB, and freezes. > > > > 6.4's boot loader is 221k > > 6.3's boot loader is 217k > > > > Copying 6.3 boot loader to the 6.4 solved the keyboard lockup problem, > > but it still panics during the boot. At last now I get the entire > > panic to the serial console so I can cut/paste. > > FWIW, I've had problems with 7.0's boot loader locking up too. I'm running > a -stable compile from march and during bootup, if I make too many > keypresses the bootup sequence freezes. Once loader has handed off to the > kernel then everything's fine, but I can't make any use of loader's or > bootX's command lines without the system freezing. I'm careful not to touch > my keyboard during bootup! > > Keyboard and mouse are both USB. There are known problems with some BIOSes and "USB Legacy" support. Said BIOS option allows a USB keyboard and mouse to be emulated as PS/2 for operating systems which lack a USB stack, such as MS-DOS -- and more importantly, bootloaders! The FreeBSD bootloader only understands AT/PS2 keyboards, which is why that BIOS option is needed. Can you confirm this problem happens when using a PS/2 keyboard? If so, then the issue is probably in the bootstrap code somewhere. If the problem goes away when using a PS/2 keyboard, then the problem is either a BIOS bug (likely in this day and age), or a compatibility issue with the model of USB keyboard you have (not all USB keyboards are identical in behaviour). P.S. -- Why are you slamming keys during the bootup sequence? :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |