On Fri, Jan 10, 2003 at 08:59:45PM +0100, Jochen Friedrich wrote:
> Hi Greg,
> 
> > Ah, I forgot to change the .name fields on this driver, sorry.  Here's a
> > patch that fixes the problem for me, please let me know if it works for
> > you or not.
> 
> Thanks! This fixed the oops message.

Great, thanks for letting me know.

> Further debugging showed:
> 
> serial_close downs &port->sem, then calls digi_close.
> digi_close calls tty_wait_until_sent.
> tty_wait_until_sent calls serial_chars_in_buffer.
> serial_chars_in_buffer tries to down &port->sem again, and here it hangs.

Ah crap.  Yet another reason to get rid of that port semaphore and push
it down into the individual drivers to handle if they need it or not.
Mind you, it was pulled out of there a while ago to solve other race
conditions...

Bleah.  What really needs to happen is to convert to using the serial
core, which should fix a lot of things.  The main thing holding that
back is just time, I don't have it right now :(

Any volunteers?

greg k-h


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to