LUNs are _supposed_ to be the same, because we register
new host for every storage device.

However, there is a high profile bug here where LUN,ID,Channel
and Host are the same, and I got a monstrous headache
auditing drivers/usb/scsiglue.c, .../usb.c, drivers/scsi/host.c,
etc., all in vain. I flew to NC to see it on a faulting machine.
There is just NO WAY it can be happening, yet it does.

To make things clearer this is the faulty /proc/scsi/scsi
content that I discuss:

Before:

Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: Sony     Model: MSC-U01          Rev: 1.00
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: Y-E DATA Model: USB-FDU          Rev: 3.04
  Type:   Direct-Access                    ANSI SCSI revision: 02

After:

Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: Sony     Model: MSC-U01          Rev: 1.00
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IOMEGA   Model: ZIP 100          Rev: 10.V
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: Y-E DATA Model: USB-FDU          Rev: 3.04
  Type:   Direct-Access                    ANSI SCSI revision: 02

If you know anything specific about it, please let me know.

Thanks,
-- Pete

> I've seen something like this before... AFAICT, it's a cosmetic error in
> the /proc/scsi/scsi display.
> 
> Matt
> 
> On Tue, Mar 27, 2001 at 07:55:41PM -0500, Robert Baruch wrote:
> 
>> I attached both the SDDR09 and HP8200e, modprobed usb-storage, and I 
>> found that according to /proc/scsi/scsi, both devices got the same scsi 
>> LUN! Not sure where in the code the LUN's are allocated, though.

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to