Page 1 of 1

freeze: kernel BUG at drivers/gpu/drm/i915/i915_gem.c

Posted: 9. May 2011, 16:07
by Arael
Hi,

occasionally, when I try to suspend or hibernate my laptop freezes.
Any suggestions?

I tried to google this problem but didn't find a fix. There are several bugs releated to this file but the line is not 4238.
Should I upgrade to kernel 2.6.38?

lspci output:

Code: Select all

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
syslog:

Code: Select all

May  9 16:18:57 darkstar kernel: [12373.706668] kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4238!
May  9 16:18:57 darkstar kernel: [12373.706670] invalid opcode: 0000 [#1] 

Re: freeze: kernel BUG at drivers/gpu/drm/i915/i915_gem.c

Posted: 10. May 2011, 07:33
by Arael
I have upgraded to 2.6.37.6. I let you know if this solves or not the problem. It seems to me that I'm the only one having these problems. :?

Re: freeze: kernel BUG at drivers/gpu/drm/i915/i915_gem.c

Posted: 10. May 2011, 14:09
by djemos
I have a
VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)

and from lsmod i see that loads i915 driver

I had upgraded from 13.1.2 to 13.37 and also made a clean install of salix 13.37 and under kde system breaks up and freeze (crash) without reason even if i set composite off.
Kernel is 2.6.37.6.

It is intel driver problem.
I suggest to install a different intel driver 2.14.0 http://ftp.ntua.gr/pub/linux/slackware/ ... i486-1.txz
and see if this solves the problem.

Also try http://ftp.ntua.gr/pub/linux/slackware/ ... i486-1.txz

Re: freeze: kernel BUG at drivers/gpu/drm/i915/i915_gem.c

Posted: 10. May 2011, 18:37
by Arael
djemos, did installing mesa and that intel driver solved the problem for you? Because the driver you are suggesting is an Xorg driver while the log is pointing out that the problem is inside a kernel file.

I think that the problem both of us are experimenting is kernel releated.
It seems to me that the only way to fix this is by upgrading the kernel.
If the release .37 doesn't contain a fix for this bug maybe we should try with the .38 versions.

It is incredible, I have stopped using Archlinux because I needed more stable machine and here I am with a crashing Slackware. :|

Re: freeze: kernel BUG at drivers/gpu/drm/i915/i915_gem.c

Posted: 10. May 2011, 19:08
by Arael
Here https://bugzilla.kernel.org/show_bug.cgi?id=26932 a suggestion is to disable the framebuffer by passing this parameter during boot:

Code: Select all

i915.powersave=0
I will first try that and then if this doesn't work I will upgrade to the last stable kernel (2.6.38.6 at the moment.)

Re: freeze: kernel BUG at drivers/gpu/drm/i915/i915_gem.c

Posted: 11. May 2011, 18:40
by djemos
Arael wrote:djemos, did installing mesa and that intel driver solved the problem for you? Because the driver you are suggesting is an Xorg driver while the log is pointing out that the problem is inside a kernel file.

I think that the problem both of us are experimenting is kernel releated.
It seems to me that the only way to fix this is by upgrading the kernel.
If the release .37 doesn't contain a fix for this bug maybe we should try with the .38 versions.

It is incredible, I have stopped using Archlinux because I needed more stable machine and here I am with a crashing Slackware. :|
Because upgraded my main system where i have all of my work, emails, etc from salix-kde-13.1.2 to salix-13.37, my system became unstable and crash needed a cold reboot, I installed again salix-kde-13.1.2 in another partition and copied /home to the new system so i had again a stable system without loosing my job.

what i said about intel-driver and mesa i read it in internet and did not check it by myself. Maybe we face a different problem related to intel kernel driver. But it is the first time slackware-kde is really unstable and unusable in laptops with intel graphic chipsets.

Edit: I found why kernel crash. I installed salix-xfce-13.37 and kernel crash. Same with KDE. The problem was not kde or xfce or slackware but ndiswrapper. I had setup my wireless card net8187b with ndiswrapper and kernel crash. The windows driver is better and faster. In salix-13.1.2 ndiswrapper wors fine. But new version included in salix-13.37 crash the kernel. So i removed windows driver net8187b and use linux rtl8187 driver. :-)