From: Andrew Morton <akpm@osdl.org>
To: Andrew James Wade <andrew.j.wade@gmail.com>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>
Subject: Re: 2.6.13-rc3-mm2
Date: Wed, 27 Jul 2005 14:11:51 -0700 [thread overview]
Message-ID: <20050727141151.4a97843f.akpm@osdl.org> (raw)
In-Reply-To: <200507271648.52745.ajwade@cpe00095b3131a0-cm0011ae8cd564.cpe.net.cable.rogers.com>
Andrew James Wade <andrew.j.wade@gmail.com> wrote:
>
> Hello, my kernel crashes on boot with the following BUG():
Indeed it will.
> ENABLING IO-APIC IRQs
> ..TIMER: vector=0x31 pin1=2 pin2=-1
> softlockup thread 0 started up.
> NET: Registered protocol family 16
> ------------[ cut here ]------------
> kernel BUG at kernel/sched.c:2888!
> invalid operand: 0000 [#1]
> PREEMPT
> last sysfs file:
> CPU: 0
> EIP: 0060:[<c0116745>] Not tainted VLI
> EFLAGS: 00010202 (2.6.13-rc3-mm2)
> EIP is at sub_preempt_count+0x35/0x40
> eax: dff80000 ebx: 00000000 ecx: 00000001 edx: 00000001
> esi: dffc3d18 edi: 00000000 ebp: dff81f50 esp: dff81f50
> ds: 007b es: 007b ss: 0068
> Process swapper (pid: 1, threadinfo=dff80000 task=c14d9a10)
> Stack: 00000000 c038a5fe 00000000 00000000 00000003 c048f5e0 c048f780 c048f780
> 00000000 dff8d544 c038bcaa 00000000 00000000 c0386d30 dffc3d18 0000000f
> 0000000f dff8d544 00000000 c04f2bf3 00000021 00000021 c04f2e8d 00000000
> Call Trace:
> [<c038a5fe>] netlink_create+0x5e/0x120
> [<c038bcaa>] netlink_kernel_create+0x13a/0x240
> [<c0386d30>] rtnetlink_rcv+0x0/0x390
> [<c04f2bf3>] rtnetlink_init+0x53/0xa0
> [<c04f2e8d>] netlink_proto_init+0x18d/0x200
> [<c04d87db>] do_initcalls+0x2b/0xc0
> [<c015aee5>] kern_mount+0x15/0x19
> [<c01002b0>] init+0x0/0x110
> [<c01002df>] init+0x2f/0x110
> [<c0100f28>] kernel_thread_helper+0x0/0x18
> [<c0100f2d>] kernel_thread_helper+0x5/0x18
> Code: 89 e5 3b 50 14 7f 24 81 fa fe 00 00 00 76 0c b8 00 e0 ff ff 21 e0 29 50 14 c9 c3 80 78 14 00 75 ee 0f 0b 4c 0b 66 50 41 c0 eb e4
> <0f> 0b 48 0b 66 50 41 c0 eb d2 90 55 8b 40 04 89 e5 c9 e9 54 f5
> <0>Kernel panic - not syncing: Attempted to kill init!
>
Unbalanced netlink_table_ungrab() in the netlink stuff in git-net.patch.
--- devel/net/netlink/af_netlink.c~netlink-locking-fix 2005-07-27 14:10:07.000000000 -0700
+++ devel-akpm/net/netlink/af_netlink.c 2005-07-27 14:10:16.000000000 -0700
@@ -349,12 +349,12 @@ static int netlink_create(struct socket
netlink_table_grab();
if (!nl_table[protocol].hash.entries) {
- netlink_table_ungrab();
#ifdef CONFIG_KMOD
/* We do 'best effort'. If we find a matching module,
* it is loaded. If not, we don't return an error to
* allow pure userspace<->userspace communication. -HW
*/
+ netlink_table_ungrab();
request_module("net-pf-%d-proto-%d", PF_NETLINK, protocol);
netlink_table_grab();
#endif
_
next parent reply other threads:[~2005-07-27 21:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050727024330.78ee32c2.akpm@osdl.org>
[not found] ` <200507271648.52745.ajwade@cpe00095b3131a0-cm0011ae8cd564.cpe.net.cable.rogers.com>
2005-07-27 21:11 ` Andrew Morton [this message]
2005-07-27 21:27 ` 2.6.13-rc3-mm2 David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050727141151.4a97843f.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=andrew.j.wade@gmail.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox