On Sat, Feb 04, 2012 at 10:18:26PM -0500, Paul Alfille wrote:
> Well, it sounds like the USB reconnect (after errors) is not putting the
> line into the correct bus timing mode. Let me investigate.
I have a bit more info on this.
I moved my drive to sata and I'm doing a very IO intensive full speed copy
between 2 drives.
owfs worked better, but it still burped while the copy was happening. After
that, it went back to normal.
root 9507 0.7 0.0 43896 1232 ? Ssl 22:39 0:20
/opt/owfs/bin/owserver -u -F --error_print 3 --error_level 3 --nozero
root 9521 0.0 0.0 37500 1084 ? Ssl 22:39 0:00
/opt/owfs/bin/owfs -F -s localhost:4304 /owfs --nozero
root 9525 0.0 0.0 2836 992 ? Ss 22:39 0:00
/opt/owfs/bin/owhttpd -F -s localhost:4304 -p 8082 --nozero
root 9526 0.0 0.1 9904 8044 ? S 22:39 0:00 /usr/bin/perl
-w /usr/bin/xpl-owfs --interface eth1 --owfs-mount /owfs
I have code that sees that I can't read data from owfs and that does not
assume it will self recover, so it restarts it.
My logs look like this:
Feb 4 20:13:17 gargamel OWFS[23717]: DEFAULT:
ow_reconnect.c:TestConnection(63) tcp bus master reconnected
Feb 4 20:13:17 gargamel OWFS[23717]: DEFAULT:
ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master!
Feb 4 20:13:30 gargamel OWFS[23717]: DEFAULT:
ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master!
Feb 4 20:13:30 gargamel OWFS[23717]: DEFAULT:
ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master!
Feb 4 20:14:01 gargamel OWFS[23717]: DEFAULT:
ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master!
Feb 4 20:14:02 gargamel OWFS[23717]: DEFAULT:
ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master!
Feb 4 20:14:02 gargamel OWFS[23717]: DEFAULT:
ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master!
Feb 4 20:14:02 gargamel OWFS[23717]: DEFAULT:
ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master!
Feb 4 20:14:03 gargamel OWFS[23717]: DEFAULT:
ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master!
Feb 4 20:14:20 gargamel OWFS[26173]: DEFAULT: ow_daemon.c:EnterBackground(143)
Entered background mode, quitting.
So it seems to be a realtime problem: the owfs code does not seem to deal
well with not being scheduled often enough. Of course, when that happens
some data has to be dropped, but it looks like it doesn't self recover, or
at least timely when that happens.
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers