[Stgt-devel] CRC32C not working

Albert Pauw pauw
Wed Mar 28 15:22:03 CEST 2007


I am new to stgt and am just starting playing with it since a few days.

I am using stgt.r849 en open-iscsi.r779

Here are my findings using HeaderDigest CRC32C:

- Trying to set HeaderDigest in stgt to None,CRC32C it only stores CRC32C when I check it back

- I am able to login with open-iscsi, stgt responds with a HeaderDigest CRC32C and the login continues to the next phase

- From now on I see messages like:
iscsi_tcp: hdrdgst error recv 0x42040000 calc 0x4d2da980
 connection1:0: iscsi: detected conn error (1014)
iscsi_tcp: hdrdgst error recv 0x42040000 calc 0x8a8a100a
 connection1:0: iscsi: detected conn error (1014)
iscsi_tcp: hdrdgst error recv 0x42040000 calc 0x7eb94a7c
 connection1:0: iscsi: detected conn error (1014)
iscsi_tcp: hdrdgst error recv 0x42040000 calc 0x2915ef
 connection1:0: iscsi: detected conn error (1014)
 connection1:0: iscsi: detected conn error (1011)
 connection1:0: iscsi: detected conn error (1011)
 connection1:0: iscsi: detected conn error (1011)
 connection1:0: iscsi: detected conn error (1011)
 connection1:0: iscsi: detected conn error (1011)
 connection1:0: iscsi: detected conn error (1011)
 connection1:0: iscsi: detected conn error (1011)

So it seems that CRC32C for HeaderDigest is not working.

For DataDigest more or less the same holds, except that I get the scsi disk info correct, here's the log of that:

scsi 3:0:0:0: Direct-Access     IET      VIRTUAL-DISK     0    PQ: 0 ANSI: 4
 connection2:0: iscsi: detected conn error (1015)
SCSI device sdb: 2048000 512-byte hdwr sectors (1049 MB)
 connection2:0: iscsi: detected conn error (1015)
sdb: Write Protect is off
sdb: Mode Sense: 77 00 00 08
 connection2:0: iscsi: detected conn error (1015)
 connection2:0: iscsi: detected conn error (1015)


Albert





More information about the stgt mailing list