Hello,
On Saturday 03 November 2001 23:58, Pete Zaitcev wrote:
> > From: "Nemosoft Unv." <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: [linux-usb-devel] Alert: Red Hat 7.2 has buggy 2.4.9 USB-UHCI
> > driver. Date: Sat, 3 Nov 2001 23:47:59 +0100
> >
> > Today I got the first bug report from a user that had upgraded to Red
> > Hat 7.2. The kenel shipped with RH 7.2 is 2.4.9, which unfortunately
> > contains the buggy usb-uhci driver (you know: solid hang when using USB
> > and isoc devices like webcams or speakers).
>
> Send me the patch. I never heard of this before.
Hmm, okay, I lied a bit. The bug was actually introduced in 2.4.10 (Linus
tree). The bug was discussed on linusb-usb-devel on 27/09.
However, the bug report sent to me on RedHat's 2.4.9-7 is exactly the same
bug (Killing interrupt handler, stacktrace ends in process_urb).
It may be Red Hat has included some 'innocent' parts from 2.4.10 into their
2.4.9 kernel, since they didn't want 2.4.10 itself.
The proper fix was posted on 27/09 by Georg Acher (this probably gets
mangled by my E-mail client...)
--- linux/drivers/usb/usb-uhci.c.org Thu Sep 27 12:12:39 2001
+++ linux/drivers/usb/usb-uhci.c Thu Sep 27 14:06:43 2001
@@ -2528,7 +2528,7 @@
int i;
int ret = 0;
urb_priv_t *urb_priv = urb->hcpriv;
- struct list_head *p = urb_priv->desc_list.next;
+ struct list_head *p = urb_priv->desc_list.next, *p_tmp;
uhci_desc_t *desc = list_entry (urb_priv->desc_list.prev,
uhci_desc_t, desc_list);
dbg("urb contains iso request");
@@ -2578,8 +2578,9 @@
dbg("process_iso: %i: len:%d %08x status:%x",
i, urb->iso_frame_desc[i].actual_length,
le32_to_cpu(desc->hw.td.status),urb->iso_frame_desc[i].status);
- list_del (p);
+ p_tmp = p;
p = p->next;
+ list_del (p_tmp);
delete_desc (s, desc);
}
Pete: can I assume this will be investigated and fixed (since you have a
@redhat.com address). I tried to enter it on bugzilla, but after I entered
all information it start to bug me about an E-mail address and password,
which I don't have (I really wished it asked that *before* I started....)
- Nemosoft
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel