Re: 2.6.21.1 fails to suspend/resume to disk (sort of)

From: Romano Giannetti
Date: Thu May 24 2007 - 08:13:57 EST


On Thu, 2007-05-24 at 10:01 +0200, Antonino Ingargiola wrote:
> Hi,
>
> 2007/5/23, Romano Giannetti <romano.giannetti@xxxxxxxxx>:
> [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...

>
> You will spend one hour once to cut down the configuration, but then
> you can reuse the .config for new kernels too with make oldconfig.
>

Yep, done that. The kernel does not boot (in the initramfs, there is
a /dev/hda1 but it refuses to mount; and yes, I have ext3 and ext2
compiled in, checked a lot of things, no joy. Will retry).

> To find the minimum configuration for you hardware use lspci -v,
> menuconfig help, and look at chapter 7 and 8 of Linux Kernel in a
> Nutshell:
>
> http://www.kroah.com/lkn/
>
> Also, pasting "lspci -n" output in the following page can be of some help:
>
> http://kmuto.jp/debian/hcl/
>
> Hope this helps.
>

What would be great is a tool that generate a config starting from the
lsmod list, to start from there and _enable_ more thing... but I know,
I'm dreaming.

Romano


--
Romano Giannetti --- romano.giannetti@xxxxxxxxx
Sorry for the following disclaimer, it's attached by our otugoing server
and I cannot shut it up.



--
La presente comunicaciÃn tiene carÃcter confidencial y es para el exclusivo uso del destinatario indicado en la misma. Si Ud. no es el destinatario indicado, le informamos que cualquier forma de distribuciÃn, reproducciÃn o uso de esta comunicaciÃn y/o de la informaciÃn contenida en la misma estÃn estrictamente prohibidos por la ley. Si Ud. ha recibido esta comunicaciÃn por error, por favor, notifÃquelo inmediatamente al remitente contestando a este mensaje y proceda a continuaciÃn a destruirlo. Gracias por su colaboraciÃn.

This communication contains confidential information. It is for the exclusive use of the intended addressee. If you are not the intended addressee, please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited by law. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this message. Thank you for your cooperation.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/