Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Feb 2005 12:11:55 -0700
From:      Scott Long <scottl@freebsd.org>
To:        freebsd-amd64@freebsd.org
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: dump card state: amd64 + 300G seagate + Adaptec AIC7902 + 5.3-stable
Message-ID:  <41FFD47B.2000505@freebsd.org>
In-Reply-To: <20050201190646.GA18651@ack.Berkeley.EDU>
References:  <20050201190646.GA18651@ack.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Hunter wrote:

> Hey everybody,
> 
> I plopped the new 300 gig drives into the K8S based dual opteron, but I
> got some funny stuff upon rebooting (see the Dump Card State):
> 
> ----- Forwarded message from Charlie Root <root@myserver.NetBerkeley.EDU> -----
> 
> Copyright (c) 1992-2004 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 5.3-STABLE #0: Sat Dec 11 10:56:35 PST 2004
>     root@:/usr/obj/usr/src/sys/myserver
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: AMD Opteron(tm) Processor 248 (2192.07-MHz K8-class CPU)
>   Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
>   Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
>   AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
> real memory  = 8589934592 (8192 MB)
> avail memory = 8248307712 (7866 MB)
> ACPI APIC Table: <A M I  OEMAPIC >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> MADT: Forcing active-low polarity and level trigger for SCI
> ioapic0 <Version 1.1> irqs 0-23 on motherboard
> ioapic1 <Version 1.1> irqs 24-27 on motherboard
> ioapic2 <Version 1.1> irqs 28-31 on motherboard
> acpi0: <A M I OEMRSDT> on motherboard
> acpi0: Power Button (fixed)
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0
> cpu0: <ACPI CPU> on acpi0
> cpu1: <ACPI CPU> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
> pci3: <ACPI PCI bus> on pcib1
> ohci0: <OHCI (generic) USB controller> mem 0xfeafc000-0xfeafcfff irq 19 at device 0.0 on pci3
> ohci0: [GIANT-LOCKED]
> usb0: OHCI version 1.0, legacy support
> usb0: <OHCI (generic) USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 3 ports with 3 removable, self powered
> ohci1: <OHCI (generic) USB controller> mem 0xfeafd000-0xfeafdfff irq 19 at device 0.1 on pci3
> ohci1: [GIANT-LOCKED]
> usb1: OHCI version 1.0, legacy support
> usb1: <OHCI (generic) USB controller> on ohci1
> usb1: USB revision 1.0
> uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 3 ports with 3 removable, self powered
> pci3: <display, VGA> at device 6.0 (no driver attached)
> fxp0: <Intel 82551 Pro/100 Ethernet> port 0xbc00-0xbc3f mem 0xfeaa0000-0xfeabffff,0xfeafb000-0xfeafbfff irq 18 at device 8.0 on pci3
> miibus0: <MII bus> on fxp0
> inphy0: <i82555 10/100 media interface> on miibus0
> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp0: Ethernet address: 00:e0:81:2b:4a:e7
> isab0: <PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <AMD 8111 UDMA133 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
> ata0: channel #0 on atapci0
> ata1: channel #1 on atapci0
> pci0: <serial bus, SMBus> at device 7.2 (no driver attached)
> pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
> pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0xac00-0xacff,0xa000-0xa0ff mem 0xfc8fc000-0xfc8fdfff irq 24 at device 6.0 on pci2
> ahd0: [GIANT-LOCKED]
> aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
> ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0xa400-0xa4ff,0xa800-0xa8ff mem 0xfc8fe000-0xfc8fffff irq 25 at device 6.1 on pci2
> ahd1: [GIANT-LOCKED]
> aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
> bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 0xfc8a0000-0xfc8affff,0xfc8b0000-0xfc8bffff irq 24 at device 9.0 on pci2
> miibus1: <MII bus> on bge0
> brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus1
> brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
> bge0: Ethernet address: 00:e0:81:2b:4b:12
> bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 0xfc8d0000-0xfc8dffff,0xfc8e0000-0xfc8effff irq 25 at device 9.1 on pci2
> miibus2: <MII bus> on bge1
> brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus2
> brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
> bge1: Ethernet address: 00:e0:81:2b:4b:13
> pci0: <base peripheral, interrupt controller> at device 10.1 (no driver attached)
> pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
> pci1: <ACPI PCI bus> on pcib3
> pci0: <base peripheral, interrupt controller> at device 11.1 (no driver attached)
> acpi_button0: <Power Button> on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> sio0: type 16550A, console
> sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
> fdc0: [FAST]
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
> ppc0: cannot reserve I/O port range
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x100>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Timecounters tick every 1.000 msec
> acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
> acd0: CDROM <QSI CD-ROM SCR-242/CXAC> at ata0-master UDMA33
> Waiting 5 seconds for SCSI devices to settle
> (probe2:ahd0:0:2:0): No or incomplete CDB sent to device.
> (probe2:ahd0:0:2:0): Protocol violation in Message-in phase.  Attempting to abort.
> (probe2:ahd0:0:2:0): Abort Message Sent
> (probe2:ahd0:0:2:0): SCB 11 - Abort Tag Completed.
> found == 0x1
> ahd0: Invalid Sequencer interrupt occurred.
> 
>>>>>>>>>>>>>>>>>>>Dump Card State Begins <<<<<<<<<<<<<<<<<
> 
> ahd0: Dumping Card State at program address 0x23c Mode 0x0
> Card was paused
> INTSTAT[0x0] SELOID[0x2] SELID[0x40] HS_MAILBOX[0x0] 
> INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0] SAVED_MODE[0x11] 
> DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE) 
> SCSISIGI[0xe6]:(P_MESGIN|REQI|BSYI) SCSIPHASE[0x8]:(MSG_IN_PHASE) 
> SCSIBUS[0x80] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) 
> SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) 
> SEQCTL0[0x0] SEQINTCTL[0x6]:(INTMASK1|INTMASK2) SEQ_FLAGS[0x0] 
> SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x2] KERNEL_QFREEZE_COUNT[0x2] 
> MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] SSTAT0[0x22]:(SPIORDY|SELDI) 
> SSTAT1[0x11]:(REQINIT|PHASEMIS) SSTAT2[0x0] SSTAT3[0x0] 
> PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) 
> LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] 
> LQOSTAT1[0x0] LQOSTAT2[0x0] 
> 
> SCB Count = 16 CMDS_PENDING = 1 LASTSCB 0xffff CURRSCB 0xb NEXTSCB 0xff80
> qinstart = 30 qinfifonext = 30
> QINFIFO:
> WAITING_TID_QUEUES:
> Pending list:
>   9 FIFO_USE[0x0] SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) 
> SCB_SCSIID[0x47] 
> Total 1
> Kernel Free SCB list: 11 12 1 2 3 4 5 6 7 8 10 13 14 15 0 
> Sequencer Complete DMA-inprog list: 
> Sequencer Complete list: 
> Sequencer DMA-Up and Complete list: 
> Sequencer On QFreeze and Complete list: 
> 
> 
> ahd0: FIFO0 Free, LONGJMP == 0x8000, SCB 0xc
> SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) 
> SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) 
> SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] 
> SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 
> HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) 
> 
> ahd0: FIFO1 Free, LONGJMP == 0x8063, SCB 0xb
> SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) 
> SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) 
> SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] 
> SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 
> HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) 
> LQIN: 0x8 0x0 0x0 0xc 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 
> ahd0: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x42
> ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1
> ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0
> 
> SIMODE0[0xc]:(ENOVERRUN|ENIOERR) 
> CCSCBCTL[0x4]:(CCSCBDIR) 
> ahd0: REG0 == 0x3f9d, SINDEX = 0x10e, DINDEX = 0x106
> ahd0: SCBPTR == 0xc, SCB_NEXT == 0xff80, SCB_NEXT2 == 0xffdb
> CDB 12 20 0 81 8 82
> STACK: 0x237 0x2 0x0 0x0 0x0 0x0 0x0 0x0
> <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
> Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x29 0x2 0x2 0x0 0x0 0x0
> Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x29 0x2 0x2 0x0 0x0 0x0
> da2 at ahd0 bus 0 target 4 lun 0
> da2: <SEAGATE ST3300007LC 0002> Fixed Direct Access SCSI-3 device 
> da2: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled
> da2: 286102MB (585937500 512 byte sectors: 255H 63S/T 36472C)
> da0 at ahd0 bus 0 target 1 lun 0
> da0: <SEAGATE ST336607LC 0006> Fixed Direct Access SCSI-3 device 
> da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled
> da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)
> da1 at ahd0 bus 0 target 2 lun 0
> da1: <SEAGATE ST3300007LC 0002> Fixed Direct Access SCSI-3 device 
> da1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled
> da1: 286102MB (585937500 512 byte sectors: 255H 63S/T 36472C)
> SMP: AP CPU #1 Launched!
> Mounting root from ufs:/dev/da0s1a
> 
> I saw similar things referenced here:
> 
> http://lists.freebsd.org/pipermail/freebsd-scsi/2004-December/001561.html
> http://lists.freebsd.org/pipermail/freebsd-current/2004-April/025016.html
> 
> The second email talks about getting rom updates from seagate...but I
> called seagate and they said there's no new firmware out for these drives.
> 
> The only other "answers" I'm getting about this is that "well, the 64 bit
> drivers aren't quite up to speed yet."
> 
> The drives seem to be working fine...let me know if there's anything I can
> do to help.
> 
> (Also, the "probe...abort message sent" stuff seems related to the 30 Gig
> drive...any cluse on that one?)
> 
> Thanks,
> 
> Mike

The firmware on two of those drives is dangerouly old and broken.  I'd
suggest contacting Seagate for an update, and keep a fire extinguisher
and some holy water nearby until they are upgraded.

Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41FFD47B.2000505>