From: John Huttley <John@mib-infotech.co.nz>
To: linux-hotplug@vger.kernel.org
Subject: scsi_id design choices, was: Looking for Patrick Mansfield of scsi_id
Date: Tue, 10 Jun 2008 21:07:56 +0000 [thread overview]
Message-ID: <484EED2C.3010702@mib-infotech.co.nz> (raw)
Hi folks, I've been pokeing in scsi_id trying to understand the
serialnumber part.
I don't understand the choices patrick made in doing this.
My note to patrick follows:
Hi patrick,
I'm trying to undertstand your scsi_id program.
I'm testing on an LTO drive and the code
seems to call
do_scsi_page83_inquiry() which returns the (not really) serial number.
Why are you doing that? The page is.
sg_inq -vpd --page=0x83 /dev/st2
VPD INQUIRY: Device Identification page
inquiry cdb: 12 01 83 00 fc 00
inquiry: requested 252 bytes but got 42 bytes
Designation descriptor number 1, descriptor length: 38
id_type: T10 vendor identification, code_set: ASCII
associated with the addressed logical unit
vendor id: HP
vendor specific: C7438A HU107108XD
Why not get the real serial number from page 0x80??
sg_inq -vpd --page=0x80 /dev/st2
VPD INQUIRY: Unit serial number page
inquiry cdb: 12 01 80 00 fc 00
inquiry: requested 252 bytes but got 14 bytes
Unit serial number: HU107108XD
close error: No medium found
Mike Anderson wrote:
> John Huttley <John@mib-infotech.co.nz> wrote:
>> The email address in the source file (@ibm) is wrong.
>> Anyone know where he is?
>>
>
> He is not working for IBM anymore.
>
> If you have a scsi_id question you can post to this list as scsi_id is
> maintained as part of udev extras.
>
> -andmike
> --
> Michael Anderson
> andmike@linux.vnet.ibm.com
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
next reply other threads:[~2008-06-10 21:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-10 21:07 John Huttley [this message]
2008-06-10 21:19 ` scsi_id design choices, was: Looking for Patrick Mansfield of scsi_id fame Ken Brush
2008-06-11 16:30 ` Ken Brush
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=484EED2C.3010702@mib-infotech.co.nz \
--to=john@mib-infotech.co.nz \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).