From owner-freebsd-current@FreeBSD.ORG Fri May 2 13:56:28 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 7503437B401 for ; Fri, 2 May 2003 13:56:28 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B07BB43FBF for ; Fri, 2 May 2003 13:56:27 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.9/8.12.9) with SMTP id h42Kud9S083272; Fri, 2 May 2003 16:56:40 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 2 May 2003 16:56:38 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Blaz Zupan In-Reply-To: <20030502200524.G32776@titanic.medinet.si> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Hang while PXE booting todays -current 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: Fri, 02 May 2003 20:56:28 -0000 On Fri, 2 May 2003, Blaz Zupan wrote: > Is anybody else having trouble PXE booting -current as of today? I had a > working test setup where my laptop was PXE booted off of my -current > desktop box. The test setup was running yesterdays -current. Then I made > world today and now it hangs at the point it should start executing > /sbin/init. I seem to be booting OK, but I need to check to see which PXE boxes are using which kernels. <...> > And here it hangs forever. I tried breaking into DDB. Doing a "trace" shows > this: > > Debugger(c051dd90,4,1,0,1) at Debugger+0x54 > scgetc(c05f5120,2,80296,c05a49e8,c2635280) at scgetc+0x445 > sckbdevent(c05f900,0,c05f5120,c059faa0,8) at sckbdevent+0x1e0 > atkbd_intr(c05cf900,0,cccaad0c,c0305ba2,c05cf900) at atkbd_intr+0x2c > atkbd_isa_intr(c05cf900,0,c050409c,218,c26381e0) at atkbd_isa_intr+0x21 > ithread_loop(c25e5180,cccaad48,c0503f4f,310,70020400) at ithread_loop+0x182 > fork_exit(c0305a20,c25e5180,cccaad48) at fork_exit+0xc0 > fork_trampoline() at fork_trampoline+0x1a > --- trap 0x1, eip = 0, esp = 0xcccaad7c, ebp = 0 --- This is the stack trace of the interrupt thread for the keyboard handler. What you want to do is type in "trace 1" to see what init is doing. Also, the output of the ddb ps command would be useful. > Also, earlier in the boot, I see this: > > malloc() of "4096" with following non-sleepablelock held: > exclusive sleep mutex ifnet r = 0 (0xc05c79c0) locked @ nfsclient/bootp_subr.c:1696 > > The kernel is GENERIC with options BOOTP, BOOTP_NFSROOT and BOOTP_COMPAT > added. I can do PXE using GENERIC without any special options -- do you need the options? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories