Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
Impossible to tell without the errors...
Quote:
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
Executing RH9 ... how? Perhaps you mean "booting"?
It seems you are posting from india? (kannada keymap)
Anyway, the message goes away when you configure a default keymap.
(You may want to consider why anyone should take the trouble to help someone who doesn't, themselves, take the trouble to put a "t" and an "h" next to each other or put the "yo" in "your". Check out the long advise in my sig. You get some slack as it appears that your first language may not be English.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.