Bulding kernels "the Debian way" -- trials and tribulations

Ryan Rix phrkonaleash at gmail.com
Mon Oct 20 20:13:17 MST 2008


Hi,

> Many of the loadable modules don't (past linux 2.4) make the kernel huge
> since they are never invoked, rather like DSO modules in modern Apache. 
> AND many of the drivers or modules might seen to SAY they are for "blah" in
> a real non-intuitive way, but be "refactored" for other uses (like
> tuxonice).  Many can be left, since they are essentially "hooks" causing no
> slowage or bloat as a loadable module?

Seems like a valid train of thought... let me try again. :)

I'll re start from scratch with a fresh tar xvf of the kernel source archive..

--
Thanks and best regards,
Ryan Rix
TamsPalm - The PalmOS Blog

Whoaaaaa livin' on a prayer!




On Mon October 20 2008 07:56:04 pm Lisa Kachold wrote:
> Since it's a given that the kernel loadable modules are probably needed for
> something in the tuxonice and since you are no doubt going to have to
> rebuild the kernel, it's also suggested that you take that original config
> (since you installed tuxonice patch using it via aptitute) and CAREFULLY
> rebuild it.
>
> Many of the loadable modules don't (past linux 2.4) make the kernel huge
> since they are never invoked, rather like DSO modules in modern Apache. 
> AND many of the drivers or modules might seen to SAY they are for "blah" in
> a real non-intuitive way, but be "refactored" for other uses (like
> tuxonice).  Many can be left, since they are essentially "hooks" causing no
> slowage or bloat as a loadable module?
>
> Rebuild the kernel with the current config and work backwards changing one
> SMALL item at a time - testing between.
>
>
> Original ISSUE Reference:
>
> I have been struggling for a number of days now to compile a kernel for my
> Gateway MT3423 laptop, with tuxonice kernel patches.
>
> Following the steps outlined in /usr/share/doc/kernel-package/README.gz I
> have:
> downloaded the kernel source (using aptitude install linux-source-2.6.26)
> downloaded the patches I wanted (aptitude install linux-patch-tuxonice).
> configured it (attached is my .config)
> and ran make-kpkg kernel-image
>
> the kernel builds, I install it successfully, but there are two issues so
> far: 1 - The VGA modes I had used on my debian packaged kernel, vga=791,
> doesnt work right, and I can't get any of the othe modes it finds to
> work... The default works but I can't see all that the display dumps... The
> distro'd kernel I'm running is the same version that I'm trying to build
> (2.6.26 versus 2.6.26.00Custom or so) so I don't know how the modes could
> change... and
> 2 - The kernel hangs while initializing ACPI, under the cooling_device_1
> registration. As I run a laptop, ACPI is a big requirement for me
> personally. I tried bulding with both APM and ACPI but to no avail.
>
> -----------------end Rixian Problem Description--------------
>
> http://wapedia.mobi/en/Obnosis | 
> http://en.wiktionary.org/wiki/Citations:obnosis | Obnosis.com (503)754-4452
>
> > From: phrkonaleash at gmail.com
> > To: plug-discuss at lists.plug.phoenix.az.us
> > Subject: Re: Bulding kernels "the Debian way" -- trials and tribulations
> > Date: Mon, 20 Oct 2008 19:39:52 -0700
> >
> > Hi,
> >
> > On Mon October 20 2008 07:17:20 pm Lisa Kachold wrote:
> > > Since I am assuming that your old kernel worked, can you do a diff
> > > between your old config and this new config for us just to verify?
> >
> > Attached is the diff in gz format, the mailing list moderated the
> > uncompressed diff :-]
> >  please note that, since the previous config was a distributor's config,
> > and the other is hand tuned, many modules have been left out.
> >
> > I'll go poke around #tuxonice after food times.
> >
> > Thanks,
> > Ryan
>
> LAUGH at this MSN Footer
>
> _________________________________________________________________
> Stay organized with simple drag and drop from Windows Live Hotmail.
> http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20081020/13f4d435/attachment.pgp 


More information about the PLUG-discuss mailing list