Package: vblade
Version: 14-1
Severity: normal
Tags: patch

Hi,

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)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.9 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vblade depends on:
ii  libc6                         2.5-7      GNU C Library: Shared libraries

vblade recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to