On Wed, May 23, 2007 at 02:04:01AM +0200, David Mart?nez Moreno wrote: > 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).
On the AoE initiator, if it's a Linux host with the aoe driver, the network layer (or the network driver) is supposed to pad the packets coming from the aoe driver until they're big enough. With some Linux kernels, though, it doesn't. More comments follow below. > 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 @@ ... > - if (n < 60) > + if (n < 56) > continue; ... > I do not have an AoE setup right to test. What do you think about thi > issue? That looks like a fine workaround to me. -- Ed L Cashin <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

