i915: repeatable NULL pointer oops via i915_driver_lastclose+0x30/0x60 on connection to KVM

Bug #1077658 reported by Dave Gilbert
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

My dad's new machine (freshly installed with Quantal) reliably kernel panics at boot iff connected via a kvm
switch.

    6.265801] [drm:drm_pci_agp_init] *ERROR* Cannot initialize the agpgart module.
[ 6.280161] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 6.280235] IP: [<ffffffff8168120a>] __mutex_lock_slowpath+0xaa/0x150
[ 6.280287] PGD 210274067 PUD 210275067 PMD 0
[ 6.280359] Oops: 0002 [#1] SMP
[ 6.280416] CPU 0
[ 6.280433] Modules linked in: i915(+) snd_rawmidi snd_seq_midi_event snd_seq snd_timer kvm snd_seq_device drm_kms_helper drm snd soundcore eeepc_wmi snd_page_alloc ghash_clmul
ni_intel asus_wmi psmouse mei cryptd i2c_algo_bit sparse_keymap lpc_ich wmi joydev microcode serio_raw mac_hid video hid_generic r8169 usbhid hid usb_storage
[ 6.281012]
[ 6.281037] Pid: 350, comm: modprobe Not tainted 3.5.0-18-generic #29-Ubuntu System manufacturer System Product Name/P8H61-MX R2.0
[ 6.281130] RIP: 0010:[<ffffffff8168120a>] [<ffffffff8168120a>] __mutex_lock_slowpath+0xaa/0x150
[ 6.281194] RSP: 0018:ffff88021060dd38 EFLAGS: 00010246
[ 6.281226] RAX: 0000000000000000 RBX: ffff88021333aba0 RCX: 0000000000000000
[ 6.281262] RDX: ffff88021060dd50 RSI: ffffffffa011aa1a RDI: ffff88021333aba4
[ 6.281297] RBP: ffff88021060dd98 R08: 0000000000000316 R09: 0000000000000000
[ 6.281332] R10: ffffffff8184b320 R11: 0000000000000000 R12: ffff880210a60000
[ 6.281368] R13: ffff88021333aba4 R14: 00000000ffffffff R15: ffff88021333aba8
[ 6.281404] FS: 00007f1439f25700(0000) GS:ffff88021fa00000(0000) knlGS:0000000000000000
[ 6.281452] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6.281485] CR2: 0000000000000000 CR3: 00000002103b8000 CR4: 00000000000407f0
[ 6.281520] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 6.281556] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 6.281591] Process modprobe (pid: 350, threadinfo ffff88021060c000, task ffff880210a60000)
[ 6.281639] Stack:
[ 6.281666] 0000000000000000 ffff88021410c090 ffff88021060dda8 ffff88021333aba8
[ 6.281766] 0000000000000000 0000000000000018 ffff88021060ddb8 ffff88021333aba0
[ 6.281866] ffff88021333a800 ffff88021333aba0 0000000000000000 ffff88021410c090
[ 6.281966] Call Trace:
[ 6.281997] [<ffffffff81680d0a>] mutex_lock+0x2a/0x50
[ 6.282042] [<ffffffffa0218e5b>] intel_fb_restore_mode+0x2b/0xb0 [i915]
[ 6.282085] [<ffffffffa01dc120>] i915_driver_lastclose+0x30/0x60 [i915]
[ 6.282124] [<ffffffffa00f479a>] drm_lastclose+0x4a/0x320 [drm]
[ 6.282163] [<ffffffffa00fa919>] drm_fill_in_dev+0x139/0x1c0 [drm]
[ 6.282202] [<ffffffffa00fd243>] drm_get_pci_dev+0xd3/0x310 [drm]
[ 6.282238] [<ffffffff8135ad02>] ? pci_get_subsys+0x92/0xd0
[ 6.282274] [<ffffffffa00fd54e>] drm_pci_init+0xce/0x130 [drm]
[ 6.282309] [<ffffffffa0258000>] ? 0xffffffffa0257fff
[ 6.282348] [<ffffffffa0258066>] i915_init+0x66/0x68 [i915]
[ 6.282383] [<ffffffff8100212a>] do_one_initcall+0x12a/0x180
[ 6.282418] [<ffffffff810b5a42>] sys_init_module+0xc2/0x230
[ 6.282454] [<ffffffff8168b629>] system_call_fastpath+0x16/0x1b
[ 6.282487] Code: 00 4c 8d 6b 04 4c 8d 7b 08 41 be ff ff ff ff 4c 89 ef e8 7a 21 00 00 48 8b 43 10 48 8d 55 b8 4c 89 7d b8 48 89 53 10 48 89 45 c0 <48> 89 10 44 89 f0 4c 89 65
c8 87 03 83 f8 01 75 24 eb 2c 0f 1f
[ 6.283427] RIP [<ffffffff8168120a>] __mutex_lock_slowpath+0xaa/0x150
[ 6.283476] RSP <ffff88021060dd38>
[ 6.283505] CR2: 0000000000000000
[ 6.283610] ---[ end trace 16d0fffc802f787b ]---

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: linux-image-3.5.0-18-generic 3.5.0-18.29
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D2p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Sun Nov 11 15:58:14 2012
HibernationDevice: RESUME=UUID=313fbfe9-c86c-41cc-afc9-6a5713330d47
InstallationDate: Installed on 2012-11-10 (1 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: System manufacturer System Product Name
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=linux
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-18-generic root=UUID=5b08448e-d2ba-49b3-a998-8a780bb90090 ro recovery nomodeset
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-18-generic N/A
 linux-backports-modules-3.5.0-18-generic N/A
 linux-firmware 1.95
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/29/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0504
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8H61-MX R2.0
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0504:bd06/29/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8H61-MXR2.0:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Some addirtional notes:
  * It works if the monitor is connected directly
  * The KVM is an old Belkin 8 way Omniview 8 pro (which works fine with the other machines)
  * This ubuntu-bug capture was made from the rescue shell after bringing up the networking manually
  * The symptom as far as the user goes is that they see the empty purple background come up, then the monitor blanks and never comes back.
  * The machine is a zoostorm 7873-7071 which seems to just be an Asus P8H61-MX motherboard + Intel G645 CPU - nothing particularly special.

Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

This is probably a dupe of bug 1070690

3.7.0-030700rc5 #201211110835 from the nightlies works for me (http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7-rc5-raring/ although I'm on a quantal userspace)
  So I say that makes it a fixed upstream

3.6.3-030603 #201210211349 boots but won't start X (but ctrl-alt-f1 gets me a console)

Dave

penalvch (penalvch)
tags: added: kernel-fixed-upstream kernel-fixed-upstream-v3.7-rc5
Changed in linux (Ubuntu):
importance: Undecided → Medium
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.