Ubuntu

Kernel Panic on upgraded 12.04 System

Reported by Jess Sightler on 2012-04-27
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
powernap (Ubuntu)
Undecided
Andres Rodriguez

Bug Description

Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 2492.230523] SMP alternatives: switching to SMP code
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 2492.244251] Booting Node 0 Processor 1 APIC 0x2
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 2492.244254] smpboot cpu 1: start_ip = 9a000
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] IP: [<ffffffff81034a5c>] __setup_vector_irq+0xdc/0x150
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] PGD 0
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] Oops: 0000 [#1] SMP
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] CPU 1
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] Modules linked in: ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables bridge stp kvm_intel kvm ib_iser rdma_cm ib_cm bnep iw_cm ib_sa ib_mad parport_pc ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi ppdev scsi_transport_iscsi rfcomm bluetooth binfmt_misc dm_crypt arc4 rt2800usb rt2800lib crc_ccitt rt2x00usb rt2x00lib mac80211 cfg80211 nvidia(P) snd_hda_codec_realtek usblp snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device mac_hid snd soundcore lp snd_page_alloc parport vesafb usbhid hid firewire_ohci firewire_core crc_itu_t e1000e usb_storage
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977]
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] Pid: 0, comm: swapper/1 Tainted: P O 3.2.0-24-generic #37-Ubuntu Gateway DX4710-UB301A/G33M05G1
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] RIP: 0010:[<ffffffff81034a5c>] [<ffffffff81034a5c>] __setup_vector_irq+0xdc/0x150
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] RSP: 0000:ffff8801a5167eb8 EFLAGS: 00010046
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] RDX: 0000000000000000 RSI: 0000000000000029 RDI: 0000000000000001
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] RBP: ffff8801a5167ef8 R08: 0000000000000000 R09: ffff8801a8c00160
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] R13: 0000000000000091 R14: 000000000000bf40 R15: 0000000000000091
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] FS: 0000000000000000(0000) GS:ffff8801afc80000(0000) knlGS:0000000000000000
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] CR2: 0000000000000008 CR3: 0000000001c05000 CR4: 00000000000006a0
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] Process swapper/1 (pid: 0, threadinfo ffff8801a5166000, task ffff8801a51696f0)
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] Stack:
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] ffff8801a5167f28 000000000000bf40 0000061a26ae1d8e 0000000000000001
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] ffff8801a5167f08 ffffffff8101734e ffff8801a5167f28 ffffffff8163a6e0
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] Call Trace:
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8101734e>] setup_vector_irq+0xe/0x10
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8163a6e0>] smp_callin+0xeb/0x12c
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8163a733>] start_secondary+0x12/0xdb
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8163a721>] ? smp_callin+0x12c/0x12c
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] Code: d8 cd 81 44 89 38 41 8d 7f 01 e8 40 3e 0a 00 39 05 7a bb bf 00 41 89 c7 7f 85 45 31 ed 4c 89 75 c8 eb 36 0f 1f 40 00 48 8b 40 30 <44> 0f a3 60 08 19 c0 85 c0 75 16 48 8b 55 c8 4a 8d 04 ba 48 03
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] RIP [<ffffffff81034a5c>] __setup_vector_irq+0xdc/0x150
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] RSP <ffff8801a5167eb8>
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] CR2: 0000000000000008
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] ---[ end trace 0515dae7e2918b16 ]---
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] Kernel panic - not syncing: Attempted to kill the idle task!
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] Pid: 0, comm: swapper/1 Tainted: P D O 3.2.0-24-generic #37-Ubuntu
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] Call Trace:
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff81644023>] panic+0x91/0x1a4
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8106bcae>] do_exit+0x41e/0x420
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8165d620>] oops_end+0xb0/0xf0
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff81642ebd>] no_context+0x150/0x15d
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff81643093>] __bad_area_nosemaphore+0x1c9/0x1e8
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff810578bb>] ? enqueue_entity+0xdb/0x290
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8104d9fc>] ? resched_task+0x2c/0x80
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff816430c5>] bad_area_nosemaphore+0x13/0x15
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff81660276>] do_page_fault+0x426/0x520
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff810950c5>] ? ktime_get+0x65/0xe0
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8101a779>] ? read_tsc+0x9/0x20
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff810950c5>] ? ktime_get+0x65/0xe0
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8101a779>] ? read_tsc+0x9/0x20
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff810950c5>] ? ktime_get+0x65/0xe0
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8103109d>] ? lapic_next_event+0x1d/0x30
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8109aaf4>] ? clockevents_program_event+0x74/0x100
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8165cbf5>] page_fault+0x25/0x30
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff81034a5c>] ? __setup_vector_irq+0xdc/0x150
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff81034aa4>] ? __setup_vector_irq+0x124/0x150
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8101734e>] setup_vector_irq+0xe/0x10
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8163a6e0>] smp_callin+0xeb/0x12c
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8163a733>] start_secondary+0x12/0xdb
Apr 27 16:10:58 jsight-ubuntudesktop kernel: [ 1273.345977] [<ffffffff8163a721>] ? smp_callin+0x12c/0x12c
Apr 27 16:11:04 jsight-ubuntudesktop kernel: [ 2497.457139] CPU1: Stuck ??
Apr 27 16:11:04 jsight-ubuntudesktop kernel: [ 2497.457500] Booting Node 0 Processor 2 APIC 0x3
Apr 27 16:11:04 jsight-ubuntudesktop kernel: [ 2497.457504] smpboot cpu 2: start_ip = 9a000
Apr 27 16:11:09 jsight-ubuntudesktop kernel: [ 2502.693743] CPU2: Stuck ??
Apr 27 16:11:09 jsight-ubuntudesktop kernel: [ 2502.694104] Booting Node 0 Processor 3 APIC 0x1
Apr 27 16:11:09 jsight-ubuntudesktop kernel: [ 2502.694108] smpboot cpu 3: start_ip = 9a000
Apr 27 16:11:14 jsight-ubuntudesktop kernel: [ 2508.040459] CPU3: Stuck ??

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
John Reames (jwreames) wrote :

Disabling powernap (chmod 0000 /usr/sbin/powernap*) helps when on AC power, but the system still panics wen the second core spins up from a battery->AC transition.

Problem has existed for a month or so, but thought it was possibly my stsem previously, and more or less worked-around by disabling powernap

This can be reproduced on an affected system by offlining then onlining a CPU.

Uptime does not seem to affect things; this can be induced at hours+ of uptime, or with less than a minute of uptime.

Similar double panic. (First stack trace has identical addresses; second one differs.

System: Lenovo T61p (6459-CTO); T9300, 4GB ram, AR5008E (ath9k), nvidia drivers 295.40.

Both systems are using nvidia drivers. (Possible commonality?)

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/990146/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Jess Sightler (jesse-sightler) wrote :

My machine is a desktop (AC only). I will try the powernap permissions workaround and report back if this works.

affects: ubuntu → powernap (Ubuntu)
Changed in powernap (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
Andres Rodriguez (andreserl) wrote :

Hi Jess,

Thank you for taking the time to report bugs and trying to make Ubuntu better.

The workaround you are applying is an ugly work around that leaves powernap unusable, in case you are using it.

However, the issue of this might be caused because the script that offlines CPU's has executable flag, and the current running kernel has issues when offlining CPU's when it previously didn't.

Check in /etc/pm/power.d/01cpu_online does not have executable bit, and if it does, then just remove it. That should stop offlining CPus and you should not see this issue anymore.

Hope this information helps.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers