Important processes identifiers:
Init: pid - 1. Spawns children processes.
Major and minor number of a device file: major defines the major type of devices and minor number identifies the unit. (instance of a major type) E.g. the IDE disks on the first IDE controller in the system have a major number of 3 and the first partition of an IDE disk would have a minor number of 1. Examples of block and character devices:
brw-rw---- 1 root disk 3, 1 May 5 1998 /dev/hda1
crw--w---- 1 klai tty 4, 1 Oct 2 11:40 tty1
If you selected "Development" mode in OpenLinux installation, the kernel source code will be installed. You may download the latest kernel from the net or install source code from the second CD-ROM."rpm -i linux*src*.rpm" (OpenLinux)You will see a bzipped linux source code ended with bz2 under /usr/src/OpenLinux. For RedHat, the source will be installed under /usr/src/redhat/SOURCES. To unzip and untar the source code, try bz2cat /usr/src/OpenLinux/*bz2 | (cd /usr/src; tar xf -)or zcat /usr/src/redhat/SOURCES/linux*.tar.gz | (cd /usr/src; tar xf -) You may have to install bzip source code and make bz2cat command. To find out what packages are install, enter rmp -qa.
"rpm -i kernel*src*.rpm" (RedHat)To install a package say "wget*.rpm", enter rmp -i wget*.rpm. You may download the packages from the net, save the packages onto a MS-DOS floppy then copy it to a Linux system via mcopy a:. (assuming your Linux box is not on the net.)
For sound card configuration, chances are that you need to select O (Open Sound System) sound modules for configuring the sound card on your system.
dd if=/usr/src/linux/arch/i386/boot/bzImage of=/dev/fd0 bs=1024b
Reboot the system with the new kernel image to make sure it works.
If so, you may run "make install" to install the new
kernel into hard drive as the default kernel.
"Make install" will update lilo. But if you would
like to boot from the old kernel,
you have to modify lilo.conf with a different label for
the old kernel. If you don't have the source code or you don't want
to recompile a new kernel, you may load
modules into kernel at
run time via "insmod ModulesName". E.g.: To load a D-link ethernet card
driver into a kernel, enter "insmod rtl8139.o". All the modules are
installed under /lib/modules/2.2.12/ (assuming 2.2.12 kernel
was installed - enter: uname -r).
You may test the newly loaded ethernet driver
module via "ifconfig eth0 10.10.10.1 netmask 255.0.0.0 up".
This will bring up the ethernet card with an IP address 10.10.10.1 and
netmask 255.0.0.0" If no errors displayed, you may ping 10.10.10.1 or ping
other hosts on the same network. If everything goes well, you may add an entry
into /etc/conf.modules for loading modules at boot time:
e.g. alias eth0 rtl8139
rdev /dev/fd0 /dev/hda2 # set root device assuming it is: /dev/hda2
rdev /dev/fd0 # query root device
mkbootdisk --device /dev/fd0 2.2.13
(Note: this also creats a bootable disk of the running kernel.)
Alternatively, you may use linuxconf to select kernel module for the ethernet card. Select on Client tasks -> Basic host Information -> Kernel module. A pull down button will show all the ethernet modules. To avoid probing the I/O space, you may pass the following parameters to the kernel: reserve=0x300,32 ehter=0,0x300,eth1