* [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver
@ 2005-11-02 14:08 thomas schorpp
2005-11-02 16:05 ` [usb-storage] " Alan Stern
0 siblings, 1 reply; 6+ messages in thread
From: thomas schorpp @ 2005-11-02 14:08 UTC (permalink / raw)
To: usb-storage; +Cc: linux-ide
hi,
i'll try integrating SMART/ATA-Security in usb-storage driver for usb2
ide disks.
other people working on it yet? ive read something on SMART efforts for
SATA.
i think of using the passthrough code (libata?) or module in
usb-storage.ko like the SATA driver for ATA-Security.
comments?
thx
y
tom
-------- Original Message --------
Subject: Merging ATA passthru
Date: Fri, 21 Oct 2005 15:14:18 -0400
From: Jeff Garzik <jgarzik@pobox.com>
To: linux-ide@vger.kernel.org <linux-ide@vger.kernel.org>
CC: Linux Kernel <linux-kernel@vger.kernel.org>
Folks,
Taking Mark Lord's (and others) criticism to heart, I'm going to merge
the ATA passthru work upstream, once 2.6.14 is released.
Since there are still some reported problems that I haven't had time to
track down, I'm going to -- like ATAPI -- introduce a module option that
enables passthru. It will default to off.
Other features that follow a similar pattern -- 98% there but needs a
few final tweaks -- will be treated in the same way.
This gets lesser-used features upstream where they can get the most
testing, while defaulting them to off ensures that we won't perturb the
known-working code.
This also will help me, in that I won't have to maintain a bunch of
parallel codebases.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [usb-storage] [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver
2005-11-02 14:08 [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver thomas schorpp
@ 2005-11-02 16:05 ` Alan Stern
2005-11-02 19:12 ` thomas schorpp
2005-11-05 0:41 ` ATA thru SCSI thru USB Pat LaVarre
0 siblings, 2 replies; 6+ messages in thread
From: Alan Stern @ 2005-11-02 16:05 UTC (permalink / raw)
To: thomas schorpp; +Cc: usb-storage, linux-ide
On Wed, 2 Nov 2005, thomas schorpp wrote:
> hi,
>
> i'll try integrating SMART/ATA-Security in usb-storage driver for usb2
> ide disks.
>
> other people working on it yet? ive read something on SMART efforts for
> SATA.
>
> i think of using the passthrough code (libata?) or module in
> usb-storage.ko like the SATA driver for ATA-Security.
>
> comments?
Is there any standard way to pass ATA commands over a USB transport? I've
never heard of one.
Alan Stern
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [usb-storage] [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver
2005-11-02 16:05 ` [usb-storage] " Alan Stern
@ 2005-11-02 19:12 ` thomas schorpp
2005-11-02 19:26 ` Alan Stern
2005-11-05 0:41 ` ATA thru SCSI thru USB Pat LaVarre
1 sibling, 1 reply; 6+ messages in thread
From: thomas schorpp @ 2005-11-02 19:12 UTC (permalink / raw)
To: Alan Stern; +Cc: usb-storage, linux-ide
Alan Stern wrote:
> On Wed, 2 Nov 2005, thomas schorpp wrote:
>
>
>>hi,
>>
>>i'll try integrating SMART/ATA-Security in usb-storage driver for usb2
>>ide disks.
>>
>>other people working on it yet? ive read something on SMART efforts for
>>SATA.
>>
>>i think of using the passthrough code (libata?) or module in
>>usb-storage.ko like the SATA driver for ATA-Security.
>>
>>comments?
>
>
> Is there any standard way to pass ATA commands over a USB transport? I've
> never heard of one.
>
> Alan Stern
>
>
yes, ive read on the smartmontools page theres none, at present.
since therere rw-commands issued, why not possible to issue other, too?
and sata is short of smart support. both use scsi-emu(?).
i dont think theres a hardware problem.
i'll look at sata/libata/smartctl code and trial'n'error.
maybe i find a way and you can propose it as standard then :)
why wait for it?
tom schorpp
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [usb-storage] [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver
2005-11-02 19:12 ` thomas schorpp
@ 2005-11-02 19:26 ` Alan Stern
2005-11-02 20:41 ` thomas schorpp
0 siblings, 1 reply; 6+ messages in thread
From: Alan Stern @ 2005-11-02 19:26 UTC (permalink / raw)
To: thomas schorpp; +Cc: usb-storage, linux-ide
On Wed, 2 Nov 2005, thomas schorpp wrote:
> Alan Stern wrote:
> > Is there any standard way to pass ATA commands over a USB transport? I've
> > never heard of one.
> >
> > Alan Stern
> >
> >
>
> yes, ive read on the smartmontools page theres none, at present.
>
> since therere rw-commands issued, why not possible to issue other, too?
They aren't ATA read/write commands; they are SCSI commands. If there is
a version of SMART that runs over SCSI, you might be able to use it.
> and sata is short of smart support. both use scsi-emu(?).
>
> i dont think theres a hardware problem.
Yes there is. The USB interface on the drive won't recognize an ATA SMART
command and won't pass it on to the drive controller.
> i'll look at sata/libata/smartctl code and trial'n'error.
>
> maybe i find a way and you can propose it as standard then :)
> why wait for it?
Because if you don't wait, then no vendors will have implemented it and so
it won't work.
Alan Stern
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [usb-storage] [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver
2005-11-02 19:26 ` Alan Stern
@ 2005-11-02 20:41 ` thomas schorpp
0 siblings, 0 replies; 6+ messages in thread
From: thomas schorpp @ 2005-11-02 20:41 UTC (permalink / raw)
To: Alan Stern; +Cc: usb-storage, linux-ide
Alan Stern wrote:
> On Wed, 2 Nov 2005, thomas schorpp wrote:
>
>
>>Alan Stern wrote:
>
>
>>>Is there any standard way to pass ATA commands over a USB transport? I've
>>>never heard of one.
>>>
>>>Alan Stern
>>>
>>>
>>
>>yes, ive read on the smartmontools page theres none, at present.
>>
>>since therere rw-commands issued, why not possible to issue other, too?
>
>
> They aren't ATA read/write commands; they are SCSI commands. If there is
> a version of SMART that runs over SCSI, you might be able to use it.
>
>
>>and sata is short of smart support. both use scsi-emu(?).
>>
>>i dont think theres a hardware problem.
>
>
> Yes there is. The USB interface on the drive won't recognize an ATA SMART
> command and won't pass it on to the drive controller.
maybe yes,
(cant link) goto cypress, search part CY7C68300A, see the features and
application notes, the cypress windows driver can do Security since 2003.
"CY7C68300A Complies with T13's ATA/ATAPI-6 Draft Specification"
and see page 2 of the windos driver pdf doc:
Protect
The next selection, labeled “Protect,” will give the user th
ability to password protect their HDD. There are three item
that must be true to enable password protection. These are
1. The attached device must support the Security Mode Fea
ture set as defined in the ATA/ATAPI specification. The
support of Security is determined from an IDENTIFY DE
VICE command (Word 128 bit 0).
2. The attached device must be an ATA device.
3. The bridge chip must support ATACB command. The
ISD-300A1 and the ISD-200 parts are examples of such
ICs.
4. ATA Security must be enabled in the driver’s .inf file.
>
>
>>i'll look at sata/libata/smartctl code and trial'n'error.
>>
>>maybe i find a way and you can propose it as standard then :)
>>why wait for it?
>
>
> Because if you don't wait, then no vendors will have implemented it and so
> it won't work.
i'll check the datasheet of the CY7C68300A
>
> Alan Stern
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
tom schorpp
^ permalink raw reply [flat|nested] 6+ messages in thread
* ATA thru SCSI thru USB
2005-11-02 16:05 ` [usb-storage] " Alan Stern
2005-11-02 19:12 ` thomas schorpp
@ 2005-11-05 0:41 ` Pat LaVarre
1 sibling, 0 replies; 6+ messages in thread
From: Pat LaVarre @ 2005-11-05 0:41 UTC (permalink / raw)
To: USB Storage list, linux-ide
> Date: 2 November 2005 08:05:18 GMT-08:00
> Subject: Re: [usb-storage] [Merging ATA passthru] on
> integratingSMART/ATA-Security in usb-storage driver
> ...
> Is there any standard way to pass ATA commands over a USB
> transport? I've
> never heard of one.
T10.org has drafts of an ATA thru SCSI, thus USB thru SCSI real soon
now will have an ATA thru SCSI thru USB.
I remember recently there I asked if I could pass ATA Locking By
Password thru SCSI.
The answer I got sounded like yes the casual observer can intuit how
to construct the bits and yes reasonably transparent bridges will
actually pass them thru but technically that draft specification is
intentionally opaque, guaranteeing results only for what it lists,
and that list doesn't yet include ATA Locking By Password, vendor-
specific requests, newly standard requests, etc. etc.
I didn't care myself enough to request authoritative confirmation of
that paraphrase of what I thought I heard ...
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-11-05 0:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-02 14:08 [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver thomas schorpp
2005-11-02 16:05 ` [usb-storage] " Alan Stern
2005-11-02 19:12 ` thomas schorpp
2005-11-02 19:26 ` Alan Stern
2005-11-02 20:41 ` thomas schorpp
2005-11-05 0:41 ` ATA thru SCSI thru USB Pat LaVarre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).