Kernel crash on EFI system

Asked by Vladimir Andreev

Hello all!

I have Intel server based on S5500BC motherboard. After upgrading from 3.2.0 kernel to any higher version I have system crash during boot:

Begin: Running /scripts/init-bottom ... done.
[ 38.213167] BUG: unable to handle kernel paging request at 000000008e34dd1c
[ 38.296766] IP: [<000000008e34dd1c>] 0x8e34dd1b
[ 38.351108] PGD 2600e0067 PUD 0
[ 38.389939] Oops: 0010 [#1] SMP
[ 38.428772] Modules linked in: raid10 raid456 async_pq async_xor xor async_memcpy async_raid6_recov raid6_pq async_tx hid_generic raid1 e1000e raid0 ptp usbhid multipath ahci libahci hid pps_core linear
[ 38.646663] CPU 5
[ 38.668628] Pid: 469, comm: mount Not tainted 3.9.0-030900-generic #201304291257 Intel Corporation S5500BC/S5500BC
[ 38.794781] RIP: 0010:[<000000008e34dd1c>] [<000000008e34dd1c>] 0x8e34dd1b
[ 38.878262] RSP: 0018:ffff8802631f9bd8 EFLAGS: 00010086
[ 38.941860] RAX: ffff88008f5a7218 RBX: ffff88026367b408 RCX: ffff88026367b008
[ 39.027316] RDX: ffff88026367b408 RSI: ffff8802631f9d30 RDI: ffff88026367b008
[ 39.112773] RBP: ffff88026367b828 R08: ffff88026367b828 R09: ffff8802631f9d30
[ 39.198230] R10: 0000000000000000 R11: ffffffff81845560 R12: ffff880266bf4690
[ 39.283686] R13: ffffffff81f6b158 R14: ffff88026367b408 R15: ffff88026367b008
[ 39.369141] FS: 00007f34a59fa800(0000) GS:ffff8802672a0000(0000) knlGS:0000000000000000
[ 39.466046] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 39.534851] CR2: 000000008e34dd1c CR3: 0000000260094000 CR4: 00000000000007e0
[ 39.620307] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 39.705762] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 39.791219] Process mount (pid: 469, threadinfo ffff8802631f8000, task ffff88025fdc9750)
[ 39.888122] Stack:
[ 39.912165] ffff88008e3697a3 ffffea00097e24c0 ffff880266c02700 0000000000000000
[ 40.001161] ffff88026383de47 0000000000000000 ffff8802631f9cb0 ffffffff81a74b7d
[ 40.090154] ffff8802631f9c78 ffff8802631f9c30 ffff88008e369768 ffff88026367b008
[ 40.179150] Call Trace:
[ 40.208408] [<ffffffff810559eb>] ? efi_call5+0x4b/0x80
[ 40.270966] [<ffffffff811b5e84>] ? __d_alloc+0x34/0x180
[ 40.334562] [<ffffffff811b5eaf>] ? __d_alloc+0x5f/0x180
[ 40.398162] [<ffffffff81054e5f>] ? virt_efi_get_variable+0x2f/0x40
[ 40.473213] [<ffffffff815a99bb>] ? efivarfs_fill_super+0x1eb/0x2f0
[ 40.548260] [<ffffffff815a97d0>] ? efivarfs_lookup+0x50/0x50
[ 40.617064] [<ffffffff811a2145>] ? mount_single+0xb5/0xe0
[ 40.682744] [<ffffffff815a9418>] ? efivarfs_mount+0x18/0x20
[ 40.750507] [<ffffffff811a2343>] ? mount_fs+0x43/0x1b0
[ 40.813066] [<ffffffff811bbd43>] ? find_filesystem+0x63/0x80
[ 40.881869] [<ffffffff811bcf16>] ? vfs_kern_mount+0x76/0x120
[ 40.950672] [<ffffffff811be354>] ? do_new_mount+0xa4/0x1f0
[ 41.017393] [<ffffffff811bfb56>] ? do_mount+0x1e6/0x220
[ 41.080994] [<ffffffff811bfc20>] ? sys_mount+0x90/0xe0
[ 41.143552] [<ffffffff8170d4dd>] ? system_call_fastpath+0x1a/0x1f
[ 41.217556] Code: Bad RIP value.
[ 41.257432] RIP [<000000008e34dd1c>] 0x8e34dd1b
[ 41.312810] RSP <ffff8802631f9bd8>
[ 41.354552] CR2: 000000008e34dd1c
[ 41.394212] ---[ end trace 3864a6ce97098ad5 ]---
[ 41.468067] Adding 9757564k swap on /dev/md1. Priority:-1 extents:1 across:9757564k
[ 41.598047] EXT4-fs (md0): re-mounted. Opts: errors=remount-ro
[ 41.863427] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 42.054903] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)

The only solution I have found is to add 'noefi' as kernel parameter.

I tried to find similar issues (crashes connected with EFI), but part of them is already fixed and other part relates to laptops problems.

Anybody known real solution without appending 'noefi' or similar params?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#2

This is a clear kernel panic. If you tried lot of kernels and you have the same behavior, maybe you should update your BIOS.

And a bug report would be a good idea also

Regards
 NikTh

Revision history for this message
Vladimir Andreev (bigtucan) said :
#3

Sorry, but I am unable to send report.

ubuntu-bug dosn't work properly. After run It asks me to select further action, but after pressing any key it asks me again and so on...

Furthermore I don't see any files in /var/crash.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#4

Do you have any desktop environmet at this server installation or is a CLI only ? (pure server).

If the second, then you should work with apport-cli

    apport-cli -f linux

Regards
 NikTh

Revision history for this message
Vladimir Andreev (bigtucan) said :
#5

I also tried apport-cli. Effect is the same.

Revision history for this message
Vladimir Andreev (bigtucan) said :
#6

I did it!

I had to change locale to 'en' and then run ubuntu-bug again.

Bug #1203098

Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#7

Good point this about locale.

Now assume you can close this question (SOLVED) and keep tracking on your bug report. ;-)

Revision history for this message
Vladimir Andreev (bigtucan) said :
#8

Thanks Nik.Th., that solved my question.