[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Kernel compile problem of false documentation


Could you help my please?

I have a Red Hat 8.0 with my custom kernel compiled successfully.

Kernel source installed from the RedHat install CD then:
make config /* The "Set version information on all module symbols" is
not checked because the kernel can not be compiled with it */ 
make dep && make bzImage && make modules && make modules_install && make
install (as the documentation mentioned, Red Hat Linux 8.0 customization
guide, page 257-261)

I am using GURB, the config file: 
# grub.conf generated by anaconda 
# Note that you do not have to rerun grub after making changes to this
# NOTICE: You have a /boot partition. This means that 
# all kernel and initrd paths are relative to /boot/, eg. 
# root (hd0,1) 
# kernel /vmlinuz-version ro root=/dev/hda4 
# initrd /initrd-version.img 

title Red Hat Linux (2.4.18-14custom) 
root (hd0,1) 
kernel /vmlinuz-2.4.18-14custom ro root=LABEL=/ 
initrd /initrd-2.4.18-14custom.img 

title Red Hat Linux (2.4.18-14) 
root (hd0,1) 
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ 
initrd /initrd-2.4.18-14.img 

title Windows 2000 
rootnoverify (hd0,0) 
chainloader +1 

title Floppy 
rootnoverify (fd0,0) 
chainloader +1 

If I choose my custom kernel it is starting to load.
BUT the kernel loads the modules form the "/lib/modules/2.4.18-14"
directory instead of"/lib/modules/2.4.18-14custom" dir.

The "uname -a" command shows the info: 
Linux custom 2.4.18-14 #10 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386

It seems the loaded kernel is the 2.4.18-14 (factory default), 
BUT "#10" shows it is the 10th compilation (I compiled the custom kernel
10 times). So which kernel was loaded? 
I can not load my custom modules (ntfs.o), the error message:
 modprobe: Can't locate module ntfs
But the module exist in the
"/lib/modules/2.4.18-14custom/kernel/fs/ntfs" directory.

What is wrong? 
Is it something problem (bug) with the make install?

I heard this is still problem in 9.0 but it was good in 7.2.


PS.: I need to compile the kernel, because I want to read ntfs from
Linux, and the driver is not compiled by Red Hat default...

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]