Skip site navigation (1)Skip section navigation (2)
From:      taliesin@nvg.ntnu.no
To:        freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org
Subject:   SCSI parity error; software- or hardware-problem?
Message-ID:  <20021124193031.GA18148@nvg.ntnu.no>

next in thread | raw e-mail | index | archive | help
Last thursday I started getting error-messages like these whenever I 
cvsupped or compiled something or du-ed: (Made the world from 4.6.2 
to 4.7-stable as of the 6th of November (see dmesg at the bottom of 
the mail).

(da0:ahc0:0:0:0): WRITE(10). CDB: 2a 0 0 8a de b2 0 0 10 0 
(da0:ahc0:0:0:0): ABORTED COMMAND asc:47,0
(da0:ahc0:0:0:0): SCSI parity error
(da0:ahc0:0:0:0): WRITE(10). CDB: 2a 0 0 74 de a2 0 0 10 0 
(da0:ahc0:0:0:0): ABORTED COMMAND asc:47,0
(da0:ahc0:0:0:0): SCSI parity error
(da1:ahc0:0:1:0): WRITE(10). CDB: 2a 0 0 24 0 40 0 0 10 0 
(da1:ahc0:0:1:0): ABORTED COMMAND asc:47,0
(da1:ahc0:0:1:0): SCSI parity error
(da1:ahc0:0:1:0): WRITE(10). CDB: 2a 0 0 dc 0 40 0 0 10 0 
(da1:ahc0:0:1:0): ABORTED COMMAND asc:47,0
(da1:ahc0:0:1:0): SCSI parity error
etc., there's about 20 times as many for da0 as for da1.

# camcontrol devlist
<IBM DNES-309170W SA30>            at scbus0 target 0 lun 0 (pass0,da0)
<IBM DNES-309170W SA30>            at scbus0 target 1 lun 0 (pass1,da1)
<YAMAHA CRW2100S 1.0J>             at scbus0 target 4 lun 0 (pass2,cd0)

(The cd-burner is on its own cable of course, spends its time
making backups.)

This machine runs my desktop and compiles kernels, worlds etc for
itself and the other freebsd-machines I have, which have less
memory and slower disks.

According to camcontrol and the verifier in bios there are no
new defects since the disks left the factory. No hardware has
been changed since sometime in early September so the cabling
haven't been touched. Prior to the makeworld the tags were at
their default 253, lowering them didn't improve matters.

Then these turned up today:

(da0:ahc0:0:0:0): parity error detected in Data-in phase. SEQADDR(0x56) SCSIRATE(0x93)
(da0:ahc0:0:0:0): parity error detected in Data-in phase. SEQADDR(0x8a) SCSIRATE(0x93)
(da0:ahc0:0:0:0): parity error detected in Data-in phase. SEQADDR(0x8a) SCSIRATE(0x93)
(da0:ahc0:0:0:0): READ(10). CDB: 28 0 0 8f df 22 0 0 70 0 
(da0:ahc0:0:0:0): ABORTED COMMAND asc:48,0
(da0:ahc0:0:0:0): Initiator detected error message received
(da1:ahc0:0:1:0): parity error detected in Data-in phase. SEQADDR(0x8b) SCSIRATE(0x93)
etc.

The system is currently not particularly usable as things are coredumping
east and west; it can no longer tackle a make world.

If it is *only* a hardware-problem it is easy though expensive to fix; 
but what part of the system is the problem? Cable, disks or controller-
card? In that case, what controller-card/disks would you recommend?

If it's something that was changed for 4.7, does it also exist in 5.x and
what other information do you need to have a look at it?

The motherboard is an Asus A7V and it's all been rock stable until now.

Here's the dmesg:

Copyright (c) 1992-2002 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.7-STABLE #0: Wed Nov  6 23:43:00 CET 2002
    toor@shrdlu:/mnt/obj/usr/src/sys/SHRDLU
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) Processor (807.19-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
real memory  = 268353536 (262064K bytes)
config> q
avail memory = 256901120 (250880K bytes)
Preloaded elf kernel "kernel" at 0xc0422000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc042209c.
Preloaded elf module "vesa.ko" at 0xc04220ec.
VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc041f282 (1000022)
VESA: NVidia
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1720
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> at device 4.1 on pci0
atapci0: ATA channel disabled by BIOS
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 14 at device 4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 14 at device 4.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2
uhub2: 4 ports with 4 removable, self powered
viapropm0: SMBus I/O base at 0xe800
viapropm0: <VIA VT82C686A Power Management Unit> port 0xe800-0xe80f at device 4.4 on pci0
viapropm0: SMBus revision code 0x0
smb0: <SMBus general purpose I/O> on smbus0
pcm0: <Creative CT5880-C> port 0xa400-0xa43f irq 15 at device 10.0 on pci0
dc0: <82c169 PNIC 10/100BaseTX> port 0xa000-0xa0ff mem 0xd5800000-0xd58000ff irq 10 at device 11.0 on pci0
dc0: Ethernet address: 00:c0:f0:4e:07:87
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0x9800-0x98ff mem 0xd5000000-0xd5000fff irq 14 at device 13.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
atapci1: <Promise ATA100 controller> port 0x8000-0x803f,0x8400-0x8403,0x8800-0x8807,0x9000-0x9003,0x9400-0x9407 mem 0xd4800000-0xd481ffff irq 10 at device 17.0 on pci0
ata2: at 0x9400 on atapci1
ata3: at 0x8800 on atapci1
orm0: <Option ROMs> at iomem 0xcc000-0xcdfff,0xd0000-0xd57ff 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
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
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: SMC-like chipset (ECP/EPP/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
ata3-slave: ATA identify retries exceeded
ata3-master: ATA identify retries exceeded
ad4: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata2-master UDMA100
acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-106S 0122> at ata2-slave PIO4
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s2a
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <YAMAHA CRW2100S 1.0J> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 7)
cd0: cd present [829896 x 512 byte records]
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DNES-309170W SA30> Fixed Direct Access SCSI-3 device 
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da1: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DNES-309170W SA30> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)


t.
--
"When you pull the pin, mister grenade is no longer your friend."
                                             -- Sluggy Freelance

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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