* Blacklist entry for HP dat changer
@ 2006-05-16 4:38 Thomas Bogendoerfer
2006-05-16 13:59 ` James Bottomley
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Bogendoerfer @ 2006-05-16 4:38 UTC (permalink / raw)
To: linux-scsi
Hi,
after upgrading our SUN E250 from 2.4 to 2.6 I'm seeing following error
when the HP DDS4 DAT changer gets probed:
scsi: host 1 channel 0 id 5 lun16777216 has a LUN larger than allowed by
the host adapter
The device is connected to a symbios 875 host. I've talked to Willy
about the problem, and he asked me to try to blacklist the device
for reportlun. I did that with the patch below and it solved the
problem. It now gets properly detected:
target1:0:5: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 16)
Vendor: HP Model: C5713A Rev: H307
Type: Sequential-Access ANSI SCSI revision: 03
target1:0:5: Beginning Domain Validation
target1:0:5: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 16)
target1:0:5: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 16)
target1:0:5: Domain Validation skipping write tests
target1:0:5: Ending Domain Validation
Vendor: HP Model: C5713A Rev: H307
Type: Medium Changer ANSI SCSI revision: 03
Looking at the misdetected LUN number I'm still thinking there might
be an endianess problem (16777216 = 0x01000000 -> little endian 0x01).
Is this possible ?
Thomas.
--- linux-2.6.15.6/drivers/scsi/scsi_devinfo.c.orig 2006-05-15 21:44:59.000000000 +0200
+++ linux-2.6.15.6/drivers/scsi/scsi_devinfo.c 2006-03-16 18:41:59.000000000 +0100
@@ -160,6 +160,7 @@
{"HP", "HSV100", NULL, BLIST_REPORTLUN2 | BLIST_NOSTARTONADD},
{"HP", "C1557A", NULL, BLIST_FORCELUN},
{"HP", "C3323-300", "4269", BLIST_NOTQ},
+ {"HP", "C5713A", NULL, BLIST_NOREPORTLUN},
{"IBM", "AuSaV1S2", NULL, BLIST_FORCELUN},
{"IBM", "ProFibre 4000R", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
{"IBM", "2105", NULL, BLIST_RETRY_HWERROR},
Signed-Off: tsbogend@alpha.franken.de
--
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Blacklist entry for HP dat changer
2006-05-16 4:38 Blacklist entry for HP dat changer Thomas Bogendoerfer
@ 2006-05-16 13:59 ` James Bottomley
0 siblings, 0 replies; 2+ messages in thread
From: James Bottomley @ 2006-05-16 13:59 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: linux-scsi
On Tue, 2006-05-16 at 06:38 +0200, Thomas Bogendoerfer wrote:
> scsi: host 1 channel 0 id 5 lun16777216 has a LUN larger than allowed by
> the host adapter
This is a classic symptom of a device incorrectly executing report luns,
yes.
> Looking at the misdetected LUN number I'm still thinking there might
> be an endianess problem (16777216 = 0x01000000 -> little endian 0x01).
> Is this possible ?
It's possible, but if so it would have to be inside the device. SCSI is
big endian explicitly in the protocol documents.
> + {"HP", "C5713A", NULL, BLIST_NOREPORTLUN},
This looks to be the correct fix ... I'll add it.
James
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-16 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16 4:38 Blacklist entry for HP dat changer Thomas Bogendoerfer
2006-05-16 13:59 ` James Bottomley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.