public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: mmzz@stat.unipd.it (Alberto Cammozzo)
To: linux-scsi@vger.kernel.org
Subject: Re: lp8000 and 2.6.18-rc6
Date: Tue, 12 Sep 2006 08:45:14 +0200	[thread overview]
Message-ID: <20060912064514.GA28121@stat.unipd.it> (raw)
In-Reply-To: <1157994026.3470.3.camel@mulgrave.il.steeleye.com>

On Mon, Sep 11, 2006 at 12:00:26PM -0500, James Bottomley wrote:
> On Mon, 2006-09-11 at 08:40 +0200, Alberto Cammozzo wrote:
> > standard INQUIRY:
> >   PQual=1  Device_type=0  RMB=0  [ANSI_version=4]  version=0x04
> 
> That's the reason:  Peripheral Qualifier Not Connected.  sd won't bind
> to this device.
> 
> So, the next thing that would be tried is a report lun scan which seems
> to have failed for some reason.
> 
> What does
> 
> sg_luns -v /dev/sg6
> 
> give?

	Here it is:

novantatre:~# dmesg
[...]
st 0:0:5:0: Attached scsi generic sg0 type 1
ch 0:0:5:1: Attached scsi generic sg1 type 8
sd 1:0:0:0: Attached scsi generic sg2 type 0
scsi 1:0:15:0: Attached scsi generic sg3 type 3
scsi 1:1:9:0: Attached scsi generic sg4 type 3
scsi 1:2:8:0: Attached scsi generic sg5 type 3
scsi 2:0:0:0: Attached scsi generic sg6 type 0
scsi 2:0:1:0: Attached scsi generic sg7 type 0
scsi 2:0:2:0: Attached scsi generic sg8 type 0
scsi 2:0:3:0: Attached scsi generic sg9 type 0
sd 3:0:0:0: Attached scsi generic sg10 type 0

novantatre:~# sg_luns -v sg6
sg_luns: open error: sg6: No such file or directory
novantatre:~# sg_luns -v /dev/sg6
    report luns cdb: a0 00 00 00 00 00 00 00 04 00 00 00 
    report luns: requested 1024 bytes but got 32 bytes
Lun list length = 24 which imples 3 lun entries

Output response in hex
 00     00 00 00 18 00 00 00 00  00 01 00 00 00 00 00 00                    
 10     00 03 00 00 00 00 00 00  00 04 00 00 00 00 00 00                    
Report luns [select_report=0]:
    0001000000000000
    0003000000000000
    0004000000000000





	Alberto

  reply	other threads:[~2006-09-12  6:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-09 21:08 lp8000 and 2.6.18-rc6 Alberto Cammozzo
2006-09-10 13:56 ` Matthew Wilcox
2006-09-10 21:04   ` Alberto Cammozzo
2006-09-11  1:06     ` Douglas Gilbert
2006-09-11  2:17       ` James Bottomley
2006-09-11  9:51         ` Alberto Cammozzo
2006-09-11 12:21           ` James Smart
2006-09-11 16:29             ` Alberto Cammozzo
2006-09-11  6:40       ` Alberto Cammozzo
2006-09-11 17:00         ` James Bottomley
2006-09-12  6:45           ` Alberto Cammozzo [this message]
2006-09-13 14:11             ` James Bottomley
2006-09-13 14:44               ` Douglas Gilbert
2006-09-13 15:20                 ` James Bottomley
2006-09-13 15:33                 ` Patrick Mansfield
2006-09-13 15:37                 ` Alberto Cammozzo
  -- strict thread matches above, loose matches on Subject: below --
2006-09-09 21:03 Alberto Cammozzo
2006-09-09 21:01 Alberto Cammozzo
2006-09-10 14:03 ` James Smart
2006-09-10 20:43   ` Alberto Cammozzo

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=20060912064514.GA28121@stat.unipd.it \
    --to=mmzz@stat.unipd.it \
    --cc=linux-scsi@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