[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2c0942db0705240656k7d7e4e47r9c43168cc4cecf49@mail.gmail.com>
Date: Thu, 24 May 2007 06:56:49 -0700
From: "Ray Lee" <ray-lk@...rabbit.org>
To: "Romano Giannetti" <romanol@...omillas.es>
Cc: "Antonino Ingargiola" <tritemio@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: 2.6.21.1 fails to suspend/resume to disk (sort of)
On 5/24/07, Romano Giannetti <romanol@...omillas.es> wrote:
> On Thu, 2007-05-24 at 10:01 +0200, Antonino Ingargiola wrote:
> > 2007/5/23, Romano Giannetti <romano.giannetti@...il.com>:
> > [cut]
> > > Uf, I will try to find the time. I am on my way to try to compile
> > > 2.6.21.2 now. Problem is that a kernel compile "the ubuntu way" last
> > > hours here. If there is an expert on make-kpkg here, I could use some
> > > advise.
>
>
> > Is not the ubuntu or debian way to take hours to compile. Is that you
> > have to trim the config and enable the only modules you need for your
> > hardware, then a rebuild cycle could last 10-15 min.
>
> That is a problem, yes. But I was referring to the need of a make-kpkg
> clean every time you recompile changing the EXTRAVERSION, wich forces a
> make clean. I am trying to discover how to build manually and initramfs
> that works...
Yeah, the make-kpkg clean is highly annoying, and eventually made me
give up on using that tool. Instead, I've been using the deb-pkg
target that ships with the kernel. When bisecting, I use a script like
the one below to test a new kernel with a minimum of interaction. It
should give you a good idea of how to do all the steps by hand.
And yeah, paring down the .config is critical :-).
#!/bin/bash
sudo -v
make oldconfig
fakeroot make -j2 deb-pkg
sudo dpkg -i ../linux-2.6.20_2.6.20_amd64.deb
sudo update-initramfs -c -k 2.6.20
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists