From owner-freebsd-stable@FreeBSD.ORG Sat Mar 1 22:56:50 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 682241065670 for ; Sat, 1 Mar 2008 22:56:50 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by mx1.freebsd.org (Postfix) with ESMTP id ED3878FC16 for ; Sat, 1 Mar 2008 22:56:49 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail18.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m21MukIX011039 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Mar 2008 09:56:48 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m21Muk9C097925; Sun, 2 Mar 2008 09:56:46 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m21MukCi097924; Sun, 2 Mar 2008 09:56:46 +1100 (EST) (envelope-from peter) Date: Sun, 2 Mar 2008 09:56:46 +1100 From: Peter Jeremy To: Jeff Blank Message-ID: <20080301225646.GV67687@server.vk2pj.dyndns.org> References: <20080301194404.GA1571@mr-happy.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline In-Reply-To: <20080301194404.GA1571@mr-happy.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: 7.0-STABLE amd64 kernel trap during boot-time device probe X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 22:56:50 -0000 --2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 01, 2008 at 02:44:04PM -0500, Jeff Blank wrote: >I posted this around 3 months ago and never received a response. the >problem still occurs with 7.0-STABLE (csup on 20080301). I possibly >incorrectly referred to it as a panic last time, when the problem was >really a trap. A trap triggering a panic is still a panic. >I've upgraded my AMD64 box from RELENG_6 (csup on Nov. 30) to RELENG_7 >(csup around 01:30 UTC Dec. 7) and am getting a kernel panic when I >try to boot with seemingly any one module specified in >/boot/loader.conf (XXX_load=3DYES). It seems to occur near the end of >device probing, just before it detects the disks. This is likely to be when the loaded modules get probed. >Here is console output from the panic and partial dmesg output from >the successful boot (similar up to a point, some context included). I >couldn't get my serial port to accept input at the debugger prompt, >and my keyboard (USB) can't even "Press a key on the console to >reboot" when I have a non-ddb/kdb/etc kernel, so I couldn't do >anything once I got into the debugger. Hopefully what's below has >some useful information--if not, I'll be happy to try to get it. Without at least a backtrace, the only information that can be gleaned is that mtx_lock_sleep() is dereferencing a NULL pointer. This isn't much help. >options GDB >and set hint.sio.0.flags=3D"0x80" in /boot/device.hints. What am I >missing to allow serial input when the debugger starts? This means that the serial port is expecting to talk to a remote GDB session, not a serial console. You probably want: - 'hint.sio.0.flags=3D"0x10"' [no 'set'] in /boot/device.hints - '-Dh' in /boot.config Doing a verbose boot would probably also help. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHyd8u/opHv/APuIcRAio1AJ42YEyD2JZeSBQ3+w4LDVyifznOswCfboan 1fgeZE5XNaVnh5bwFF9h3Tw= =8uzc -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r--