Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-06 Thread Ben Greear
On 02/06/2013 05:21 AM, Steven Rostedt wrote: On Tue, 2013-02-05 at 22:23 -0800, Ben Greear wrote: On 02/05/2013 08:36 PM, Steven Rostedt wrote: On Tue, 2013-02-05 at 19:30 -0800, Ben Greear wrote: It's huge, so here's a link: http://www.candelatech.com/~greearb/debug.tgz The trace shows

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-06 Thread Ben Greear
On 02/06/2013 08:07 AM, Steven Rostedt wrote: On Wed, 2013-02-06 at 07:56 -0800, Ben Greear wrote: I'm 99% sure that the bug is in your modifications. I'm sorry, I tried to make that clear. You said it was an out of tree module, I didn't realize it had changes to the core Linux as well

Re: [PATCH] net: mac80211/cfg.c: fix error using of sizeof()

2013-02-06 Thread Ben Greear
-mcast_rate)); Thanks, Ben -- Ben Greear gree...@candelatech.com Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH] net: mac80211/cfg.c: fix error using of sizeof()

2013-02-06 Thread Ben Greear
return 0; } -- Ben Greear gree...@candelatech.com Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH] net: mac80211/cfg.c: fix error using of sizeof()

2013-02-06 Thread Ben Greear
On 02/06/2013 09:54 AM, Ben Greear wrote: On 02/06/2013 08:27 AM, Johannes Berg wrote: On Wed, 2013-02-06 at 17:23 +0100, Cong Ding wrote: Using 'sizeof' on array given as function argument returns size of a pointer rather than the size of array. Oops, yeah, Stephen Hemminger pointed

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
On 02/05/2013 08:36 PM, Steven Rostedt wrote: On Tue, 2013-02-05 at 19:30 -0800, Ben Greear wrote: It's huge, so here's a link: http://www.candelatech.com/~greearb/debug.tgz The trace shows that __netif_receive_skb() is grabbing an rcu_read_lock() but never releasing it. But I don't see

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
On 02/05/2013 08:26 PM, Steven Rostedt wrote: On Tue, Feb 05, 2013 at 05:10:37PM -0800, Ben Greear wrote: === [ INFO: suspicious RCU usage. ] 3.7.6+ #4 Tainted: G C O --- /home/greearb/git/linux-3.7.dev.y/kernel/rcutree.c:360

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
On 02/05/2013 06:52 PM, Steven Rostedt wrote: On Tue, 2013-02-05 at 18:26 -0800, Ben Greear wrote: Well, here it is..something is calling rcu_read_lock lots and lots, Or a bug in the way lockdep handles rcu mappings. it seems. Any way to get a better idea of where those calls are made

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
On 02/05/2013 05:54 PM, Steven Rostedt wrote: On Tue, Feb 05, 2013 at 05:10:37PM -0800, Ben Greear wrote: I'm debugging something that could be my own bug in my wanlink module (but then again, haven't seen this on 3.5 kernels, and my module is basically un-changed since then). I'm using

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
fairly suspicious that it isn't my code. Famous last words I'm sure :) Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mor

Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
0xa9/0x105 [] sys_write+0x54/0x89 [] system_call_fastpath+0x16/0x1b -- Ben Greear Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordo

Kernel splat in patched 3.7.6+

2013-02-05 Thread Ben Greear
est_init+0x7e/0x82 [] ? start_kernel+0x375/0x382 [] ? repair_env_string+0x58/0x58 [] ? x86_64_start_reservations+0xb8/0xbd [] ? x86_64_start_kernel+0x101/0x110 -- Ben Greear Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe li

Kernel splat in patched 3.7.6+

2013-02-05 Thread Ben Greear
[81011134] ? cpu_idle+0x63/0xb7 [815077fa] ? rest_init+0x7e/0x82 [81ab8ccb] ? start_kernel+0x375/0x382 [81ab878b] ? repair_env_string+0x58/0x58 [81ab82dd] ? x86_64_start_reservations+0xb8/0xbd [81ab83e3] ? x86_64_start_kernel+0x101/0x110 -- Ben Greear

Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
/0x20b [8133db38] tty_write+0x19b/0x23a [8133f930] ? n_tty_ioctl+0xc6/0xc6 [8133dc61] redirected_tty_write+0x8a/0x95 [81158d6c] vfs_write+0xa9/0x105 [81158ead] sys_write+0x54/0x89 [81559569] system_call_fastpath+0x16/0x1b -- Ben Greear gree

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
fairly suspicious that it isn't my code. Famous last words I'm sure :) Thanks, Ben -- Ben Greear gree...@candelatech.com Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
On 02/05/2013 05:54 PM, Steven Rostedt wrote: On Tue, Feb 05, 2013 at 05:10:37PM -0800, Ben Greear wrote: I'm debugging something that could be my own bug in my wanlink module (but then again, haven't seen this on 3.5 kernels, and my module is basically un-changed since then). I'm using

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
On 02/05/2013 06:52 PM, Steven Rostedt wrote: On Tue, 2013-02-05 at 18:26 -0800, Ben Greear wrote: Well, here it is..something is calling rcu_read_lock lots and lots, Or a bug in the way lockdep handles rcu mappings. it seems. Any way to get a better idea of where those calls are made

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
On 02/05/2013 08:26 PM, Steven Rostedt wrote: On Tue, Feb 05, 2013 at 05:10:37PM -0800, Ben Greear wrote: === [ INFO: suspicious RCU usage. ] 3.7.6+ #4 Tainted: G C O --- /home/greearb/git/linux-3.7.dev.y/kernel/rcutree.c:360

Re: Question on lockdep and MAX_LOCK_DEPTH

2013-02-05 Thread Ben Greear
On 02/05/2013 08:36 PM, Steven Rostedt wrote: On Tue, 2013-02-05 at 19:30 -0800, Ben Greear wrote: It's huge, so here's a link: http://www.candelatech.com/~greearb/debug.tgz The trace shows that __netif_receive_skb() is grabbing an rcu_read_lock() but never releasing it. But I don't see

Re: Lockup in barely-patched 3.7.5, maybe wifi/ath9k or i2c related

2013-01-29 Thread Ben Greear
On 01/29/2013 06:18 PM, Ben Greear wrote: I've been seeing strange lockups since 3.7.4. Not so easily reproducible most of the time. Previous lockups looked to be rcu/rtnl based, but the one below has a bunch of i2c stuff in it. Patches applied are a few wifi patches from upstream and one

Lockup in barely-patched 3.7.5, maybe wifi/ath9k or i2c related

2013-01-29 Thread Ben Greear
50 [ 432.111031] [] ? ret_from_kernel_thread+0x1b/0x28 [ 432.111031] [] ? __init_kthread_worker+0x60/0x60 [ 432.111031] panic occurred, switching back to text console [ 432.111031] Rebooting in 10 seconds.. CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.5| VT102 | Online 00:07 -- Ben Greear Candela Techno

Lockup in barely-patched 3.7.5, maybe wifi/ath9k or i2c related

2013-01-29 Thread Ben Greear
| NOR | Minicom 2.5| VT102 | Online 00:07 -- Ben Greear gree...@candelatech.com Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: Lockup in barely-patched 3.7.5, maybe wifi/ath9k or i2c related

2013-01-29 Thread Ben Greear
On 01/29/2013 06:18 PM, Ben Greear wrote: I've been seeing strange lockups since 3.7.4. Not so easily reproducible most of the time. Previous lockups looked to be rcu/rtnl based, but the one below has a bunch of i2c stuff in it. Patches applied are a few wifi patches from upstream and one

Re: [PATCH] vlan: set sysfs device_type to 'vlan'

2012-10-23 Thread Ben Greear
On 10/23/2012 03:52 PM, Ben Hutchings wrote: On Tue, 2012-10-23 at 09:14 -0700, Ben Greear wrote: On 10/22/2012 11:36 PM, David Miller wrote: From: Doug Goldstein Date: Mon, 22 Oct 2012 00:53:57 -0500 Sets the sysfs device_type to 'vlan' for udev. This makes it easier for applications

Re: [PATCH] vlan: set sysfs device_type to 'vlan'

2012-10-23 Thread Ben Greear
). And applications that care might suddenly have more features, or be more efficient when running on newer kernels.. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH] vlan: set sysfs device_type to 'vlan'

2012-10-23 Thread Ben Greear
ethtool returns, which sucks at best). And applications that care might suddenly have more features, or be more efficient when running on newer kernels.. Thanks, Ben -- Ben Greear gree...@candelatech.com Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send

Re: [PATCH] vlan: set sysfs device_type to 'vlan'

2012-10-23 Thread Ben Greear
On 10/23/2012 03:52 PM, Ben Hutchings wrote: On Tue, 2012-10-23 at 09:14 -0700, Ben Greear wrote: On 10/22/2012 11:36 PM, David Miller wrote: From: Doug Goldstein car...@cardoe.com Date: Mon, 22 Oct 2012 00:53:57 -0500 Sets the sysfs device_type to 'vlan' for udev. This makes it easier

3.5.2+ (tainted) BUG in uart_put_char

2012-08-31 Thread Ben Greear
1193static void uart_set_termios(struct tty_struct *tty, 1194struct ktermios *old_termios) 1195{ 1196struct uart_state *state = tty->driver_data; 1197unsigned long flags; 1198unsigned int cflag = tty->

3.5.2+ (tainted) BUG in uart_put_char

2012-08-31 Thread Ben Greear
tty_struct *tty, 1194struct ktermios *old_termios) 1195{ 1196struct uart_state *state = tty-driver_data; 1197unsigned long flags; 1198unsigned int cflag = tty-termios-c_cflag; 1199 (gdb) Thanks, Ben -- Ben

Re: questions on NAPI processing latency and dropped network packets

2008-01-21 Thread Ben Greear
, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.

Re: questions on NAPI processing latency and dropped network packets

2008-01-21 Thread Ben Greear
, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

BUG related to serial console in 2.6.23.14 kernel.

2008-01-15 Thread Ben Greear
3d/0x70 [] sysenter_past_esp+0x5f/0x89 === Code: 08 89 ec 5d c3 8b 40 10 81 48 10 00 00 00 02 eb db 81 49 10 00 00 00 04 eb c2 8d 74 26 0 EIP: [] uart_write_room+0xd/0x20 SS:ESP 0068:f6e79ee4 CTRL-A Z for help | 38400 8N1 | NOR | Minicom 2.1| VT102 | Of

BUG related to serial console in 2.6.23.14 kernel.

2008-01-15 Thread Ben Greear
:f6e79ee4 CTRL-A Z for help | 38400 8N1 | NOR | Minicom 2.1| VT102 | Offline -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: namespace support requires network modules to say "GPL"

2007-12-04 Thread Ben Greear
Eric W. Biederman wrote: Ben Greear <[EMAIL PROTECTED]> writes: Eric W. Biederman wrote: However there also seem to be simpler cases like Ben's bridge module, that don't appear to have any global state. Well, my module has some global state, but I don't think it needs to care

Re: namespace support requires network modules to say "GPL"

2007-12-04 Thread Ben Greear
Eric W. Biederman wrote: Ben Greear <[EMAIL PROTECTED]> writes: Regardless of infringement it is incompatible with a complete network namespace implementation. Further it sounds like the module you are describing defines a kernel ABI without being merged and hopes that ABI will

Re: namespace support requires network modules to say "GPL"

2007-12-04 Thread Ben Greear
ou have some way to register anonymous (and non GPL) subsystems. I'm guessing you do not want to support that.... Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: namespace support requires network modules to say GPL

2007-12-04 Thread Ben Greear
(and non GPL) subsystems. I'm guessing you do not want to support that Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED

Re: namespace support requires network modules to say GPL

2007-12-04 Thread Ben Greear
Eric W. Biederman wrote: Ben Greear [EMAIL PROTECTED] writes: Regardless of infringement it is incompatible with a complete network namespace implementation. Further it sounds like the module you are describing defines a kernel ABI without being merged and hopes that ABI will still

Re: namespace support requires network modules to say GPL

2007-12-04 Thread Ben Greear
Eric W. Biederman wrote: Ben Greear [EMAIL PROTECTED] writes: Eric W. Biederman wrote: However there also seem to be simpler cases like Ben's bridge module, that don't appear to have any global state. Well, my module has some global state, but I don't think it needs to care about namespaces

Re: namespace support requires network modules to say "GPL"

2007-12-03 Thread Ben Greear
Eric W. Biederman wrote: Patrick McHardy <[EMAIL PROTECTED]> writes: Ben Greear wrote: I have a binary module that uses dev_get_by_name...it's sort of a bridge-like thing and needs user-space to tell it which device to listen for packets on... This code doesn't need or care

Re: namespace support requires network modules to say GPL

2007-12-03 Thread Ben Greear
Eric W. Biederman wrote: Patrick McHardy [EMAIL PROTECTED] writes: Ben Greear wrote: I have a binary module that uses dev_get_by_name...it's sort of a bridge-like thing and needs user-space to tell it which device to listen for packets on... This code doesn't need or care about name

Re: namespace support requires network modules to say "GPL"

2007-12-02 Thread Ben Greear
from a non-gpl module, but if required, I can probably figure something out... Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: namespace support requires network modules to say GPL

2007-12-02 Thread Ben Greear
from a non-gpl module, but if required, I can probably figure something out... Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED

Re: [PATCH 0/3] cxgb - driver fixes.

2007-11-29 Thread Ben Greear
haps these patches should be considered for .23 stable as well? Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [PATCH 0/3] cxgb - driver fixes.

2007-11-29 Thread Ben Greear
these patches should be considered for .23 stable as well? Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [PATCH 1/2] NET: Re-add VLAN tag for devices incapable of keeping it

2007-11-06 Thread Ben Greear
header. If the stripped VLAN header is placed into the skb, then any code that does need to rebuild it can do so. It may be less efficient, but users can just not use that NIC hardware for high-end solutions, and at any rate, less efficient is better than broken. Ben -- Ben Greear <[EMAIL

Re: [PATCH 1/2] NET: Re-add VLAN tag for devices incapable of keeping it

2007-11-06 Thread Ben Greear
. If the stripped VLAN header is placed into the skb, then any code that does need to rebuild it can do so. It may be less efficient, but users can just not use that NIC hardware for high-end solutions, and at any rate, less efficient is better than broken. Ben -- Ben Greear [EMAIL PROTECTED

Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

2007-11-01 Thread Ben Greear
space. Ditto, the receive checksum offload should be fixed up as well. The hardware has stripped the VLAN header completely and has not provided it to us at all. Do the NICs not save the QoS bits in the VLAN header anywhere that we could use to reconstitute the header? Thanks, Ben -- Ben

Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

2007-11-01 Thread Ben Greear
. Ditto, the receive checksum offload should be fixed up as well. The hardware has stripped the VLAN header completely and has not provided it to us at all. Do the NICs not save the QoS bits in the VLAN header anywhere that we could use to reconstitute the header? Thanks, Ben -- Ben Greear

Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

2007-10-31 Thread Ben Greear
oesn't explicitly know about. I think it should pass them up the stack with VLAN tag intact, but again, perhaps there are reasons not to do that? DaveM did the HW Accel for VLANs if I remember correctly...perhaps he has some input? Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Tech

Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

2007-10-31 Thread Ben Greear
the VLAN header for hw-accel vlans? Either way, if we sniff the underlying device, we should always get the VLAN header. What about drivers and filtering VLANs? It seems there is still a difference between software vlans and hw-accel in this case. Thanks, Ben -- Ben Greear <[EMAIL PROTEC

Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

2007-10-31 Thread Ben Greear
the VLAN header for hw-accel vlans? Either way, if we sniff the underlying device, we should always get the VLAN header. What about drivers and filtering VLANs? It seems there is still a difference between software vlans and hw-accel in this case. Thanks, Ben -- Ben Greear [EMAIL PROTECTED

Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

2007-10-31 Thread Ben Greear
explicitly know about. I think it should pass them up the stack with VLAN tag intact, but again, perhaps there are reasons not to do that? DaveM did the HW Accel for VLANs if I remember correctly...perhaps he has some input? Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc

Re: [PATCH 1/4] Add ETHTOOL_[GS]FLAGS sub-ioctls

2007-08-10 Thread Ben Greear
David Miller wrote: From: Ben Greear <[EMAIL PROTECTED]> I believe LRO is going to have to be disabled for routing/bridging, so the stack will probably need to become aware of it at some point... The packet will be GSO'd on output I believe, so it won't break anything. Alternative

Re: [PATCH 1/4] Add ETHTOOL_[GS]FLAGS sub-ioctls

2007-08-10 Thread Ben Greear
ing to have to be disabled for routing/bridging, so the stack will probably need to become aware of it at some point... Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH 1/4] Add ETHTOOL_[GS]FLAGS sub-ioctls

2007-08-10 Thread Ben Greear
to have to be disabled for routing/bridging, so the stack will probably need to become aware of it at some point... Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 1/4] Add ETHTOOL_[GS]FLAGS sub-ioctls

2007-08-10 Thread Ben Greear
David Miller wrote: From: Ben Greear [EMAIL PROTECTED] I believe LRO is going to have to be disabled for routing/bridging, so the stack will probably need to become aware of it at some point... The packet will be GSO'd on output I believe, so it won't break anything. Alternatively, we

Re: Linux, tcpdump and vlan

2007-07-21 Thread Ben Greear
Krzysztof Halasa wrote: Ben Greear <[EMAIL PROTECTED]> writes: There is already a flag you can set on vlan devices (reorder-header) that strips the VLAN tag before presenting it to user-space. Sure, but isn't it only valid for VLAN device (not the main ethX)? I.e., can yo

Re: Linux, tcpdump and vlan

2007-07-21 Thread Ben Greear
Krzysztof Halasa wrote: Ben Greear [EMAIL PROTECTED] writes: There is already a flag you can set on vlan devices (reorder-header) that strips the VLAN tag before presenting it to user-space. Sure, but isn't it only valid for VLAN device (not the main ethX)? I.e., can you have the tag

Re: Linux, tcpdump and vlan

2007-07-20 Thread Ben Greear
on the correct VLAN. Seems a bit of work, I know my message is missing the patch... Unless I mis-understand, this has been working since 2.4 days :) Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send th

Re: Linux, tcpdump and vlan

2007-07-20 Thread Ben Greear
on the correct VLAN. Seems a bit of work, I know my message is missing the patch... Unless I mis-understand, this has been working since 2.4 days :) Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line

Re: Linux, tcpdump and vlan

2007-07-19 Thread Ben Greear
result is that dev_queue_xmit_nit() is called twice, once for dev=eth0.2 then for dev=eth0. Maybe binding to all isn't such a good idea then. Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: Linux, tcpdump and vlan

2007-07-19 Thread Ben Greear
it.) Any comments on what is the expected behavior of 'tcpdump -i eth0.2' vs. 'tcpdump -i eth0'? I would expect that you see tags with -i eth0, but not with -i eth0.2 That is the way it currently works with non-hw-accell VLANs (or it was the last I checked). Ben -- Ben Greear <[EMAIL PROTEC

Re: Linux, tcpdump and vlan

2007-07-19 Thread Ben Greear
it.) Any comments on what is the expected behavior of 'tcpdump -i eth0.2' vs. 'tcpdump -i eth0'? I would expect that you see tags with -i eth0, but not with -i eth0.2 That is the way it currently works with non-hw-accell VLANs (or it was the last I checked). Ben -- Ben Greear [EMAIL PROTECTED

Re: Linux, tcpdump and vlan

2007-07-19 Thread Ben Greear
() is called twice, once for dev=eth0.2 then for dev=eth0. Maybe binding to all isn't such a good idea then. Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: Linux, tcpdump and vlan

2007-07-18 Thread Ben Greear
Patrick McHardy wrote: Ben Greear wrote: Patrick McHardy wrote: Put another way, once you enable VLAN header stripping, you won't see the headers for *any* VLAN, not only for those you're actually running locally. This is also a problem for devices like macvlan, where it would

Re: Linux, tcpdump and vlan

2007-07-18 Thread Ben Greear
. Then, the packets will be received by the software stack with the vlan header intact. Something sniffing on the physical dev will automatically get the VLAN header. Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscrib

Re: Linux, tcpdump and vlan

2007-07-18 Thread Ben Greear
. Then, the packets will be received by the software stack with the vlan header intact. Something sniffing on the physical dev will automatically get the VLAN header. Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from

Re: Linux, tcpdump and vlan

2007-07-18 Thread Ben Greear
Patrick McHardy wrote: Ben Greear wrote: Patrick McHardy wrote: Put another way, once you enable VLAN header stripping, you won't see the headers for *any* VLAN, not only for those you're actually running locally. This is also a problem for devices like macvlan, where it would

Re: [BUG][debian-2.6.20-1-686] bridging + vlans + "vconfig rem" == stuck kernel

2007-05-09 Thread Ben Greear
a printk in vlan_device_event() to check which event it is hanging on, and the netdevice that is passed in. Since the vlan code holds RTNL at this point, then most other network tasks will eventually hang as well. Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc

Re: [BUG][debian-2.6.20-1-686] bridging + vlans + vconfig rem == stuck kernel

2007-05-09 Thread Ben Greear
enabled? You could also add a printk in vlan_device_event() to check which event it is hanging on, and the netdevice that is passed in. Since the vlan code holds RTNL at this point, then most other network tasks will eventually hang as well. Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela

Writing to file-system at high speeds from a kernel module.

2007-05-08 Thread Ben Greear
? [ Yes, I know this is an evil thing to attempt, and Greg did not show me how to do it! :) ] Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Writing to file-system at high speeds from a kernel module.

2007-05-08 Thread Ben Greear
? [ Yes, I know this is an evil thing to attempt, and Greg did not show me how to do it! :) ] Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

suggestion for lock debugging.

2007-02-13 Thread Ben Greear
that allows lockdep to save and print this info, but I'm not clear on exactly how to pass the fname, fline info through mutex_lock and on to lockdep's methods Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list

suggestion for lock debugging.

2007-02-13 Thread Ben Greear
that allows lockdep to save and print this info, but I'm not clear on exactly how to pass the fname, fline info through mutex_lock and on to lockdep's methods Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send

Re: ext3 file system went read-only in 2.6.18.2 (plus hacks)

2007-01-08 Thread Ben Greear
looking at the report. If we see it again or manage to find some way to reliably reproduce this on other hardware, I will of course let you know. Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send th

Re: ext3 file system went read-only in 2.6.18.2 (plus hacks)

2007-01-08 Thread Ben Greear
: * REBOOT LINUX * CT_ROOT: 38495/253184 files (3.5% non-contiguous), 227976/253015 blocks (Repair filesystem) 3 # reboot -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe l

ext3 file system went read-only in 2.6.18.2 (plus hacks)

2007-01-08 Thread Ben Greear
: pktgen_mark_device marking eth0#0 for removal . After restarting and a manual fsck, the system appears to be back to normal. Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe l

ext3 file system went read-only in 2.6.18.2 (plus hacks)

2007-01-08 Thread Ben Greear
: pktgen_mark_device marking eth0#0 for removal . After restarting and a manual fsck, the system appears to be back to normal. Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: ext3 file system went read-only in 2.6.18.2 (plus hacks)

2007-01-08 Thread Ben Greear
CT_ROOT: * FILE SYSTEM WAS MODIFIED * CT_ROOT: * REBOOT LINUX * CT_ROOT: 38495/253184 files (3.5% non-contiguous), 227976/253015 blocks (Repair filesystem) 3 # reboot -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from

Re: ext3 file system went read-only in 2.6.18.2 (plus hacks)

2007-01-08 Thread Ben Greear
looking at the report. If we see it again or manage to find some way to reliably reproduce this on other hardware, I will of course let you know. Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line

FWA7304 VIA C3 system work-around for power-off bug.

2007-01-02 Thread Ben Greear
if you enable ACPI, but at least it seems fixed if you disable ACPI. Hope this helps someone! Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

FWA7304 VIA C3 system work-around for power-off bug.

2007-01-02 Thread Ben Greear
if you enable ACPI, but at least it seems fixed if you disable ACPI. Hope this helps someone! Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: Physical device to Kernel-netlink mapper

2005-09-09 Thread Ben Greear
n more detail. Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.o

Re: Physical device to Kernel-netlink mapper

2005-09-09 Thread Ben Greear
detail. Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: 2.6.12 Performance problems

2005-08-26 Thread Ben Greear
problems is as useful as finding problems in this sort of thing. Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED

Re: 2.6.12 Performance problems

2005-08-26 Thread Ben Greear
problems is as useful as finding problems in this sort of thing. Thanks, Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: 2.6.12 Performance problems

2005-08-25 Thread Ben Greear
with decent built-in NICs. The built-ins on this board are tg3 and they must be on a slow bus, because they cannot go faster than about 700Mbps (using big pkts). I'll benchmark things again when 2.6.13 comes out and try to get some more detailed numbers... Thanks, Ben -- Ben Greear <[EM

Re: 2.6.12 Performance problems

2005-08-25 Thread Ben Greear
Danial Thom wrote: --- Ben Greear <[EMAIL PROTECTED]> wrote: Danial Thom wrote: I think the concensus is that 2.6 has made trade offs that lower raw throughput, which is what a networking device needs. So as a router or network appliance, 2.6 seems less suitable. A

Re: 2.6.12 Performance problems

2005-08-25 Thread Ben Greear
Danial Thom wrote: --- Ben Greear <[EMAIL PROTECTED]> wrote: Danial Thom wrote: I think the concensus is that 2.6 has made trade offs that lower raw throughput, which is what a networking device needs. So as a router or network appliance, 2.6 seems less suitable. A

Re: 2.6.12 Performance problems

2005-08-25 Thread Ben Greear
Danial Thom wrote: --- Ben Greear [EMAIL PROTECTED] wrote: Danial Thom wrote: I think the concensus is that 2.6 has made trade offs that lower raw throughput, which is what a networking device needs. So as a router or network appliance, 2.6 seems less suitable. A raw bridging

Re: 2.6.12 Performance problems

2005-08-25 Thread Ben Greear
Danial Thom wrote: --- Ben Greear [EMAIL PROTECTED] wrote: Danial Thom wrote: I think the concensus is that 2.6 has made trade offs that lower raw throughput, which is what a networking device needs. So as a router or network appliance, 2.6 seems less suitable. A raw bridging

Re: 2.6.12 Performance problems

2005-08-25 Thread Ben Greear
with decent built-in NICs. The built-ins on this board are tg3 and they must be on a slow bus, because they cannot go faster than about 700Mbps (using big pkts). I'll benchmark things again when 2.6.13 comes out and try to get some more detailed numbers... Thanks, Ben -- Ben Greear [EMAIL

Re: 2.6.12 Performance problems

2005-08-24 Thread Ben Greear
dropped. Interestingly, the system is about 60% idle according to top, and still dropping pkts, so it would seem that the system could be better utilized! Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send th

Re: 2.6.12 Performance problems

2005-08-24 Thread Ben Greear
dropped. Interestingly, the system is about 60% idle according to top, and still dropping pkts, so it would seem that the system could be better utilized! Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line unsubscribe

Re: 2.6.12 Performance problems

2005-08-23 Thread Ben Greear
-priority level like -18 or so. You can also reserve more memory for the networking stack and increase the size of the permitted buffers. I am also interested to hear how your system responds to compiling w/out PREEMPT. Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc

Re: 2.6.12 Performance problems

2005-08-23 Thread Ben Greear
-priority level like -18 or so. You can also reserve more memory for the networking stack and increase the size of the permitted buffers. I am also interested to hear how your system responds to compiling w/out PREEMPT. Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc http

Re: hard lockup on nx5000 laptop with 2.6.11+hack and FC2's 2.6.10-1.770_FC2

2005-04-14 Thread Ben Greear
I'll try the latest -mm and report back. Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordo

Re: PCI interrupt problem: e1000 & Super-Micro X6DVA motherboard

2005-04-14 Thread Ben Greear
-Micro eventually reproduced the problem, and told me the fix was to send the MB back to them so they could solder another part onto it I haven't received the MB back yet so I don't know if they really have a fix for it or not... Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologi

Re: PCI interrupt problem: e1000 Super-Micro X6DVA motherboard

2005-04-14 Thread Ben Greear
-Micro eventually reproduced the problem, and told me the fix was to send the MB back to them so they could solder another part onto it I haven't received the MB back yet so I don't know if they really have a fix for it or not... Ben -- Ben Greear [EMAIL PROTECTED] Candela Technologies Inc

<    1   2   3   4   5   >