Re: IFF_PROMISC again

2007-05-25 Thread Martín Ferrari
Hi David, On 5/22/07, David Miller <[EMAIL PROTECTED]> wrote: > Anyone know the reasoning for masking out the PROMISC flag > in dev_get_flags() ? Because promiscuous status is a counter, not a binary on-off state. You can't expect to just clear it and expect all the other promiscuous users to

Re: IFF_PROMISC again

2007-05-25 Thread Martín Ferrari
Hi Ben, On 5/22/07, Ben Greear <[EMAIL PROTECTED]> wrote: > PACKET_(ADD|REMOVE)_MEMBERSHIP, I need to query the real device state. I have the same problem. I think you can tell by looking at bit 0x100 in /sys/class/net/[ethX]/flags Not exactly fun to use, but it seems to work. Wow, I sea

Re: b44: regression in 2.6.22

2007-05-25 Thread Gary Zambrano
On Fri, 2007-05-25 at 17:24 -0700, Stephen Hemminger wrote: > Something is broken with the b44 driver in 2.6.22-rc1 or later. Now bisecting. > The performance (with iperf) for receiving is normally 94Mbits or more. > But something happened that dropped performance to less than 1Mbit, > probably cor

Re: [PATCH][NET_SCHED] Update htb rate when stats are polled.

2007-05-25 Thread Ilpo Järvinen
Hi, ...couple of formatting related things, see inline comment... On Fri, 25 May 2007, Ranjit Manomohan wrote: > Currently the HTB rate for a class is update very slowly (once > every 16 seconds). This patch updates the rate whenever the stats > are requested from user space. This enables more a

Re: [ipvs] BUG: soft lockup detected on CPU#3!

2007-05-25 Thread Horms
On Fri, May 25, 2007 at 09:30:52AM +, Sebastien Estienne wrote: > > I didn't try 2.6.21 yet, but using ubuntu dapper kernel (2.6.15) i > can't reproduce the bug. > When i was using feisty kernel (2.6.20), i can reproduce in less than 5 > minutes. > > I'm using lvs to loadbalance some mysql s

b44: regression in 2.6.22

2007-05-25 Thread Stephen Hemminger
Something is broken with the b44 driver in 2.6.22-rc1 or later. Now bisecting. The performance (with iperf) for receiving is normally 94Mbits or more. But something happened that dropped performance to less than 1Mbit, probably corrupted packets. There is nothing obvious in the commit log for driv

Re: Generic netlink interface help

2007-05-25 Thread Thomas Graf
* Johannes Berg <[EMAIL PROTECTED]> 2007-05-24 18:34 > On Thu, 2007-05-24 at 09:43 +, Samuel Ortiz wrote: > > > You probably want to use the libnl library. The latest SVN code has > > support for generic netlink: > > http://people.suug.ch/~tgr/libnl/ > > Huh. I just looked at it and I don't u

Re: [PATCH]: Make XFRM_ACQ_EXPIRES tweakable

2007-05-25 Thread David Miller
From: Chuck Ebbert <[EMAIL PROTECTED]> Date: Fri, 25 May 2007 11:31:00 -0400 > On 05/25/2007 01:13 AM, David Miller wrote: > > I've had several requests for the capability to change this > > timeout, which I think is perfectly reasonable. > > > > So I intend to merge the following upstream unless

Re: [PATCH] s2io: don't run MSI handlers if device is offline.

2007-05-25 Thread Linas Vepstas
On Thu, May 24, 2007 at 05:20:24PM -0400, Jeff Garzik wrote: > Linas Vepstas wrote: > >Don't run any of the MSI handlers if the channel is off; > >also don't gather device statatistics. Also, netif_wake > >not needed, per suggestions from > >Sivakumar Subramani <[EMAIL PROTECTED]>. > > > Why are t

[PATCH][NET_SCHED] Update htb rate when stats are polled.

2007-05-25 Thread Ranjit Manomohan
Currently the HTB rate for a class is update very slowly (once every 16 seconds). This patch updates the rate whenever the stats are requested from user space. This enables more accurate rate monitoring. Signed-off-by: Ranjit Manomohan <[EMAIL PROTECTED]> diff --git a/net/sched/sch_htb.c b/net/s

Re: [PATCH]: Make XFRM_ACQ_EXPIRES tweakable

2007-05-25 Thread Chuck Ebbert
On 05/25/2007 01:13 AM, David Miller wrote: > I've had several requests for the capability to change this > timeout, which I think is perfectly reasonable. > > So I intend to merge the following upstream unless I hear > some objections :-) > Where's the documentation? - To unsubscribe from this

Re: Generic netlink interface help

2007-05-25 Thread Johannes Berg
On Thu, 2007-05-24 at 09:43 +, Samuel Ortiz wrote: > You probably want to use the libnl library. The latest SVN code has > support for generic netlink: > http://people.suug.ch/~tgr/libnl/ Huh. I just looked at it and I don't understand anything. What's the point with genl_register/genl_unregi

Re: [ipvs] BUG: soft lockup detected on CPU#3!

2007-05-25 Thread Sebastien Estienne
Hello, On 5/25/07, Horms <[EMAIL PROTECTED]> wrote: [Adding netdev CC] On Tue, May 22, 2007 at 07:19:44PM +0200, Sebastien Estienne wrote: > Hello, > > I have the following bug (stacktrace in the attachment) and i think > it's related to ipvs, i reproduced it many time. > > kernel is from ubunt

Re: [AIC7xxx] tree things to report

2007-05-25 Thread Emmanuel Fusté
Hello, While trying to obtain scsi log to debug a driver problem, I tried to use netconsole on an old smp system with a 10Mbits pcnet32 ethernet device. But few seconds after enabling netconsole, before launching my scsi test, but after a few console activity the computer freeze hard. Is it a know

Mixing tagged and untagged vlans using via-velocity driver

2007-05-25 Thread Nicklas Bondesson
I am trying to setup two vlans (one tagged and one untagged) using the native via-velocity driver in kernel 2.6.21.1 on a single nic. I can set it up tagged or untagged without any problems, but not both at the same time. Is this even possible with this driver? To enable vlan5 tagging on the

Re: Link always down

2007-05-25 Thread Clemens Brunner
Francois Romieu wrote: It's known and it hits several P5B users. The 8168 works fine on a different motherboard though. It would be helpful if you could investigate the effect of the 8168 related options in your bios/and or in Windows (WOL, network boot, whatever) combined with the use of http://

Re: [ipvs] BUG: soft lockup detected on CPU#3!

2007-05-25 Thread Horms
[Adding netdev CC] On Tue, May 22, 2007 at 07:19:44PM +0200, Sebastien Estienne wrote: > Hello, > > I have the following bug (stacktrace in the attachment) and i think > it's related to ipvs, i reproduced it many time. > > kernel is from ubuntu: "2.6.20-15-server SMP x86_64" > on dell poweredge

Re: [Bugme-new] [Bug 8536] New: Kernel drops UDP packets silently when reading from certain proc file entries

2007-05-25 Thread Herbert Xu
On Fri, May 25, 2007 at 09:15:17AM +0200, Eric Dumazet wrote: > > I am very glad you fixed /proc/net/tcp, but I would like to > understand why this cond_resched_softirq() even exist. Well presumably it lets other threads have a chance to run in a BH-disabled section. > Its name and behavior dont

Re: [Bugme-new] [Bug 8536] New: Kernel drops UDP packets silently when reading from certain proc file entries

2007-05-25 Thread Eric Dumazet
Herbert Xu a écrit : On Fri, May 25, 2007 at 08:50:20AM +0200, Eric Dumazet wrote: If this patch really helps, this means cond_resched_softirq() doesnt work at all and should be fixed, or just zapped as it is seldom used. cond_resched_softirq lets other threads run if they want to. It doesn't

Re: [PATCH][IPSEC]: Fix IPv6 AH calculation in outbound

2007-05-25 Thread David Miller
From: Kazunori MIYAZAWA <[EMAIL PROTECTED]> Date: Fri, 25 May 2007 16:09:14 +0900 > Hello David, > > I send a patch to fix IPv6 AH calculation of outbound. > This is for the linux-2.6.22-rc2. Thank you for resending I will apply this. > BTW, I sent a patch to fix kernel panic when using > inter

[PATCH][IPSEC]: Fix IPv6 AH calculation in outbound

2007-05-25 Thread Kazunori MIYAZAWA
Hello David, I send a patch to fix IPv6 AH calculation of outbound. This is for the linux-2.6.22-rc2. BTW, I sent a patch to fix kernel panic when using inter address family IPsec on loopback. Could you let me know the status? Signed-off-by: Kazunori MIYAZAWA <[EMAIL PROTECTED]> diff --git a/ne