From: Albert A. <AAu@Omneon.com> - 2007-05-21 18:43:18
|
We are experiencing an issue with smartd and smartctl (version 5.37 & = 5.33) utilities in Linux 2.6.18 using the Marvell 3.6.3 driver for the = Marvell 6081 controller. Wondering if you have any insight into this. = Any help is appreciated. Marvell 3.6.3 driver for Marvell 6081 w/ Linux 2.6.18 fails: # smartctl -d marvell -i /dev/sde=20 > Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) > A mandatory SMART command failed: exiting. To continue, add one or = more '-T permissive' options. However Marvell 3.6.2 driver for Marvell 6081 w/ Linux 2.6.16 is ok: # smartctl -d marvell -i /dev/sde > =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D > Device Model: HDT722525DLA380 > Serial Number: VDB41BT4EP451C > Firmware Version: V44OA96A > User Capacity: 250,059,350,016 bytes [...] [root@CSSHD007 ~]# The problem appears to be with tunneling the ATA_IDENTIFY_DEVICE command = of the SCSI_IOCTL_SEND_COMMAND call? FWIW, the Marvell driver is able to see inlen and outlen of the mvsata_scsi_cmd, but sees garbage in the field intended to be a copy of the "cmd" payload field. typedef struct { int inlen; int outlen; char cmd[540]; } mvsata_scsi_cmd; |