help needed debugging SCSI bus problem

shreds-of-sanity at gmx.net shreds-of-sanity at gmx.net
Sun Oct 12 03:15:41 PDT 2003


hi,

i'm using 4.8-release[1] and experienced a similar problem last week
using the same scsi-adapter[2] and the same drive[3]:

my system froze during boottime just like yours. it stopped after
detecting the dnes-309170w. i've successfully tested the controller, the
cable and the termination with another scsi-drive[4]. desperate as i was
i decided to low-level format the "broken" drive via the controllers
buildin scsi-tools ...

the drive got detected afterwards and is up and running since then.


- worldi



[1]
%uname -srm
FreeBSD 4.8-RELEASE-p13 i386

[2]
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xa800-0xa8ff mem
0xed001000-0xed001fff irq 11 at device 9.0 on pci0

[3]
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DNES-309170W SAH0> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 30, 16bit), Tagged Queueing
Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)

[4]
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DDRS-39130W S97B> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing
Enabled
da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)

-- 

Look what has become of your world...



> [not subscribed to -scsi, if OT for stable please keep me in
> Mail-Followup-To:]
> 
> Hi,
> 
> I can hang my system at will reading from my SCSI CD-RW. My hardware
> is(excerpt from dmesg):
> 
> ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0x1000-0x10ff mem
> 0xd0020000-0xd00
> 20fff irq 11 at device 14.0 on pci0
> aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
> [...]
> cd0 at ahc0 bus 0 target 2 lun 0
> cd0: <YAMAHA CRW2100S 1.0G> Removable CD-ROM SCSI-2 device
> cd0: 20.000MB/s transfers (20.000MHz, offset 7)
> [...]
> da0 at ahc0 bus 0 target 0 lun 0
> da0: <SEAGATE ST318438LW 0003> Fixed Direct Access SCSI-3 device
> da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged
> Queueing Enabled da0: 19001MB (38914049 512 byte sectors: 255H 63S/T
> 2422C)[...]
> da1 at ahc0 bus 0 target 6 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)
> 
> I can't paste the error messages, but I see a Dumping Card Ends. The
> first error is an SCB timeout (0x25) on 0:6:0 (the IBM drive). I also
> see other SCB timeout on 0:0:0 (the Seagate drive).
> 
> I can break into the debugger, but that's not much use (I'm always on
> the keyboard interrupt handling routine) and I wouldn't know where to
> go from there anyway. Would a panic be helpful (I'd would be painful
> to setup but I would if needed)?
> 
> Oh, I'm running -stable from last week:
> (12:26:50 <~>) 0 $ uname -v
> FreeBSD 4.9-RC #1: Fri Oct  3 21:02:09 CEST 2003
> joan at grummit.biaix.org:/fs/
> tmp/mount/tmp/build/obj/fs/bulk/mount/FreeBSD/src/sys/GRUMMITD
> 
> I really don't know how to go on, any hints on what to do to help
> debugging or what the source of the problem might be are most
> welcomed.
> 
> tks
> -- 
> pica
> _______________________________________________
> 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"
> 
> .



More information about the freebsd-stable mailing list