LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-20-2010, 11:03 AM   #1
Bourdieu
Member
 
Registered: Jan 2006
Location: Paris
Distribution: Slackware current
Posts: 38

Rep: Reputation: 11
unreliable suspend with i915 due to regression in 2.6.35 kernel


Since the upgrade to kernel 2.6.35.7, suspend, which was working nicely on my intel GM45 powered machine before, became unreliable.

Approximately once every four suspend to ram, the suspend process freezes and there is no way to get back other than powering off the machine.

This regression has been reported by kernel developers a while ago (http://us.generation-nt.com/answer/2...199641631.html) but the fix released was only for the 2.6.36 serie. Currently, there is no fix available in the 2.6.35 serie. The last stable release 2.6.35.10 still suffers from this regression.

The cause of this problem lies in the addition of a feature, the BSD ring buffer v2 to the i915 module. One quick way to fix this is to undefine HAS_BSD(dev) in the file /usr/src/linux/drivers/gpu/drm/i915/i915_drv.h.

Code:
1167-                    (dev)->pci_device == 0x2A42 ||         \
1168-                    (dev)->pci_device == 0x2E42)
1169-
1170:/*#define HAS_BSD(dev)            (IS_IRONLAKE(dev) || IS_G4X(dev))*/
1171:#define HAS_BSD(dev) 0
1172-#define I915_NEED_GFX_HWS(dev)     (INTEL_INFO(dev)->need_gfx_hws)
1173-
1174-/* With the 945 and later, Y tiling got adjusted so that it was 32 128-byte
After that, everything works perfectly like before.

I posted a reply to the above thread to notify the developers about this problem and my post is currently in moderation.
 
Old 01-20-2011, 03:54 AM   #2
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Thanks for posting your solution to this problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Deleted due to Upgrade, Cannot Reinstall Kernel due to Dependency Issues Kenji Miyamoto Debian 2 02-17-2007 09:44 AM
No DRI with an i865G graphics adaptor and the i915 kernel module HicEtNunc Linux - Software 2 05-02-2006 12:32 PM
Unreliable suspend to disk with Slackware 10.2 c10 Slackware 2 04-17-2006 04:55 AM
ubuntu kernel, i915: is there a patch? Nightfrost Ubuntu 3 06-04-2005 08:22 AM
compiling kernel 2.6.10 and I need driver i915 EOHooligan Linux - General 1 02-01-2005 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration