Hi,

I just want to add some experience I did in testing. I am not so
deep inside for code analysis at the moment.

1.) pwc on 2.6.0-test1-ac1: It does not stop when loading the system, but
     I had a stop after a number of hours (3). The received counter at
     closing the device seems not to bad (300000 after 17 hours at 5 fps),
but
     I have 250000 dumped frames and 200 frames with errors. The Java Media
Framework
     does not receive the new frames anymore.

2.) qc-usb on 2.4.20: On the same system with slightly different software
setup
     I get very different behaviour. I could not determine the significant
differences
     of the setup. On one setup (based on SUSE 7.4) I have it stable
running,
     on a setup not from a distribution I get quickcam: frame lost messages
in syslog
     and I get a kernel hang after several minutes without additional
information in syslog
     kernel and modules are absolutely the same (I doublechecked)


300MHz Goede GX1 CPU, OHCI USB

Detlef Schmicker
----- Original Message ----- 
From: "Oliver Neukum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 15, 2003 10:43 AM
Subject: Re: [linux-usb-devel] pwc stops if the system is loaded


>
> > Particularly after taking a quick glance at the code
> > and not seeing anything that much cared about nonzero
> > fault codes when the urbs are returned.
>
> Hi nemosoft,
>
> looking at the 2.5 code error handling seems fishy:
>
> if (urb->status != -EINPROGRESS && urb->status != 0) {
> char *errmsg;
>
> errmsg = "Unknown";
> switch(urb->status) {
> case -ENOSR: errmsg = "Buffer error (overrun)"; break;
> case -EPIPE: errmsg = "Stalled (device not responding)"; break;
> case -EOVERFLOW: errmsg = "Babble (bad cable?)"; break;
> case -EPROTO: errmsg = "Bit-stuff error (bad cable?)"; break;
> case -EILSEQ: errmsg = "CRC/Timeout"; break;
> case -ETIMEDOUT: errmsg = "NAK (device does not respond)"; break;
> }
> Trace(TRACE_FLOW, "pwc_isoc_handler() called with status %d [%s].\n",
urb->status, errmsg);
> return;
> }
>
> Judging by this code any such error will mean that the URB is not
resubmitted.
> Can this be right?
> Shouldn't there be a goto to this piece of code ?
>
> urb->dev = pdev->udev;
> i = usb_submit_urb(urb, GFP_ATOMIC);
> if (i != 0)
> Err("Error (%d) re-submitting urb in pwc_isoc_handler.\n", i);
>
> Regards
> Oliver
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
>



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to