Dear listies,

Do you think that you could advise?

I have bought some wlan cards and want to play with them. The kernel on RH
9.0 (2.4.20-8) has the loadable module support disabled. 

Heroically, I downloaded the latest stable kernel (2.4.21) and had a go at
compiling it.

Here are the steps that I followed:

1. Unpack the sources 


2. make clean; make mrproper cp .config.old(2.4.20-8) .config 

3. make xconfig # enabled the loadable modules

4. make dep 


5. make bzImage 


6. 'make modules' and 'make modules_install' 


7. cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage.pasco (something
unique)


8. cp System.map file to /boot # cp System.map-2.4.21 /boot/ 


9. cp .config /boot/config.2.4.21


10. Configure GRUB 


11. Reboot and check new kernel is booting 


At this point the boot says booting Pasco Linux and stops with error 15:
cannot find file. I notice that there are a lot of differences in /boot
with vmlinuz/x files that I do not have. I feel that the process to make
bzImage went OK -so I am happy with the process upto point 7. I am not
confident that mkinitrd worked well (at least I do not understand it that
well).

I have attached my grub.conf and also the contents of by /boot directory.

Any suggestions to get me up and going?

Regards,

G
total 6662
drwxr-xr-x    4 root     root         1024 Jul  8 16:56 .
drwxr-xr-x   19 root     root         4096 Jul  8 16:59 ..
-rw-r--r--    1 root     root         5824 Jan 25 07:05 boot.b
-rw-r--r--    1 root     root       945262 Jul  8 15:58 bzImage.pasco
-rw-r--r--    1 root     root          612 Jan 25 07:05 chain.b
-rw-r--r--    1 root     root        44309 Mar 14 01:01 config-2.4.20-8
-rw-r--r--    1 root     root        37706 Jul  8 15:59 config-2.4.21
drwxr-xr-x    2 root     root         1024 Jul  8 16:39 grub
-rw-r--r--    1 root     root       150760 Jun 25 15:48 initrd-2.4.20-8.img
-rw-r--r--    1 root     root       149601 Jul  8 16:35 initrd-2.4.21.img
-rw-r--r--    1 root     root          473 Jun 25 15:48 kernel.h
drwx------    2 root     root        12288 Jun 25 15:44 lost+found
-rw-r--r--    1 root     root        23108 Feb 25 02:51 message
-rw-r--r--    1 root     root        21282 Feb 25 02:51 message.ja
lrwxrwxrwx    1 root     root           20 Jun 25 15:48 module-info -> 
module-info-2.4.20-8
-rw-r--r--    1 root     root        15436 Mar 14 01:01 module-info-2.4.20-8
-rw-r--r--    1 root     root          640 Jan 25 07:05 os2_d.b
lrwxrwxrwx    1 root     root           19 Jun 25 15:48 System.map -> 
System.map-2.4.20-8
-rw-r--r--    1 root     root       520129 Mar 14 01:01 System.map-2.4.20-8
-rw-r--r--    1 root     root       526087 Jul  8 16:56 System.map-2.4.21
-rw-r--r--    1 root     root      3193503 Mar 14 01:01 vmlinux-2.4.20-8
lrwxrwxrwx    1 root     root           16 Jun 25 15:48 vmlinuz -> vmlinuz-2.4.20-8
-rw-r--r--    1 root     root      1122186 Mar 14 01:01 vmlinuz-2.4.20-8
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda2
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=2
splashimage=(hd0,0)/grub/splash.xpm.gz
title Pasco Linux (2.4.21)
        root (hd0,0)
        kernel /boot/bzImage.pasco ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.21.img
title Red Hat Linux (2.4.20-8)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.20-8.img

Reply via email to