[3209] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

error in sd.c? (2)

daemon@ATHENA.MIT.EDU (Thomas Nehring)
Thu Feb 5 01:34:44 1998

From: Thomas Nehring <mini@MathI.UNI-Heidelberg.DE>
To: linux-scsi@vger.rutgers.edu
Date: 	Thu, 5 Feb 1998 00:39:55 +0100 (MET)

Hi,
    sorry to bother you again. In case I'm wrong with 
sd_devname I should at least tell you what happens: while
booting I get the following message


...
Detected scsi disk sda at scsi0, channel 0, id 4, lun 0
  Vendor: IOMEGA    Model: ZIP 100           Rev: D.08
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi1, channel 0, id 5, lun 0
scsi : detected 3 SCSI disks total.
ncr53c810a-0-<0,0>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8399520 [4101 MB] [4.1 GB]
ncr53c810a-0-<4,0>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8467200 [4134 MB] [4.1 GB]
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 28 
sda : extended sense code = 2 
sda : block size assumed to be 512 bytes, disk size 1GB.  
...

which is obviously wrong (the drives are /dev/sda, /sdb, /sdc) so
if sd_devname() is ok, it's called wiht the wrong parameters. 
This happens on another machine, too, with an adaptec controller.

I'm no programmer, so forgive me if my remark about
sd_devname() was stupid.

Thomas

home help back first fref pref prev next nref lref last post