Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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 have completed the LFS-build and booted into the new system,
But i get this serious of messages which is recurring again and again
Code:
[71. 2744257] PPS event at 429474556
[72. some number] PPS event at somenumber
" "
" "
This goes on and on.
If i keep pressing the Enter(return) key I can see the login prompt , and even after entering into the bash shell..these messages continue. Everytime the Serial no at the left most end increases and the number at the right most end increases.
Plese help me solve this issue:
Thanks for any valuable comments
Last edited by prakashsince92; 12-20-2010 at 08:48 AM.
It depends a bit on the severity of the error, but the -c 3 flag tells klogd to only send errors and more severe to the terminal. I suspect PPS event at to be a warning or less severe.
After that you do need to have a look at the PPS event messages that keeps showing up (I never seen these before). A message shouldn't keep reappearing that often. Have a look at the output of the dmesg | more command and also the logs in /var/log.
Without any information its kinda hard to point you in a specific direction, but I'm assuming you have PPS enabled in you kernel config. If you don't need it, disable it.
Open the following file (as root): /etc/rc.d/init.d/sysklogd
Change this line:
loadproc klogd
To:
loadproc klogd -c 3
Restart sysklod (as root): /etc/rc.d/init.d/sysklogd restart
After editing as above from the chrooted environment ,i rebooted to the lfs and the PPA messages have now vanished. WOW.. Thanks a lot !!
But there is a certain lag between the pace at which i type the keys and the pace at which it appears in the shell.
Quote:
Without any information its kinda hard to point you in a specific direction, but I'm assuming you have PPS enabled in you kernel config. If you don't need it, disable it.
After editing as above from the chrooted environment ,i rebooted to the lfs and the PPA messages have now vanished. WOW.. Thanks a lot !!
But there is a certain lag between the pace at which i type the keys and the pace at which it appears in the shell.
Your lfs system is still generating a lot of PPS event at ... messages, the creation and logging of these message are causing the lag in response.
Quote:
Please tell me how to disable them !
Like I said in my previous relpy: I'm assuming it is a kernel setting. With that in mind:
You need to change the kernel settings and re-compile the kernel (As you did here: 8.3. Linux-2.6.35.4).
When you are in the kernel configuration menu select the Device Drivers section, look for a PPS entry and make sure none of the entries are checked (be it * or M). Exit, save changes and continue with the make and following steps.
Quote:
And why do such messages appear in the shell?
klogd sends these messages to the shell/terminal. Without the -c NUMBER option it sends more then you want (my opinion). Adding the -c 3 limits what is send to the terminal. 3 sets the log level to Error (or higher; also 2, 1 and 0).
BTW: There are 8 log levels:
0 system is unusable
1 action must be taken immediately
2 critical conditions
3 error conditions
4 warning conditions
5 normal but significant condition
6 informational
7 debug-level messages
Like I said in my previous relpy: I'm assuming it is a kernel setting. With that in mind:
You need to change the kernel settings and re-compile the kernel (As you did here: 8.3. Linux-2.6.35.4).
But I already have my kernel installed right.So, is there a way to uninstall it OR is it enough if I compile the kernel once again.
The kernel you previously compiled and some other files (System.map and .config) are placed in: /boot/.
When you set up grub you told grub where to look for the kernel (something like this: linux /boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda2 ro).
The easiest way is to replace the current kernel (all 3: vmlinux-2.6.35.4-lfs-6.7, System.map and config) with new ones.
I would first make a backup of the 3 files in /boot, then recompile the kernel and replace them with the newly compiled/created files. On the next boot the new kernel will be used. If the system doesn't boot you can always edit/retry using the chrooted environment.
So, now i should backup the three files in /boot and enter the chrooted environment and compile the kernel again.Am I in the right direction?
Quote:
When you are in the kernel configuration menu select the Device Drivers section, look for a PPS entry and make sure none of the entries are checked (be it * or M). Exit, save changes and continue with the make and following steps.
Please tell me how to look for a PPS entry and what is "(be it * or M)".
So, now i should backup the three files in /boot and enter the chrooted environment and compile the kernel again.
Correct.
Quote:
Please tell me how to look for a PPS entry
I already did (post #4). Maybe this does a better job
- After this step: make LANG=<host_LANG_value> LC_ALL= menuconfig you get a menu,
- Look for and enter the Device Drivers section,
- Look for and enter PPS section,
- If there is a * or M before the first entry (there could be more, but it could also be just one entry), it tells you this device is activated. Deactivate it (press space-bar until * and M are gone),
Quote:
and what is "(be it * or M)".
The * tells you that the option is part of the kernel (compiled in), the M tells you that this options is compiled as a module.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.