From owner-freebsd-stable@FreeBSD.ORG Fri Feb 9 17:04:31 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE8FD16A403; Fri, 9 Feb 2007 17:04:31 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 1ECDB13C4BF; Fri, 9 Feb 2007 17:04:31 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 3294EEB213E; Sat, 10 Feb 2007 00:45:46 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id xkhqb9NS2xvw; Sat, 10 Feb 2007 00:45:42 +0800 (CST) Received: from [192.168.1.32] (unknown [221.220.29.241]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 8207AEB154A; Sat, 10 Feb 2007 00:45:42 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=Gk4eadRGNHuxBGZ482zAFSV1HfqW3MXK+U+331AlF3Gj2tHrlH0Nh1WgmsMLzo512 A7JikoRDlFKEMXkuAlYBg== Message-ID: <45CCA530.3070003@delphij.net> Date: Sat, 10 Feb 2007 00:45:36 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: "Bruce M. Simpson" References: <1171031359.45cc853f78c66@gddsn.org.cn> <45CCA151.7030403@FreeBSD.org> In-Reply-To: <45CCA151.7030403@FreeBSD.org> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig7F1C2A071F60419B4A1C696A" Cc: stable@freebsd.org, current@freebsd.org, wsk@gddsn.org.cn Subject: Re: BTX halted with MegaRaid SCSI 320-2 on 6.2R help 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: Fri, 09 Feb 2007 17:04:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7F1C2A071F60419B4A1C696A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Bruce M. Simpson wrote: > Hi, >=20 > This isn't the answer, but I'm attempting to provide triage for jhb who= > will probably look at it. >=20 > This is a GPF, but it's not being caused by an attempt to enter > protected mode, so it isn't the most-often reported BTX issue. >=20 > wsk@gddsn.org.cn wrote: >> 6.2R cd boot failed with follow error,and the MegaRAID fw version is >> FW_1L33 >> thanks with any info >> BTX loader 1.00 BTX version 1.01 >> Console: internal video/keyboard >> BIOS CD is cd0 >> BIOS drive A: is disk0 >> BIOS drive C: is disk1 >> >> BIOS 639kB/3668928kB available memory >> >> FreeBSD/i386 bootstrap loader, Revision 1.1 >> (root at root@dessler.cse.buffalo.edu, Fri Jan 12 06:40:38 UTC 2007) >> >> int=3D0000000d err=3D00000000 efl=3D00030086 eip=3D0000c3d4 >> eax=3D00008058 ebx=3D00002000 ecx=3D00000007 edx=3D0000fffa >> esi=3D0000f69b edi=3D00040170 epb=3D000003d8 esp=3D00000358 >> cs=3Df000 ds=3D0040 es=3D5d18 fs=3D9fc0 gs=3Df000 ss=3D9e17 >> cs:eip=3Dec 50 e4 61 58 50 e4 61-58 ee 5a c3 01 00 e4 c3 >> 12 00 00 41 d0 0c 02 08-80 00 03 00 79 00 79 00 00 >> ss:esp=3D77 01 03 2c a1 00 08 2c-fa 02 00 e0 00 00 c0 9f >> 00 00 4e 80 f3 ee 00 f0-03 24 00 e0 06 02 00 80 >> BTX halted >> >> >> =20 >=20 > It looks like BIOS code at f000:c3d4 is trying to read a word from I/O > port 0xfffa, and this is causing a GPF when it tries to write to what > looks like the BIOS data area at 0040:0058; "cursor position for video > page 4". >=20 > 0: ec in (%dx),%al > 1: 50 push %eax > 2: e4 61 in $0x61,%al > 4: 58 pop %eax > 5: 50 push %eax > 6: e4 61 in $0x61,%al > 8: 58 pop %eax ^^^^^^^^^^^ The stack operations sound mad to me :-) I think these is probably not what we expect... > 9: ee out %al,(%dx) > a: 5a pop %edx > b: c3 ret > c: 01 00 add %eax,(%eax) > e: e4 c3 in $0xc3,%al > 10: 12 00 adc (%eax),%al > 12: 00 41 d0 add %al,0xffffffd0(%ecx) > 15: 0c 02 or $0x2,%al > 17: 08 80 00 03 00 79 or %al,0x79000300(%eax) > 1d: 00 79 00 add %bh,0x0(%ecx) Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig7F1C2A071F60419B4A1C696A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFzKUwOfuToMruuMARA9RdAJ0TrTHtAOdmIcPzb60f8nf9mjhQJgCfWEvZ vrYGqUWvF895K8F24Sj7/sQ= =aZ4W -----END PGP SIGNATURE----- --------------enig7F1C2A071F60419B4A1C696A--