Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Apple Intel Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Apple Intel Users
Discussions for users who are using Apple Intel based systems with Ubuntu.

 
Thread Tools Display Modes
Old October 23rd, 2007   #1
E Gardner
5 Cups of Ubuntu
 
Join Date: Aug 2007
Location: Los Angeles, CA
Beans: 18
Ubuntu 7.04 Feisty Fawn
Can ATI mac suspend problem be solved by custom kernel?

So, I am aware that the 7.10 Ubuntu kernel is incapable of successful suspend/resume in Macs that use ATI drivers. Has anyone found a way to get around this problem by compiling a custom kernel? Would this even be possible?

I would like to try this myself if I can figure out how to do it - I have a first generation MacBook Pro, and the ATI-related suspend problems have been a thorn in my side ever since I first started experimenting with Linux. This is the last potential solution to this problem I can think of.

If people posted their own experiences or advice about doing this, that would be helpful. I was planning to use a recent vanilla kernel and apply the mactel patches (as described in another thread here) - is that all I need?

One thing that I am most confused about is how to recompile a new fglrx driver after making a new kernel - what do I do with the old driver after this is done? Should I uninstall it before making a new kernel? If I did this, I would have to do everything from the command-line, which could be difficult.

Also, how would I keep the automatic updates from ruining a custom kernel/driver combination after it has been put together (assuming I get that far)?
E Gardner is offline   Reply With Quote
Old October 23rd, 2007   #2
cyberdork33
OK, I Ubuntu. Do you Ubuntu?
 
cyberdork33's Avatar
 
Join Date: Aug 2005
Location: Huntsville, AL, USA
Beans: 7,453
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to cyberdork33 Send a message via MSN to cyberdork33 Send a message via Yahoo to cyberdork33
Re: Can ATI mac suspend problem be solved by custom kernel?

Quote:
Originally Posted by E Gardner View Post
So, I am aware that the 7.10 Ubuntu kernel is incapable of successful suspend/resume in Macs that use ATI drivers. Has anyone found a way to get around this problem by compiling a custom kernel? Would this even be possible?
maybe, but doubt it. Since the problem is the fglrx module, an open source alternative to that would be best. However, that is not near ready yet.

Quote:
I would like to try this myself if I can figure out how to do it - I have a first generation MacBook Pro, and the ATI-related suspend problems have been a thorn in my side ever since I first started experimenting with Linux. This is the last potential solution to this problem I can think of.

If people posted their own experiences or advice about doing this, that would be helpful. I was planning to use a recent vanilla kernel and apply the mactel patches (as described in another thread here) - is that all I need?
See posted info in FAQ.

Quote:
One thing that I am most confused about is how to recompile a new fglrx driver after making a new kernel - what do I do with the old driver after this is done? Should I uninstall it before making a new kernel? If I did this, I would have to do everything from the command-line, which could be difficult.
Be sure you use the correct driver version number that you have when you use the comamnds.
http://wiki.cchtml.com/index.php/Ubu...river_Manually

Quote:
Also, how would I keep the automatic updates from ruining a custom kernel/driver combination after it has been put together (assuming I get that far)?
I don't know that it would... maybe on a complete kernel update, but wouldn't you want to try it first?
__________________
20" iMac C2D (iMac5,1)
How-Tos: Multi-Boot Mactel | EFI-MBR Madness
Before You Post... | Mactel-Support Team | Intel Mac FAQ
cyberdork33 is offline   Reply With Quote
Old October 23rd, 2007   #3
cyberdork33
OK, I Ubuntu. Do you Ubuntu?
 
cyberdork33's Avatar
 
Join Date: Aug 2005
Location: Huntsville, AL, USA
Beans: 7,453
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to cyberdork33 Send a message via MSN to cyberdork33 Send a message via Yahoo to cyberdork33
Re: Can ATI mac suspend problem be solved by custom kernel?

Update. This will not be fixed until ATI updates their drivers

Quote:
Originally Posted by Gutsy Gibbon Release Notes
Suspend to RAM with fglrx
  • Attempting to suspend to RAM using the proprietary fglrx ATI video driver from the restricted component will hard-lock the system due to changes in the kernel's memory allocator (which will be the default in Linux 2.6.23) that have not been followed by ATI in a timely fashion; this is the vendor's responsibility and is beyond our control due to the proprietary nature of the driver. Workarounds include using Ubuntu 7.04, avoiding suspending to RAM, or using the free ATI driver. Bug #121653
__________________
20" iMac C2D (iMac5,1)
How-Tos: Multi-Boot Mactel | EFI-MBR Madness
Before You Post... | Mactel-Support Team | Intel Mac FAQ

Last edited by cyberdork33; October 23rd, 2007 at 03:54 PM..
cyberdork33 is offline   Reply With Quote
Old October 23rd, 2007   #4
E Gardner
5 Cups of Ubuntu
 
Join Date: Aug 2007
Location: Los Angeles, CA
Beans: 18
Ubuntu 7.04 Feisty Fawn
Re: Can ATI mac suspend problem be solved by custom kernel?

So the kernel change that keeps this from working is not a ubuntu-specific thing, but a problem that will become standardized in all newer versions of the Linux Kernel itself, regardless of distribution? That is really unfortunate.
E Gardner is offline   Reply With Quote
Old October 23rd, 2007   #5
E Gardner
5 Cups of Ubuntu
 
Join Date: Aug 2007
Location: Los Angeles, CA
Beans: 18
Ubuntu 7.04 Feisty Fawn
Re: Can ATI mac suspend problem be solved by custom kernel?

In the bug description for this, there is a lot of discussion of SLAB/SLUB (I am assuming these are kernel components) and switching from one to the other being the source of the problem. Can anyone describe what these things actually are?
E Gardner is offline   Reply With Quote
Old October 23rd, 2007   #6
greg.hagen
5 Cups of Ubuntu
 
Join Date: Nov 2006
Location: Santa Cruz, CA
Beans: 34
Ubuntu 8.10 Intrepid Ibex
Re: Can ATI mac suspend problem be solved by custom kernel?

I have fglrx and suspend working in gutsy. I just loaded Feisty's kernel (8.6.20-15) and installed fglrx from ati's website.

I'll make a guide if I get the time.
__________________
Hardy Heron 64-bit on a Dell 1501: AMD 2.0ghz Turion 64x2, ATI x1150, 2gb ram.
greg.hagen is offline   Reply With Quote
Old October 23rd, 2007   #7
cyberdork33
OK, I Ubuntu. Do you Ubuntu?
 
cyberdork33's Avatar
 
Join Date: Aug 2005
Location: Huntsville, AL, USA
Beans: 7,453
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to cyberdork33 Send a message via MSN to cyberdork33 Send a message via Yahoo to cyberdork33
Re: Can ATI mac suspend problem be solved by custom kernel?

Quote:
Originally Posted by E Gardner View Post
In the bug description for this, there is a lot of discussion of SLAB/SLUB (I am assuming these are kernel components) and switching from one to the other being the source of the problem. Can anyone describe what these things actually are?
It can be easily switch in the kernel options if you make your own kernel.

I believe it has to do with memory allocation. Do not blame changes in linux, they have been announced coming for a very long time... ATI has not made the needed changes to their driver.
__________________
20" iMac C2D (iMac5,1)
How-Tos: Multi-Boot Mactel | EFI-MBR Madness
Before You Post... | Mactel-Support Team | Intel Mac FAQ
cyberdork33 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:33 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry