Skip to contentSkip to conversation

New: linux-2.6.23-git11 kernel panic

Bugme-new Applied Andrew Morton 3 participants 4 messages Oct 17, 2007 – Oct 18, 2007 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw
Quoted 17 lines · On Wed, 17 Oct 2007 07:36:16 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=9174

           Summary: linux-2.6.23-git11 kernel panic
           Product: Other
           Version: 2.5
     KernelVersion: 2.6.23-git11
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: blocking
          Priority: P1
         Component: Other
        AssignedTo: [email protected]
        ReportedBy: [email protected]
Quoted 10 lines

Most recent kernel where this bug did not occur: 2.6.23 Distribution:Slackware 12
Hardware Environment: AMD Duron 900, 512 MB RAM, 3x Realtek 8139 based NICs Software Environment:
Problem Description:
Machine booted OK, I logged in, started "mc", and got the kernel panic;
As you can see from the kernel panic, the process where it happened is FahCore_81.exe, which is the linux client of the Folding @ HOME project; other programs started before I logged in the machine, too.

It's better to report recently-occurring bugs via email, please - bugzilla is more for long-term things. But still - thanks for reporting the bug!

Let's keep this to email so please follow up via emailed reply-to-all.

Quoted 16 lines

EIP is at packet_rcv_0x1a2/0x360
eax: 00000000 ebx: c2fd1190 ecx: c2fd11a4 edx: c2fd11a4
esi: c26ee800 edi: c2c90200 ebp: c343f434 esp: c2dd5ed4
ds: 007b es: 007b fs: 0000 gs: 0000 ss: 0068
Process FahCore_81.exe (pid: 1290, ti=c2dd4000 task=c2dd0530 task.ti=c2dd4000)

Stack: 000000c0 00000020 0008ab40 c05604c0 00000068 00000068 c2fd11a0 c2fd11a4
	   00000068 c2fd1180 c0563500 c2fd10c0 0000dd86 c056b6e8 c03477d4 c26ee800
	   00000040 c1a9a370 dd86a000 c2c90358 c26ee800 c26ee800 00000000 c05edd3c
Call Trace:
 [<c03477d4>] netif_recieve_skb+0x174/0x370
 [<c0349e1c>] process_backlog+0x5c/oxb0
 [<c0349ab3>] net_rx_action+0x43/0xf0
 [<c011ef92>] __do_softirq+0x42/0x90
 [<c011f007>] do_softirq_0x27/0x30
 [<c011f2da>] irq_exit+0x5a/0x60
 [<c0104eba>] do_IRQ+0x4a/0x80
Quoted 9 lines
 [<c0456b18>] schedule+0x148/0x270
 [<c010321f>] common_interrupt+0x23/0x28
 =======================
Code: 02 0f b6 43 65 83 e0 07 88 42 0a f6 87 78 01 00 00 04 0f 85 84 01 00 00 8b
 46 44 8b 4c 24 1c 89 41 04 8b 43 14 8b 80 b8 00 00 00 <8b> 48 04 31 c0 85 c9 74
 0b 8b 54 24 1c 89 d8 83 c2 0c ff d1 8b
EIP: [<c0422782>] packet_rcv+0x1a2/0x360 SS:ESP 0068:c2dd5ed4
Kernel panic - not syncing: Fatal exception in interrupt

config is in the bugzilla report. Seems that 8139too is the NIC.

#2 lore raw
Quoted 9 lines · Andrew Morton
Quoted 6 lines · On Wed, 17 Oct 2007 07:36:16 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=9174

           Summary: linux-2.6.23-git11 kernel panic

EIP is at packet_rcv_0x1a2/0x360

Please find out on which device the packet socket is opened by looking at /proc/net/packet and comparing the Iface shown there to the ifindexes listed in "ip link list".

#3 lore raw
Quoted 9 lines · Patrick McHardy
Quoted 7 lines · Andrew Morton
Quoted 4 lines · On Wed, 17 Oct 2007 07:36:16 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=9174

           Summary: linux-2.6.23-git11 kernel panic
Quoted 6 lines
Quoted 1 line
Quoted 1 line

EIP is at packet_rcv_0x1a2/0x360

Please find out on which device the packet socket is opened by looking at /proc/net/packet and comparing the Iface shown there to the ifindexes listed in "ip link list".

Well, he replied in private mail, the device in question is an IPv6-over-IPv4 tunnel, which doesn't have any header_ops, so the crash happens in dev_parse_header when dereferencing them.

include/linux/netdevice.h +1 -1
index 39dd83b..452c88d 100644
@@ -827,7 +827,7 @@ static inline int dev_parse_header(const struct sk_buff *skb,
 {
 	const struct net_device *dev = skb->dev;
 
-	if (!dev->header_ops->parse)
+	if (!dev->header_ops || !dev->header_ops->parse)
 		return 0;
 	return dev->header_ops->parse(skb, haddr);
 }
maintainer Applied
#4 lore raw

From: Patrick McHardy <[email protected]>
Date: Thu, 18 Oct 2007 12:58:42 +0200

Quoted 18 lines
Quoted 9 lines · Patrick McHardy
Quoted 7 lines · Andrew Morton
Quoted 4 lines · On Wed, 17 Oct 2007 07:36:16 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=9174

           Summary: linux-2.6.23-git11 kernel panic
Quoted 6 lines
Quoted 1 line
Quoted 1 line

EIP is at packet_rcv_0x1a2/0x360

Please find out on which device the packet socket is opened by looking at /proc/net/packet and comparing the Iface shown there to the ifindexes listed in "ip link list".

Quoted 6 lines

Well, he replied in private mail, the device in question is an IPv6-over-IPv4 tunnel, which doesn't have any header_ops, so the crash happens in dev_parse_header when dereferencing them.

Applied, thanks Patrick!