* [Bridge] help needed regarding crash while adding interface to a bridge using brctl utility
@ 2010-08-30 10:59 debasis das
2010-08-30 16:20 ` Stephen Hemminger
0 siblings, 1 reply; 3+ messages in thread
From: debasis das @ 2010-08-30 10:59 UTC (permalink / raw)
To: bridge
[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]
Hi,
I am getting a crash while adding an interface to a bridge using the
"brctl" utility.
The crash dump is as below:
#vconfig add eth0 5
#brctl addbr br0
#brctl addif br0 eth0.5
Oops: sig: 11 [#1]
a00: 908240ed d47c9bd0 ffffffa1 d47c9bf0 000000c0 d4a5db40 00000003 0000000c
a08: 00000000 d47c9db0 d4b36000 000089a2 3fff0d58 d47c9e40 0000000e 3fff0f64
pc: d082d300, ps: 00060f10, depc: 00000018, excvaddr: 00000000
lbeg: d082fc4c, lend: d082fc57 lcount: 00000000, sar: 00000014
Stack: 00060600 03938702 d063c73c d0638c78 90824a19 d47c9c40 fffffff4
d4649000
00000001 00000000 00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000000 00000000 d078a510 00000000 fffffffe 00060d00
d4a5da80
Call Trace:
[<d082460e>] br_add_if+0xfa/0x23c
[<d0824a19>] add_del_if+0x31/0x5c
[<d0824f52>] br_dev_ioctl+0x50e/0x514
[<d0780eac>] dev_ifsioc+0x31c/0x330
[<d0781902>] dev_ioctl+0x616/0x6b4
[<d0774676>] sock_ioctl+0x1b6/0x1c0
[<d065aa64>] vfs_ioctl+0x14/0x3c
[<d065b284>] do_vfs_ioctl+0x4a4/0x4c4
[<d065b2c4>] sys_ioctl+0x20/0x34
[<d0612470>] system_call+0x40/0x50
[<d0611b65>] _user_exception+0x10f/0x130
Please do let me know whether this is a known issue and whether there is any
official patch available for the same.
Thanking in advance.
Regards.
Debasis
[-- Attachment #2: Type: text/html, Size: 1498 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Bridge] help needed regarding crash while adding interface to a bridge using brctl utility
2010-08-30 10:59 [Bridge] help needed regarding crash while adding interface to a bridge using brctl utility debasis das
@ 2010-08-30 16:20 ` Stephen Hemminger
2010-08-31 5:54 ` debasis das
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2010-08-30 16:20 UTC (permalink / raw)
To: debasis das; +Cc: bridge
On Mon, 30 Aug 2010 16:29:43 +0530
debasis das <fordebasis@gmail.com> wrote:
> Hi,
> I am getting a crash while adding an interface to a bridge using the
> "brctl" utility.
> The crash dump is as below:
>
> #vconfig add eth0 5
> #brctl addbr br0
> #brctl addif br0 eth0.5
> Oops: sig: 11 [#1]
>
> a00: 908240ed d47c9bd0 ffffffa1 d47c9bf0 000000c0 d4a5db40 00000003 0000000c
> a08: 00000000 d47c9db0 d4b36000 000089a2 3fff0d58 d47c9e40 0000000e 3fff0f64
> pc: d082d300, ps: 00060f10, depc: 00000018, excvaddr: 00000000
> lbeg: d082fc4c, lend: d082fc57 lcount: 00000000, sar: 00000014
>
> Stack: 00060600 03938702 d063c73c d0638c78 90824a19 d47c9c40 fffffff4
> d4649000
> 00000001 00000000 00000000 00000000 00000000 00000000 00000000
> 00000000
> 00000000 00000000 00000000 d078a510 00000000 fffffffe 00060d00
> d4a5da80
> Call Trace:
> [<d082460e>] br_add_if+0xfa/0x23c
> [<d0824a19>] add_del_if+0x31/0x5c
> [<d0824f52>] br_dev_ioctl+0x50e/0x514
> [<d0780eac>] dev_ifsioc+0x31c/0x330
> [<d0781902>] dev_ioctl+0x616/0x6b4
> [<d0774676>] sock_ioctl+0x1b6/0x1c0
> [<d065aa64>] vfs_ioctl+0x14/0x3c
> [<d065b284>] do_vfs_ioctl+0x4a4/0x4c4
> [<d065b2c4>] sys_ioctl+0x20/0x34
> [<d0612470>] system_call+0x40/0x50
> [<d0611b65>] _user_exception+0x10f/0x130
>
> Please do let me know whether this is a known issue and whether there is any
> official patch available for the same.
> Thanking in advance.
I do not see this on x86 with current kernel. It might depend on the device
used for eth0. When interface is added to bridge, the bridge code queries
the device (via ethtool) to get the speed. It could be a bug in either
the vlan device driver or the underlying driver that is causing the
problem.
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bridge] help needed regarding crash while adding interface to a bridge using brctl utility
2010-08-30 16:20 ` Stephen Hemminger
@ 2010-08-31 5:54 ` debasis das
0 siblings, 0 replies; 3+ messages in thread
From: debasis das @ 2010-08-31 5:54 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: bridge
[-- Attachment #1: Type: text/plain, Size: 2400 bytes --]
Hi Stephen,
Thanks a lot for your response.
Lennert Buytenhek helped me to finding the official patch
for this issue.
I have patched the diff available at:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7816a0a862d851d0b05710e7d94bfe390f3180e2;hp=75a241f959a65ec9bde237d1af1a34ef794f0c9c
It is working fine.
Thanking you again.
Best regards.
Debasis
On Mon, Aug 30, 2010 at 9:50 PM, Stephen Hemminger <
shemminger@linux-foundation.org> wrote:
> On Mon, 30 Aug 2010 16:29:43 +0530
> debasis das <fordebasis@gmail.com> wrote:
>
> > Hi,
> > I am getting a crash while adding an interface to a bridge using the
> > "brctl" utility.
> > The crash dump is as below:
> >
> > #vconfig add eth0 5
> > #brctl addbr br0
> > #brctl addif br0 eth0.5
> > Oops: sig: 11 [#1]
> >
> > a00: 908240ed d47c9bd0 ffffffa1 d47c9bf0 000000c0 d4a5db40 00000003
> 0000000c
> > a08: 00000000 d47c9db0 d4b36000 000089a2 3fff0d58 d47c9e40 0000000e
> 3fff0f64
> > pc: d082d300, ps: 00060f10, depc: 00000018, excvaddr: 00000000
> > lbeg: d082fc4c, lend: d082fc57 lcount: 00000000, sar: 00000014
> >
> > Stack: 00060600 03938702 d063c73c d0638c78 90824a19 d47c9c40 fffffff4
> > d4649000
> > 00000001 00000000 00000000 00000000 00000000 00000000 00000000
> > 00000000
> > 00000000 00000000 00000000 d078a510 00000000 fffffffe 00060d00
> > d4a5da80
> > Call Trace:
> > [<d082460e>] br_add_if+0xfa/0x23c
> > [<d0824a19>] add_del_if+0x31/0x5c
> > [<d0824f52>] br_dev_ioctl+0x50e/0x514
> > [<d0780eac>] dev_ifsioc+0x31c/0x330
> > [<d0781902>] dev_ioctl+0x616/0x6b4
> > [<d0774676>] sock_ioctl+0x1b6/0x1c0
> > [<d065aa64>] vfs_ioctl+0x14/0x3c
> > [<d065b284>] do_vfs_ioctl+0x4a4/0x4c4
> > [<d065b2c4>] sys_ioctl+0x20/0x34
> > [<d0612470>] system_call+0x40/0x50
> > [<d0611b65>] _user_exception+0x10f/0x130
> >
> > Please do let me know whether this is a known issue and whether there is
> any
> > official patch available for the same.
> > Thanking in advance.
>
> I do not see this on x86 with current kernel. It might depend on the device
> used for eth0. When interface is added to bridge, the bridge code queries
> the device (via ethtool) to get the speed. It could be a bug in either
> the vlan device driver or the underlying driver that is causing the
> problem.
> --
>
[-- Attachment #2: Type: text/html, Size: 3321 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-31 5:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-30 10:59 [Bridge] help needed regarding crash while adding interface to a bridge using brctl utility debasis das
2010-08-30 16:20 ` Stephen Hemminger
2010-08-31 5:54 ` debasis das
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.