Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Unable to remove driver modules



On Thu, Aug 01, 2002 at 11:35:18AM +0200, Holger Waechtler wrote:
> Martin Neuditschko wrote:
> >I tried to unload the driver with "make rmmod" and this failed because
> >kvdr was running (kvdr is something like xawtv). This was clear
> >because kvdr blocks the devices. But after killing the application
> >I also can not remove the drivers:
> [...]
> 
> Could you please check out the current CVS source and try again? I fixed 
> some semaphore locking code which might had caused your problems.

Also with current driver it does not work.
It works with xawtv but not with kvdr, so I think the problem is
that if kvdr crashes baldly - what it always does if I remove
the driver while it was running - kvdr blocks something which
prevents unloading of the driver. 

PS: At normal running with kvdr I get these output:

melchior:/usr/local/src/vdr-1.0.4 # lsof /dev/video
COMMAND  PID   USER   FD   TYPE DEVICE SIZE   NODE NAME
kvdr    1609 yosuke  mem    CHR   81,0      180778 /dev/video0
kvdr    1609 yosuke   13u   CHR   81,0      180778 /dev/video0
melchior:/usr/local/src/vdr-1.0.4 # fuser /dev/video
/dev/video:           1609  1609m
melchior:/usr/local/src/vdr-1.0.4 # fuser /dev/dvb/adapter0/
melchior:/usr/local/src/vdr-1.0.4 # fuser /dev/dvb/adapter0/*
melchior:/usr/local/src/vdr-1.0.4 # lsof /dev/dvb/adapter0/*
melchior:/usr/local/src/vdr-1.0.4 # fuser /dev/ost/*
melchior:/usr/local/src/vdr-1.0.4 # lsof /dev/ost/*

best regards
Martin Neuditschko


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index