[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#611750: Asus EeePC resume from hibernation fails



Le Tue, 3 May 2011 17:11:48 +0700,
Sergei Stolyarov <sergei.stolyarov@regolit.com> a écrit :

> 2011/5/3 Frédéric Boiteux <fboiteux@calistel.com>:
> > 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 2.6.32.28. 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
> 
> ./debian/patches/bugfix/all/stable/2.6.32.28.patch
> 
> 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 :

kvers=2.6.32
krel=33
ksuff=-test
aptitude install linux-source-$kvers

tar xjf /usr/src/linux-source-$kvers.tar.bz2
cd linux-source-$kvers

patch -p1 -R
< ../x86-hotplug-use-mwait-to-offline-a-processor-fix-the-legacy-case.patch

cp /boot/config-$(uname -r) .config     [if you're running a 2.6.32
                                         kernel]

make oldconfig

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...

	Fred.




Reply to: