Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Expected suspend2 to patch vanilla 2.6.17.11 but no...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Mon Sep 04, 2006 2:53 pm    Post subject: Expected suspend2 to patch vanilla 2.6.17.11 but no... Reply with quote

I tried to patch my 2.6.17.11 kernel.org kernel with the 2.6.17 suspend 2 patch from http://www.suspend2.net/ : Latest stable version for 2.6 kernels: 2.2.7

but I get a failure:

Code:

spitfire linux # ./suspend2-2.2.7-for-2.6.17/apply
Applying 2010-suspend2-freezer-upgrade.patch ...
Applying 2020-kmod-freeze.patch ...
Applying 3000-crypto-api-lzf-support.patch ...
Applying 3020-cryptoapi-deflate.patch ...
Applying 3030-reboot-handler-hook.patch ...
Applying 3050-init-hooks.patch ...
Applying 3060-reset-kswapd-max-order-after-resume.patch ...
Applying 3080-dynamic-pageflags.patch ...
Applying 9900-Suspend2.patch ...
Applying 9920-linus-basic-trace.patch ...
Applying 9920-linus-console-suspend-resume.patch ...
Applying 9930-pdflush-fix.patch ...
9930-pdflush-fix.patch will not apply cleanly. Reverse applied patches [Yn]? Y
Reversing patches...
Reversing 9920-linus-console-suspend-resume.patch
Reversing 9920-linus-basic-trace.patch
Reversing 9900-Suspend2.patch
Reversing 3080-dynamic-pageflags.patch
Reversing 3060-reset-kswapd-max-order-after-resume.patch
Reversing 3050-init-hooks.patch
Reversing 3030-reboot-handler-hook.patch
Reversing 3020-cryptoapi-deflate.patch
Reversing 3000-crypto-api-lzf-support.patch
Reversing 2020-kmod-freeze.patch
Reversing 2010-suspend2-freezer-upgrade.patch
Done.


I am guessing that this is caused by another patchset I have applied (so it's not vanilla anymore right? some cinamon in there at least) how should I proceed? How do I know if it is safe to go ahead or wor through the problem... Do I need to go for a 18 kernel??

TIA
Will
_________________
]8P
Back to top
View user's profile Send private message
Fallen_Angel
n00b
n00b


Joined: 13 Sep 2004
Posts: 57
Location: Germany

PostPosted: Wed Sep 06, 2006 8:54 pm    Post subject: Reply with quote

remove this patch from directory

Code:

9930-pdflush-fix.patch


This was a kernel bug and was fixed in the kernel directly

If you have such problems, try to read the mailing list on www.suspend2.net, there it is listed ;)
_________________
Building an operation system without soruce code,
is like buying a self assemble space shuttle without
instructions.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Thu Sep 07, 2006 8:15 am    Post subject: Reply with quote

thank you fa,
_________________
]8P
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Thu Sep 07, 2006 6:24 pm    Post subject: Reply with quote

alternatively i think theres suspend2-sources in the tree (gentoo-sources with suspend2 iirc).
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Sep 09, 2006 12:25 pm    Post subject: Reply with quote

I have made progress and am configuring the kernel; I have another question though:

I use a file as my swap and not a swap partition.

How do I use a swap file as my suspend to location or must I define a file.

Reason being that I am using a single partition with a swap file due to the efi partition confines.
_________________
]8P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum