Bug#611750: Asus EeePC resume from hibernation fails
Le Tue, 3 May 2011 17:11:48 +0700,
Sergei Stolyarov <email@example.com> a écrit :
> 2011/5/3 Frédéric Boiteux <firstname.lastname@example.org>:
> > Yes, I mean reverting this patch. Are you sure it isn't applied in
> > linux-2.6_2.6.32-33 ?? I didn't read anything about this. Be
> > careful, it isn't a Debian patch, but a upstream patch coming with
> > a stable upstream release, in 22.214.171.124. I'm attaching this patch
> > to this e-mail, tell me if it's actually reverted in latest Debian
> > 2.6.32 kernel.
> Could you please tell what exactly should I do to build kernel
> package? I've found that this patch is placed in the file
> inside unpacked kernel sources, patch is mentioned in file
> ./debian/patches/series/30, so I can delete it from there. But I
> cannot build package because just don't know what to do.
Don't you know how to rebuild a Debian's kernel ? I can suggest
you the doc inside debian-kernel-handbook package.
In short, you can do :
aptitude install linux-source-$kvers
tar xjf /usr/src/linux-source-$kvers.tar.bz2
patch -p1 -R
cp /boot/config-$(uname -r) .config [if you're running a 2.6.32
time nice env DEBFULLNAME="Your Name" DEBEMAIL="Your e-mail address" \
KBUILD_PKG_ROOTCMD="fakeroot -u" fakeroot make -j 2
KDEB_PKGVERSION=$kvers-$krel KERNELRELEASE=$kvers$ksuff deb-pkg
wait... quite a long time, install the generated .deb , boot it
and try some hibernations...