Subject: SCSI panic
To: None <current-users@NetBSD.ORG>
From: Gary D. Duzan <gary@wheel.tiac.net>
List: current-users
Date: 09/03/1997 19:51:44
I get this when trying to newfs my new drive:

# newfs /dev/rsd2e

...

sd2(ahc0:2:0): data overrun of 5108 bytes detected. Forcing a retry.
read error: 48
rdfs: Input/output error
ahc0:A:2: no active SCB for reconnecting target - issuing ABORT
SAVED_TCL == 0x20
panic: ahc0:A:2: Target did not send an IDENTIFY message. SAVED_TCL == 20

...

db> trace (paraphrased)

_ahc_handle_seqint
_ahc_inter
_Xresume10


   I'm running current from a couple weeks ago:

NetBSD wheel.tiac.net 1.2G NetBSD 1.2G (WHEEL) #2: Thu Aug 14 20:31:06 EDT 1997     gary@wheel.tiac.net:/altroot/local/build/NetBSD/sys/arch/i386/compile/WHEEL i386

The drive is:

sd2 at scsibus0 targ 2 lun 0: <MICROP, 4345WS, x43h> SCSI2 0/direct fixed
sd2: 4340MB, 4811 cyl, 11 head, 167 sec, 512 bytes/sect x 8890029 sectors

And it is labeled as:


# /dev/rsd2d:
type: SCSI
disk: 4345WS
label: 
flags:
bytes/sector: 512
sectors/track: 167
tracks/cylinder: 11
sectors/cylinder: 1837
cylinders: 4811
total sectors: 8890029
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   262691   198396    4.2BSD     1024  8192    16 	# (Cyl.  108 - 250)
  b:   196559     1837      swap                    	# (Cyl.    1 - 107)
  c:  8890029        0    unused        0     0       	# (Cyl.    0 - 4839*)
  d:  8890029        0    unused        0     0       	# (Cyl.    0 - 4839*)
  e:  8428156   461087    4.2BSD     1024  8192    16 	# (Cyl.  251 - 4838)


Is this likely a hardware or config problem? newfs seems to write most
of the superblock copies before it eventually dies. I'd prefer a
software bug, of course...
   Thanks.

                                      Gary D. Duzan
                         Humble Practitioner of the Computing Arts