Problem with efibootmgr on asus 1215b

From: Vasco Dias
Date: Sun Jan 01 2012 - 01:21:18 EST


Hi,

the problem is that after booting the system from uefi (with the uefi
shell) and after loading
the module efivars i can't create a new boot entry because the system
just locks completely.

Laptop is using the latest stable kernel and latest bios version
available. The problem occurred with
previous bios version and previous with kernels too.

After the system locking it becomes completely unresponsive and the
only way too shutdown is to cut the power,
including removing the battery.

I'm reporting here on the list after asking about it on the arch linux
forums ( https://bbs.archlinux.org/viewtopic.php?pid=1024451 ).

I'm a noob with mailing lists and all these kernel problems, so please
be kind :P.

Thanks in advance.

[>>] efibootmgr -v
Timeout: 0 seconds
BootOrder: 0001
Boot0001 Hard Drive BIOS(2,0,00)
Jan 1 04:30:12 localhost kernel: [ 3103.586496] INFO: rcu_preempt_state detected stalls on CPUs/tasks: { 1} (detected by 0, t=450258 jiffies)
Jan 1 04:30:12 localhost kernel: [ 3103.586519] sending NMI to all CPUs:
Jan 1 04:30:12 localhost kernel: [ 2420.190015] NMI backtrace for cpu 1
Jan 1 04:30:12 localhost kernel: [ 2420.190015] CPU 1
Jan 1 04:30:12 localhost kernel: [ 2420.190015] Modules linked in: efivars ipv6 fuse uvcvideo videodev media joydev v4l2_compat_ioctl32 bcma arc4 snd_hda_codec_realtek snd_hda_codec_hdmi i2c_piix4 brcmsmac(C) snd_hda_intel mac80211 snd_hda_codec snd_hwdep snd_pcm snd_timer brcmutil(C) cfg80211 serio_raw snd eeepc_wmi asus_wmi sparse_keymap ohci_hcd xhci_hcd ehci_hcd pcspkr psmouse evdev usbcore soundcore snd_page_alloc sp5100_tco k10temp rfkill pci_hotplug thermal wmi video ac battery button cpufreq_ondemand powernow_k8 freq_table processor mperf ext4 mbcache jbd2 crc16 sd_mod ahci libahci libata scsi_mod radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core
Jan 1 04:30:12 localhost kernel: [ 2420.190015]
Jan 1 04:30:12 localhost kernel: [ 2420.190015] Pid: 1426, comm: efibootmgr Tainted: G D WC 3.1.6-1-ARCH #1 ASUSTeK Computer INC. 1215B/1215B
Jan 1 04:30:12 localhost kernel: [ 2420.190015] RIP: 0010:[<ffffffff81409b69>] [<ffffffff81409b69>] _raw_spin_lock+0x29/0x30
Jan 1 04:30:12 localhost kernel: [ 2420.190015] RSP: 0018:ffff88012c51d558 EFLAGS: 00000097
Jan 1 04:30:12 localhost kernel: [ 2420.190015] RAX: 0000000000002625 RBX: 0000000000000000 RCX: 0000000000000009
Jan 1 04:30:12 localhost kernel: [ 2420.190015] RDX: 00000000ffffffff RSI: 0000000000000039 RDI: ffffffffa02fe460
Jan 1 04:30:12 localhost kernel: [ 2420.190015] RBP: ffff88012c51d558 R08: 000000000000000a R09: 000000000000fff4
Jan 1 04:30:12 localhost kernel: [ 2420.190015] R10: 0000000000000000 R11: 0000000000000000 R12: 00000000000119c4
Jan 1 04:30:12 localhost kernel: [ 2420.190015] R13: ffffffffa02fe460 R14: 0000000000000400 R15: 0000000000000400
Jan 1 04:30:12 localhost kernel: [ 2420.190015] FS: 00007fd102cdb700(0000) GS:ffff88013ed00000(0000) knlGS:0000000000000000
Jan 1 04:30:12 localhost kernel: [ 2420.190015] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 1 04:30:12 localhost kernel: [ 2420.190015] CR2: 00000000ffe13c4a CR3: 000000012827e000 CR4: 00000000000006e0
Jan 1 04:30:12 localhost kernel: [ 2420.190015] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jan 1 04:30:12 localhost kernel: [ 2420.190015] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Jan 1 04:30:12 localhost kernel: [ 2420.190015] Process efibootmgr (pid: 1426, threadinfo ffff88012c51c000, task ffff88010bc52b20)
Jan 1 04:31:57 localhost kernel: [ 2420.190015] Stack:
Jan 1 04:31:57 localhost kernel: [ 2420.190015] ffff88012c51d6c8 ffffffffa02fcff3 ffffffffa02fe4a0 0000000000000400
Jan 1 04:31:57 localhost kernel: [ 2420.190015] 0000000181abffc0 0000000000000000 ffff88012c51d618 ffffffff81277ffc
Jan 1 04:31:57 localhost kernel: [ 2420.190015] ffff880137be7a10 00ffffff00000000 ffff88012c51d5e8 00000000402ce684
Jan 1 04:31:57 localhost kernel: [ 2420.190015] Call Trace:
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffffa02fcff3>] efi_pstore_write+0xc3/0x390 [efivars]
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff81277ffc>] ? cfb_fillrect+0x18c/0x380
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8122f86c>] ? vsnprintf+0x35c/0x600
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8122fb50>] ? sprintf+0x40/0x50
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff811d44c9>] pstore_dump+0x169/0x1f0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff810638e4>] kmsg_dump+0x94/0xe0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff81061d06>] oops_exit+0x26/0x30
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff810181cc>] oops_end+0x7c/0xf0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff814001df>] no_context+0x209/0x218
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff814003b7>] __bad_area_nosemaphore+0x1c9/0x1e8
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff814003e9>] bad_area_nosemaphore+0x13/0x15
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8103ef1d>] do_page_fault+0x3dd/0x4c0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff810580f8>] ? load_balance+0xb8/0x7e0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8140a725>] page_fault+0x25/0x30
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff811ce88d>] ? open+0x10d/0x1b0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8115b702>] ? __dentry_open+0x242/0x3f0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff811ce780>] ? bin_vma_open+0x70/0x70
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff81048b8b>] ? efi_call5+0x4b/0x80
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff810483e1>] ? virt_efi_set_variable+0x31/0x40
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffffa02fd4c2>] ? efivar_create+0x1e2/0x280 [efivars]
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff811cea41>] ? write+0x111/0x190
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8115d81f>] ? vfs_write+0xaf/0x180
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8115db4a>] ? sys_write+0x4a/0x90
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8140acc2>] ? system_call_fastpath+0x16/0x1b
Jan 1 04:31:57 localhost kernel: [ 2420.190015] Code: 90 90 55 48 89 e5 66 66 66 66 90 65 48 8b 04 25 88 c4 00 00 83 80 44 e0 ff ff 01 b8 00 01 00 00 f0 66 0f c1 07 38 e0 74 06 f3 90 <8a> 07 eb f6 5d c3 90 55 48 89 e5 66 66 66 66 90 9c 58 66 66 90
Jan 1 04:31:57 localhost kernel: [ 2420.190015] Call Trace:
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffffa02fcff3>] efi_pstore_write+0xc3/0x390 [efivars]
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff81277ffc>] ? cfb_fillrect+0x18c/0x380
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8122f86c>] ? vsnprintf+0x35c/0x600
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8122fb50>] ? sprintf+0x40/0x50
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff811d44c9>] pstore_dump+0x169/0x1f0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff810638e4>] kmsg_dump+0x94/0xe0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff81061d06>] oops_exit+0x26/0x30
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff810181cc>] oops_end+0x7c/0xf0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff814001df>] no_context+0x209/0x218
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff814003b7>] __bad_area_nosemaphore+0x1c9/0x1e8
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff814003e9>] bad_area_nosemaphore+0x13/0x15
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8103ef1d>] do_page_fault+0x3dd/0x4c0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff810580f8>] ? load_balance+0xb8/0x7e0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8140a725>] page_fault+0x25/0x30
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff811ce88d>] ? open+0x10d/0x1b0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8115b702>] ? __dentry_open+0x242/0x3f0
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff811ce780>] ? bin_vma_open+0x70/0x70
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff81048b8b>] ? efi_call5+0x4b/0x80
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff810483e1>] ? virt_efi_set_variable+0x31/0x40
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffffa02fd4c2>] ? efivar_create+0x1e2/0x280 [efivars]
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff811cea41>] ? write+0x111/0x190
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8115d81f>] ? vfs_write+0xaf/0x180
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8115db4a>] ? sys_write+0x4a/0x90
Jan 1 04:31:57 localhost kernel: [ 2420.190015] [<ffffffff8140acc2>] ? system_call_fastpath+0x16/0x1b
Jan 1 04:31:57 localhost kernel: [ 3103.587495] NMI backtrace for cpu 0
Jan 1 04:31:57 localhost kernel: [ 3103.587501] CPU 0
Jan 1 04:31:57 localhost kernel: [ 3103.587506] Modules linked in: efivars ipv6 fuse uvcvideo videodev media joydev v4l2_compat_ioctl32 bcma arc4 snd_hda_codec_realtek snd_hda_codec_hdmi i2c_piix4 brcmsmac(C) snd_hda_intel mac80211 snd_hda_codec snd_hwdep snd_pcm snd_timer brcmutil(C) cfg80211 serio_raw snd eeepc_wmi asus_wmi sparse_keymap ohci_hcd xhci_hcd ehci_hcd pcspkr psmouse evdev usbcore soundcore snd_page_alloc sp5100_tco k10temp rfkill pci_hotplug thermal wmi video ac battery button cpufreq_ondemand powernow_k8 freq_table processor mperf ext4 mbcache jbd2 crc16 sd_mod ahci libahci libata scsi_mod radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core
Jan 1 04:31:57 localhost kernel: [ 3103.587662]
Jan 1 04:31:57 localhost kernel: [ 3103.587671] Pid: 0, comm: swapper Tainted: G D WC 3.1.6-1-ARCH #1 ASUSTeK Computer INC. 1215B/1215B
Jan 1 04:31:57 localhost kernel: [ 3103.587685] RIP: 0010:[<ffffffff810362d6>] [<ffffffff810362d6>] flat_send_IPI_all+0x66/0x70
Jan 1 04:31:57 localhost kernel: [ 3103.587707] RSP: 0018:ffff88013ec03dd0 EFLAGS: 00000082
Jan 1 04:31:57 localhost kernel: [ 3103.587715] RAX: 0000000000000c00 RBX: 0000000000002710 RCX: 0000000000000005
Jan 1 04:31:57 localhost kernel: [ 3103.587722] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000082
Jan 1 04:31:57 localhost kernel: [ 3103.587730] RBP: ffff88013ec03de8 R08: 000000000000000a R09: 0000000000000000
Jan 1 04:31:57 localhost kernel: [ 3103.587738] R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff818bd500
Jan 1 04:31:57 localhost kernel: [ 3103.587745] R13: ffffffff818bd600 R14: ffffffff818bda00 R15: 0000000000000087
Jan 1 04:31:57 localhost kernel: [ 3103.587755] FS: 00007fe149b5e700(0000) GS:ffff88013ec00000(0000) knlGS:0000000000000000
Jan 1 04:31:57 localhost kernel: [ 3103.587764] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Jan 1 04:31:57 localhost kernel: [ 3103.587770] CR2: 00007f35caba1000 CR3: 000000012c760000 CR4: 00000000000006f0
Jan 1 04:31:57 localhost kernel: [ 3103.587778] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jan 1 04:31:57 localhost kernel: [ 3103.587786] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Jan 1 04:31:57 localhost kernel: [ 3103.587795] Process swapper (pid: 0, threadinfo ffffffff81800000, task ffffffff8189d020)
Jan 1 04:31:57 localhost kernel: [ 3103.587802] Stack:
Jan 1 04:31:57 localhost kernel: [ 3103.587807] ffffffff810332fa 000000000000000a ffff88013ec0e2c0 ffff88013ec03e38
Jan 1 04:31:57 localhost kernel: [ 3103.587821] ffffffff810cae81 0000000000000046 ffffffff818bda00 00000000201d6000
Jan 1 04:31:57 localhost kernel: [ 3103.587833] 0000000000000000 0000000000000000 0000000000000000 ffff88013ec0df80
Jan 1 04:31:57 localhost kernel: [ 3103.587846] Call Trace:
Jan 1 04:31:57 localhost kernel: [ 3103.587852] <IRQ>
Jan 1 04:31:57 localhost kernel: [ 3103.587864] [<ffffffff810332fa>] ? arch_trigger_all_cpu_backtrace+0x5a/0x90
Jan 1 04:31:57 localhost kernel: [ 3103.587877] [<ffffffff810cae81>] __rcu_pending+0x391/0x3c0
Jan 1 04:31:57 localhost kernel: [ 3103.587888] [<ffffffff810cbdf2>] rcu_check_callbacks+0x132/0x1b0
Jan 1 04:31:57 localhost kernel: [ 3103.587900] [<ffffffff81073308>] update_process_times+0x48/0x90
Jan 1 04:31:57 localhost kernel: [ 3103.587913] [<ffffffff81096854>] tick_sched_timer+0x64/0xc0
Jan 1 04:31:57 localhost kernel: [ 3103.587924] [<ffffffff81088964>] __run_hrtimer+0x74/0x2c0
Jan 1 04:31:57 localhost kernel: [ 3103.587935] [<ffffffff810967f0>] ? tick_nohz_handler+0x100/0x100
Jan 1 04:31:57 localhost kernel: [ 3103.587945] [<ffffffff8101c139>] ? read_tsc+0x9/0x20
Jan 1 04:31:57 localhost kernel: [ 3103.587955] [<ffffffff81089623>] hrtimer_interrupt+0xf3/0x210
Jan 1 04:31:57 localhost kernel: [ 3103.587968] [<ffffffff8140d8c9>] smp_apic_timer_interrupt+0x69/0x99
Jan 1 04:31:57 localhost kernel: [ 3103.587979] [<ffffffff8140b79e>] apic_timer_interrupt+0x6e/0x80
Jan 1 04:31:57 localhost kernel: [ 3103.587986] <EOI>
Jan 1 04:31:57 localhost kernel: [ 3103.587995] [<ffffffff8101c643>] ? native_sched_clock+0x13/0x80
Jan 1 04:31:57 localhost kernel: [ 3103.588016] [<ffffffffa0186e5e>] ? acpi_idle_enter_simple+0xf5/0x12d [processor]
Jan 1 04:31:57 localhost kernel: [ 3103.588032] [<ffffffffa0186e5a>] ? acpi_idle_enter_simple+0xf1/0x12d [processor]
Jan 1 04:31:57 localhost kernel: [ 3103.588045] [<ffffffff8131dc96>] cpuidle_idle_call+0xc6/0x350
Jan 1 04:31:57 localhost kernel: [ 3103.588056] [<ffffffff81013229>] cpu_idle+0xc9/0x120
Jan 1 04:31:57 localhost kernel: [ 3103.588068] [<ffffffff813e70f2>] rest_init+0x96/0xa4
Jan 1 04:31:57 localhost kernel: [ 3103.588079] [<ffffffff8194fc15>] start_kernel+0x3bf/0x3cc
Jan 1 04:31:57 localhost kernel: [ 3103.588091] [<ffffffff8194f347>] x86_64_start_reservations+0x132/0x136
Jan 1 04:31:57 localhost kernel: [ 3103.588102] [<ffffffff8194f140>] ? early_idt_handlers+0x140/0x140
Jan 1 04:31:57 localhost kernel: [ 3103.588113] [<ffffffff8194f44d>] x86_64_start_kernel+0x102/0x111
Jan 1 04:31:57 localhost kernel: [ 3103.588120] Code: 04 08 00 0d 00 00 08 00 09 f8 83 ff 02 0f 44 c2 89 04 25 00 b3 5f ff 5d c3 48 8b 3d 05 07 5d 00 be 02 00 00 00 e8 8b fd ff ff 5d <c3> 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 66 66 66 66 90 80 3d
Jan 1 04:31:57 localhost kernel: [ 3103.588220] Call Trace:
Jan 1 04:31:57 localhost kernel: [ 3103.588224] <IRQ> [<ffffffff810332fa>] ? arch_trigger_all_cpu_backtrace+0x5a/0x90
Jan 1 04:31:57 localhost kernel: [ 3103.588241] [<ffffffff810cae81>] __rcu_pending+0x391/0x3c0
Jan 1 04:31:57 localhost kernel: [ 3103.588251] [<ffffffff810cbdf2>] rcu_check_callbacks+0x132/0x1b0
Jan 1 04:31:57 localhost kernel: [ 3103.588262] [<ffffffff81073308>] update_process_times+0x48/0x90
Jan 1 04:31:57 localhost kernel: [ 3103.588272] [<ffffffff81096854>] tick_sched_timer+0x64/0xc0
Jan 1 04:31:57 localhost kernel: [ 3103.588282] [<ffffffff81088964>] __run_hrtimer+0x74/0x2c0
Jan 1 04:31:57 localhost kernel: [ 3103.588292] [<ffffffff810967f0>] ? tick_nohz_handler+0x100/0x100
Jan 1 04:31:57 localhost kernel: [ 3103.588302] [<ffffffff8101c139>] ? read_tsc+0x9/0x20
Jan 1 04:31:57 localhost kernel: [ 3103.588311] [<ffffffff81089623>] hrtimer_interrupt+0xf3/0x210
Jan 1 04:31:57 localhost kernel: [ 3103.588323] [<ffffffff8140d8c9>] smp_apic_timer_interrupt+0x69/0x99
Jan 1 04:31:57 localhost kernel: [ 3103.588332] [<ffffffff8140b79e>] apic_timer_interrupt+0x6e/0x80
Jan 1 04:31:57 localhost kernel: [ 3103.588339] <EOI> [<ffffffff8101c643>] ? native_sched_clock+0x13/0x80
Jan 1 04:31:57 localhost kernel: [ 3103.588362] [<ffffffffa0186e5e>] ? acpi_idle_enter_simple+0xf5/0x12d [processor]
Jan 1 04:31:57 localhost kernel: [ 3103.588378] [<ffffffffa0186e5a>] ? acpi_idle_enter_simple+0xf1/0x12d [processor]
Jan 1 04:31:57 localhost kernel: [ 3103.588389] [<ffffffff8131dc96>] cpuidle_idle_call+0xc6/0x350
Jan 1 04:31:57 localhost kernel: [ 3103.588399] [<ffffffff81013229>] cpu_idle+0xc9/0x120
Jan 1 04:31:57 localhost kernel: [ 3103.588410] [<ffffffff813e70f2>] rest_init+0x96/0xa4
Jan 1 04:31:57 localhost kernel: [ 3103.588420] [<ffffffff8194fc15>] start_kernel+0x3bf/0x3cc
Jan 1 04:31:57 localhost kernel: [ 3103.588431] [<ffffffff8194f347>] x86_64_start_reservations+0x132/0x136
Jan 1 04:31:57 localhost kernel: [ 3103.588442] [<ffffffff8194f140>] ? early_idt_handlers+0x140/0x140
Jan 1 04:31:57 localhost kernel: [ 3103.588453] [<ffffffff8194f44d>] x86_64_start_kernel+0x102/0x111

Attachment: lastest_dmesg
Description: Binary data