Re: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Dotan Barak
On Tuesday 11 April 2006 00:54, Woodruff, Robert J wrote: I am not sure this is a openib issue, but perhaps rather a bug in the utilities that assumed the size of a MAC address is 8 bytes. I am not sure if that is the case with this one, but I know it was the case in some of the user

Re: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Roland Dreier
Dotan I think that maybe the problem is not in the user level Dotan stack or in the utilities , but in the linux kernel (in the Dotan module that handles this socket ioctl) Yes, the problem is in a patch that Red Hat applies to the 2.6.9 kernel in RHEL4. Full details are in the

RE: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Bob Woodruff
Roland wrote, Dotan I think that maybe the problem is not in the user level Dotan stack or in the utilities , but in the linux kernel (in the Dotan module that handles this socket ioctl) Yes, the problem is in a patch that Red Hat applies to the 2.6.9 kernel in RHEL4. Full details

RE: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Bob Woodruff
Roland wrote, tcpdump will work fine. It doesn't look at the hardware address in the structure at all. - R. I removed the check and indeed tcpdump does now appear to work in a modified 2.6.9-34EL kernel. I can add this change to my backport-to-2.6.9 patches for 2.6.9-34EL for people that

RE: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Scott Weitzenkamp (sweitzen)
; openib-general@openib.org Subject: RE: [openib-general] tcpdump command issue on IB network Roland wrote, tcpdump will work fine. It doesn't look at the hardware address in the structure at all. - R. I removed the check and indeed tcpdump does now appear to work in a modified 2.6.9-34EL

RE: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Bob Woodruff
Could you plese check in binaries to svn, or let me get them some other way? Thanks Scott I'll add it to my next set of backport patches and test RPMS and let you know when they are checked in, might be a day or 2, since I will need to regression test after I make new patches. woody

RE: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Scott Weitzenkamp (sweitzen)
I'll add it to my next set of backport patches and test RPMS and let you know when they are checked in, might be a day or 2, since I will need to regression test after I make new patches. For these RPMs, what is something like kernel-smp-2.6.9-34.OpenIB.6055.trunk.EL.root.x86_64.rpm? Why

Re: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Roland Dreier
Scott For these RPMs, what is something like Scott kernel-smp-2.6.9-34.OpenIB.6055.trunk.EL.root.x86_64.rpm? Scott Why would I want to test that instead of the RH 2.6.9-34 Scott kernel? Because it has things like the tcpdump problem fixed...

RE: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Scott Weitzenkamp (sweitzen)
Scott For these RPMs, what is something like Scott kernel-smp-2.6.9-34.OpenIB.6055.trunk.EL.root.x86_64.rpm? Scott Why would I want to test that instead of the RH 2.6.9-34 Scott kernel? Because it has things like the tcpdump problem fixed... Bummer, there's no way to get

Re: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Roland Dreier
Scott Bummer, there's no way to get just a tcpdump binary that Scott will work with RHEL4 kernel? You could do it I guess but no one has come up with the patch... ___ openib-general mailing list openib-general@openib.org

RE: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Bob Woodruff
Scott wrote, Bummer, there's no way to get just a tcpdump binary that will work with RHEL4 kernel? Scott I think that net/core/dev.c is part of the core kernel and not a loadable module. Also, not sure if tcpdump can be modified to work with the kernel that has the overflow check. woody

Re: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Roland Dreier
Scott Roland, can I talk you into doing it? Not any time soon... I have plenty to do as it is, and I don't have that much interest in providing a workaround for a Red Hat bug that isn't present in the standard kernel. - R. ___ openib-general

RE: [openib-general] tcpdump command issue on IB network

2006-04-11 Thread Bob Woodruff
Scott wrote, Bummer, there's no way to get just a tcpdump binary that will work with RHEL4 kernel? Scott You can also apply this patch to your RHEL4 kernel source and rebuild the kernel. diff -Naurp linux-2.6.9/net/core/dev.c linux-2.6.9-fixups/net/core/dev.c --- linux-2.6.9/net/core/dev.c

RE: [openib-general] tcpdump command issue on IB network

2006-04-10 Thread Scott Weitzenkamp (sweitzen)
Title: tcpdump command issue on IB network I opened a bug on this a couple of months ago. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180980 Scott From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerome TaylorSent: Monday, April 10, 2006 2:46 PMTo:

RE: [openib-general] tcpdump command issue on IB network

2006-04-10 Thread Woodruff, Robert J
Jerome wrote, # tcpdump -i ib0 Tcpdump: ioctl: Value too large for defined data type. From what I remember, I think there may be several utilities that don't work with IPoIB since they changed the MAC address size. woody ___ openib-general mailing

RE: [openib-general] tcpdump command issue on IB network

2006-04-10 Thread Woodruff, Robert J
. If this is the case, then the utility should be fixed. my 2 cents, woody From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Weitzenkamp (sweitzen)Sent: Monday, April 10, 2006 2:51 PMTo: Jerome Taylor; openib-general@openib.orgSubject: RE: [openib-general] tcpdump command issue