|
Linux kernel installation
Compiled kernel is placed in a file named /usr/src/linux/arch/i386/boot/bzImage. Now you should copy it to the /boot directory changing its name to a more meaningful one:
root@linux /usr/src/linux # cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.22-tahoe
Then you have to install it. The most widely used kernel loader is LILO
(Linux Loader). In its configuration file - /etc/lilo.conf - at the
end you should add new section:
image = /boot/vmlinuz-2.4.22-tahoe
label = Tahoe
root = /dev/hda1
read-only
Instead of /dev/hda1 you may need to enter the name of the partition
where the Linux root filesystem resides.
To install LILO with new settings simply type 'lilo'. Then you can
force loading of a new kernel at the next system boot:
root@linux ~ # lilo
root@linux ~ # lilo -R Tahoe
After entering these commands you should restart your system - it will
boot with the new kernel. If everything works fine, you can add a line
'default = Tahoe' to the /etc/lilo.conf file and type 'lilo',
so the kernel labeled 'Tahoe' will be the default one used at the
system boot.
If for some reason you cannot use this kernel (e.g. drivers for
other system components are missing), you may simply reboot your
system and the old kernel will be loaded again.
If the drivers were compiled as a module, then after booting of the new
kernel you should load them:
root@linux ~ # modprobe tahoe9xx
In the /var/log/messages file you should see messages confirming
successful loading of the drivers and detecting a card:
kernel: Tahoe 9xx driver version: 1.14t
kernel: Tahoe932: 256 KB RAM at 0xd9000000, IRQ5, using 10 TX + 75 RX packets rings
kernel: hdlc0: Tahoe932 node 0
kernel: hdlc1: Tahoe932 node 1
If the modules were permanently compiled into the kernel, then such
messages will appear during the system boot. You can review them using
the dmesg command.
Since now there are new interfaces available - hdlc0 and
hdlc1 (or hdlc0 alone in case of one-port cards).
The next step is to configure the card using the sethdlc utility.
|