Re: More ATA disks with tagged queueing ?

2001-06-21 Thread Nickolay N. Dudorov

On Thu, Jun 21, 2001 at 09:46:43AM +0200, Søren Schmidt wrote:
> It seems Nickolay N. Dudorov wrote:
> > > The diskid (IC...) has me somewhat stumped though, I would have thougt
> > > the used something like all other IBM disks. Is this a genuine IBM disk
> > > or is it some kind of OEM/rebadged device ?
> > 
> > Yes, this IS genuine IBM disk.
> > See: 
> > 
> > So I'll continue to use patched 'sys/dev/ata/ata-disk.c'
> > and hope this will work ;-)
> 
> :) well could you try this patch instead, that should work with
> all future IBM ATA disks (as long a they stick to this scheme
> that is, and still support tags)

Yes this patch (obviously) work.

And what about new (or future) Travelstar models with
the names of the "IC25T048ATDA05" sort ?
(No, I have no such disks :-)

N.Dudorov

> Index: ata-disk.c
> ===
> RCS file: /home/ncvs/src/sys/dev/ata/ata-disk.c,v
> retrieving revision 1.108
> diff -u -r1.108 ata-disk.c
> --- ata-disk.c2001/06/08 05:24:13 1.108
> +++ ata-disk.c2001/06/21 07:43:55
> @@ -856,6 +856,14 @@
>   return 1;
>   i++;
>   }
> + /* 
> +  * check IBM's new obscure way of naming drives 
> +  * we want "IC" (IBM CORP) and "AV" (ATA interface)
> +  * but doesn't care about the other crap (size, capacity etc)
> +  */
> + if (!strncmp(AD_PARAM->model, "IC", 2) &&
> + !strncmp(AD_PARAM->model + 8, "AV", 2) )
> + return 1;
>  }
>  return 0;
>  }
> -Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: More ATA disks with tagged queueing ?

2001-06-21 Thread Terry Lambert

S?ren Schmidt wrote:
[ ... IDE tagged command queueing support ... ]
> > Is there any way to test/demonstarte this ?
> 
> Not without instrumenting the code currently

Turn off write caching, and see if it damages your
concurrency; if it doesn't, it supports tagging...

}B^)

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: More ATA disks with tagged queueing ?

2001-06-21 Thread Søren Schmidt

It seems Nickolay N. Dudorov wrote:
> > The diskid (IC...) has me somewhat stumped though, I would have thougt
> > the used something like all other IBM disks. Is this a genuine IBM disk
> > or is it some kind of OEM/rebadged device ?
> 
>   Yes, this IS genuine IBM disk.
> See: 
> 
>   So I'll continue to use patched 'sys/dev/ata/ata-disk.c'
> and hope this will work ;-)

:) well could you try this patch instead, that should work with
all future IBM ATA disks (as long a they stick to this scheme
that is, and still support tags)

Index: ata-disk.c
===
RCS file: /home/ncvs/src/sys/dev/ata/ata-disk.c,v
retrieving revision 1.108
diff -u -r1.108 ata-disk.c
--- ata-disk.c  2001/06/08 05:24:13 1.108
+++ ata-disk.c  2001/06/21 07:43:55
@@ -856,6 +856,14 @@
return 1;
i++;
}
+   /* 
+* check IBM's new obscure way of naming drives 
+* we want "IC" (IBM CORP) and "AV" (ATA interface)
+* but doesn't care about the other crap (size, capacity etc)
+*/
+   if (!strncmp(AD_PARAM->model, "IC", 2) &&
+   !strncmp(AD_PARAM->model + 8, "AV", 2) )
+   return 1;
 }
 return 0;
 }
-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: More ATA disks with tagged queueing ?

2001-06-21 Thread Nickolay N. Dudorov

On Thu, Jun 21, 2001 at 09:10:33AM +0200, Søren Schmidt wrote:
> It seems [EMAIL PROTECTED] wrote:
> > After applaying the next patch I can now see
> > in dmesg output:
> > 
> > 
> > ad4: 19574MB  [39770/16/63] at ata2-master tagged UDMA66
> > ad6: 19623MB  [39870/16/63] at ata3-master tagged UDMA66
> > .
> > 
> > This configuration (ad6 is the IBM's Deskstar 60GXP(?) series
> > disk) was 'tested' by the 'make -j32 buildworld' with the /usr/obj
> > on the ad6 disk.
> > 
> > Does this mean that this disk really support "tagged queueing" ?
> 
> Yups, else it would have failed bitterly..
> The diskid (IC...) has me somewhat stumped though, I would have thougt
> the used something like all other IBM disks. Is this a genuine IBM disk
> or is it some kind of OEM/rebadged device ?

Yes, this IS genuine IBM disk.
See: 

So I'll continue to use patched 'sys/dev/ata/ata-disk.c'
and hope this will work ;-)

N.Dudorov

> > Is there any way to test/demonstarte this ?
> 
> Not without instrumenting the code currently
> 
> -Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: More ATA disks with tagged queueing ?

2001-06-21 Thread Thomas Zander

Hi,

Am Do , dem 21. Jun 2001, um  9:10 +0200 Uhr schrubte Søren Schmidt
zum Thema [Re: More ATA disks with tagged queueing ?]:

> Yups, else it would have failed bitterly..
> The diskid (IC...) has me somewhat stumped though, I would have thougt
> the used something like all other IBM disks. Is this a genuine IBM disk
> or is it some kind of OEM/rebadged device ?

It is the new way IBM names the disk products.
Take a look:

http://www.storage.ibm.com/techsup/hddtech/modnum.htm

Riggs

-- 
- Die Welt schläft tief schon lange Zeit | Sent with RiggiSmooth [tm] -
-- Mich nur flieht die Dunkelheit| - --
--- Denn per Infrarot seh ich| just to fit your ---
 Die Nacht ist wirklich widerlich.   | primitive screen.   

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: More ATA disks with tagged queueing ?

2001-06-20 Thread Søren Schmidt

It seems [EMAIL PROTECTED] wrote:
>   After applaying the next patch I can now see
> in dmesg output:
> 
>   
> ad4: 19574MB  [39770/16/63] at ata2-master tagged UDMA66
> ad6: 19623MB  [39870/16/63] at ata3-master tagged UDMA66
>   .
> 
>   This configuration (ad6 is the IBM's Deskstar 60GXP(?) series
> disk) was 'tested' by the 'make -j32 buildworld' with the /usr/obj
> on the ad6 disk.
> 
>   Does this mean that this disk really support "tagged queueing" ?

Yups, else it would have failed bitterly..
The diskid (IC...) has me somewhat stumped though, I would have thougt
the used something like all other IBM disks. Is this a genuine IBM disk
or is it some kind of OEM/rebadged device ?

> Is there any way to test/demonstarte this ?

Not without instrumenting the code currently

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



More ATA disks with tagged queueing ?

2001-06-20 Thread nnd

After applaying the next patch I can now see
in dmesg output:


ad4: 19574MB  [39770/16/63] at ata2-master tagged UDMA66
ad6: 19623MB  [39870/16/63] at ata3-master tagged UDMA66
.

This configuration (ad6 is the IBM's Deskstar 60GXP(?) series
disk) was 'tested' by the 'make -j32 buildworld' with the /usr/obj
on the ad6 disk.

Does this mean that this disk really support "tagged queueing" ?
Is there any way to test/demonstarte this ?

N.Dudorov



Index: sys/dev/ata/ata-disk.c
===
RCS file: /scratch/CVS/src/sys/dev/ata/ata-disk.c,v
retrieving revision 1.108
diff -b -u -r1.108 ata-disk.c
--- sys/dev/ata/ata-disk.c  2001/06/08 05:24:13 1.108
+++ sys/dev/ata/ata-disk.c  2001/06/20 11:17:05
@@ -841,7 +841,7 @@
 static int
 ad_tagsupported(struct ad_softc *adp)
 {
-const char *drives[] = {"IBM-DPTA", "IBM-DTLA", NULL};
+const char *drives[] = {"IBM-DPTA", "IBM-DTLA", "IC35L020AVER07-0", NULL};
 int i = 0;
 
 /* Promise controllers doesn't work with tagged queuing */

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message