linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Martin K. Petersen" <martin.petersen@oracle.com>,
	axboe@fb.com, nab@daterainc.com, linux-scsi@vger.kernel.org
Subject: Re: [PATCH 5/6] [SCSI] Look up and store NAA if VPD page 0x83 is present
Date: Mon, 02 Jun 2014 22:59:33 +0200	[thread overview]
Message-ID: <538CE5B5.7030407@redhat.com> (raw)
In-Reply-To: <1401335565-29865-6-git-send-email-martin.petersen@oracle.com>

Il 29/05/2014 05:52, Martin K. Petersen ha scritto:
> +	sdev_printk(KERN_ERR, sdev,
> +		    "%s: VPD page 0x83 NAA descriptor not found\n", __func__);
> +
> +	return;

I suspect this error will be relatively common.

libata for example has

        if (ata_id_has_wwn(args->id)) {
                /* SAT defined lu world wide name */
                /* piv=0, assoc=lu, code_set=binary, designator=NAA */
                rbuf[num + 0] = 1;
                rbuf[num + 1] = 3;
                rbuf[num + 3] = ATA_ID_WWN_LEN;
                num += 4;
                ata_id_string(args->id, (unsigned char *) rbuf + num,
                              ATA_ID_WWN, ATA_ID_WWN_LEN);
                num += ATA_ID_WWN_LEN;
        }
        rbuf[3] = num - 4;    /* page len (assume less than 256 bytes) */

and most of the time IDE disks in a virtual machine are configured without
a WWN.

Paolo

  parent reply	other threads:[~2014-06-02 20:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-29  3:52 Copy offload Martin K. Petersen
2014-05-29  3:52 ` [PATCH 1/6] block: Replace bi_integrity with bi_special Martin K. Petersen
2014-06-02 20:35   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 2/6] block: Implement support for copy offload operations Martin K. Petersen
2014-06-02 20:38   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 3/6] block: Introduce copy offload library function Martin K. Petersen
2014-06-02 20:40   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 4/6] block: Copy offload ioctl Martin K. Petersen
2014-06-02 20:42   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 5/6] [SCSI] Look up and store NAA if VPD page 0x83 is present Martin K. Petersen
2014-06-02 20:43   ` Nicholas A. Bellinger
2014-06-02 20:59   ` Paolo Bonzini [this message]
2014-06-03  1:00     ` Martin K. Petersen
2014-06-03  9:13       ` Paolo Bonzini
2014-07-17 11:48   ` Bart Van Assche
2014-07-17 15:43     ` Martin K. Petersen
2014-05-29  3:52 ` [PATCH 6/6] [SCSI] sd: Implement copy offload support Martin K. Petersen
2014-05-29 14:48   ` Douglas Gilbert
2014-05-30  0:05     ` Martin K. Petersen
2014-06-02 20:46   ` Nicholas A. Bellinger

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=538CE5B5.7030407@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=axboe@fb.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=nab@daterainc.com \
    /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).