Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-09-2002, 09:08 PM
|
#1
|
Member
Registered: Dec 2001
Posts: 39
Rep:
|
disable logging
I am using LFS-3.1, and although I had this same problem previously, I didn't think much about it until when I switched over to LFS. Basically I have given up on getting my ethernet cards (LNE100TX s) to work properly. Whenever I "ifconfig eth0 up" or "ifconfig eth1 up" they produce many many errors, but they operate just fine. As a short term solution to this I would like to disable logging either entirely, or if possible just for those errors, I tried not starting up the sysklogd script at startup, but the errors are still logged and printed to the console.
I would like to know how or if I can get it to either not log/display those errors in particular, or disable all logging.
P.S. when I brought up the eth0 without syslogd running something called keventd showed increased activity when the errors were being produced.
As usual ANY suggestion, solutions, comments or questions are welcomed.
|
|
|
04-09-2002, 09:17 PM
|
#2
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Re: disable logging
Quote:
Originally posted by rsbecker007
I am using LFS-3.1, and although I had this same problem previously, I didn't think much about it until when I switched over to LFS. Basically I have given up on getting my ethernet cards (LNE100TX s) to work properly. Whenever I "ifconfig eth0 up" or "ifconfig eth1 up" they produce many many errors, but they operate just fine. As a short term solution to this I would like to disable logging either entirely, or if possible just for those errors, I tried not starting up the sysklogd script at startup, but the errors are still logged and printed to the console.
I would like to know how or if I can get it to either not log/display those errors in particular, or disable all logging.
P.S. when I brought up the eth0 without syslogd running something called keventd showed increased activity when the errors were being produced.
As usual ANY suggestion, solutions, comments or questions are welcomed.
|
Use the 'dmesg' program to set the level of kernel messages you want to receive on the console. By increasing the level, only that level or higher kind of messages will be printed. Experiment a bit which level will turn off the messages from your network card. It's probably level 3 or 4 that will do the trick.
|
|
|
04-09-2002, 09:58 PM
|
#3
|
Member
Registered: Dec 2001
Posts: 39
Original Poster
Rep:
|
thanks!
That worked quite well. I used dmesg -n 3 to get it to stop, and with syslodgd disabled, my log files don't baloon with errors anymore. I will still try to get things straightened out correctly.
One thing I noticed though, was that dmesg shows that the errors are still being generated, and from according to top whenever I bring up the cards, % of memory used by system goes from 0.1% up to 11.8%, which I don't think should be happening, but that worries me much less than my / filling up. Thanks again, and as usual I am open to suggestions from anyone on getting it fixed the right way, but for now at least I am quite happy.
|
|
|
All times are GMT -5. The time now is 06:37 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|