LFS problem:Urgent
I am using Red Hat9(2.4 kernel) to build LFS(Linux from scratch).I have upgraded the kernel to 2.6.
Execution steps :
1. copy the kernel source found in /usr/src/linux-2.4.20-8 to /home directory
2. copy the files kd.h console_struct.h, consolemap.h, vt_kern.h from /usr/src/linux-2.4.20-8/include/linux as console_struct.h.old, consolemap.h.old, vt_kern.h.old, kd.h.old
3. copy the files consolemap.c, console.c, vt.c from /usr/src/linux-2.4.20-8/drivers/char as consolemap.c.old, console.c.old, vt.c.old
4. copy the package consoletools, multiglyph, psftools to /home directory and untar the packages
5. copy the consolemap.c, console.c, vt.c from /multiglyph/kernel/drivers/char to /usr/src/linux-2.4.20-8/drivers/char. overwrite it
6. copy the kd.h, console_struct.h, consolemap.h, vt_kern.h from /multiglyph/kernel/include/linux to /usr/src/linux-2.4.20-8/drivers/char and overwrite it
7. cd /home/linux-2.4.20-8/ and give the commands - make mrproper, make oldconfig, make dep, make bzImage, make modules, make modules_install, make install. den reboot ur system and select the new kernel image.
The kernel image not booting. I am getting kernel panic errors for console drivers. How to correct dis error.
8. install consoletools packages and psftools (cd consoletools, ./configure, make, make install)
9. install multiglyph package (cd multiglyph, ./install - asks for input path for kernel and input path for language - give /home/linux-2.4.20-8, language-just press enter . reboot the system and select the new kernel image.
10. create a directory named kannada in /usr/local/lib/LLI. copy the kannada.kmap, kannada.prf, kannada.psf to /usr/local/liblLLI/kannada
11. cd multiglyph/bin/
cp starthindi.sh startkannada.sh
vi startkannada.sh, change loadlang hindi to loadlang kannada
./startkannada.sh
12. Also I have upgraded the kannada package consoletools, psf tools, multiglyph tools to 2.6kernel by using diff
while executing redhat9(2.4) , I got errors like dis
loading /lib/kbd/keymaps/i386/qwerty/defkeymap.map.gz
cannot find a default font file
loading /usr/local/lib/LLI/kannada/kannada.kmap
language set to kannada
In LFS(6.2), I got errors like dis
loading /lib/kbd/keymaps/i386/qwerty/defkeymap.map.gz
cannot find a default font file
set_kernel_font() - Invalid argument
loading /usr/local/lib/LLI/kannada/kannada.kmap
language set to kannada
How to correct this error. Is kannada.prf and kannada.psf files are standard files. Can we make modifications to these files. If kannada.psf n kannada.prf are standard files then can we modify kannada.kmap file den hw.
|