From owner-freebsd-current@FreeBSD.ORG Thu Jan 22 17:45:50 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA14E106568B for ; Thu, 22 Jan 2009 17:45:50 +0000 (UTC) (envelope-from michiel@boland.org) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 6A37F8FC22 for ; Thu, 22 Jan 2009 17:45:50 +0000 (UTC) (envelope-from michiel@boland.org) Received: from aja.boland.org (91-43-215.ftth.xms.internl.net [82.215.43.91]) (authenticated bits=0) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id n0MHjmi4047083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Jan 2009 18:45:48 +0100 (CET) (envelope-from michiel@boland.org) Message-ID: <4978B0CC.4070803@boland.org> Date: Thu, 22 Jan 2009 18:45:48 +0100 From: Michiel Boland User-Agent: Thunderbird 2.0.0.19 (X11/20090110) MIME-Version: 1.0 To: Dimitry Andric References: <49789DC7.1050300@boland.org> <49789EBC.1050401@andric.com> In-Reply-To: <49789EBC.1050401@andric.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-current@freebsd.org Subject: Re: panic on boot with today's kernel 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: Thu, 22 Jan 2009 17:45:51 -0000 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: 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: on ppc0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: 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