2003-05-01 20:21:19

by Michael D. Harnois

[permalink] [raw]
Subject: kernel BUG at net/socket.c:147

This is with 2.5.68-bk11 but happened also with bk10.

May 1 15:30:20 mharnois kernel: ------------[ cut here ]------------
May 1 15:30:20 mharnois kernel: kernel BUG at net/socket.c:147!
May 1 15:30:20 mharnois kernel: invalid operand: 0000 [#1]
May 1 15:30:20 mharnois kernel: CPU: 0
May 1 15:30:20 mharnois kernel: EIP:
0060:[net_family_get+110/128] Tainted: PF
May 1 15:30:20 mharnois kernel: EFLAGS: 00010282
May 1 15:30:20 mharnois kernel: eax: 00000021 ebx: 00000001 ecx:
00000002 edx: 00000001
May 1 15:30:20 mharnois kernel: esi: 00000000 edi: 00000001 ebp:
00000000 esp: d3965e9c
May 1 15:30:20 mharnois kernel: ds: 007b es: 007b ss: 0068
May 1 15:30:20 mharnois kernel: Process vmnet-bridge (pid: 9886,
threadinfo=d3964000 task=d8173380)
May 1 15:30:20 mharnois kernel: Stack: c0300360 00000000 00000000
c0261489 00000000 c038c8b1 effb6084 c011c648
May 1 15:30:20 mharnois kernel: 0000000a ec0d9c00 cf000400
d3964000 eb79ea00 00000000 d3965f5c f8e23594
May 1 15:30:20 mharnois kernel: 00000000 00000020 00000001
00000000 fffffff4 eb79ea00 eb79eb58 f8e22e88
May 1 15:30:20 mharnois kernel: Call Trace: [sk_alloc+41/208]
[printk+280/384] [__crc_pm_idle+5322517/8946372]
[__crc_pm_idle+5320713/8946372] [do_page_fault+572/1118]
[__crc_pm_idle+5310266/8946372] [dentry_open+511/560]
[filp_open+104/112] [sys_ioctl+256/656] [do_page_fault+0/1118]
[syscall_call+7/11]
May 1 15:30:20 mharnois kernel: Code: 0f 0b 93 00 8d 4c 30 c0 eb d1 90
8d b4 26 00 00 00 00 83 ec
May 1 15:30:20 mharnois kernel: <6>note: vmnet-bridge[9886] exited
with preempt_count 2




2003-05-01 20:33:38

by Arjan van de Ven

[permalink] [raw]
Subject: Re: kernel BUG at net/socket.c:147

On Thu, 2003-05-01 at 22:33, Michael D. Harnois wrote:
> This is with 2.5.68-bk11 but happened also with bk10.
>
> May 1 15:30:20 mharnois kernel: ------------[ cut here ]------------
> May 1 15:30:20 mharnois kernel: kernel BUG at net/socket.c:147!
> May 1 15:30:20 mharnois kernel: invalid operand: 0000 [#1]
> May 1 15:30:20 mharnois kernel: CPU: 0
> May 1 15:30:20 mharnois kernel: EIP:
> 0060:[net_family_get+110/128] Tainted: PF

May 1 15:30:20 mharnois kernel: <6>note: vmnet-bridge[9886] exited
with preempt_count 2


does it happen without vmware too ?


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2003-05-01 20:49:57

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: kernel BUG at net/socket.c:147

Em Thu, May 01, 2003 at 01:56:07PM -0700, David S. Miller escreveu:
> On Thu, 2003-05-01 at 13:33, Michael D. Harnois wrote:
> > May 1 15:30:20 mharnois kernel: Process vmnet-bridge (pid: 9886,
>
> VMWARE is buggy in it's socket/protocol handling.
>
> Arnaldo, it triggered the net_family_bug() :-)

Oh well, we have to have more checks like that to catch buggy code. :-)

- Arnaldo

2003-05-01 20:52:23

by hv-it

[permalink] [raw]
Subject: Re: kernel BUG at net/socket.c:147

This is happened with 2.5.68-bkx(x>=5),I think it's a protocol's bug with net_family_get and net_family_put in bkx's patch.
I use 2.5.68-bk11 which I have deleted net_family-get and net_family_put.All is fine to me.
My vmware's version is 4.

On 01 May 2003 22:45:53 +0200
Arjan van de Ven <[email protected]> wrote:

> On Thu, 2003-05-01 at 22:33, Michael D. Harnois wrote:
> > This is with 2.5.68-bk11 but happened also with bk10.
> >
> > May 1 15:30:20 mharnois kernel: ------------[ cut here ]------------
> > May 1 15:30:20 mharnois kernel: kernel BUG at net/socket.c:147!
> > May 1 15:30:20 mharnois kernel: invalid operand: 0000 [#1]
> > May 1 15:30:20 mharnois kernel: CPU: 0
> > May 1 15:30:20 mharnois kernel: EIP:
> > 0060:[net_family_get+110/128] Tainted: PF
>
> May 1 15:30:20 mharnois kernel: <6>note: vmnet-bridge[9886] exited
> with preempt_count 2
>
>
> does it happen without vmware too ?
>

2003-05-01 23:45:51

by David Miller

[permalink] [raw]
Subject: Re: kernel BUG at net/socket.c:147

On Thu, 2003-05-01 at 13:33, Michael D. Harnois wrote:
> May 1 15:30:20 mharnois kernel: Process vmnet-bridge (pid: 9886,

VMWARE is buggy in it's socket/protocol handling.

Arnaldo, it triggered the net_family_bug() :-)

--
David S. Miller <[email protected]>

2003-05-02 01:44:03

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: kernel BUG at net/socket.c:147

Em Fri, May 02, 2003 at 05:04:51AM +0800, hv-it escreveu:
> This is happened with 2.5.68-bkx(x>=5),I think it's a protocol's bug with net_family_get and net_family_put in bkx's patch.

Yes, it is a bug, but in _vmware_ :-) You can leave the patch, just delete the
net_family_bug call in net_family_get

> I use 2.5.68-bk11 which I have deleted net_family-get and net_family_put.All is fine to me.
> My vmware's version is 4.

Interesting thing is that I tested this with... vmware 4, but not in bridged
mode.

- Arnaldo