Re: Compaq Fiber Channel Array RM4000 / 2.6.16 kernel patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello James,

On Wed, 2006-03-29 at 19:53 +0200, Ingo Flaschberger wrote:
Really no to this we're trying to get away from changing actual reported
device information.  I assume the device reports SCSI-3

The device reports "zero" and thats why I need to force SCSI2!
Its better to force SCSI2 in one position than to deal with "SCSI_UNKNOWN"
in severall position?

Why?  We're actually trying to make SCSI_UNKNOWN work for some sbp2 and
USB storage as well.  What specific problems does it cause?

Ok...

Then I need to force something in this:

scsi_report_lun_scan:
        if ((bflags & BLIST_NOREPORTLUN) ||
             starget->scsi_level < SCSI_2 ||
            (starget->scsi_level < SCSI_3 &&
             (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) )
                return 1;

Version 1:
	if ((bflags & BLIST_NOREPORTLUN) ||
            (starget->scsi_level < SCSI_3 &&
             (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) )
                return 1;

Version 2:
	if ((bflags & BLIST_NOREPORTLUN) ||
             (starget->scsi_level < SCSI_2  && !(bflags &
		BLIST_REPORTLUN3))||
            (starget->scsi_level < SCSI_3 &&
             (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) )
                return 1;

Which one?

Kind regards,
	Ingo
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux