Bob Alexander wrote:

Initially I emerged and used a gentoo-source IIRC kernel which worked perfectly. I then wanted to use the swsusp2 patch to the kernel. emerged a package and in fact it was an entirely new kernel tree with the patches included.

The swsusp2 patches in this tree are not at the latest level and I am having problems (kernel oops) with this when suspending.

What is the correct way to deinstall this second kernel tree and if possible emerge only the swsusp2 patches (I would know how to do that manually of course).


You might just need to:

echo sys-kernel/suspend2-sources ~x86" >>/etc/portage/package.keywords

That will let you merge kernel 2.6.13 with suspend2 2.2-rc6 patches instead of 2.6.12 with suspend2-2.1.9.9. If you really need suspend2 2.2-rc7, then you can emerge vanilla-sources, then apply the suspend2 patch yourself. You could also try gentoo-sources if you want bootsplash and vesafb-tng, although the suspend2 patches might not apply cleanly to that.

The only "problem" with this is that when you unmerge old kernel sources, emerge will refuse to remove any patched, backup, or object files, so you have to go delete the remaining files manually. But I think you end up having to do that in any case, so this isn't really a problem.

-Richard

--
gentoo-user@gentoo.org mailing list

Reply via email to