From nobody@FreeBSD.org  Fri Apr 21 11:53:59 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 3E9EA37BBEE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Apr 2000 11:53:58 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id LAA25955;
	Fri, 21 Apr 2000 11:53:58 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200004211853.LAA25955@freefall.freebsd.org>
Date: Fri, 21 Apr 2000 11:53:58 -0700 (PDT)
From: dwhite@freebsd.org
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: BTX dumps trying to boot w/ dedicated SCSI disks present
X-Send-Pr-Version: www-1.0

>Number:         18132
>Category:       i386
>Synopsis:       BTX dumps trying to boot w/ dedicated SCSI disks present
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 21 12:00:01 PDT 2000
>Closed-Date:    Sat Jul 21 18:44:47 PDT 2001
>Last-Modified:  Sat Jul 21 18:45:11 PDT 2001
>Originator:     Doug White
>Release:        3.2-STABLE
>Organization:
>Environment:
BTX 1.01 / Loader 1.00
Intel L440GX+ board (built-in Adaptec 3940U2W controller, BIOS rev 2.20S1B1)
>Description:
When booting the above system with four IBM SCSI disks, one with a proper DOS
partition and the other three in dedicated mode with one single BSD partition,
the boot register dumps in what appears to be boot1 -- there are no boot messages
and no spinner.

The register dump is (hand-copied and leading zeros removed):
int=0 err=0 efl=00030246 eip=00001d29
eax=0 ebx=0 ecx=0 edx=0
esi=9e3d edi=1c09 ebp=039c esp=390
cs=c800 ds=40 es=9e3d fs=0 gs=0 ss=9e3d
cs: eip=f7f133d28a4ef6f7-f13dff037603b8ff
ss: esp=00003f0000000000-00000200220a00c8
System halted
int=d err=0 efl=10096 eip=90e3
eax=ffff ebf=394 ecx=20 edx=0
esi=9e3d edi=1c09 ebp=39c esp=\746e690a
cs=18 ds=20 fs=20 gs=20 ss=303d
cs: eip=eae890000031c08e-d08ed8bb0870e80f
ss: esp=b66ddbb66ddb-b66ddbb66ddb6ddb
System halted
>How-To-Repeat:

>Fix:
Refromat dedicated mode disks to have proper slice tables.

>Release-Note:
>Audit-Trail:

From: John Baldwin <jhb@FreeBSD.org>
To: Doug White <dwhite@resnet.uoregon.edu>
Cc: freebsd-hackers@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org
Subject: RE: i386/18132: BTX dumps trying to boot w/ dedicated SCSI disks present
Date: Tue, 09 May 2000 07:29:47 -0400 (EDT)

 On 09-May-00 Doug White wrote:
 > If you're going to decode boot panics, could you look at i386/18132
 > too? :)
 
 Yeah:
 
 00000000  F7F1              div cx
 00000002  33D2              xor dx,dx
 00000004  8A4EF6            mov cl,[bp-0xa]
 00000007  F7F1              div cx
 00000009  3DFF03            cmp ax,0x3ff
 0000000C  7603              jna 0x11
 0000000E  B8FFFF            mov ax,0xffff
 
 Since %cs=c800, we are in some extra hardware's ROM.  The actual fault
 since %cx=0000.  There may be a return address of f300:0000 on the stack,
 would be in the ROM BIOS.  It may be that your SCSI controller doesn't
 like disks without a normal slice table.
 
 -- 
 
 John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
 PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
 "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
 

From: Doug White <dwhite@resnet.uoregon.edu>
To: John Baldwin <jhb@FreeBSD.ORG>
Cc: freebsd-hackers@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG
Subject: RE: i386/18132: BTX dumps trying to boot w/ dedicated SCSI disks
 present
Date: Tue, 9 May 2000 12:35:50 -0700 (PDT)

 On Tue, 9 May 2000, John Baldwin wrote:
 
 > Since %cs=c800, we are in some extra hardware's ROM.  The actual fault
 > since %cx=0000.  There may be a return address of f300:0000 on the stack,
 > would be in the ROM BIOS.  It may be that your SCSI controller doesn't
 > like disks without a normal slice table.
 
 Chaulk one up to lame Adaptec software then.
 
 Doug White                    |  FreeBSD: The Power to Serve
 dwhite@resnet.uoregon.edu     |  www.FreeBSD.org
 
 
State-Changed-From-To: open->closed 
State-Changed-By: mike 
State-Changed-When: Sat Jul 21 18:44:47 PDT 2001 
State-Changed-Why:  

This is apparently a hardware problem. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18132 
>Unformatted:
