Bug 80681

Summary: Oops in con_set_unimap during boot with colour dummy console
Product: Drivers Reporter: nimnull (macachuto)
Component: Console/FramebuffersAssignee: James Simmons (jsimmons)
Status: NEW ---    
Severity: high CC: alan, xerofoify
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.13.0-32 Subsystem:
Regression: No Bisected commit-id:

Description nimnull 2014-07-19 10:00:12 UTC
From kernel.log:


Jul 19 10:33:16 xub-14-04 kernel: [   15.161849] Console: switching to colour dummy device 80x25
Jul 19 10:33:16 xub-14-04 kernel: [   15.161861] BUG: unable to handle kernel NULL pointer dereference at 0000000000000138
Jul 19 10:33:16 xub-14-04 kernel: [   15.161866] IP: [<ffffffff8145aad2>] con_set_unimap+0x32/0x290
Jul 19 10:33:16 xub-14-04 kernel: [   15.161867] PGD 2125b8067 PUD 2125b7067 PMD 0
Jul 19 10:33:16 xub-14-04 kernel: [   15.161869] Oops: 0000 [#1] SMP
Jul 19 10:33:16 xub-14-04 kernel: [   15.161879] Modules linked in: kvm_intel kvm snd_hda_intel(+) snd_hda_codec i915(+) snd_hwdep snd_pcm crct10dif_pclmul snd_page_alloc snd_seq_midi crc32_pclmul snd_seq_midi_event ghash_clmulni_intel video e1000e ptp ahci pps_core libahci
Jul 19 10:33:16 xub-14-04 kernel: [   15.161881] CPU: 0 PID: 623 Comm: setfont Not tainted 3.13.0-32-generic #57-Ubuntu
Jul 19 10:33:16 xub-14-04 kernel: [   15.161881] Hardware name:                  /DH67CL, BIOS BLH6710H.86A.0105.2011.0301.1654 03/01/2011
Jul 19 10:33:16 xub-14-04 kernel: [   15.161882] task: ffff880211888000 ti: ffff8802118b2000 task.ti: ffff8802118b2000
Jul 19 10:33:16 xub-14-04 kernel: [   15.161884] RIP: 0010:[<ffffffff8145aad2>]  [<ffffffff8145aad2>] con_set_unimap+0x32/0x290
Jul 19 10:33:16 xub-14-04 kernel: [   15.161885] RSP: 0018:ffff8802118b3d48  EFLAGS: 00010246
Jul 19 10:33:16 xub-14-04 kernel: [   15.161885] RAX: ffff88003692a708 RBX: 000000000161db10 RCX: 000000000000c710
Jul 19 10:33:16 xub-14-04 kernel: [   15.161886] RDX: 00000000000010cc RSI: 0000000000000296 RDI: 0000000000000296
Jul 19 10:33:16 xub-14-04 kernel: [   15.161886] RBP: ffff8802118b3db0 R08: ffff8802118b2000 R09: 0000000000000000
Jul 19 10:33:16 xub-14-04 kernel: [   15.161887] R10: ffff880036b55df8 R11: 0000000000000015 R12: 0000000000000000
Jul 19 10:33:16 xub-14-04 kernel: [   15.161887] R13: 0000000000004b67 R14: ffff88003692a400 R15: ffff88003692a400
Jul 19 10:33:16 xub-14-04 kernel: [   15.161888] FS:  00007fb46b751740(0000) GS:ffff88021fa00000(0000) knlGS:0000000000000000
Jul 19 10:33:16 xub-14-04 kernel: [   15.161889] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 19 10:33:16 xub-14-04 kernel: [   15.161889] CR2: 0000000000000138 CR3: 0000000211e94000 CR4: 00000000000407f0
Jul 19 10:33:16 xub-14-04 kernel: [   15.161890] Stack:
Jul 19 10:33:16 xub-14-04 kernel: [   15.161891]  ffff8802118b3d78 ffffffff813110ed ffff880211888000 0000000000000001
Jul 19 10:33:16 xub-14-04 kernel: [   15.161892]  0000000000004b67 ffff88003692a400 000002e1118b3d88 ffff88003692a400
Jul 19 10:33:16 xub-14-04 kernel: [   15.161893]  0000000000000000 0000000000000001 0000000000004b67 ffff88003692a400
Jul 19 10:33:16 xub-14-04 kernel: [   15.161894] Call Trace:
Jul 19 10:33:16 xub-14-04 kernel: [   15.161898]  [<ffffffff813110ed>] ? apparmor_capable+0x1d/0x130
Jul 19 10:33:16 xub-14-04 kernel: [   15.161900]  [<ffffffff81454973>] vt_ioctl+0xe83/0x11c0
Jul 19 10:33:16 xub-14-04 kernel: [   15.161902]  [<ffffffff814484dd>] tty_ioctl+0x26d/0xbb0
Jul 19 10:33:16 xub-14-04 kernel: [   15.161905]  [<ffffffff811cfd10>] do_vfs_ioctl+0x2e0/0x4c0
Jul 19 10:33:16 xub-14-04 kernel: [   15.161907]  [<ffffffff8109ddf4>] ? vtime_account_user+0x54/0x60
Jul 19 10:33:16 xub-14-04 kernel: [   15.161908]  [<ffffffff811cff71>] SyS_ioctl+0x81/0xa0
Jul 19 10:33:16 xub-14-04 kernel: [   15.161911]  [<ffffffff8172c87f>] tracesys+0xe1/0xe6
Jul 19 10:33:16 xub-14-04 kernel: [   15.161920] Code: 89 e5 41 57 49 89 ff 41 56 41 55 41 54 53 48 89 d3 48 83 ec 40 48 89 7d d0 89 75 cc e8 38 0c c6 ff 49 8b 87 10 03 00 00 4c 8b 20 <41> 8b 84 24 38 01 00 00 85 c0 0f 85 38 02 00 00 66 83 7d cc 00
Jul 19 10:33:16 xub-14-04 kernel: [   15.161922] RIP  [<ffffffff8145aad2>] con_set_unimap+0x32/0x290
Jul 19 10:33:16 xub-14-04 kernel: [   15.161922]  RSP <ffff8802118b3d48>
Jul 19 10:33:16 xub-14-04 kernel: [   15.161923] CR2: 0000000000000138
Jul 19 10:33:16 xub-14-04 kernel: [   15.161924] ---[ end trace fd83f030e7e561a7 ]---
Comment 1 nimnull 2014-07-19 10:01:27 UTC
OS: Xubuntu 14.04
Comment 2 nimnull 2014-07-24 12:03:59 UTC
Ones again:


Jul 24 15:53:18 xub-14-04 kernel: [   14.237886] Oops: 0000 [#1] SMP 
Jul 24 15:53:18 xub-14-04 kernel: [   14.237897] Modules linked in: snd_hwdep snd_pcm i915(+) coretemp snd_page_alloc kvm_intel snd_seq_midi kvm snd_seq_midi_event snd_rawmidi snd_seq video snd_seq_device crct10dif_pclmul snd_timer crc32_pclmul ghash_clmulni_intel drm_kms_helper aesni_intel drm aes_x86_64 snd lrw i2c_algo_bit gf128mul soundcore glue_helper serio_raw shpchp ablk_helper cryptd lpc_ich hid_a4tech hid_generic usbhid e1000e ahci ptp libahci hid pps_core
Jul 24 15:53:18 xub-14-04 kernel: [   14.237898] CPU: 2 PID: 586 Comm: setfont Not tainted 3.13.0-32-generic #57-Ubuntu
Jul 24 15:53:18 xub-14-04 kernel: [   14.237899] Hardware name:                  /DH67CL, BIOS BLH6710H.86A.0105.2011.0301.1654 03/01/2011
Jul 24 15:53:18 xub-14-04 kernel: [   14.237899] task: ffff88003616dfc0 ti: ffff880212ac6000 task.ti: ffff880212ac6000
Jul 24 15:53:18 xub-14-04 kernel: [   14.237901] RIP: 0010:[<ffffffff8145aad2>]  [<ffffffff8145aad2>] con_set_unimap+0x32/0x290
Jul 24 15:53:18 xub-14-04 kernel: [   14.237902] RSP: 0018:ffff880212ac7d48  EFLAGS: 00010246
Jul 24 15:53:18 xub-14-04 kernel: [   14.237903] RAX: ffff88020f858b08 RBX: 0000000000d2ab10 RCX: 000000000000c710
Jul 24 15:53:18 xub-14-04 kernel: [   14.237903] RDX: 00000000000010b6 RSI: 0000000000000296 RDI: 0000000000000296
Jul 24 15:53:18 xub-14-04 kernel: [   14.237904] RBP: ffff880212ac7db0 R08: ffff880212ac6000 R09: 0000000000000001
Jul 24 15:53:18 xub-14-04 kernel: [   14.237904] R10: 0000000000000001 R11: 000000000000008f R12: 0000000000000000
Jul 24 15:53:18 xub-14-04 kernel: [   14.237905] R13: 0000000000004b67 R14: ffff88020f858800 R15: ffff88020f858800
Jul 24 15:53:18 xub-14-04 kernel: [   14.237913] FS:  00007fd48d21d740(0000) GS:ffff88021fb00000(0000) knlGS:0000000000000000
Jul 24 15:53:18 xub-14-04 kernel: [   14.237914] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 24 15:53:18 xub-14-04 kernel: [   14.237914] CR2: 0000000000000138 CR3: 0000000212df8000 CR4: 00000000000407e0
Jul 24 15:53:18 xub-14-04 kernel: [   14.237915] Stack:
Jul 24 15:53:18 xub-14-04 kernel: [   14.237916]  ffff880212ac7d78 ffffffff813110ed ffff88003616dfc0 0000000000000001
Jul 24 15:53:18 xub-14-04 kernel: [   14.237925]  0000000000004b67 ffff88020f858800 000002e112ac7d88 ffff88020f858800
Jul 24 15:53:18 xub-14-04 kernel: [   14.237926]  0000000000000000 0000000000000001 0000000000004b67 ffff88020f858800
Jul 24 15:53:18 xub-14-04 kernel: [   14.237926] Call Trace:
Jul 24 15:53:18 xub-14-04 kernel: [   14.237931]  [<ffffffff813110ed>] ? apparmor_capable+0x1d/0x130
Jul 24 15:53:18 xub-14-04 kernel: [   14.237933]  [<ffffffff81454973>] vt_ioctl+0xe83/0x11c0
Jul 24 15:53:18 xub-14-04 kernel: [   14.237935]  [<ffffffff814484dd>] tty_ioctl+0x26d/0xbb0
Jul 24 15:53:18 xub-14-04 kernel: [   14.237938]  [<ffffffff811cfd10>] do_vfs_ioctl+0x2e0/0x4c0
Jul 24 15:53:18 xub-14-04 kernel: [   14.237940]  [<ffffffff8109ddf4>] ? vtime_account_user+0x54/0x60
Jul 24 15:53:18 xub-14-04 kernel: [   14.237941]  [<ffffffff811cff71>] SyS_ioctl+0x81/0xa0
Jul 24 15:53:18 xub-14-04 kernel: [   14.237944]  [<ffffffff8172c87f>] tracesys+0xe1/0xe6
Jul 24 15:53:18 xub-14-04 kernel: [   14.237961] Code: 89 e5 41 57 49 89 ff 41 56 41 55 41 54 53 48 89 d3 48 83 ec 40 48 89 7d d0 89 75 cc e8 38 0c c6 ff 49 8b 87 10 03 00 00 4c 8b 20 <41> 8b 84 24 38 01 00 00 85 c0 0f 85 38 02 00 00 66 83 7d cc 00 
Jul 24 15:53:18 xub-14-04 kernel: [   14.237962] RIP  [<ffffffff8145aad2>] con_set_unimap+0x32/0x290
Jul 24 15:53:18 xub-14-04 kernel: [   14.237963]  RSP <ffff880212ac7d48>
Jul 24 15:53:18 xub-14-04 kernel: [   14.237963] CR2: 0000000000000138
Jul 24 15:53:18 xub-14-04 kernel: [   14.237964] ---[ end trace 091ab75084353345 ]---
Comment 3 xerofoify 2014-07-30 02:40:49 UTC
Would you mind telling me how to appear to be hiiting this bug.
Regards Nick
Comment 4 nimnull 2014-07-30 19:24:23 UTC
If you meant how to reproduce it, I do not know.
I just boot my comp. and boot process stops.
Normally it should be:

...
Jul 30 21:01:59 xub-14-04 kernel: [   15.738568] [drm] Memory usable by graphics device = 2048M
Jul 30 21:01:59 xub-14-04 kernel: [   15.738571] checking generic (e0000000 500000) vs hw (e0000000 10000000)
Jul 30 21:01:59 xub-14-04 kernel: [   15.738572] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
Jul 30 21:01:59 xub-14-04 kernel: [   15.738593] Console: switching to colour dummy device 80x25
Jul 30 21:01:59 xub-14-04 kernel: [   15.780554] i915 0000:00:02.0: irq 50 for MSI/MSI-X
Jul 30 21:01:59 xub-14-04 kernel: [   15.780563] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Jul 30 21:01:59 xub-14-04 kernel: [   15.780564] [drm] Driver supports precise vblank timestamp query.
Jul 30 21:01:59 xub-14-04 kernel: [   15.780610] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
Jul 30 21:01:59 xub-14-04 kernel: [   15.794306] [drm] Wrong MCH_SSKPD value: 0x16040307
Jul 30 21:01:59 xub-14-04 kernel: [   15.794308] [drm] This can cause pipe underruns and display issues.
Jul 30 21:01:59 xub-14-04 kernel: [   15.794309] [drm] Please upgrade your BIOS to fix this.
Jul 30 21:01:59 xub-14-04 kernel: [   15.880501] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
Jul 30 21:01:59 xub-14-04 kernel: [   15.946412] fbcon: inteldrmfb (fb0) is primary device
...