SCSI backup error

Doug White dwhite at gumbysoft.com
Thu Jul 3 15:51:04 PDT 2003


On Thu, 3 Jul 2003, Lefteris Tsintjelis wrote:

> Hi,
>
> 	Can someone please help me with this? I have just upgraded from
> 4.7 to 4.8-STABLE and this is what I am getting when I try a tape
> backup. Please CC as I am not in the list. It was working well before
> the upgrade (dump -0ua -f - / | gzip -c -9 | dd of=/dev/nsa0).

The actual error that triggered the dump isn't being captured. Can you dig
around and see if you can find it? It should have showed up in front of
the dump.

BDRs being queued is usually a sign of SCSI interconnect problems. Check
your cabling.

>
> Thank you,
> Lefteris Tsintjelis
>
> Jul  3 22:55:18 ene /kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
> Jul  3 22:55:18 ene /kernel: ahc2: Dumping Card State while idle, at SEQADDR 0x9
> Jul  3 22:55:18 ene /kernel: Card was paused
> Jul  3 22:55:18 ene /kernel: ACCUM = 0x4, SINDEX = 0x67, DINDEX = 0x27, ARG_2 = 0x0
> Jul  3 22:55:18 ene /kernel: HCNT = 0x0 SCBPTR = 0x0
> Jul  3 22:55:18 ene /kernel: SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]:(P_BUSFREE)
> Jul  3 22:55:18 ene /kernel: SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) SBLKCTL[0x6]:(SELWIDE|ENAB20)
> Jul  3 22:55:18 ene /kernel: SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED)
> Jul  3 22:55:18 ene /kernel: SSTAT0[0x0] SSTAT1[0xa]:(PHASECHG|BUSFREE) SSTAT2[0x0]
> Jul  3 22:55:18 ene /kernel: SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO)
> Jul  3 22:55:18 ene /kernel: SXFRCTL0[0x80]:(DFON) DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
> Jul  3 22:55:18 ene /kernel: STACK: 0xde 0x160 0x176 0x3
> Jul  3 22:55:18 ene /kernel: SCB count = 20
> Jul  3 22:55:18 ene /kernel: Kernel NEXTQSCB = 5
> Jul  3 22:55:18 ene /kernel: Card NEXTQSCB = 5
> Jul  3 22:55:18 ene /kernel: QINFIFO entries:
> Jul  3 22:55:18 ene /kernel: Waiting Queue entries:
> Jul  3 22:55:18 ene /kernel: Disconnected Queue entries: 0:3
> Jul  3 22:55:18 ene /kernel: QOUTFIFO entries:
> Jul  3 22:55:18 ene /kernel: Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
> Jul  3 22:55:18 ene /kernel: Sequencer SCB Info:
> Jul  3 22:55:18 ene /kernel: 0 SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) SCB_SCSIID[0x67]
> Jul  3 22:55:18 ene /kernel: SCB_LUN[0x0] SCB_TAG[0x3]
> Jul  3 22:55:18 ene /kernel: 1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
> Jul  3 22:55:18 ene /kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
> Jul  3 22:55:18 ene /kernel: 2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
> Jul  3 22:55:18 ene /kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
> Jul  3 22:55:18 ene /kernel: 3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
> ......
> Jul  3 22:55:19 ene /kernel: 31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
> Jul  3 22:55:19 ene /kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
> Jul  3 22:55:19 ene /kernel: Pending list:
> Jul  3 22:55:19 ene /kernel: 3 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x67] SCB_LUN[0x0]
> Jul  3 22:55:19 ene /kernel: Kernel Free SCB list: 14 15 16 17 18 19 0 1 2 4 6 7 8 9 13 12 11 10
> Jul  3 22:55:19 ene /kernel: Untagged Q(6): 3
> Jul  3 22:55:19 ene /kernel:
> Jul  3 22:55:19 ene /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
> Jul  3 22:55:19 ene /kernel: sg[0] - Addr 0x16b56d34 : Length 20
> Jul  3 22:55:19 ene /kernel: (sa0:ahc2:0:6:0): Queuing a BDR SCB
> Jul  3 22:55:19 ene /kernel: (sa0:ahc2:0:6:0): Bus Device Reset Message Sent
> Jul  3 22:55:19 ene /kernel: (sa0:ahc2:0:6:0): no longer in timeout, status = 34b
> Jul  3 22:55:19 ene /kernel: ahc2: Bus Device Reset on A:6. 1 SCBs aborted
> Jul  3 22:55:19 ene /kernel: (sa0:ahc2:0:6:0): READ POSITION. CDB: 34 1 0 0 0 0 0 0 0 0
> Jul  3 22:55:19 ene /kernel: (sa0:ahc2:0:6:0): UNIT ATTENTION asc:29,0
> Jul  3 22:55:19 ene /kernel: (sa0:ahc2:0:6:0): Power on, reset, or bus device reset occurred
> Jul  3 22:55:19 ene /kernel: (sa0:ahc2:0:6:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state.
>
> --- dmesg ---
>
> Copyright (c) 1992-2003 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.8-STABLE #0: Tue Jul  1 16:29:52 EEST 2003
>     root at ene.asda.gr:/usr/obj/usr/src/sys/CUSTOM-SMP
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Intel Pentium III (596.92-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
>   Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> real memory  = 536805376 (524224K bytes)
> avail memory = 517513216 (505384K bytes)
> Programming 24 pins in IOAPIC #0
> IOAPIC #0 intpin 2 -> irq 0
> FreeBSD/SMP: Multiprocessor motherboard
>  cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
>  cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
>  io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
> Preloaded elf kernel "kernel" at 0xc0497000.
> VESA: v3.0, 8192k memory, flags:0x1, mode table:0xc00c53d2 (c00053d2)
> VESA: Matrox Graphics Inc.
> Pentium Pro MTRR support enabled
> md0: Malloc disk
> Using $PIR table, 7 entries at 0xc00fdd10
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
> IOAPIC #0 intpin 17 -> irq 2
> IOAPIC #0 intpin 18 -> irq 16
> IOAPIC #0 intpin 19 -> irq 17
> IOAPIC #0 intpin 16 -> irq 18
> pci0: <PCI bus> on pcib0
> pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <Matrox MGA G200 AGP graphics accelerator> at 0.0 irq 18
> isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.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 0xd000-0xd01f irq 10 at device 7.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 0x5000-0x500f at device 7.3 on pci0
> pcm0: <AudioPCI ES1373-8> port 0xd400-0xd43f irq 2 at device 9.0 on pci0
> pcm0: <Cirrus Logic CS4297A ac97 codec>
> ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0xd800-0xd8ff mem 0xe4102000-0xe4102fff irq 16 at device 10.0 on pci0
> aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
> fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xdc00-0xdc3f mem 0xe4000000-0xe40fffff,0xe4100000-0xe4100fff irq 17 at device 11.0 on pci0
> fxp0: Ethernet address 00:d0:b7:23:18:f5
> inphy0: <i82555 10/100 media interface> on miibus0
> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> ahc1: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0xe000-0xe0ff mem 0xe4101000-0xe4101fff irq 18 at device 12.0 on pci0
> aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
> ahc2: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0xe400-0xe4ff mem 0xe4103000-0xe4103fff irq 18 at device 12.1 on pci0
> aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs
> orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xce000-0xce7ff 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
> sio2 at port 0x3e8-0x3ef irq 5 flags 0x20000 on isa0
> sio2: type ST16650A
> sio3: configured irq 9 not in bitmap of probed irqs 0
> sio3 at port 0x2e8-0x2ef irq 9 flags 0x20000 on isa0
> sio3: type ST16650A
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/16 bytes threshold
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> ahc2: PCI error Interrupt at seqaddr = 0x2
> ahc2: Signaled a Target Abort
> APIC_IO: Testing 8254 interrupt delivery
> APIC_IO: routing 8254 via IOAPIC #0 intpin 2
> IPsec: Initialized Security Association Processing.
> Waiting 15 seconds for SCSI devices to settle
> SMP: AP CPU #1 Launched!
> sa0 at ahc2 bus 0 target 6 lun 0
> sa0: <HP HP35470A T603> Removable Sequential Access SCSI-2 device
> sa0: 3.300MB/s transfers
> Mounting root from ufs:/dev/da0s1a
> cd0 at ahc2 bus 0 target 4 lun 0
> cd0: <PLEXTOR CD-ROM PX-40TS 1.13> Removable CD-ROM SCSI-2 device
> cd0: 3.300MB/s transfers
> cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
> da0 at ahc0 bus 0 target 0 lun 0
> da0: <WDIGTL WDE9180 ULTRA2 1.30> Fixed Direct Access SCSI-2 device
> da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit)
> da0: 8727MB (17873040 512 byte sectors: 64H 32S/T 8727C)
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-stable mailing list