kernel make install fails, cannot find aic7xxx module?
From: Aviram Carmi (aviram_at_overthenet.com)
Date: 10/24/03
- Next message: Aviram Carmi: "Upgrading Kernel on RHL9?"
- Previous message: Trudie: "Re: SiS7012 sound acts funny"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Aviram Carmi: "Upgrading Kernel on RHL9?"
- Previous message: Trudie: "Re: SiS7012 sound acts funny"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|