Re: Custom kernel ... so far

From: Brendan S (Scratch User) (gobnat_at_optusnet.com.au)
Date: 07/18/04


Date: Sun, 18 Jul 2004 21:23:58 +1000

Well, I think I've given up on the 2.6.7 kernel for the time being. I did have USB enabled in the config. I might try it again with usb hid support turned off or as a module next time (since I think this is the source of the problem).

Instead I decided to try to upgrade to i686 2.4.20-31.9smp (since I have a hyper threading processor PIV 3GHz).
Despite the fact that I used an rpm to install it, it was still an ordeal because it doesn't recognise the ite raid "out of the box". So I had to compile the ite raid drivers and had no end of trouble getting them to compile as a 31.9smp module, and not as a 31.9 module. lsmod refused to cooperate. It seems that in order to have a module compile as smp the kernel itself needs to be compiled as smp so that the module can read the configuration file.

After many false starts (rebooting to find the module was wrong) eventually I got it working.

The spurious interrupts have gone now, which was part of what I was trying to achieve. I have also had some intermittent keyboard bugs. They haven't come back (yet) so hopefully they'll stay away now. Networking seems to be up, but I need to reinstall alsa by the looks of it.

This is the first kernel compilation that I have tried, that has worked.

Thanks to everyone who offered help.

Brendan

Brendan S (Scratch User) wrote:
> Hi
> I am having some trouble with my motherboard (8knxp) - the ite
> controller is spitting out spurious interrupts which I think are
> affecting the keyboard. I propose to compile and install a custom kernel
> (2.6.7) over my existing RH9 installation. (my first custom kernel)
>
> I want to compile the kernel on my second computer and I'd like to know
> if there are any gotchas.
> In particular, (a) what do I copy across to the target machine and
> where? The bzimage is fine, but I assume I need to copy a tree of
> modules somewhere as well?
> (b) do I need to mkinitrd on the target machine (ie does it use any
> information which is specific to the environment in which it is run) or
> can I do this on the development machine and copy the image across? (c)
> I'd like to keep the vanilla install as a failsafe. Can I do this or do
> new modules conflict with the old ones?
>
> I have new copies of the module utilities etc. installed on the target
>
> Thanks in advance.
> Brendan



Relevant Pages

  • Re: Next Challenge - nVidia Video Drivers
    ... > Here is what the log file showed after the drivers failed to install... ... > ke the installer to attempt to download a kernel interface for your ... > a compiler different from the one that was used to compile ... Unable to build the NVIDIA kernel module. ...
    (Debian-User)
  • Re: computer freezes, no obvious reason
    ... I recently installed debian stable. ... and compiled myself the latest kernel version: ... When I try to compile something with g++ every now and then I get the ... Also because I had to install the fglrx driver from the radeon web page ...
    (Debian-User)
  • Re: [REGRESSION] Recent change to kernel spikes out ccache/distcc
    ... INSTALL fs/cifs/cifs.ko ... Linus's fancy machines that can do 10 second full kernel compiles. ... that are getting executed when we compile a .c to .o file. ... cycles in reasonable amounts of time. ...
    (Linux-Kernel)
  • Re: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE
    ... Maybe you could try compiling a kernel with a newer hal. ... replace the existing files, recompile / install kernel, reboot. ... At least there was a ray of hope for the time it took to compile the kernel. ...
    (freebsd-questions)
  • input method on fc3?
    ... FC3 and soundcard ... >> without problems and sound works fine. ... What modules were loaded with kernel ... I can install and configure samba on Linux as easily as I can install ...
    (Fedora)