Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

When host would inquiry VPD=B0h

257 views
Skip to first unread message

jacks...@gmail.com

unread,
Mar 5, 2013, 10:15:21 AM3/5/13
to
Hello,All.

Anybody know when host would inquiry VPD=B0h,

baceause it is an optional VPD.

-----------------------------------------------------------
Posted using Android Newsgroup Downloader:
.... http://www.sb-software.com/android
-----------------------------------------------------------

Scott Lurndal

unread,
Mar 5, 2013, 11:34:46 AM3/5/13
to
jacks...@gmail.com writes:
>Hello,All.
>
>Anybody know when host would inquiry VPD=B0h,

Whenever it wants to.

>
>baceause it is an optional VPD.

It would likely be invoked from vendor-specific driver code
for vendor specific reasons.

Why do you ask?

jacks...@gmail.com

unread,
Mar 9, 2013, 3:28:16 AM3/9/13
to

> It would likely be invoked from vendor-specific driver code
> for vendor specific reasons.
>
> Why do you ask?
>
//Install Linux OS on 2 SAS HDD(different model of varied families),
OS, configuration are all same, except HDD,
Capture bus-trace, see host inquiry VPD=B0h on HDD model#1,
but not inquiry B0h on model#2, that is why ask this question.

Yes, I know it is vendor spec,The inquiry should come from host,shouldn' it?
not find anywhere to decribe when should inquiry
BOh?

Scott Lurndal

unread,
Mar 11, 2013, 9:38:48 AM3/11/13
to
jacks...@gmail.com writes:
>
>> It would likely be invoked from vendor-specific driver code
>> for vendor specific reasons.
>>
>> Why do you ask?
>>
>//Install Linux OS on 2 SAS HDD(different model of varied families),
>OS, configuration are all same, except HDD,
>Capture bus-trace, see host inquiry VPD=B0h on HDD model#1,
>but not inquiry B0h on model#2, that is why ask this question.
>
>Yes, I know it is vendor spec,The inquiry should come from host,shouldn' it?
> not find anywhere to decribe when should inquiry
>BOh?

You sure that's B0? B0 is reserved by the T10/1236-D (SCSI Primary Commands)
specification. Vendor-specific is C0 - FF.

Check the linux driver to see why it is issuing B0.

scott

jacks...@gmail.com

unread,
Mar 17, 2013, 6:24:24 AM3/17/13
to

> You sure that's B0? B0 is reserved by the T10/1236-D (SCSI Primary Commands)
> specification. Vendor-specific is C0 - FF.
>
> Check the linux driver to see why it is issuing B0.
>
//
Yes, it is BOh, sorry,I made a mistake to use a worng word.
It should be Optional, not vendor SPEC.

As I use a Federo DVD to install OS,then observe that issue;
Could you pls teach how to check the linux driver?which driver on the DVD
should be checked?

Thx a lot for your reply!

jacks...@gmail.com

unread,
Mar 17, 2013, 6:28:31 AM3/17/13
to
Hello,All.

For a SAS HBA, the negotiated link speed/rate is not reported to dmesg. Does anyone know
how to find the link speed for a SAS drive?
(Note:I am OK to get that speed of a SATA drive based on a dmesg, as long as SATA is
connected to mainboard in linux.)

If dmesg doe not work, could I send SCSI command directly to get the data from page?
Which page is available?

Thx!

jacks...@gmail.com

unread,
Mar 17, 2013, 11:47:25 AM3/17/13
to
Hello,Scott

Michael Baeuerle

unread,
Mar 18, 2013, 6:26:58 AM3/18/13
to
jacks...@gmail.com wrote:
>
> If dmesg doe not work, could I send SCSI command directly to get the data from page?
> Which page is available?

Get page 19h (Protocol specific port page) via MODE SENSE.
With subpage code 01h (Phy Control And Discover mode page) you should
get a list of SAS Phy mode descriptors that contain the link speed.

This is documented in SPL.


Micha

Scott Lurndal

unread,
Mar 18, 2013, 9:41:48 AM3/18/13
to
jacks...@gmail.com writes:
>
>> You sure that's B0? B0 is reserved by the T10/1236-D (SCSI Primary Commands)
>> specification. Vendor-specific is C0 - FF.
>>
>> Check the linux driver to see why it is issuing B0.
>>
>//
>Yes, it is BOh, sorry,I made a mistake to use a worng word.
>It should be Optional, not vendor SPEC.
>
>As I use a Federo DVD to install OS,then observe that issue;
>Could you pls teach how to check the linux driver?which driver on the DVD
>should be checked?

Depends on the adapter you're using. The 'lsmod' command will show
which drivers are loaded.

the 'lspci' command will show all the pci devices. Linux will use the
vendor-id/device-id fields to select the appropriate driver.

scott

jacks...@gmail.com

unread,
Mar 18, 2013, 10:13:28 AM3/18/13
to

> >As I use a Federo DVD to install OS,then observe that issue;
> >Could you pls teach how to check the linux driver?which driver on the DVD
> >should be checked?
>
> Depends on the adapter you're using. The 'lsmod' command will show
> which drivers are loaded.
>
> the 'lspci' command will show all the pci devices. Linux will use the
> vendor-id/device-id fields to select the appropriate driver.
>
> scott
>


Hi,Scott.


Noted with thx!

I would try to capture more bus-trace to study at it also.

jacks...@gmail.com

unread,
Mar 18, 2013, 10:36:42 AM3/18/13
to
Hello,Micha.

Yes, I got MP=19H and sub-page=01h ever,current value(Byte 5=48h,Nego link rate=1.5Gb/s,
is it?)
But one thing is stlll beyond my understanding:
1.I could image mode page to control WCE/RCD ON or OFF;
2.I also could image programmed Min PHY link rate //Hardware Max PHY link rate
set in mode page/subpage,because they are all like BIOS parameters;

But negotiated link rate should be a real/testing data,hard to see why mode page could
contain/support that data;

Anyway your reply help me to confirm that byte should be right.


Thx a lot!
0 new messages