From owner-freebsd-current@FreeBSD.ORG Sat Oct 10 16:49:12 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 7DB09106566B for ; Sat, 10 Oct 2009 16:49:12 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id E18708FC0C for ; Sat, 10 Oct 2009 16:49:11 +0000 (UTC) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id n9AGn78I028391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Oct 2009 18:49:10 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4AD0BAFB.6020207@omnilan.de> Date: Sat, 10 Oct 2009 18:48:59 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig88EA98E593F43FE117E55494" Subject: shutdown not working with uart console 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: Sat, 10 Oct 2009 16:49:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig88EA98E593F43FE117E55494 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Dear coders, I recognized one RELENG_8 problem when trying to shutdown via serial=20 console. While shutdown via SSH works like expected, when called via=20 serial console it keeps hanging forever. I compiled a debug kernel for my embedded device and got the following=20 backtrace: ~KDB: enter: Line break on console [thread pid 1102 tid 100074 ] Stopped at kdb_enter+0x3b: movl $0,kdb_why db> bt Tracing pid 1102 tid 100074 td 0xc36c26c0 kdb_enter(c08aca1d,c08b61ae,d5c5e894,c35a0180,0,...) at kdb_enter+0x3b uart_intr(c35a0100,c36c26c0,c344a900,c347b0d0,4,...) at uart_intr+0x298 intr_event_handle(c344a900,d5c5e8ac,c36c26c0,c37a9ad0,1ce,...) at=20 intr_event_handle+0x4b intr_execute_handlers(c347b0d0,d5c5e8ac,0,d5c5e90c,c0852ed4,...) at=20 intr_execute_handlers+0x48 lapic_handle_intr(38,d5c5e8ac) at lapic_handle_intr+0x3a Xapic_isr1() at Xapic_isr1+0x34 --- interrupt, eip =3D 0xc05d0814, esp =3D 0xd5c5e8ec, ebp =3D 0xd5c5e90c= --- _lockmgr_assert(c37a9ad0,1,c08d41d6,1ce,d5c5e940,...) at=20 _lockmgr_assert+0x13e __lockmgr_args(c37a9ad0,100000,c37a9aec,0,0,...) at __lockmgr_args+0x16b vop_stdunlock(d5c5e9ec,0,c36c26c0,80000,c37a9a78,...) at vop_stdunlock+0x= 55 VOP_UNLOCK_APV(c0912b40,d5c5e9ec,c091d71c,c09477e0,c37a9a78,...) at=20 VOP_UNLOCK_APV+0x9a _vn_lock(c37a9a78,80100,c08d4ec2,823,c08c5fec,...) at _vn_lock+0xbc vget(c37a9a78,80100,c36c26c0,4f3,c37a9a78,...) at vget+0x61 devfs_revoke(d5c5eaa4,d5c5eaa4,c08c2b09,157,c36cf330,...) at=20 devfs_revoke+0x210 exit1(c36c26c0,1,c08c78e8,ab6,3,...) at exit1+0x9ff sigexit(c36c26c0,1,c08c78e8,a49,0,...) at sigexit+0x84 postsig(1,64,c08cc013,df,c36cf2a8,...) at postsig+0x34d ast(d5c5ed38) at ast+0x42f doreti_ast() at doreti_ast+0x17 I have no idea where the problem is, nor how to get more info. Any help appreciated. Thanks in advance, -Harry --------------enig88EA98E593F43FE117E55494 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkrQuwMACgkQLDqVQ9VXb8h1ygCbB4EDdp0GoaG0Fp47k2+mk+Aw 6/UAni4i9MfRosxnpxsPLJDznN2YG11a =6UVD -----END PGP SIGNATURE----- --------------enig88EA98E593F43FE117E55494--