On Mon, 27 Jun 2005, Javier-Elias Vasquez-Vivas wrote:

> I didn't send the lines because I didn't understand syslog.conf that
> well, neither its man.  Specially what "-" means.  However I did send
> the syslog.conf, hoping any one would help me correct it (I never
> searched into kernel debug stuff before, but I'm learning)...  Any
> ways, this is what the file includes in the line you mentioned:
> 
> kern.*                                -/var/log/kern.log
> 
> And what I'm to do when I'm back home later Today is to change it to:
> 
> kern.*                                /var/log/kern.log
> 
> Removing "-".  I'm crossing fingers so that it'll push all messages
> needed...  I will post results later Today...

The '-' character is worth keeping.  It prevents syslogd from sync-ing the 
file every time a new line is written, which saves a lot of system 
activity.

Here's something else you can try that might help.  Go to the
/lib/modules/2.6.12/kernel/drivers/scsi directory and rename sd_mod.ko to
something else so that it won't automatically get loaded.  Be sure to
rmmod sd_mod by hand as well, in case it's already loaded.  Then the
amount of usb-storage messages will be greatly reduced, so it all should
fit into a single dmesg buffer.

Don't forget to change the filename back when you're done!

Alan Stern



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to