-----BEGIN PGP SIGNED MESSAGE-----
Evren Yurtesen wrote:
> Uffe R. B. Andersen wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> When I run smartctl (5.37) on my FreeBSD 6.2, I get an error:
>> (pass0:ahc0:0:0:0): MODE SENSE(06). CDB: 1a 0 19 0 40 0
>> (pass0:ahc0:0:0:0): CAM Status: SCSI Status Error
>> (pass0:ahc0:0:0:0): SCSI Status: Check Condition
>> (pass0:ahc0:0:0:0): ILLEGAL REQUEST asc:24,0
>> (pass0:ahc0:0:0:0): Invalid field in CDB: Command byte 2 is invalid
> I had something like this once, it caused the data in the drive to
> become corrupt. This wasnt smartmontools' mistake. I think there was a
> problem in FreeBSD. The controller was Adaptec AIC7902 Ultra320 SCSI
> adapter. But now it seems to be fixed (I am on 6.2-STABLE, I think I was
> on 6.1 then).
I'm running 6.2-RELEASE-p5, so a fix might not be included, I guess.
What caused your error then? The scsi controller driver? I have several
AHA-2940UW adapters in my drawer, but they use the same driver, afaik.
> Anyhow, it might or not be the same problem that I had but I suggest you
> to proceed with caution, oh by the way, do you see any errors reported
> by the operating system when you run smartctl repetitively on the drive?
> or any slowdowns etc.?
So far I have seen no errors and there is nothing in /var/log/messages
regarding the adapter. I have twice tried to run a long test, but it has
# 1 Background long Self test in progress ... - NOW
# 2 Background long Interrupted (bus reset ?) - 13425
# 3 Background long Interrupted (bus reset ?) - 13403
During boot I see the disk is capabke of only 40MB/s:
da0: <QUANTUM ATLAS_V_18_WLS 0230> Fixed Direct Access SCSI-3 device
da0: 40.000MB/s transfers (20.000MHz, offset 63, 16bit), Tagged Queueing
da0: 17510MB (35861388 512 byte sectors: 255H 63S/T 2232C)
cd0 at ahc0 bus 0 target 5 lun 0
- - where I would have expected 160MB/s, but I guess it is due to my pci
bus being too slow?
Med venlig hilsen - Sincerely
Uffe R. B. Andersen - mailto:urb@...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
-----END PGP SIGNATURE-----