IBM NetVista Thin Client 2200/2800 Linux Kernel Build Instructions
Due to specific devices used by the IBM NetVista thin clients, you will have to rebuild the kernel on your Linux server, using the configuration file and patches supplied with this package. It is assumed that you have the toolkit package (NetVista_vN.tar.gz, where N defines the appropriate version number - example v3.0) installed in /tmp.
Get Kernel Source and Patches:
- On your server, download the kernel level 2.2.14 source (linux-2.2.14.tar.gz) into the /usr/src directory, from the Linux kernel distribution site (http://www.kernel.org)
- For 2200 only:
Download the Linux v2.2 USB drivers backport patch (for later kernel version to version 2.2.14) located at http://www.suse.cz/development/usb-backport/ into the /usr/src directory on the Linux server.
The usb patch level may change on the download site. This instruction is for usb-2.3.99-pre7-1-for-2.2.14.
Set-up Build Environment:
- cd /usr/src
- rm linux
Removes an existing link to the current source.
- mkdir /usr/src/linux-2.2.14
- ln -sf linux-2.2.14 linux
- tar -xvzf linux-2.2.14.tar.gz
- cd linux
- Use the configiration file included with these instructions. Copy the file to the /usr/src/linux directory:
For 2200 only:
- cp /tmp/NetVistaLTC/Common/KERNEL_CHANGES/kernel.2.2.14_config_S2200 .config
For 2800 only:
- cp /tmp/NetVistaLTC/Common/KERNEL_CHANGES/kernel.2.2.14_config_S2800 .config
Apply patches:
For 2200 only:
- patch -p1 < ../usb-2.3.99-pre7-1-for-2.2.14.diff
- Note: Depending on how you downloaded this patch file, you may need to decompress the file first using the command: gzip -dc usb-2.3.99-pre7-1-for-2.2.14.diff.gz > usb-2.3.99-pre7-1-for-2.2.14.diff
- patch -p1 < /tmp/NetVistaLTC/Common/KERNEL_CHANGES/IBM_Patch_2.2.14_S2200
For 2800 only:
- cd linux
- patch -p1 < /tmp/NetVistaLTC/Common/KERNEL_CHANGES/IBM_Patch_2.2.14_S2800
Build Kernel:
- cd /usr/src/linux
- make xconfig or make menuconfig
This will display the kernel configuration window. Select "Save and Exit", then ok
- make clean
- make dep
- make bzImage - if make bzImage fails, enter command again until it completes
- For 2200 only:
cp vmlinux <BOOT_DIR>/kernel.2200
- For 2800 only:
cp vmlinux <BOOT_DIR>/kernel.2800
NOTE: Please make sure you copy vmlinux (this is the UNCOMPRESSED kernel) and NOT bzImage, which is the compressed kernel.
Build and Install Loadable Modules:
- cd /usr/src/linux
- make modules
- rm -rf install_modules
- mkdir install_modules
- export INSTALL_MOD_PATH=/usr/src/linux/install_modules
- make modules_install
- For 2200 only:
mv install_modules/lib/modules <BOOT_DIR>/lib/modules.2200
cp <BOOT_DIR>/lib/modules.2200/2.2.14/usb/printer.o <BOOT_DIR>/lib/modules.2200/2.2.14/usb/lp.o
- For 2800 only:
mv install_modules/lib/modules <BOOT_DIR>/lib/modules.2800
(Last update: 09/23/00)