> hi,
>
> i was also using and smp kernel. switching to a uniprocessor kernel (2.4.19)
> did the trick.
>
> cheers,
> steffen
>
> On Thursday 21 November 2002 13:48, David Eriksson wrote:
> > Ganesh, Linux-USB folks,
> >
> > It seems like the ipaq.[ch] serial-over-USB driver is not SMP safe. What
> > data do you need to track down such bugs?
this is very embarassing - I didn't initialize the goddamn spinlock. one-liner
follows, please apply and tell me if it works for you. I'll test it a bit more
to see if there're any more obvious smp bugs before submitting a patch to
greg.
ganesh
===== ipaq.c 1.15 vs edited =====
--- usb-2.4-working/drivers/usb/serial/ipaq.c Wed Sep 11 00:41:50 2002
+++ current/drivers/usb/serial/ipaq.c Sat Nov 23 01:40:41 2002
@@ -516,6 +516,7 @@
static int __init ipaq_init(void)
{
+ spin_lock_init(&write_list_lock);
usb_serial_register(&ipaq_device);
info(DRIVER_DESC " " DRIVER_VERSION);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel