Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 2009 23:59:14 +0200
From:      "Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
To:        Marko Zec <zec@icir.org>
Cc:        current@freebsd.org
Subject:   Re: 8.0-BETA2: mi_startup() panic on VIA C7 diskless
Message-ID:  <wp3a7zl499.fsf@heho.snv.jussieu.fr>
In-Reply-To: <200908102002.27320.zec@icir.org> (Marko Zec's message of "Mon\, 10 Aug 2009 20\:02\:27 %2B0200")
References:  <wp8whraago.fsf@heho.snv.jussieu.fr> <200908102002.27320.zec@icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Marko Zec <zec@icir.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wp3a7zl499.fsf>