Re: panic on boot with today's kernel

From: Michiel Boland <michiel_at_boland.org>
Date: Thu, 22 Jan 2009 18:45:48 +0100
Dimitry Andric wrote:
> On 2009-01-22 17:24, Michiel Boland wrote:
>> panic: mutex ppc0 not owned at /usr/src/sys/dev/ppc/ppc.c:1983
> ...
>> _mtx_assert(c5732a7c,4,c0bd3582,7bf,c56d4800,...) at _mtx_assert+0x87
>> ppc_write_ivar(c56d4800,c5743180,2,c06fd070,ffffffff,...) at ppc_write_ivar+0x42
>> ppbus_attach(c5743180,c55fd054,c0cd0dc8,c0beeeb3,80000000,...) at ppbus_attach+0x148
> 
> Please try jhb's fix from here:
> 
> http://docs.freebsd.org/cgi/mid.cgi?200901221016.58349.jhb

Now it crashes somewhere else...

ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
panic: mutex ppc0 not owned at /usr/src/sys/dev/ppbus/lpt.c:222
cpuid = 0
KDB: enter: panic
[thread pid 0 tid 100000 ]
Stopped at      kdb_enter+0x3a: movl    $0,kdb_why
db> bt
Tracing pid 0 tid 100000 td 0xc0d3d2b0
kdb_enter(c0bec51e,c0bec51e,c0bead23,c1420890,0,...) at kdb_enter+0x3a
panic(c0bead23,c574b520,c0bd31a4,de,c14208b4,...) at panic+0x136
_mtx_assert(c573217c,4,c0bd31a4,de,c14208d4,...) at _mtx_assert+0x87
_ppb_assert_locked(c5746580,c0bd31a4,de,c5746500,c5746580,...) at 
_ppb_assert_locked+0x32
lpt_release_ppbus(c5746580,10,0,0,4,...) at lpt_release_ppbus+0x3d
Received on Thu Jan 22 2009 - 16:45:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC