On Tue, 2007-07-24 at 22:47 +1000, Nick Hoffman wrote: > On 24/07/07, Soeren Sonnenburg <[EMAIL PROTECTED]> wrote: > > from what I can tell it works with both on a mbp c1d... however it > > cleanly works only from console (display will not come back on resume / > > only if you use s2ram -f -p). > > >From X + fglrx module loaded the s2ram options need to be different (-p > > will crash...) ahh and when you use 2.6.22 don't enable slub (stick to > > slab...) else it won't work. > > > > Soeren > > hi Soeren. i'll be suspending and resuming from within X. however, i > don't currently use the fglrx kernel module as i have no need for 3D > stuff.
if you don't use the fglrx module it will definitely always crash with recent kernels (2.6.22)... > which s2ram option(s) should be used when X is running? Note that the right options changed over kernel version, however I patched s2ram to not do anything (in whitelist.c ) { "Apple Computer, Inc.", "MacBookPro1,1", "", "", 0 }, I suggest you first try to get it to work using just echo mem >/sys/power/state from console (no X, booting in single user mode or so). As the display will be black on resume just resume another time to check if it works. Then later *if that works* try X ... > what are slub and slab? memory allocators, (kernel compile options - don't turn on slub )... Soeren ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mactel-linux-users mailing list Mactel-linux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mactel-linux-users