Re: Bug with QLE2564 (leading zero) in target mode

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

 



>> Which translates to:
>>
>> # echo "0x15c0024ff236d37" | awk -F, '{ if (length($1)==18) print $1 }
>> { if (length($1)==17) { gsub("0x","&0") ; print $0 }}' | sed -e s/0x//
>> -e 's/../&:/g' -e s/:$//
>> 01:5c:00:24:ff:23:6d:37
>>
>
> I'll push that to rtslib to detect (based on WWN length) this bug and pad
> with zeroes until this is fixed.

We'll be eager to see this happen.

So far we didn't manage to get this workaround working yet.

We applied it as:

wwn_from_files_filter = 'awk -F, '{ if (length($1)==18) print $1 } {
if (length($1)==17) { gsub("0x","&0") ; print $0 }}' | sed -e s/0x//
-e 's/../&:/g' -e s/:$//'

We had to change the quotes because otherwise it was saying some warnings.

The result unfortunately is that the FC switch where the host is
connected says the host's wwn is unknown.

Also we see:

[  600.876084] qla2xxx [0000:06:00.0]-505f:2: Link is operational (8 Gbps).
[  600.909583] qla2xxx [0000:06:00.0]-2064:2: SNS scan failed --
assuming zero-entry result.

So maybe the driver is the only real fix?

-- Henrik

-- 


This message is produced and distributed by X-Formation:

X-Formation Denmark ApS, Sioevaenget 18, 8381 Tilst, Denmark

X-Formation Poland Sp. z o.o., ul. Radzikowskiego 47A, 31-315 Kraków, 
Poland, NIP: 675 140 90 81, Regon: 120839209, KRS: 0000326771, Sąd Rejonowy 
dla Krakowa – Środmieścia w Krakowie, XI wydział Gospodarczy Krajowego 
Rejestru Sądowego. Kapitał zakładowy 5000 zł.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux