public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* rocketport driver problems in 2.6.10
@ 2005-02-21 16:42 Matthieu Herrb
  0 siblings, 0 replies; only message in thread
From: Matthieu Herrb @ 2005-02-21 16:42 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm experimenting problems with the rocket driver with a Comtrol 
Rocketprot ISA board, under Fedora Core 3 with a 2.6.10 kernel.
(Linux dala 2.6.10-1.766_FC3 #1 Wed Feb 9 23:06:42 EST 2005 i686 i686 
i386 GNU/Linux)

I have a multi-threaded application that opens 2 ports on the rocketport 
card, and happily talks to both devices connected to these ports.

But when I quit the application, the close on the last port leaves the 
thread that called close() and the rocket kernel module in a strange 
state: the thread changes between 'D' state with a wait channel of 
'release_dev' and running. It can't be killed. Lsof doesn't show the 
device as open anymore. Any try to open the device again fails with 
errno == EIO.
lsmod shows the kernel module used by 1 client, and I can't rmmod it.

Only a reboot can free the device and let me work further.

When I only use one device on the rocketport per process, everything is 
ok (or seems ok).

Any idea(s) on how to debug/fix that ?

-- 
Matthieu Herrb

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-21 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21 16:42 rocketport driver problems in 2.6.10 Matthieu Herrb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox