Kernel Includes versus Modules and Initrd with SATA on VIA SP13000

From: R. G. Newbury (newburynospam_at_mandamus.org)
Date: 08/30/05


Date: Tue, 30 Aug 2005 16:05:55 GMT

I have a Via SP13000 motherboard, which has on-board SATA.
I have downloaded the 2.6.12 kernel and patched it to 2.6.12.3-epia so
certain VIA EPIA features are included.
This is on a base Mandriva 10.2 (2.6.11-6mdk) install.

The Problem. Menuconfig advises that I must compile the sata_via
module into the kernel.

This does 'make bzImage' and 'make modules' and 'make modules_install'
cleanly.

But mkinitrd fails to run with an error that it cannot find the
sata_via module (and that is correct: no sata_via.ko (or '.ko.gz') has
been made.

If I choose to compile the required SCSI stuff including sata_via as
modules (select 'M'), then it compiles properly and mkinitrd runs and
makes an image.
But that image fails... boot produces a blank black screen.

So, how do I make an initrd with the correct kernel....?

At present I am using the prior kernel initrd image file as the
'bootstrap' to loading the actual proper bzImage/System.map pair.

Geoff

 



Relevant Pages

  • Re: Distributions
    ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be ... and slower than if you compile those packages, ... can have that stability with virtually any distro. ...
    (Debian-User)
  • Re: Distributions
    ... Ubuntu is based on Debian, ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be larger ... and slower than if you compile those packages, ...
    (Debian-User)
  • Problems with custom kernel fbsd 6.2
    ... My kernel for freebsd 6.2 is not compiling but only with my custom config. ... I was able to compile it with the GENERIC kernel included, but my modified one will not compile. ... # Power management support ...
    (freebsd-questions)
  • Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
    ... >optimisations independently of each other', is fairly simple, (in ... >concept), and elegant, (as it lets you compile the most finely tuned ... >Up to now, selecting a CPU to compile for basically means, "Use ... it's silly to include them all in a kernel for a 386. ...
    (Linux-Kernel)
  • Re: C++ pushback
    ... There are all sorts of macros that use member initialization of that form. ... This does not break the code at run time, this breaks the code at compile time, and should be less painful. ... The kernel relies really _really_ heavily on such structure initializers, and breaking them would effectively break the world as far as the kernel is concerned. ... If they were not, one could simply make a base class having members outlined, and which class does not enforce type safety and is for inheritance only. ...
    (Linux-Kernel)