Date: Fri, 16 Nov 2001 15:39:58 -0500 From: Sandeep Joshi <sandeepj@research.bell-labs.com> To: hackers@freebsd.org Subject: Re: Tracking down "BTX halted" Message-ID: <3BF5799E.1DBCB8A0@research.bell-labs.com> References: <200111161832.fAGIWFo01305@mass.dis.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443GX host to PCI bridge> on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 21 -> irq 5 IOAPIC #0 intpin 16 -> irq 9 pci0: <PCI bus> on pcib0 pcib2: <Intel 82443GX (440 GX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib2 pcib3: <PCI to PCI bridge (vendor=1011 device=0023)> at device 15.0 on pci1 IOAPIC #0 intpin 20 -> irq 10 pci2: <PCI bus> on pcib3 pci2: <unknown card> (vendor=0x12ae, dev=0x0001) at 4.0 irq 10 ahc0: <Adaptec aic7896/97 Ultra2 SCSI adapter> 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: <Adaptec aic7896/97 Ultra2 SCSI adapter> 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: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc2: <Adaptec 2940 Ultra2 SCSI adapter> 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: <Intel 82371AB PCI to ISA bridge> at device 18.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0x2c60-0x2c6f at device 18.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2c40-0x2c5f irq 5 at device 18.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> port 0x1040-0x104f at device 18.3 on pci0 pci0: <Cirrus Logic GD5480 SVGA controller> at 20.0 pcib1: <Intel 82443GX host to AGP bridge> on motherboard pci3: <PCI bus> on pcib1 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xccfff,0xcd000-0xcd7ff,0xcd800-0xcdfff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 DUMMYNET initialized (010124) IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, logging disabled SMP: AP CPU #1 Launched! ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable ad0: 9732MB <SAMSUNG SV1022D> [19773/16/63] at ata0-master UDMA33 acd0: CDROM <TOSHIBA CD-ROM XM-6702B> at ata0-slave using PIO4 Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/ad0s1a ti0: <Alteon AceNIC 1000baseSX Gigabit Ethernet> mem 0xf4200000-0xf4203fff irq 10 at device 4.0 on pci2 ti0: Ethernet address: 00:60:cf:20:3b:6c ti0: gigabit link up da1 at ahc2 bus 0 target 0 lun 0 da1: <IBM DMVS 0250> Fixed Direct Access SCSI-3 device da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da0 at ahc0 bus 0 target 0 lun 0 da0: <IBM DMVS 02B0> Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) ----------------------------------------------------------- # /dev/da0c: type: SCSI disk: IBM label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 2231 sectors/unit: 35843670 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 35843670 0 unused 0 0 # (Cyl. 0 - 2231*) ----------------------------------------------------------- # /dev/da1c: type: SCSI disk: IBM label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 2231 sectors/unit: 35843670 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 35843670 0 unused 0 0 # (Cyl. 0 - 2231*) ----------------------------------------------------------- This is the boot disk. # /dev/ad0c: type: ESDI disk: ad0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 19772 sectors/unit: 19931121 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 204800 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 203*) b: 3153168 204800 swap # (Cyl. 203*- 3331*) c: 19931121 0 unused 0 0 # (Cyl. 0 - 19772*) e: 40960 3357968 4.2BSD 1024 8192 16 # (Cyl. 3331*- 3371*) f: 16532193 3398928 4.2BSD 1024 8192 16 # (Cyl. 3371*- 19772*) --------------449EFD473C47C3D663301B3D-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BF5799E.1DBCB8A0>