I've updated the description with some troubleshooting steps.

Looking at some of the dupes, people are hitting this same assertion but
with different system configurations.  I would suggest everyone follow
the troubleshooting steps first.

If toggling in BIOS does it, then there's not much we can do on the
software side, at least for Precise.

However, if blacklisting the incorrect kernel driver solves it and makes
Intel graphics stop crashing, that may be of interest to the kernel
team.  Undupe your bug report and update it with your findings, and
we'll go from there.


** Description changed:

+ [Problem]
+ An assertion is hit in drm_intel_bufmgr_gem_init.  We've had about thirty bug 
reports with this error.  X crashes with this stack trace:
+ 
+  __GI___assert_fail (assertion=0xb6f2df80 "0", file=0xb6f2e5ac 
"../../intel/intel_bufmgr_gem.c", line=2783, function=0xb6f2ebb7 
"drm_intel_bufmgr_gem_init") at assert.c:103
+  drm_intel_bufmgr_gem_init (fd=-1, batch_size=16384) at 
../../intel/intel_bufmgr_gem.c:2783
+  intel_init_bufmgr (intel=0xb85cfe08) at ../../src/intel_driver.c:409
+ 
+ The assertion appears to be catching a condition where the pci id does
+ not match any known intel chip generation.  Yet (in most cases),
+ Xorg.0.log shows the system is indeed running on INTEL.
+ 
+ However, the system has two video cards.  Either it's a hybrid (such as
+ in this case), or it has an add-in card.
+ 
+ [Troubleshooting]
+ 1. Run `lspci -vn | grep VGA` and verify that it shows two video cards.
+ 
+ 2. Look in your /var/log/Xorg.0.log for mentions of which X driver is
+ being loaded.  The lines look like this:
+ 
+   [    16.675] (II) RADEON(0): blah blah
+ 
+ 3. Run `dmesg | grep drm`.  The messages will talk about whatever kernel
+ driver it is loading up.
+ 
+ 4. If dmesg mentions anything about "nvidia" or "fglrx", you have the
+ proprietary video driver installed, and probably should uninstall and
+ purge it first.
+ 
+ 5. If it is discussing "nouveau" or "radeon", then the kernel is trying
+ to load the wrong driver.  Do any one of the following:
+ 
+    a) For hybrid graphics:  In BIOS look for a setting to disable the
+ second video card and use it.
+ 
+    b) Blacklist nouveau and/or radeon in your
+ /etc/modprobe.d/blacklist.conf
+ 
+ 
+ [Original Report]
  it crahed when updating gnome
  
  snb-m-gt2 (8086:0116) sandybridge xserver-xorg-video-intel
  
- 
  [   504.155] (--) PCI:*(0:0:2:0) 8086:0116:1043:15f2 rev 9, Mem @ 
0xdd400000/4194304, 0xb0000000/268435456, I/O @ 0x0000e000/64
  [   504.155] (--) PCI: (0:1:0:0) 10de:0df4:1043:15f2 rev 161, Mem @ 
0xdc000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 
0x0000d000/128, BIOS @ 0x????????/524288
- 
  
  Thread 1 (Thread 0xb70b8a40 (LWP 19907)):
  #0  0xb7522424 in __kernel_vsyscall ()
  No symbol table info available.
  #1  0xb71b61ef in __GI_raise (sig=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
          resultvar = <optimized out>
          resultvar = <optimized out>
          pid = -1221419020
          selftid = 19907
  #2  0xb71b9835 in __GI_abort () at abort.c:91
          save_stage = 2
          act = {__sigaction_handler = {sa_handler = 0x5a, sa_sigaction = 
0x5a}, sa_mask = {__val = {89, 3072261660, 3093087272, 90, 3220387364, 
3093087272, 0, 3073182067, 3073548276, 3072004288, 3073552608, 1, 3220387152, 
3072348765, 4222451712, 3093087272, 3093087272, 3093087272, 3093087272, 
3093087361, 3093087372, 3093087272, 3093087372, 0, 0, 0, 0, 0, 3071995669, 0, 
3073182067, 3087007744}}, sa_flags = 0, sa_restorer = 0xb72e4a03 
<_libc_intl_domainname>}
          sigs = {__val = {32, 0 <repeats 31 times>}}
  #3  0xb71af095 in __assert_fail_base (fmt=0xb72e8858 "%s%s%s:%u: 
%s%sAssertion `%s' failed.\n%n", assertion=0xb6f2df80 "0", file=0xb6f2e5ac 
"../../intel/intel_bufmgr_gem.c", line=2783, function=0xb6f2ebb7 
"drm_intel_bufmgr_gem_init") at assert.c:94
          str = 0xb85cc428 "p\244\062\267p\244\062\267"
          total = 4096
  #4  0xb71af147 in __GI___assert_fail (assertion=0xb6f2df80 "0", 
file=0xb6f2e5ac "../../intel/intel_bufmgr_gem.c", line=2783, 
function=0xb6f2ebb7 "drm_intel_bufmgr_gem_init") at assert.c:103
  No locals.
  #5  0xb6f21dc5 in drm_intel_bufmgr_gem_init (fd=-1, batch_size=16384) at 
../../intel/intel_bufmgr_gem.c:2783
          bufmgr_gem = 0xb85cc098
          aperture = {aper_size = 13284702698319380956, aper_available_size = 
13182486328058379784}
          gp = {param = -1201885960, value = 0xb7738ff4}
          ret = <optimized out>
          tmp = -1201865208
          exec2 = false
          __PRETTY_FUNCTION__ = "drm_intel_bufmgr_gem_init"
  #6  0xb6f60fbe in intel_init_bufmgr (intel=0xb85cfe08) at 
../../src/intel_driver.c:409
          batch_size = <optimized out>
  #7  I830PreInit (scrn=0xb85cacf8, flags=0) at ../../src/intel_driver.c:619
          intel = 0xb85cfe08
          defaultWeight = {red = 0, green = 0, blue = 0}
          pEnt = <optimized out>
          flags24 = 22
          zeros = {red = 0, green = 0, blue = 0}
  #8  0xb75c1caf in InitOutput (pScreenInfo=0xb774b300, argc=8, 
argv=0xbff33924) at ../../../../hw/xfree86/common/xf86Init.c:599
          i = <optimized out>
          j = <optimized out>
          k = <optimized out>
          scr_index = <optimized out>
          was_blocked = 0
          modulelist = <optimized out>
          optionlist = 0xb85b9708
          screenpix24 = <optimized out>
          pix24 = <optimized out>
          pix24From = X_DEFAULT
          pix24Fail = 0
          autoconfig = <optimized out>
          configured_device = <optimized out>
  #9  0xb756a0e0 in main (argc=8, argv=0xbff33924, envp=0xbff33948) at 
../../dix/main.c:204
          i = <optimized out>
          alwaysCheckForInput = {0, 1}
  
  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: xserver-xorg-core 2:1.11.4-0ubuntu7
  ProcVersionSignature: Ubuntu 3.2.0-19.30-generic-pae 3.2.11
  Uname: Linux 3.2.0-19-generic-pae i686
  .tmp.unity.support.test.0:
  
  ApportVersion: 1.95-0ubuntu1
  Architecture: i386
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  Date: Fri Mar 23 11:00:29 2012
  DistUpgraded: Fresh install
  DistroCodename: precise
  DistroVariant: ubuntu
  ExecutablePath: /usr/bin/Xorg
  ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
  MachineType: ASUSTeK Computer Inc. K53SV
  ProcCmdline: /usr/bin/X :1 -auth /var/run/lightdm/root/:1 -nolisten tcp vt7 
-novtswitch
  ProcEnviron:
  
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-19-generic-pae 
root=UUID=96c19ecd-0635-48fe-8ed6-afb014814fdc ro quiet splash vt.handoff=7
  Signal: 6
  SourcePackage: xorg-server
  Title: Xorg crashed with SIGABRT in raise()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
  
  dmi.bios.date: 09/26/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: K53SV.315
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: K53SV
  dmi.board.vendor: ASUSTeK Computer Inc.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: ASUSTeK Computer Inc.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrK53SV.315:bd09/26/2011:svnASUSTeKComputerInc.:pnK53SV:pvr1.0:rvnASUSTeKComputerInc.:rnK53SV:rvr1.0:cvnASUSTeKComputerInc.:ct9:cvr1.0:
  dmi.product.name: K53SV
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK Computer Inc.
  version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1
  version.libdrm2: libdrm2 2.4.32-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu2
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu2
  version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu7
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:6.14.99~git20111219.aacbd629-0ubuntu2
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:0.0.16+git20111201+b5534a1-1build2

** Summary changed:

- [snb-m-gt2 + GF106] Xorg crashed with SIGABRT in __assert_fail_base() unless 
clear compiz/unity settings
+ [snb-m-gt2 + GF106] Xorg crashed with SIGABRT in __assert_fail_base() because 
wrong kernel module was loaded

** Summary changed:

- [snb-m-gt2 + GF106] Xorg crashed with SIGABRT in __assert_fail_base() because 
wrong kernel module was loaded
+ [snb-m-gt2 + GF106] libdrm assert hit in drm_intel_bufmgr_gem_init() because 
wrong kernel module was loaded

** Summary changed:

- [snb-m-gt2 + GF106] libdrm assert hit in drm_intel_bufmgr_gem_init() because 
wrong kernel module was loaded
+ [hybrid snb-m-gt2 + GF106] libdrm assert hit in drm_intel_bufmgr_gem_init() 
because wrong kernel module was loaded

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/962892

Title:
  [hybrid snb-m-gt2 + GF106] libdrm assert hit in
  drm_intel_bufmgr_gem_init() because wrong kernel module was loaded

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/962892/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to