Hello, Ed. A Debian user has discovered that sometimes discovery packets smaller than 60 bytes arrive to a vblade server, thus being ignored:
I tried to set up AoE but it did not work. tshark showed that the packets generated as a result of 'aoe-discover' was received on the NIC, and strace showed that vblade read() them, but nothing happened, there was no response. Checking the source revealed that vblade simply drops packets with length less than 60, but the "AoE Query Config Information Request" packets had length 56 (the remote end is the AoE driver from linux-image-2.6.18-4-amd64 2.6.18.dfsg.1-12etch1). The following patch made AoE work for me: --- aoe.c.orig 2006-11-20 18:48:05.000000000 +0100 +++ aoe.c 2007-05-11 16:49:07.000000000 +0200 @@ -202,7 +202,7 @@ perror("read network"); exit(1); } - if (n < 60) + if (n < 56) continue; p = (Aoehdr *) buf; if (ntohs(p->type) != 0x88a2) I do not have an AoE setup right to test. What do you think about thi issue? Best regards, Ender. -- - I got kicked out of Barnes and Noble once for moving all the bibles into the fiction section. -- [TN]FBMachine en la cita nº 23601 de bash.org. -- Desarrollador de Debian Debian developer
pgpXe3jGhXZgu.pgp
Description: PGP signature