kernel make install fails, cannot find aic7xxx module?

From: Aviram Carmi (aviram_at_overthenet.com)
Date: 10/24/03


Date: 24 Oct 2003 11:42:27 -0700

Hi all,

I am trying to compile the kernel from the RPM source tree (Red Hat 9
RH9)

main reason is to try and install lm_sensors and i2c in my system (IBM
xSeries 220) had to twick the code for lm_senesors, since it will not
run on any IBM mother boards because of issues with the ThinkPad
EPROM, which does not apply to my server...

so I cd to /usr/src/linux-2.4

make mrproper

make xconfig
[might as well customize to my system, so I went over all the options
and hopfully selected/deselected all the right choices... I chose to
not install any modules other than the i2c, i.e. all the options I
selected are compiled right into the kernel. I deselected a lot of
option that do not apply to my machine, no audio, no PC card, etc.]

make bzImage
[initially gave me some compile errors, so I just deselected an option
that was not needed anyway, still strange that it gave compile
errors...]

make modules
[initially gave me some compile errors for on of the i2c modules, so I
deselected that one module]

make modules_install

make install

[fails with this message, eventhough aic7xxx is compiled into the
kernel, and is not a module]

tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT >
bzImage
Root device is (8, 3)
Boot sector 512 bytes.
Setup is 2611 bytes.
System is 1498 kB
warning: kernel is too big for standalone boot from floppy
sh -x ./install.sh 2.4.20-20.9avi bzImage
/usr/src/linux-2.4.20-20.9/System.map ""
+ '[' -x /root/bin/installkernel ']'
+ '[' -x /sbin/installkernel ']'
+ exec /sbin/installkernel 2.4.20-20.9avi bzImage
/usr/src/linux-2.4.20-20.9/System.map ''
No module aic7xxx found for kernel 2.4.20-20.9avi
mkinitrd failed
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20-20.9/arch/i386/boot'
make: *** [install] Error 2
[root@ns4 linux-2.4]#

The interesting part is that if I go back, and select the aic7xxx as a
module, it works just fine.

do I have to have the aic7xxx as a module?

is there any advantage of modules vs compiling into the kernel?

Thanks,

-avi



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)
  • Re: Query in adding application in Linux
    ... compile along with kernel and port to target device. ... In the 'install' target you see I copy it to a web server root directory. ... No kernel things need to be changed, ... Apart from run levels and all that, something your embedded system ...
    (comp.os.linux.development.apps)