On Mon, Feb 07, 2005 at 12:30:14AM -0500, A Costa wrote: > 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 > [...]
The problem is that sraw needs a kernel patch to work (patch is in /usr/share/doc/scsitools/kpatch.sraw). But I'm afraid it will not apply cleanly to kernel sources as this patch is really outdated. Btw, I'm thinking of removing it from scsitools package since it is not really useful. Regards. PS: maybe you could use sg_read/sg_read_long from sg3-utils package to benchmark your drives. -- Eric Delaunay | Plus ça rate, plus on a de chance [EMAIL PROTECTED] | que ça marche. Devise Shadok. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]