Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/rtc - device or resource busy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ShadowWizzard
n00b
n00b


Joined: 04 Mar 2006
Posts: 70

PostPosted: Wed Apr 12, 2006 2:55 pm    Post subject: /dev/rtc - device or resource busy Reply with quote

I discovered that mplayer is unable
to use /dev/rtc. It happened after recompile whole
system including kernel with GCC 4.1
The problem is that
Code:
cat /dev/rtc
cat: /dev/rtc: Device or resource busy


Even root can't do it.
And here is result of cat /proc/driver/rtc
Code:
rtc_time        : 14:53:11
rtc_date        : 2006-04-12
rtc_epoch       : 1900
alarm           : 00:00:00
DST_enable      : no
BCD             : yes
24hr            : yes
square_wave     : no
alarm_IRQ       : no
update_IRQ      : no
periodic_IRQ    : no
periodic_freq   : 1024
batt_status     : okay

Any ideas what is wrong ?
Back to top
View user's profile Send private message
ShadowWizzard
n00b
n00b


Joined: 04 Mar 2006
Posts: 70

PostPosted: Fri Apr 14, 2006 12:20 pm    Post subject: Funny ... Reply with quote

What is funny it seems related to startup scripts..
If break up the startup and go single user without newtwork etc.etc.
The
Code:
 cat /dev/rtc
works well ...

Any Ideas ?
How to check which process own device ?
Back to top
View user's profile Send private message
ShadowWizzard
n00b
n00b


Joined: 04 Mar 2006
Posts: 70

PostPosted: Sun Apr 16, 2006 7:47 pm    Post subject: Funny thing ... Reply with quote

Ok .. here we go again:

1) The
Code:
 lsof /dev/rtc
didn't show nothing !!!
2) By intuition I tried to disable one by one startup scripts. And finally I found that it's :
Code:
timidity++
deamon that's locks the /dev/rtc ... but why when unused (I mean no midi is playing ?)

the general question is why lsof didn't show the PID od process which own /dev/rtc ??????? !!!!!! :evil:
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu May 25, 2006 2:56 am    Post subject: Reply with quote

I confirm that timidity++ hogs /dev/rtc. I haven't seen a solution.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Tue Oct 17, 2006 2:40 am    Post subject: Reply with quote

Hi.

I was asked to post the following:
Branimir Amidžić wrote:
Recompile kernel with RTC Timer Support module turned off.
Code:

Device Drivers --->
  Sound --->
    <M> Sound Card Support -->
      Advanced Linux Sound Architecture --->   
        < > RTC Timer Support


_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum