Kernel oops

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/linux-dect@lists.osmocom.org/.

Barry Myles smyles at smyles.plus.com
Sun Jan 9 22:15:05 UTC 2011


I'm using the linux-dect code and experimenting with dectmon and the libdect 
examples. Mostly, I think they are working well. I have a com-on-air type II 
card and it's in an aging P4 laptop. However, I'm having some kernel stability 
problems. The machine runs stabily forever before the card is configured with 
the netlink utilities. However, once the card is configured then a few minutes 
later the kernel will oops.

I'm configuring the card something like:
dect-cluster-add --name cluster0 --emc 0xABCD --fpn 0x12345 --mode PP
dect-cell-add --name cell0 --cluster cluster0 --flags monitor
dect-transceiver-bind --transceiver trx0 --cell cell0

Until the kernel oops then everything seems to work fine and dectmon, for 
example will happily log what it sees.

I've attached two kernel logs which seem fairly typical of what is happening.

Can anyone help?

-- 
Barry Myles
-------------- next part --------------
[  597.698727] BUG: unable to handle kernel NULL pointer dereference at 000003d0
[  597.699685] IP: [<c148faea>] _raw_spin_lock+0x15/0x27
[  597.699685] *pde = 00000000 
[  597.699685] Oops: 0002 [#1] PREEMPT SMP 
[  597.699685] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0/block/sda/uevent
[  597.699685] Modules linked in:
[  597.699685] 
[  597.699685] Pid: 0, comm: swapper Not tainted 2.6.36-rc6+ #7 Latitude C640            /Latitude C640                   
[  597.699685] EIP: 0060:[<c148faea>] EFLAGS: 00010002 CPU: 0
[  597.699685] EIP is at _raw_spin_lock+0x15/0x27
[  597.699685] EAX: 00000100 EBX: 000003d0 ECX: 00000012 EDX: dfb5058c
[  597.699685] ESI: 000003d0 EDI: 00000000 EBP: c1681e58 ESP: c1681e54
[  597.699685]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[  597.699685] Process swapper (pid: 0, ti=c1680000 task=c1696e60 task.ti=c1680000)
[  597.699685] Stack:
[  597.699685]  dfb5058c c1681e6c c141e1ed dfb5059c dfb505dc dfb5058c c1681ee4 c1304b4b
[  597.699685] <0> 00000000 dfb50590 df94f800 00000001 e07e6c00 00000000 0000001f 0000003c
[  597.699685] <0> 00000004 00000012 dfb50000 dfb5058c 12681eac dfb50710 dfb5059c c129dcb1
[  597.699685] Call Trace:
[  597.699685]  [<c141e1ed>] ? dect_transceiver_queue_event+0x1b/0x60
[  597.699685]  [<c1304b4b>] ? sc1442x_interrupt+0x590/0x5e1
[  597.699685]  [<c129dcb1>] ? boomerang_interrupt+0x260/0x26d
[  597.699685]  [<c106e99f>] ? handle_IRQ_event+0x69/0x13a
[  597.699685]  [<c10701a9>] ? handle_level_irq+0x60/0xb2
[  597.699685]  [<c1003f96>] ? handle_irq+0x1a/0x20
[  597.699685]  [<c1003976>] ? do_IRQ+0x45/0x9f
[  597.699685]  [<c1002ee9>] ? common_interrupt+0x29/0x30
[  597.699685]  [<c104007b>] ? freeze_workqueues_begin+0x2a/0xef
[  597.699685]  [<c11f8217>] ? acpi_idle_enter_simple+0xf7/0x123
[  597.699685]  [<c13089df>] ? cpuidle_idle_call+0x80/0x101
[  597.699685]  [<c1001c95>] ? cpu_idle+0x45/0xc0
[  597.699685]  [<c147a938>] ? rest_init+0x98/0x9b
[  597.699685]  [<c170988c>] ? start_kernel+0x2c6/0x2cb
[  597.699685]  [<c17090b7>] ? i386_start_kernel+0xb7/0xbf
[  597.699685] Code: 00 3e 66 0f c1 03 38 e0 74 06 f3 90 8a 03 eb f6 89 f0 5b 5e 5d c3 55 89 e5 53 89 c3 b8 01 00 00 00 e8 61 2a 00 00 b8 00 01 00 00 <3e> 66 0f c1 03 38 e0 74 06 f3 90 8a 03 eb f6 5b 5d c3 55 89 e5 
[  597.699685] EIP: [<c148faea>] _raw_spin_lock+0x15/0x27 SS:ESP 0068:c1681e54
[  597.699685] CR2: 00000000000003d0
[  597.699685] ---[ end trace dd1f6628ec32d12d ]---
[  597.699685] Kernel panic - not syncing: Fatal exception in interrupt
[  597.699685] Pid: 0, comm: swapper Tainted: G      D     2.6.36-rc6+ #7
[  597.699685] Call Trace:
[  597.699685]  [<c148dd02>] ? printk+0xf/0x11
[  597.699685]  [<c148dbf9>] panic+0x5a/0x154
[  597.699685]  [<c1490d70>] oops_end+0x8b/0x9a
[  597.699685]  [<c101ab98>] no_context+0x114/0x11e
[  597.699685]  [<c101acd2>] __bad_area_nosemaphore+0x130/0x138
[  597.699685]  [<c1022c05>] ? check_preempt_curr_idle+0xe/0x10
[  597.699685]  [<c1022ac0>] ? check_preempt_curr+0x25/0x35
[  597.699685]  [<c1026d60>] ? ttwu_post_activation+0x5b/0x11f
[  597.699685]  [<c1006d68>] ? native_sched_clock+0x42/0x7d
[  597.699685]  [<c10483c9>] ? sched_clock_local+0x17/0x123
[  597.699685]  [<c101ace7>] bad_area_nosemaphore+0xd/0x10
[  597.699685]  [<c149236d>] do_page_fault+0x13e/0x287
[  597.699685]  [<c149222f>] ? do_page_fault+0x0/0x287
[  597.699685]  [<c1490452>] error_code+0x5a/0x60
[  597.699685]  [<c149222f>] ? do_page_fault+0x0/0x287
[  597.699685]  [<c148faea>] ? _raw_spin_lock+0x15/0x27
[  597.699685]  [<c141e1ed>] dect_transceiver_queue_event+0x1b/0x60
[  597.699685]  [<c1304b4b>] sc1442x_interrupt+0x590/0x5e1
[  597.699685]  [<c129dcb1>] ? boomerang_interrupt+0x260/0x26d
[  597.699685]  [<c106e99f>] handle_IRQ_event+0x69/0x13a
[  597.699685]  [<c10701a9>] handle_level_irq+0x60/0xb2
[  597.699685]  [<c1003f96>] handle_irq+0x1a/0x20
[  597.699685]  [<c1003976>] do_IRQ+0x45/0x9f
[  597.699685]  [<c1002ee9>] common_interrupt+0x29/0x30
[  597.699685]  [<c104007b>] ? freeze_workqueues_begin+0x2a/0xef
[  597.699685]  [<c11f8217>] ? acpi_idle_enter_simple+0xf7/0x123
[  597.699685]  [<c13089df>] cpuidle_idle_call+0x80/0x101
[  597.699685]  [<c1001c95>] cpu_idle+0x45/0xc0
[  597.699685]  [<c147a938>] rest_init+0x98/0x9b
[  597.699685]  [<c170988c>] start_kernel+0x2c6/0x2cb
[  597.699685]  [<c17090b7>] i386_start_kernel+0xb7/0xbf
-------------- next part --------------
[  120.118216] BUG: unable to handle kernel NULL pointer dereference at 000003d0
[  120.119021] IP: [<c148faea>] _raw_spin_lock+0x15/0x27
[  120.119021] *pde = 00000000 
[  120.119021] Oops: 0002 [#1] PREEMPT SMP 
[  120.119021] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0/block/sda/uevent
[  120.119021] Modules linked in:
[  120.119021] 
[  120.119021] Pid: 3449, comm: sshd Not tainted 2.6.36-rc6+ #7 Latitude C640            /Latitude C640                   
[  120.119021] EIP: 0060:[<c148faea>] EFLAGS: 00010006 CPU: 0
[  120.119021] EIP is at _raw_spin_lock+0x15/0x27
[  120.119021] EAX: 00000100 EBX: 000003d0 ECX: 00000018 EDX: dfb7c5b4
[  120.119021] ESI: 000003d0 EDI: 00000000 EBP: df32ba30 ESP: df32ba2c
[  120.119021]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[  120.119021] Process sshd (pid: 3449, ti=df32a000 task=df2993c0 task.ti=df32a000)
[  120.119021] Stack:
[  120.119021]  dfb7c5b4 df32ba44 c141e1ed dfb7c5c4 dfb7c5dc dfb7c5b4 df32babc c1304b4b
[  120.119021] <0> 00000001 dfb7c5b8 c1032dc2 00000001 c1032dd5 000493e0 df8cd538 00008201
[  120.119021] <0> 00000008 00000018 dfb7c000 dfb7c5b4 1832ba84 dfb7c710 dfb7c5c4 c129dcb1
[  120.119021] Call Trace:
[  120.119021]  [<c141e1ed>] ? dect_transceiver_queue_event+0x1b/0x60
[  120.119021]  [<c1304b4b>] ? sc1442x_interrupt+0x590/0x5e1
[  120.119021]  [<c1032dc2>] ? _local_bh_enable_ip+0x7d/0x88
[  120.119021]  [<c1032dd5>] ? local_bh_enable_ip+0x8/0xa
[  120.119021]  [<c129dcb1>] ? boomerang_interrupt+0x260/0x26d
[  120.119021]  [<c106e99f>] ? handle_IRQ_event+0x69/0x13a
[  120.119021]  [<c10701a9>] ? handle_level_irq+0x60/0xb2
[  120.119021]  [<c1003f96>] ? handle_irq+0x1a/0x20
[  120.119021]  [<c1003976>] ? do_IRQ+0x45/0x9f
[  120.119021]  [<c1002ee9>] ? common_interrupt+0x29/0x30
[  120.119021]  [<c10c2ecf>] ? do_select+0x3ea/0x59c
[  120.119021]  [<c10c3443>] ? __pollwait+0x0/0xa9
[  120.119021]  [<c10c34ec>] ? pollwake+0x0/0x64
[  120.119021]  [<c13a0d67>] ? ip_finish_output+0x4f/0x53
[  120.119021]  [<c13a0e38>] ? ip_output+0xcd/0xd8
[  120.119021]  [<c1025076>] ? get_parent_ip+0xb/0x31
[  120.119021]  [<c1492539>] ? sub_preempt_count+0x83/0x90
[  120.119021]  [<c139ea48>] ? rcu_read_unlock+0x1e/0x29
[  120.119021]  [<c13a0917>] ? ip_queue_xmit+0x2d2/0x356
[  120.119021]  [<c1025076>] ? get_parent_ip+0xb/0x31
[  120.119021]  [<c14925dd>] ? add_preempt_count+0x97/0x9a
[  120.119021]  [<c148fabb>] ? _raw_spin_lock_irqsave+0x14/0x2e
[  120.119021]  [<c1025076>] ? get_parent_ip+0xb/0x31
[  120.119021]  [<c1492539>] ? sub_preempt_count+0x83/0x90
[  120.119021]  [<c148f851>] ? _raw_spin_unlock_irqrestore+0x22/0x2d
[  120.119021]  [<c1038a44>] ? __mod_timer+0xed/0xf8
[  120.119021]  [<c1038b2a>] ? mod_timer+0x6d/0x75
[  120.119021]  [<c1365d29>] ? sk_reset_timer+0xf/0x1a
[  120.119021]  [<c13af842>] ? inet_csk_reset_xmit_timer+0x5d/0x60
[  120.119021]  [<c13af8ae>] ? tcp_event_new_data_sent+0x69/0x72
[  120.119021]  [<c13b2379>] ? tcp_write_xmit+0x79c/0x85e
[  120.119021]  [<c1492539>] ? sub_preempt_count+0x83/0x90
[  120.119021]  [<c13a7987>] ? sk_stream_alloc_skb+0x27/0xb6
[  120.119021]  [<c1025076>] ? get_parent_ip+0xb/0x31
[  120.119021]  [<c1492539>] ? sub_preempt_count+0x83/0x90
[  120.119021]  [<c1032dc2>] ? _local_bh_enable_ip+0x7d/0x88
[  120.119021]  [<c1032dd5>] ? local_bh_enable_ip+0x8/0xa
[  120.119021]  [<c148f6e7>] ? _raw_spin_unlock_bh+0x17/0x19
[  120.119021]  [<c13658c1>] ? release_sock+0xd4/0xdc
[  120.119021]  [<c13a8095>] ? tcp_sendmsg+0x67f/0x755
[  120.119021]  [<c10c219c>] ? copy_from_user+0x8/0xa
[  120.119021]  [<c10c31ae>] ? core_sys_select+0x12d/0x1b1
[  120.119021]  [<c13630c4>] ? sock_aio_write+0xa6/0xb3
[  120.119021]  [<c10b62c1>] ? do_sync_write+0x8c/0xca
[  120.119021]  [<c1025076>] ? get_parent_ip+0xb/0x31
[  120.119021]  [<c1492539>] ? sub_preempt_count+0x83/0x90
[  120.119021]  [<c10477c4>] ? __srcu_read_unlock+0x2f/0x46
[  120.119021]  [<c10db4eb>] ? fsnotify+0x197/0x1ad
[  120.119021]  [<c10b5ffb>] ? fsnotify_modify+0x4c/0x57
[  120.119021]  [<c10c33e9>] ? sys_select+0x6e/0x8c
[  120.119021]  [<c10b6c6d>] ? sys_write+0x3b/0x60
[  120.119021]  [<c100298c>] ? sysenter_do_call+0x12/0x22
[  120.119021] Code: 00 3e 66 0f c1 03 38 e0 74 06 f3 90 8a 03 eb f6 89 f0 5b 5e 5d c3 55 89 e5 53 89 c3 b8 01 00 00 00 e8 61 2a 00 00 b8 00 01 00 00 <3e> 66 0f c1 03 38 e0 74 06 f3 90 8a 03 eb f6 5b 5d c3 55 89 e5 
[  120.119021] EIP: [<c148faea>] _raw_spin_lock+0x15/0x27 SS:ESP 0068:df32ba2c
[  120.119021] CR2: 00000000000003d0
[  120.119021] ---[ end trace 1481e564240f27a5 ]---
[  120.119021] Kernel panic - not syncing: Fatal exception in interrupt
[  120.119021] Pid: 3449, comm: sshd Tainted: G      D     2.6.36-rc6+ #7
[  120.119021] Call Trace:
[  120.119021]  [<c148dd02>] ? printk+0xf/0x11
[  120.119021]  [<c148dbf9>] panic+0x5a/0x154
[  120.119021]  [<c1490d70>] oops_end+0x8b/0x9a
[  120.119021]  [<c101ab98>] no_context+0x114/0x11e
[  120.119021]  [<c101acd2>] __bad_area_nosemaphore+0x130/0x138
[  120.119021]  [<c1027c05>] ? update_curr+0x18f/0x1cc
[  120.119021]  [<c108b247>] ? perf_event_task_sched_out+0x1b/0x2f0
[  120.119021]  [<c1027d72>] ? dequeue_entity+0x16/0x1d8
[  120.119021]  [<c1006d68>] ? native_sched_clock+0x42/0x7d
[  120.119021]  [<c1027a16>] ? rcu_read_unlock+0x1e/0x29
[  120.119021]  [<c101ace7>] bad_area_nosemaphore+0xd/0x10
[  120.119021]  [<c149236d>] do_page_fault+0x13e/0x287
[  120.119021]  [<c149222f>] ? do_page_fault+0x0/0x287
[  120.119021]  [<c1490452>] error_code+0x5a/0x60
[  120.119021]  [<c149222f>] ? do_page_fault+0x0/0x287
[  120.119021]  [<c148faea>] ? _raw_spin_lock+0x15/0x27
[  120.119021]  [<c141e1ed>] dect_transceiver_queue_event+0x1b/0x60
[  120.119021]  [<c1304b4b>] sc1442x_interrupt+0x590/0x5e1
[  120.119021]  [<c1032dc2>] ? _local_bh_enable_ip+0x7d/0x88
[  120.119021]  [<c1032dd5>] ? local_bh_enable_ip+0x8/0xa
[  120.119021]  [<c129dcb1>] ? boomerang_interrupt+0x260/0x26d
[  120.119021]  [<c106e99f>] handle_IRQ_event+0x69/0x13a
[  120.119021]  [<c10701a9>] handle_level_irq+0x60/0xb2
[  120.119021]  [<c1003f96>] handle_irq+0x1a/0x20
[  120.119021]  [<c1003976>] do_IRQ+0x45/0x9f
[  120.119021]  [<c1002ee9>] common_interrupt+0x29/0x30
[  120.119021]  [<c10c2ecf>] ? do_select+0x3ea/0x59c
[  120.119021]  [<c10c3443>] ? __pollwait+0x0/0xa9
[  120.119021]  [<c10c34ec>] ? pollwake+0x0/0x64
[  120.119021]  [<c13a0d67>] ? ip_finish_output+0x4f/0x53
[  120.119021]  [<c13a0e38>] ? ip_output+0xcd/0xd8
[  120.119021]  [<c1025076>] ? get_parent_ip+0xb/0x31
[  120.119021]  [<c1492539>] ? sub_preempt_count+0x83/0x90
[  120.119021]  [<c139ea48>] ? rcu_read_unlock+0x1e/0x29
[  120.119021]  [<c13a0917>] ? ip_queue_xmit+0x2d2/0x356
[  120.119021]  [<c1025076>] ? get_parent_ip+0xb/0x31
[  120.119021]  [<c14925dd>] ? add_preempt_count+0x97/0x9a
[  120.119021]  [<c148fabb>] ? _raw_spin_lock_irqsave+0x14/0x2e
[  120.119021]  [<c1025076>] ? get_parent_ip+0xb/0x31
[  120.119021]  [<c1492539>] ? sub_preempt_count+0x83/0x90
[  120.119021]  [<c148f851>] ? _raw_spin_unlock_irqrestore+0x22/0x2d
[  120.119021]  [<c1038a44>] ? __mod_timer+0xed/0xf8
[  120.119021]  [<c1038b2a>] ? mod_timer+0x6d/0x75
[  120.119021]  [<c1365d29>] ? sk_reset_timer+0xf/0x1a
[  120.119021]  [<c13af842>] ? inet_csk_reset_xmit_timer+0x5d/0x60
[  120.119021]  [<c13af8ae>] ? tcp_event_new_data_sent+0x69/0x72
[  120.119021]  [<c13b2379>] ? tcp_write_xmit+0x79c/0x85e
[  120.119021]  [<c1492539>] ? sub_preempt_count+0x83/0x90
[  120.119021]  [<c13a7987>] ? sk_stream_alloc_skb+0x27/0xb6
[  120.119021]  [<c1025076>] ? get_parent_ip+0xb/0x31
[  120.119021]  [<c1492539>] ? sub_preempt_count+0x83/0x90
[  120.119021]  [<c1032dc2>] ? _local_bh_enable_ip+0x7d/0x88
[  120.119021]  [<c1032dd5>] ? local_bh_enable_ip+0x8/0xa
[  120.119021]  [<c148f6e7>] ? _raw_spin_unlock_bh+0x17/0x19
[  120.119021]  [<c13658c1>] ? release_sock+0xd4/0xdc
[  120.119021]  [<c13a8095>] ? tcp_sendmsg+0x67f/0x755
[  120.119021]  [<c10c219c>] ? copy_from_user+0x8/0xa
[  120.119021]  [<c10c31ae>] core_sys_select+0x12d/0x1b1
[  120.119021]  [<c13630c4>] ? sock_aio_write+0xa6/0xb3
[  120.119021]  [<c10b62c1>] ? do_sync_write+0x8c/0xca
[  120.119021]  [<c1025076>] ? get_parent_ip+0xb/0x31
[  120.119021]  [<c1492539>] ? sub_preempt_count+0x83/0x90
[  120.119021]  [<c10477c4>] ? __srcu_read_unlock+0x2f/0x46
[  120.119021]  [<c10db4eb>] ? fsnotify+0x197/0x1ad
[  120.119021]  [<c10b5ffb>] ? fsnotify_modify+0x4c/0x57
[  120.119021]  [<c10c33e9>] sys_select+0x6e/0x8c
[  120.119021]  [<c10b6c6d>] ? sys_write+0x3b/0x60
[  120.119021]  [<c100298c>] sysenter_do_call+0x12/0x22


More information about the linux-dect mailing list