On Wed, 15 Jun 2005, vitko wrote:

> Please see attached copy of syslog. It is what I got today morning while 
> running debug kernel with all the bells and whistles including dbus/hald 
> running as usual. I haven't edited it in any way. I'm also re-attaching
> sample of errors logged while running non debug kernel.
> 
> Orientational timetable:
> 
>     Jun 15:
>     07:19 debug kernel started
>     07:21 1 GB CF card inserted
>     07:22 16 MB SD card inserted
>     ... and cca one minute later shutdown.

All those events are visible in the log.  And there aren't any errors.

> I noticed I can't grep those SCSI errors from debug log, even if I'm 
> getting them regularly when running non debug kernel. Maybe the messages 
> are coming so quickly that syslogd can't write them down, or they just 
> don't happen with USB enabled kernel? dmesg is of no use because it's 
> buffer gets overwritten very quickly by usb-storage debug messages caused 
> by hald polling activity. Well, what do you suggest to try next?

Maybe the debugging slows down the kernel, and the device gets errors when
things happen too quickly.  I just don't know, although it's very unlikely
that syslogd just happens to miss the error messages.  In fact it's
impossible, because if those errors were occurring then the repeated
commands sent by hald would all fail whereas the log shows them
succeeding.

You could try running with hald turned off (note: hald and not dbus) all 
the time.  This would mean that you have to do the equivalent of "touch 
/dev/sdd" every time you insert an SD card, but it's better than not being 
able to use it at all.

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