Package: scsitools
Version: 0.8-1
Severity: normal

What's available:

        scsiinfo -l
        /dev/sda

As root, I try to benchmark 'sda' with 'sraw':

        sraw /dev/sda ; echo $?
        program sraw is using a deprecated SCSI ioctl, please convert it to 
SG_IO
        Size 0  sectorsize 0
        Floating point exception
        136

I'm not sure if the "Floating point exception" is a bug or not, 
in any event, the "SG_IO" needs explaining.  'man sraw' doesn't
mention what the proper syntax is.

I also tried '/dev/sg*':

        for f in /dev/sg*; do echo testing $f...; sraw $f; echo $?; done
        testing /dev/sg0...
        Size 0  sectorsize 0
        Floating point exception
        136
        testing /dev/sg1...
        0
        testing /dev/sg10...
        0
        testing /dev/sg11...
        0
        testing /dev/sg12...
        0
        testing /dev/sg13...
        0
        testing /dev/sg14...
        0
        testing /dev/sg15...
        0
        testing /dev/sg16...
        0
        testing /dev/sg2...
        0
        testing /dev/sg3...
        0
        testing /dev/sg4...
        0
        testing /dev/sg5...
        0
        testing /dev/sg6...
        0
        testing /dev/sg7...
        0
        testing /dev/sg8...
        0
        testing /dev/sg9...
        0

Since there's only one drive, most of those can't work.  Should
the error code be 0 when there's no drive?

If it matters, according to 'lshw' the specs for the SCSI hard drive 
and adapter I'm testing with are:

        *-scsi
             description: SCSI storage controller
             product: AHA-2940/2940W / AIC-7871
             vendor: Adaptec
             physical id: 13
             bus info: [EMAIL PROTECTED]:13.0
             version: 03
             clock: 33MHz
             capabilities: bus_master
             configuration: driver=aic7xxx irq=11
     *-scsi
          physical id: 2
          bus info: [EMAIL PROTECTED]
          logical name: scsi0
          configuration: driver=aic7xxx
        *-channel
             description: Channel 0
             physical id: 0
             bus info: [EMAIL PROTECTED]:0
           *-disk
                description: Disk
                product: ST11200N
                vendor: SEAGATE
                physical id: 4
                bus info: [EMAIL PROTECTED]:0:4.0
                logical name: /dev/sda
                version: 8334
                size: 1005MB
                capacity: 1014MB
                capabilities: 5400rpm
                configuration: ansiversion=2

The drive and controller do work together, the drive mounts, it 
reads and writes OK.

Hope this helps...

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages scsitools depends on:
ii  debconf                     1.4.43       Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  util-linux                  2.12p-2      Miscellaneous system utilities

-- debconf information:
* scsitools/info:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to