From owner-freebsd-current Fri Oct 19 11:14:51 2001 Delivered-To: freebsd-current@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id CFA5737B403 for ; Fri, 19 Oct 2001 11:14:47 -0700 (PDT) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id f9JIEkE13168 for freebsd-current@freebsd.org; Fri, 19 Oct 2001 20:14:46 +0200 (CEST) (envelope-from wkb) Date: Fri, 19 Oct 2001 20:14:46 +0200 From: Wilko Bulte To: freebsd-current@freebsd.org Subject: lock order reversal on Alpha Message-ID: <20011019201446.A13158@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-OS: FreeBSD 4.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Fresh -current kernel on an DS10 Alpha box: System shutdown time has arrived Writing entropy file:. lock order reversal 1st 0xfffffc00007574b0 clk @ ../../../alpha/alpha/clock.c:702 2nd 0xfffffc00007526b0 callout @ ../../../kern/kern_timeout.c:225 witness_lock Stopped at Debugger+0x34: zapnot v0,#0xf,a0 db> db> db> panic panic: from debugger panic Stopped at Debugger+0x34: zapnot v0,#0xf,a0 db> trace Debugger() at Debugger+0x34 panic() at panic+0x100 db_panic() at db_panic+0x1c db_command() at db_command+0x2d4 db_command_loop() at db_command_loop+0xa4 db_trap() at db_trap+0x10c kdb_trap() at kdb_trap+0xe0 trap() at trap+0x21c XentIF() at XentIF+0x2c --- instruction fault (from ipl 6) --- Debugger() at Debugger+0x34 witness_lock() at witness_lock+0x80c _mtx_lock_spin_flags() at _mtx_lock_spin_flags+0x118 timeout() at timeout+0x44 sysbeep() at sysbeep+0x180 sc_bell() at sc_bell+0xb8 sc_switch_scr() at sc_switch_scr+0x374 scgetc() at scgetc+0x894 sckbdevent() at sckbdevent+0x2b8 atkbd_intr() at atkbd_intr+0x40 atkbd_isa_intr() at atkbd_isa_intr+0x30 isa_handle_intr() at isa_handle_intr+0x20 ithread_loop() at ithread_loop+0x1e8 fork_exit() at fork_exit+0x90 exception_return() at exception_return --- root of call graph --- db> Unfortunate side effect: it switches on its (loud) speaker beep while in de debugger :-/ W/ -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message