From owner-freebsd-hackers Fri Nov 16 12:41:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dirty.research.bell-labs.com (dirty.research.bell-labs.com [204.178.16.6]) by hub.freebsd.org (Postfix) with SMTP id 93A2E37B416 for ; Fri, 16 Nov 2001 12:41:17 -0800 (PST) Received: from scummy.research.bell-labs.com ([135.104.2.10]) by dirty; Fri Nov 16 15:40:43 EST 2001 Received: from aura.research.bell-labs.com (aura.research.bell-labs.com [135.104.46.10]) by scummy.research.bell-labs.com (8.11.6/8.11.6) with ESMTP id fAGKdwO05913 for ; Fri, 16 Nov 2001 15:39:58 -0500 (EST) Received: from research.bell-labs.com (IDENT:sandeepj@sandeepj-pcmh.research.bell-labs.com [135.104.47.90]) by aura.research.bell-labs.com (8.9.1/8.9.1) with ESMTP id PAA01845 for ; Fri, 16 Nov 2001 15:39:58 -0500 (EST) Message-ID: <3BF5799E.1DBCB8A0@research.bell-labs.com> Date: Fri, 16 Nov 2001 15:39:58 -0500 From: Sandeep Joshi X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: Re: Tracking down "BTX halted" References: <200111161832.fAGIWFo01305@mass.dis.org> Content-Type: multipart/mixed; boundary="------------449EFD473C47C3D663301B3D" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------449EFD473C47C3D663301B3D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mike, Mike Smith wrote: > The only real solution is to hot-plug > the disks, camcontrol rescan, then dd zeroes over the heads of the disks > and then re-lable them safely. Yep, that method works for now. I was hoping its easy enough to crack this myself (with some online tips & references) but John Baldwin convinced me otherwise :-) So here's the entire configuration attached.. SUMMARY: The boot disk (ad0 in attachment) is not the problem. There are two other IBM SCSI disks attached to two Adaptec cards. Its these other two SCSI disks-da0,da1 which are empty and whose disklabels I played with. These cause a BTX error if they are plugged in during a boot. TIA, -Sandeep --------------449EFD473C47C3D663301B3D Content-Type: text/plain; charset=us-ascii; name="btx" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="btx" ----------------------------------------------------------- Error message when the SCSI disk is attached to the AIC-7896 SCSI BIOS v2.20s1B1 int=00000000 err=00000000 efl=00030246 eip=00001d29 eax=00000000 ebx=00000386 ecx=00000000 edx=00000000 esi=00009e3e edi=00001c09 ebp=0000038e esp=00000382 cs=c800 ds=0040 ed=9e3e fs=0000 gs=0000 ss=9e3e cs:eip=f7 f1 33 d2 8a 4e f6 f7-f1 3d ff 03 76 03 b8 ff ss:esp=00 00 3f 00 00 00 00 00-00 00 02 00 22 0a 00 c8 ----------------------------------------------------------- Error message when the SCSI disk is attached to the AHA2940U2W SCSI BIOS v2.20 : int=00000000 err=00000000 efl=00030246 eip=00001d29 eax=00000000 ebx=0000038e ecx=00000000 edx=00000000 esi=00009e3e edi=00001a3e ebp=00000396 esp=0000038a cs=cd80 ds=0040 ed=9e3e fs=0000 gs=0000 ss=9e3e cs:eip=f7 f1 33 d2 8a 4e f6 f7-f1 3d ff 03 76 03 b8 ff ss:esp=00 00 3f 00 00 00 00 00-00 00 02 00 df 09 80 cd ----------------------------------------------------------- Dmesg: Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE #2: Mon Nov 12 13:12:46 EST 2001 root@nstg7.research.bell-labs.com:/usr/src/sys/compile/NSTG7.SMP Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (696.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x387fbff real memory = 805240832 (786368K bytes) avail memory = 778305536 (760064K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0535000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 12 entries at 0xc00fdf00 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 21 -> irq 5 IOAPIC #0 intpin 16 -> irq 9 pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pcib3: at device 15.0 on pci1 IOAPIC #0 intpin 20 -> irq 10 pci2: on pcib3 pci2: (vendor=0x12ae, dev=0x0001) at 4.0 irq 10 ahc0: port 0x2000-0x20ff mem 0xf4100000-0xf4100fff irq 2 at device 12.0 on pci0 aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: port 0x2400-0x24ff mem 0xf4101000-0xf4101fff irq 2 at device 12.1 on pci0 aic7896/97: Ultra2 Wide Channel B, SCSI Id=4, 32/255 SCBs fxp0: port 0x2c00-0x2c3f mem 0xf4000000-0xf40fffff,0xf4102000-0xf4102fff irq 5 at device 14.0 on pci0 fxp0: Ethernet address 00:90:27:e0:18:5d inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc2: port 0x2800-0x28ff mem 0xf4103000-0xf4103fff irq 9 at device 16.0 on pci0 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs isab0: at device 18.0 on pci0 isa0: on isab0 atapci0: port 0x2c60-0x2c6f at device 18.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x2c40-0x2c5f irq 5 at device 18.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered Timecounter "PIIX" frequency 3579545 Hz chip1: port 0x1040-0x104f at device 18.3 on pci0 pci0: at 20.0 pcib1: on motherboard pci3: on pcib1 orm0: