View previous topic :: View next topic |
Author |
Message |
gattu_marrudu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Dec 2004 Posts: 65 Location: Sardinia, Italy
|
Posted: Sun Mar 13, 2005 5:33 pm Post subject: Cannot patch Kernel with swsusp2! |
|
|
Hi,
I'm try to get the Berlios' software suspend to work on my kernel (2.6.10-gentoo-r5). I downloaded the swsusp patch from the Berlios site (software-suspend-2.1.7-for-2.6.10) and tried to apply the patch.
I got this message:
Quote: | laptop1 root # cd /usr/src/linux
laptop1 linux # /usr/local/src/software-suspend-2.1.7-for-2.6.10/apply /usr/local/src/software-suspend-2.1.7-for-2.6.10/
Applying 100-kdb-v4.4-2.6.10-common-1 ...
100-kdb-v4.4-2.6.10-common-1 will not apply cleanly. Reverse applied patches [Yn]? y
Reversing patches...
Done.
|
So, when I make menuconfig the menu item "Software Suspend 2 is not there!
The same thing happens if I don't reverse the patches.
What does "reversing" actually mean? Is there a way to apply the patch manually?
gm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
inode77 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/25726459413f9f821f473.gif)
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gattu_marrudu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Dec 2004 Posts: 65 Location: Sardinia, Italy
|
Posted: Thu Mar 17, 2005 8:39 am Post subject: |
|
|
That's exactly the instructions I followed.
Quote: | To apply your the swsusp2 kernel patch, first go to your kernel source directory, and run the supplied "apply" script from there, specifying where you put the patches:
Code: | cd /usr/src/linux/
/tmp/software-suspend-x.x.x-for-2.x.x/apply /tmp/software-suspend-x.x.x-for-x.x.x/ |
You can also ask the apply script for help:
Code: | /tmp/software-suspend-x.x.x-for-2.x.x/apply --help |
The kernel should now be patched. |
No way.
Quote: |
If errors occurred, the patches for some reason didn't work with your kernel version. A reason for this could be that the gentoo kernel versions already contain a custom patchset. Try to download a different version of the patch and/or your kernel sources.
|
I already tried with another kernel version, and with another patch version. It didn't work, and anyway it doesn't seem a real solution.
I remember I read somewhere that I should edit the patches manually. But how? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
inode77 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/25726459413f9f821f473.gif)
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Thu Mar 17, 2005 12:32 pm Post subject: |
|
|
I never said apply patches, I said use an unoffical ebuild. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eduardo451 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/9799252458780a311b5c.jpg)
Joined: 29 Apr 2005 Posts: 173 Location: Indianapolis, IN
|
Posted: Sat May 07, 2005 2:56 pm Post subject: |
|
|
I've been reading up on using unofficial ebuils and portage overlays, but I am still not clear on how to obtain the suspend2-sources ebuild. Does Brix's site work with gensync, or is there some other way to let my system know where to get it? I've set up a /usr/local/portage directory, and have a portage overlay in my make.conf file pointing to it. I am not sure what else I need to do. Thanks in advance. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
seventhguardian Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/72616891417a9397d5712.png)
Joined: 10 May 2004 Posts: 261 Location: Portugal
|
Posted: Sat May 14, 2005 9:51 pm Post subject: |
|
|
Hi!
I'm emerging the suspend2-sources right now, but I have a doubt: this kernel is based upon what? gentoo-sources? or other?
I was happy with the gentoo-sources kernel, and I'm a bit reluctant to swicth.. ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eduardo451 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/9799252458780a311b5c.jpg)
Joined: 29 Apr 2005 Posts: 173 Location: Indianapolis, IN
|
Posted: Sun May 15, 2005 6:33 am Post subject: |
|
|
I can only guess it's based on the vanilla kernel. I figured out how to emerge the swsusp2 ebuild, and at first I thought it didn't work b/c it didn't appear in my kernel after. It turns out there was a new kernel in my /usr/src directory called 2.6.11-suspend2. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
seventhguardian Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/72616891417a9397d5712.png)
Joined: 10 May 2004 Posts: 261 Location: Portugal
|
Posted: Sun May 15, 2005 1:59 pm Post subject: |
|
|
Yes... It seems a plain vanilla with the swsusp2 patch applied.....
I had to manually patch with squashfs and vesa tng. And I found the system a bit unresponsive with this kernel (probably it also misses other gentoo patches..), so I don't like it as it is.
Also, the software suspend is giving me lots of headaches with the x server.. So I'm not as excited as I was before.... ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eduardo451 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/9799252458780a311b5c.jpg)
Joined: 29 Apr 2005 Posts: 173 Location: Indianapolis, IN
|
Posted: Sun May 15, 2005 4:49 pm Post subject: |
|
|
Tell me about it. The swsusp2 does not resolve any problems with modules. At least it didn't for me. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|