Alan Stern said:
> The information in the -g4 log was helpful.  Here's another patch, which
> is my attempt to fix the bug.  It actually changes two things:

Cool, thanks! No more kernel panics-- my filesystem thanks you. However,
the test still reports failure.

> Try this patch and run those tests again.  If it still fails, try
> repeating it with both this patch and the diagnostic patch I sent
> yesterday.

Representative logs attached. Occasionally, I would see a few more of the
"Element != First TD" printouts, but that was hard to reproduce.

I am assuming that something still isn't going right, since without your
debug patch, uhci-hcd still does some printks, and usbtest reports errors.
However, the final result code from testusb is zero. Is this normal?

-- 
Charles Lepple <[EMAIL PROTECTED]>
http://www.ghz.cc/charles/
uhci: added urbp c577453c to complete_list
uhci: took urbp c577453c off complete_list
uhci: freed urbp c577453c
drivers/usb/misc/usbtest.c: 0000:00:02.2-1:0 TEST 10:  queue 3 control calls, 5000 
times
uhci: added urbp c577453c to complete_list
uhci: added urbp c57744f4 to complete_list
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 0
[c7e532a0] link (07e531e2) element (00000001)
 Element != First TD
  0: [c7e54150] link (07e54180) e3 Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP) 
(buf=07e460c0)
  1: [c7e54180] link (07e541b0) e3 SPD Length=7ff MaxLen=0 DT1 EndPt=0 Dev=3, 
PID=69(IN) (buf=07e460a0)
  2: [c7e541b0] link (00000001) e3 IOC Length=7ff MaxLen=7ff DT0 EndPt=0 Dev=3, 
PID=e1(OUT) (buf=00000000)

uhci: added urbp c57744ac to complete_list
uhci: took urbp c577453c off complete_list
uhci: freed urbp c577453c
uhci: took urbp c57744f4 off complete_list
uhci: freed urbp c57744f4
uhci: took urbp c57744ac off complete_list
uhci: freed urbp c57744ac
drivers/usb/misc/usbtest.c: subtest 2 error, status -121
drivers/usb/misc/usbtest.c: control queue 81.0a, err -121, 14997 left
uhci: added urbp c577453c to remove_list
uhci: added urbp c57744f4 to remove_list
uhci: took urbp c577453c off remove_list
uhci: added urbp c577453c to complete_list
uhci: took urbp c57744f4 off remove_list
uhci: added urbp c57744f4 to complete_list
uhci: took urbp c577453c off complete_list
uhci: freed urbp c577453c
uhci: took urbp c57744f4 off complete_list
uhci: freed urbp c57744f4
uhci: added urbp c575653c to complete_list
uhci: took urbp c575653c off complete_list
uhci: freed urbp c575653c
drivers/usb/misc/usbtest.c: 0000:00:02.2-1:0 TEST 10:  queue 4 control calls, 5000 
times
uhci: added urbp c575653c to complete_list
uhci: added urbp c57564f4 to complete_list
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 0
[c7e532a0] link (07e531e2) element (07e532d2)
  Element points to QH (bug?)
 Element != First TD
  0: [c7e54150] link (07e54180) e3 Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP) 
(buf=07e460c0)
  1: [c7e54180] link (07e541b0) e3 SPD Length=7ff MaxLen=0 DT1 EndPt=0 Dev=3, 
PID=69(IN) (buf=07e460a0)
  2: [c7e541b0] link (07e532d2) e3 IOC Length=7ff MaxLen=7ff DT0 EndPt=0 Dev=3, 
PID=e1(OUT) (buf=00000000)
--Queued QH's:
[c7e532d0] link (07e531e2) element (00000001)
 Element != First TD
  0: [c7e541e0] link (07e54210) e3 Length=7 MaxLen=7 DT1 EndPt=0 Dev=3, PID=2d(SETUP) 
(buf=07e46100)
  1: [c7e54210] link (07e54240) e3 Length=1 MaxLen=1 DT0 EndPt=0 Dev=3, PID=69(IN) 
(buf=07e460e0)
  2: [c7e54240] link (00000001) e3 IOC Length=7ff MaxLen=7ff DT1 EndPt=0 Dev=3, 
PID=e1(OUT) (buf=00000000)

uhci: added urbp c57564ac to complete_list
uhci: added urbp c5756464 to complete_list
uhci: took urbp c575653c off complete_list
uhci: freed urbp c575653c
uhci: took urbp c57564f4 off complete_list
uhci: freed urbp c57564f4
uhci: took urbp c57564ac off complete_list
uhci: freed urbp c57564ac
drivers/usb/misc/usbtest.c: subtest 2 error, status -121
drivers/usb/misc/usbtest.c: control queue 81.0a, err -121, 19997 left
uhci: added urbp c575653c to remove_list
uhci: added urbp c57564f4 to remove_list
usb 1-1: hcd_unlink_urb c7118dd8 fail -16
uhci: took urbp c5756464 off complete_list
uhci: freed urbp c5756464
uhci: took urbp c575653c off remove_list
uhci: added urbp c575653c to complete_list
uhci: took urbp c57564f4 off remove_list
uhci: added urbp c57564f4 to complete_list
uhci: added urbp c5756464 to complete_list
uhci: took urbp c575653c off complete_list
uhci: freed urbp c575653c
uhci: took urbp c57564f4 off complete_list
uhci: freed urbp c57564f4
uhci: took urbp c5756464 off complete_list
uhci: freed urbp c5756464
drivers/usb/misc/usbtest.c: subcase 3 completed out of order, last 1

Reply via email to