Re: SCSI opcode 0x80 and 3ware Escalade 7000 ATA RAID

From: Kyle Moffett
Date: Fri Apr 15 2005 - 18:57:00 EST


On Apr 15, 2005, at 18:50, adam radford wrote:
Make sure you are are using the 3ware character ioctl interface at
/dev/twe0 (dynamic major, controller number minor) for your
smartmontools, not /dev/sda.

Hmm, I don't have any /dev/twe* here. I _do_ have hotplug, udev, etc,
installed, and this is a 2.6 machine, so I'm not sure what could be wrong.
How recent was this change?

The old interface from smartmontools used SCSI_IOCTL_SEND_COMMAND
ioctls with a special passthru opcode of 0x80 that would get passed
to the driver. This interface is deprecated in the driver and the
kernel.

Ok. Now if only I could find it. Is there anyplace in sysfs that I
can check manually to see what the dynamic major is? I'd like to
try creating the device by hand if I can't get Debian hotplug to see
it.

Cheers,
Kyle Moffett

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r !y?(-)
------END GEEK CODE BLOCK------


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/