LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-28-2007, 03:47 AM   #1
pvpkiran
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
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.
 
Old 06-28-2007, 04:41 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
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.)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS problem:Urgent pvpkiran Linux - Software 1 06-28-2007 05:57 AM
LFS 6.2: made mistake when going from lfs to root setup oldgeek Linux From Scratch 4 11-12-2006 09:00 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM
URGENT glibc 2.3.3 - lfs -5.1 --> bug in autoconf geiser Linux From Scratch 1 08-18-2004 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration