BUG: unable to handle kernel NULL pointer dereference at 00000048 while plugging / unplugging external DVI monitor

Bug #905597 reported by Bryce Harrington
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Was diagnosing bug 867840 by repeatedly unplugging and plugging the DVI cable on my docking station. After about the 4th or 5th time, the kernel froze up.

[ 322.898882] BUG: unable to handle kernel NULL pointer dereference at 00000048
[ 322.898950] IP: [<f855b001>] drm_mm_scan_add_block+0x11/0x100 [drm]
[ 322.899011] *pdpt = 000000003349a001 *pde = 0000000000000000
[ 322.899052] Oops: 0002 [#1] SMP
[ 322.899083] Modules linked in: joydev parport_pc ppdev tpm_infineon usbhid hid rfcomm snd_hda_codec_hdmi bnep snd_hda_codec_realtek snd_usb_audio snd_usbmidi_lib arc4 btusb bluetooth input_polldev pcmcia snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi iwlwifi snd_seq_midi_event mac80211 psmouse serio_raw uvcvideo videodev snd_seq yenta_socket pcmcia_rsrc pcmcia_core cfg80211 snd_timer snd_seq_device tpm_tis i915 snd nfsd nfs lockd fujitsu_laptop fscache auth_rpcgss nfs_acl soundcore snd_page_alloc drm_kms_helper sunrpc binfmt_misc drm i2c_algo_bit video lp parport sdhci_pci sdhci firewire_ohci firewire_core crc_itu_t tg3
[ 322.899639]
[ 322.899653] Pid: 2303, comm: compiz Not tainted 3.2.0-5-generic-pae #11-Ubuntu FUJITSU LifeBook T4410/FJNB206
[ 322.899728] EIP: 0060:[<f855b001>] EFLAGS: 00210282 CPU: 1
[ 322.899775] EIP is at drm_mm_scan_add_block+0x11/0x100 [drm]
[ 322.899814] EAX: f284520c EBX: f356b1d4 ECX: 00000000 EDX: f34f3dcc
[ 322.899853] ESI: f356b1d4 EDI: f356b244 EBP: f34f3d80 ESP: f34f3d64
[ 322.899893] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 322.899928] Process compiz (pid: 2303, ti=f34f2000 task=f747a610 task.ti=f34f2000)
[ 322.899977] Stack:
[ 322.899993] 0001b5b2 00001000 01400000 04b9a000 f356b1d4 f356b1d4 f356b244 f34f3d8c
[ 322.900072] f8b449da f34f3dcc f34f3de0 f8b44adf 00000000 10000000 00000000 f34f3db0
[ 322.900153] c103c9f8 00000000 00000001 f34f3dd8 f356b1a8 010284d2 00001000 f356a000
[ 322.900232] Call Trace:
[ 322.900267] [<f8b449da>] mark_free+0x2a/0x40 [i915]
[ 322.900314] [<f8b44adf>] i915_gem_evict_something+0xef/0x370 [i915]
[ 322.900361] [<c103c9f8>] ? __kunmap_atomic+0x88/0x90
[ 322.900403] [<f8b406b4>] i915_gem_object_bind_to_gtt+0x1b4/0x400 [i915]
[ 322.900460] [<f8b430ee>] i915_gem_fault+0x20e/0x240 [i915]
[ 322.900498] [<c111424e>] __do_fault+0x6e/0x550
[ 322.900531] [<c1117bb5>] handle_pte_fault+0x95/0x2c0
[ 322.900564] [<c1117fce>] handle_mm_fault+0x15e/0x2c0
[ 322.900598] [<c15a8a3b>] do_page_fault+0x15b/0x490
[ 322.900638] [<f8550bb0>] ? drm_copy_field+0x80/0x80 [drm]
[ 322.900679] [<c1154a89>] ? do_vfs_ioctl+0x79/0x2d0
[ 322.900711] [<c1154d2b>] ? sys_ioctl+0x4b/0x80
[ 322.900741] [<c15a88e0>] ? vmalloc_fault+0x190/0x190
[ 322.900775] [<c15a5ca7>] error_code+0x67/0x6c
[ 322.900807] Code: c8 89 45 f0 89 44 24 10 e8 fb 4a 03 c9 8b 55 e8 03 5d f0 eb c2 90 8d 74 26 00 55 89 e5 57 56 53 83 ec 10 3e 8d 74 26 00 8b 48 1c
[ 322.901030] 41 48 01 0f b6 50 10 f6 c2 02 0f 85 d1 00 00 00 83 ca 02 88
[ 322.901140] EIP: [<f855b001>] drm_mm_scan_add_block+0x11/0x100 [drm] SS:ESP 0068:f34f3d64
[ 322.901212] CR2: 0000000000000048

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+7ubuntu7
ProcVersionSignature: Ubuntu 3.2.0-5.11-generic-pae 3.2.0-rc5
Uname: Linux 3.2.0-5-generic-pae i686
ApportVersion: 1.90-0ubuntu1
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,imgpng,gnomecompat,regex,place,snap,vpswitch,mousepoll,grid,compiztoolbox,animation,move,session,resize,unitymtgrabhandles,workarounds,wall,expo,fade,ezoom,scale,unityshell]
Date: Fri Dec 16 18:08:58 2011
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Fujitsu Limited. Device [10cf:1458]
   Subsystem: Fujitsu Limited. Device [10cf:1458]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20111121)
MachineType: FUJITSU LifeBook T4410
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-5-generic-pae root=UUID=74b73169-6ac4-4698-bb5e-1f9b21250507 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/30/2009
dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
dmi.bios.version: Version 1.05
dmi.board.name: FJNB206
dmi.board.vendor: FUJITSU
dmi.chassis.type: 10
dmi.chassis.vendor: A40R8CE708EA1001
dmi.modalias: dmi:bvnFUJITSU//PhoenixTechnologiesLtd.:bvrVersion1.05:bd09/30/2009:svnFUJITSU:pnLifeBookT4410:pvr:rvnFUJITSU:rnFJNB206:rvr:cvnA40R8CE708EA1001:ct10:cvr:
dmi.product.name: LifeBook T4410
dmi.sys.vendor: FUJITSU
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu8
version.libdrm2: libdrm2 2.4.27-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu4
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu4
version.xserver-xorg-core: xserver-xorg-core 2:1.10.4-1ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1

Revision history for this message
Bryce Harrington (bryce) wrote :
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → High
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Triaged
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.2.0-6.12)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

You can update to the latest development kernel by simply running the following commands in a terminal window:

    sudo apt-get update
    sudo apt-get upgrade

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

If you want this bot to quit automatically requesting kernel tests, add a tag named: bot-stop-nagging.

 Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.2.0-6.12
Revision history for this message
Gianfranco Liporace (dr.kabuto) wrote :

Hi,
I have this bug too but I get it randomly when using Unity 3d doing normal work, the screen become black as if the video cable is unplugged, I need to Alt+SysReq+REISUB to reset. It doesn't happen with Unity 2d.

Revision history for this message
Gianfranco Liporace (dr.kabuto) wrote :
Download full text (4.5 KiB)

Here the relevant messages from syslog:

Dec 19 14:25:12 localhost kernel: [ 4965.409518] BUG: unable to handle kernel NULL pointer dereference at 00000048
Dec 19 14:25:12 localhost kernel: [ 4965.409572] IP: [<f810edd1>] drm_mm_scan_add_block+0x11/0x100 [drm]
Dec 19 14:25:12 localhost kernel: [ 4965.409622] *pde = 7c79e067
Dec 19 14:25:12 localhost kernel: [ 4965.409639] Oops: 0002 [#1] SMP
Dec 19 14:25:12 localhost kernel: [ 4965.409663] Modules linked in: rfcomm bnep bluetooth dm_crypt binfmt_misc snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi usbhid hid snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore ppdev snd_page_alloc psmouse serio_raw parport_pc w83627ehf hwmon_vid coretemp lp parport i915 floppy r8169 drm_kms_helper drm i2c_algo_bit video
Dec 19 14:25:12 localhost kernel: [ 4965.409887]
Dec 19 14:25:12 localhost kernel: [ 4965.409897] Pid: 4489, comm: Xorg Not tainted 3.2.0-5-generic #11-Ubuntu FUJITSU SIEMENS ESPRIMO P3510 /D2750-A2
Dec 19 14:25:12 localhost kernel: [ 4965.409960] EIP: 0060:[<f810edd1>] EFLAGS: 00013286 CPU: 1
Dec 19 14:25:12 localhost kernel: [ 4965.409996] EIP is at drm_mm_scan_add_block+0x11/0x100 [drm]
Dec 19 14:25:12 localhost kernel: [ 4965.410026] EAX: f68c2e0c EBX: f3cbf1bc ECX: 00000000 EDX: efe4dd40
Dec 19 14:25:12 localhost kernel: [ 4965.410058] ESI: f3cbf1bc EDI: f3cbf22c EBP: efe4dcf4 ESP: efe4dcd8
Dec 19 14:25:12 localhost kernel: [ 4965.410089] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Dec 19 14:25:12 localhost kernel: [ 4965.410117] Process Xorg (pid: 4489, ti=efe4c000 task=efe99960 task.ti=efe4c000)
Dec 19 14:25:12 localhost kernel: [ 4965.410156] Stack:
Dec 19 14:25:12 localhost kernel: [ 4965.410167] 00000800 00800000 00800000 04300000 f3cbf1bc f3cbf1bc f3cbf22c efe4dd00
Dec 19 14:25:12 localhost kernel: [ 4965.410216] f829a90a efe4dd40 efe4dd54 f829aa0f 00000000 10000000 00000000 00000480
Dec 19 14:25:12 localhost kernel: [ 4965.410265] 00000180 00000000 00000001 00000c0e f3cbf190 01207990 00800000 f3cbe000
Dec 19 14:25:12 localhost kernel: [ 4965.410314] Call Trace:
Dec 19 14:25:12 localhost kernel: [ 4965.410340] [<f829a90a>] mark_free+0x2a/0x40 [i915]
Dec 19 14:25:12 localhost kernel: [ 4965.410375] [<f829aa0f>] i915_gem_evict_something+0xef/0x370 [i915]
Dec 19 14:25:12 localhost kernel: [ 4965.410417] [<f82965f4>] i915_gem_object_bind_to_gtt+0x1b4/0x400 [i915]
Dec 19 14:25:12 localhost kernel: [ 4965.410462] [<f829918c>] i915_gem_object_pin+0x13c/0x1a0 [i915]
Dec 19 14:25:12 localhost kernel: [ 4965.410498] [<c105a0a5>] ? mod_timer+0x1e5/0x280
Dec 19 14:25:12 localhost kernel: [ 4965.410534] [<f82be351>] ? ring_write_tail+0x21/0x30 [i915]
Dec 19 14:25:12 localhost kernel: [ 4965.410573] [<f829b6e2>] i915_gem_execbuffer_reserve.isra.5+0x262/0x340 [i915]
Dec 19 14:25:12 localhost kernel: [ 4965.410619] [<f829bf96>] i915_gem_do_execbuffer.isra.7+0x496/0x7c0 [i915]
Dec 19 14:25:12 localhost kernel: [ 4965.410658] [<c102bf95>] ? iounmap_atomic+0x75/0xa0
Dec 19 14:25:12 localhost kernel: [ 4965.410687] [<c1122c78>] ? __kmalloc+0x1d8/0x1e0
Dec 19 14:25:12 localhost kernel: [ 4965.410720] [<f829c7dd>...

Read more...

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Bug 905597] Re: BUG: unable to handle kernel NULL pointer dereference at 00000048 while plugging / unplugging external DVI monitor

Possibly this and other recent kernel BUGs and/or OOPses are due to the
regression fixed by this:

  https://lkml.org/lkml/2011/12/14/395

In which case they're dupes of this bug:

  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/903010

I'm re-testing with today's kernel, but don't know if those include the
upstream patch yet.

Revision history for this message
Bryce Harrington (bryce) wrote :

Still got a freeze with that kernel, although I think the stack trace may have been different from this one.

Revision history for this message
Bryce Harrington (bryce) wrote :

After updating to the newer kernel, plugged/unplugged DVI cable half a dozen times without triggering any crashes.

Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.