Re: [linux-usb-devel] PROBLEM: Oops using the visor driver

2002-02-27 Thread Greg KH
On Tue, Feb 26, 2002 at 09:05:36PM -0500, Hugo Haas wrote: > * Greg KH <[EMAIL PROTECTED]> [2002-02-26 15:02-0800] > > > Can't usb_serial_disconnect() take the semaphore visor_close() takes ? > > > > Yes it could, but there would still be a small race window. I would > > have to push "down (&por

Re: [linux-usb-devel] PROBLEM: Oops using the visor driver

2002-02-26 Thread Hugo Haas
* Greg KH <[EMAIL PROTECTED]> [2002-02-26 15:02-0800] > > Can't usb_serial_disconnect() take the semaphore visor_close() takes ? > > Yes it could, but there would still be a small race window. I would > have to push "down (&port->sem);" back to the serial_close() function. > > Hm, that might be

Re: [linux-usb-devel] PROBLEM: Oops using the visor driver

2002-02-26 Thread Greg KH
On Tue, Feb 26, 2002 at 07:51:37PM +0100, Oliver Neukum wrote: > On Tuesday 26 February 2002 18:32, Greg KH wrote: > > On Tue, Feb 26, 2002 at 06:06:32PM +0100, Oliver Neukum wrote: > > > Hi, > > > > > > it seems that serial_disconnect() can race with visor_close() > > > > Yup it sure can :) > > >

Re: [linux-usb-devel] PROBLEM: Oops using the visor driver

2002-02-26 Thread Oliver Neukum
On Tuesday 26 February 2002 18:32, Greg KH wrote: > On Tue, Feb 26, 2002 at 06:06:32PM +0100, Oliver Neukum wrote: > > Hi, > > > > it seems that serial_disconnect() can race with visor_close() > > Yup it sure can :) > > Any ideas on how to solve this race? I can't reproduce it to test > different

Re: [linux-usb-devel] PROBLEM: Oops using the visor driver

2002-02-26 Thread Greg KH
On Tue, Feb 26, 2002 at 01:29:11PM -0500, Hugo Haas wrote: > * Greg KH <[EMAIL PROTECTED]> [2002-02-26 09:32-0800] > > Any ideas on how to solve this race? I can't reproduce it to test > > different things here, but lots of different people keep reporting it. > > It's time to organize a bake sal

Re: [linux-usb-devel] PROBLEM: Oops using the visor driver

2002-02-26 Thread Hugo Haas
* Greg KH <[EMAIL PROTECTED]> [2002-02-26 09:32-0800] > Any ideas on how to solve this race? I can't reproduce it to test > different things here, but lots of different people keep reporting it. It's time to organize a bake sale and get Greg a bunch of PDAs! :-) [..] > Hugo, one work around is

Re: [linux-usb-devel] PROBLEM: Oops using the visor driver

2002-02-26 Thread Greg KH
On Tue, Feb 26, 2002 at 06:06:32PM +0100, Oliver Neukum wrote: > Hi, > > it seems that serial_disconnect() can race with visor_close() Yup it sure can :) Any ideas on how to solve this race? I can't reproduce it to test different things here, but lots of different people keep reporting it. I

Re: [linux-usb-devel] PROBLEM: Oops using the visor driver

2002-02-26 Thread Oliver Neukum
Hi, it seems that serial_disconnect() can race with visor_close() Regards Oliver ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[linux-usb-devel] PROBLEM: Oops using the visor driver

2002-02-26 Thread Hugo Haas
Hi. I am using 2.4.18, with the patch adding support for the Sony Clie PEG-S360[1]. I am using J-Pilot 0.99.2, with the new pilot-link code (2002-02-17_05h.59m.23s snapshot). Here is what happened when I did a sync: Feb 26 08:07:14 home kernel: hub.c: USB new device connect on bus1/1, assign