From owner-freebsd-current@FreeBSD.ORG Mon Aug 10 21:59:18 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F111C106564A for ; Mon, 10 Aug 2009 21:59:18 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id 887328FC1A for ; Mon, 10 Aug 2009 21:59:17 +0000 (UTC) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id n7ALxFGO050957 ; Mon, 10 Aug 2009 23:59:16 +0200 (CEST) X-Ids: 168 Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) by heho.snv.jussieu.fr (8.14.3/8.14.3) with ESMTP id n7ALxEL7092805; Mon, 10 Aug 2009 23:59:14 +0200 (CEST) (envelope-from arno@heho.snv.jussieu.fr) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.14.3/8.14.3/Submit) id n7ALxEQ9092802; Mon, 10 Aug 2009 23:59:14 +0200 (CEST) (envelope-from arno) To: Marko Zec From: "Arno J. Klaassen" References: <200908102002.27320.zec@icir.org> Date: Mon, 10 Aug 2009 23:59:14 +0200 In-Reply-To: <200908102002.27320.zec@icir.org> (Marko Zec's message of "Mon\, 10 Aug 2009 20\:02\:27 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV 0.94.2/9673/Mon Aug 10 17:32:31 2009 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 4A809833.012 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4A809833.012/134.157.184.22/heho.snv.jussieu.fr/heho.snv.jussieu.fr/ Cc: current@freebsd.org Subject: Re: 8.0-BETA2: mi_startup() panic on VIA C7 diskless X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 10 Aug 2009 21:59:19 -0000 Marko Zec writes: > On Monday 10 August 2009 18:40:39 Arno J. Klaassen wrote: >> Hello, >> >> I get the following panic when pxebooting a 8.0-BETA2 on a >> VIA-C7-MB. The kernel is cross-build from a clean amd64-7-stable >> and I defined CPUTYPE?=pentiumpro in make.conf. >> >> Let me know what I can provide more as info to get around this. > > adding this line > > hint.apic.0.disabled="1" > > to /boot/device.hints should do the trick when booting BETA2 from a local > disk, though I don't know whether and how would pxeboot load the > device.hints file. yes, this works (in /boot/loader.conf). (though at first sight I completely ignore why, since the panic seems to be in sscanf() of a line in /boot/loader.conf or /boot/device.hints starting with "hint." and I certainly did not have any "hint.apic.*" line in it ) That said, it now panics a bit further (the 'xdr'-bug I vaguely remember from recent days? ) : Adjusted interface vge0 in_scrubprefix: deletion failed Shutdown interface vge1 Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xf000e6fa fault code = supervisor read, page not present instruction pointer = 0x20:0xc07e060b stack pointer = 0x28:0xc0c20940 frame pointer = 0x28:0xc0c20990 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) [thread pid 0 tid 100000 ] Stopped at 0xc07e060b = uma_zalloc_arg+0x7b: movswl 0x8(%edx),%eax db> where Tracing pid 0 tid 100000 td 0xc0934590 uma_zalloc_arg(0,0,101,c6dfec00,c060bfeb,...) at 0xc07e060b = uma_zalloc_arg+0x7b flowtable_lookup(c6eca000,c7008100,c0c20a74,8c,c0aa586c,...) at 0xc0673ffb = flowtable_lookup+0x49b ip_output(c7008100,0,0,0,0,...) at 0xc06abcfa = ip_output+0xea udp_send(c70a59a8,0,c7008300,c0aa870c,0,...) at 0xc0724198 = udp_send+0x8e8 sosend_dgram(c70a59a8,c0aa870c,0,c7008300,0,...) at 0xc063290f = sosend_dgram+0x35f sosend(c70a59a8,c0aa870c,0,c7008300,0,...) at 0xc062ff2f = sosend+0x3f krpc_call(c0aa870c,186a0,2,3,c0c20c60,...) at 0xc0757afe = krpc_call+0x2ce krpc_portmap(c0aa870c,186a5,3,c0aa870e,c0934590,...) at 0xc0757e46 = krpc_portmap+0xb6 bootpc_init(0,c1ec00,c1ec00,c1e000,c25000,...) at 0xc0757398 = bootpc_init+0x19a8 mi_startup() at 0xc05839d6 = mi_startup+0xa6 begin() at 0xc0453005 = begin+0x2c db> Merci & best, Arno