← Back to team overview

bumblebee team mailing list archive

[Bug 1070690] Re: BUG: unable to handle kernel NULL pointer dereference at (null); RIP: 0010:[<ffffffff8167f93a>] [<ffffffff8167f93a>] __mutex_lock_slowpath+0xaa/0x150

 

** Tags added: kernel-daily-bug

-- 
You received this bug notification because you are a member of Bumblebee
Project, which is subscribed to Bumblebee.
Matching subscriptions: Bumblebee Team, Bumblebee Team
https://bugs.launchpad.net/bugs/1070690

Title:
  BUG: unable to handle kernel NULL pointer dereference at (null); RIP:
  0010:[<ffffffff8167f93a>] [<ffffffff8167f93a>]
  __mutex_lock_slowpath+0xaa/0x150

Status in Bumblebee:
  New
Status in bumblebee package in Ubuntu:
  Invalid
Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Quantal:
  Invalid
Status in linux source package in Raring:
  Invalid

Bug description:
  Upon loading the i915 module in 12.10 (quantal) the following error is seen in dmesg on both Sandy Bridge iGPUs (i7-2600) and Ivy Bridge (i7-3770). The motherboards used are Asus P8H67M Pro and P8H77M Pro:
  [   40.647417] [drm:drm_pci_agp_init] *ERROR* Cannot initialize the agpgart module.
  [   40.647819] BUG: unable to handle kernel NULL pointer dereference at           (null)
  [   40.647905] IP: [<ffffffff8167f93a>] __mutex_lock_slowpath+0xaa/0x150
  [   40.647953] PGD 40796e067 PUD 405ab0067 PMD 0
  [   40.648022] Oops: 0002 [#1] SMP
  [   40.648076] CPU 2
  [   40.648092] Modules linked in: i915(+) drm_kms_helper drm i2c_algo_bit eeepc_wmi asus_wmi sparse_keymap coretemp kvm_intel kvm ghash_clmulni_intel aesni_intel cryptd aes_x86_64 microcode wmi psmouse video mei lpc_ich mac_hid serio_raw lp parport hid_generic usbhid hid btrfs zlib_deflate libcrc32c raid10 raid456 async_pq async_xor xor async_memcpy async_raid6_recov r8169 raid6_pq async_tx raid1 raid0 multipath linear
  [   40.648839]
  [   40.648863] Pid: 1230, comm: modprobe Not tainted 3.5.0-17-generic #28-Ubuntu System manufacturer System Product Name/P8H77-M PRO
  [   40.648950] RIP: 0010:[<ffffffff8167f93a>]  [<ffffffff8167f93a>] __mutex_lock_slowpath+0xaa/0x150
  [   40.649008] RSP: 0018:ffff880407cb1d38  EFLAGS: 00010246
  [   40.649038] RAX: 0000000000000000 RBX: ffff88040815e3a0 RCX: 0000000000000000
  [   40.649069] RDX: ffff880407cb1d50 RSI: ffffffffa02e2a1a RDI: ffff88040815e3a4
  [   40.649101] RBP: ffff880407cb1d98 R08: 000000000000036a R09: 0000000000000000
  [   40.649133] R10: ffffffff8184b320 R11: 0000000000000000 R12: ffff880403c89700
  [   40.649165] R13: ffff88040815e3a4 R14: 00000000ffffffff R15: ffff88040815e3a8
  [   40.649197] FS:  00007f73e9b36700(0000) GS:ffff88041fa80000(0000) knlGS:0000000000000000
  [   40.649239] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
  [   40.649269] CR2: 0000000000000000 CR3: 00000004048bd000 CR4: 00000000001407e0
  [   40.649301] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
  [   40.649333] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
  [   40.649364] Process modprobe (pid: 1230, threadinfo ffff880407cb0000, task ffff880403c89700)
  [   40.649406] Stack:
  [   40.649431]  0000000000000000 ffff8804097c4090 ffff880407cb1da8 ffff88040815e3a8
  [   40.649526]  0000000000000000 0000000000000018 ffff880407cb1db8 ffff88040815e3a0
  [   40.649621]  ffff88040815e000 ffff88040815e3a0 0000000000000000 ffff8804097c4090
  [   40.649716] Call Trace:
  [   40.649743]  [<ffffffff8167f43a>] mutex_lock+0x2a/0x50
  [   40.649782]  [<ffffffffa0368d4b>] intel_fb_restore_mode+0x2b/0xb0 [i915]
  [   40.649820]  [<ffffffffa032c120>] i915_driver_lastclose+0x30/0x60 [i915]
  [   40.649855]  [<ffffffffa02bc79a>] drm_lastclose+0x4a/0x320 [drm]
  [   40.649889]  [<ffffffffa02c2919>] drm_fill_in_dev+0x139/0x1c0 [drm]
  [   40.649924]  [<ffffffffa02c5243>] drm_get_pci_dev+0xd3/0x310 [drm]
  [   40.649957]  [<ffffffff8135ab52>] ? pci_get_subsys+0x92/0xd0
  [   40.649990]  [<ffffffffa02c554e>] drm_pci_init+0xce/0x130 [drm]
  [   40.650021]  [<ffffffffa03a8000>] ? 0xffffffffa03a7fff
  [   40.650056]  [<ffffffffa03a8066>] i915_init+0x66/0x68 [i915]
  [   40.650088]  [<ffffffff8100212a>] do_one_initcall+0x12a/0x180
  [   40.650120]  [<ffffffff810b5a22>] sys_init_module+0xc2/0x230
  [   40.650151]  [<ffffffff81689d29>] system_call_fastpath+0x16/0x1b
  [   40.650181] 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
  [   40.651118] RIP  [<ffffffff8167f93a>] __mutex_lock_slowpath+0xaa/0x150
  [   40.651163]  RSP <ffff880407cb1d38>
  [   40.651190] CR2: 0000000000000000
  [   40.651217] ---[ end trace fdda5e77f68c8561 ]---

  WORKAROUND:
  Blacklisting the i915 module is a workaround for those not needing the iGPU to do anything more than console.

  Using v3.7-rc2-raring Kernel yields:
  [   36.124278] [drm:drm_pci_agp_init] *ERROR* Cannot initialize the agpgart module.
  [   36.124324] DRM: Fill_in_dev failed.

  ---
  AlsaDevices:
   total 0
   crw-rw---T 1 root audio 116,  1 Oct 24 08:28 seq
   crw-rw---T 1 root audio 116, 33 Oct 24 08:28 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  DistroRelease: Ubuntu 12.10
  HibernationDevice: RESUME=UUID=188a3fc6-a8ef-479f-b1c2-0bc0fb00bfec
  IwConfig: Error: [Errno 2] No such file or directory
  MachineType: System manufacturer System Product Name
  Package: linux-image-3.5.0-17-generic 3.5.0-17.28
  PackageArchitecture: amd64
  PciMultimedia:

  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB:

  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-17-generic root=UUID=1188839d-3704-41ad-885f-eb41f30e9ee2 ro nomodeset bootdegraded=true
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  RelatedPackageVersions:
   linux-restricted-modules-3.5.0-17-generic N/A
   linux-backports-modules-3.5.0-17-generic  N/A
   linux-firmware                            1.95
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  quantal
  Uname: Linux 3.5.0-17-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

  dmi.bios.date: 07/27/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0915
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: P8H77-M PRO
  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.:bvr0915:bd07/27/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8H77-MPRO:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer
  ---
  AlsaDevices:
   total 0
   crw-rw---T 1 root audio 116,  1 Oct 24 08:35 seq
   crw-rw---T 1 root audio 116, 33 Oct 24 08:35 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  CurrentDmesg:
   [   11.782555] r8169 0000:04:00.0: >eth0: link up
   [   11.784100] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  DistroRelease: Ubuntu 12.10
  HibernationDevice: RESUME=UUID=188a3fc6-a8ef-479f-b1c2-0bc0fb00bfec
  IwConfig: Error: [Errno 2] No such file or directory
  MachineType: System manufacturer System Product Name
  Package: linux-image-3.5.0-17-generic 3.5.0-17.28
  PackageArchitecture: amd64
  PciMultimedia:

  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB:

  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-17-generic root=UUID=69669355-6a56-4fae-be89-e5620bfdcb06 ro nomodeset
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  RelatedPackageVersions:
   linux-restricted-modules-3.5.0-17-generic N/A
   linux-backports-modules-3.5.0-17-generic  N/A
   linux-firmware                            1.95
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  quantal
  Uname: Linux 3.5.0-17-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

  dmi.bios.date: 07/15/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1005
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: P8H67-M PRO
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1005:bd07/15/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP8H67-MPRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/bumblebee/+bug/1070690/+subscriptions