From owner-freebsd-stable@FreeBSD.ORG Thu Jul 3 15:51:03 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC1C937B401 for ; Thu, 3 Jul 2003 15:51:03 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2700543FCB for ; Thu, 3 Jul 2003 15:51:03 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 1655072FF1; Thu, 3 Jul 2003 15:51:03 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 12F6072FDC; Thu, 3 Jul 2003 15:51:03 -0700 (PDT) Date: Thu, 3 Jul 2003 15:51:03 -0700 (PDT) From: Doug White To: Lefteris Tsintjelis In-Reply-To: <20030703202912.98149A960@ene.asda.gr> Message-ID: <20030703154953.M60013@carver.gumbysoft.com> References: <20030703202912.98149A960@ene.asda.gr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@FreeBSD.org Subject: Re: SCSI backup error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 22:51:04 -0000 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@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 > 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: on motherboard > npx0: INT 16 interface > pcib0: 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: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: at 0.0 irq 18 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0xf000-0xf00f at device 7.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > uhci0: port 0xd000-0xd01f irq 10 at device 7.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 0x5000-0x500f at device 7.3 on pci0 > pcm0: port 0xd400-0xd43f irq 2 at device 9.0 on pci0 > pcm0: > ahc0: 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: 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: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ahc1: 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: 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: