Bug#326674: vdr doesn't start

Thomas Schmidt tschmidt at debian.org
Tue Sep 6 12:46:16 UTC 2005


* Jan-Erik Meyer-Luetgens schrieb am 06.09.05, um 00:41 Uhr:
> When I reboot the system, then vdr starts.
> But when I use /etc/init.d/vdr restart (stop/start)
> it doesn't restart.

Hmm, can you send us the output of 

lsmod | grep dvb

when vdr is running?

Do you load the module(-s) for your dvb-card in /etc/modules or do you
rely on hotplug for loading the right modules completely?

> mplayer dvb://channel    runs as root, only
> 
> so here is an intresting point:
> 
> $ ls -ld /dev/dvb
> d---------  3 root root 60 2005-09-06 00:20 dvb/
> 
> When I'm changing the permissions and restarting vdr
> I'm getting the same insane permissions as above.
> 
> So we have a problem in udev?

Yes, this can be possible, unfortunately i do not have a system with a
dvb-card where i can test udev atm. I will look at the udev-scripts
later.

> syslog:
> 
> Sep  6 00:06:34 arctic logger: restarting VDR
> Sep  6 00:06:44 arctic kernel: DVB: registering new adapter (bttv0).
> Sep  6 00:06:44 arctic kernel: DVB: registering frontend 0 (Zarlink 
> MT352 DVB-T)...
> Sep  6 00:06:44 arctic logger: restarting VDR
> Sep  6 00:06:54 arctic kernel: DVB: registering new adapter (bttv0).
> Sep  6 00:06:54 arctic kernel: DVB: registering frontend 0 (Zarlink 
> MT352 DVB-T)...
> Sep  6 00:06:54 arctic logger: restarting VDR
> Sep  6 00:07:04 arctic kernel: DVB: registering new adapter (bttv0).
> Sep  6 00:07:04 arctic kernel: DVB: registering frontend 0 (Zarlink 
> MT352 DVB-T)...
> 
> and so on ...

I guess, vdr can not find a primary device - it seems that not all
modules are loaded when vdr starts again. This can be a problem with
udev or probaly with /usr/sbin/runvdr.

> I don't know what version I were running. Is there a way to find out?
> (I think it's not older than 2 month)

Well, 2 month ago we had vdr 1.3.27-1 in unstable (uploaded on
2005-06-29).
I guess the only way to find out which version you were running is to
look into /var/log/syslog.* .

cat /var/log/syslog* | grep "vdr.*version.*started" 

or

zcat /var/log/syslog*.gz | grep "vdr.*version.*started"


Regards,
Thomas

-- 
Thomas Schmidt, Debian VDR Team
http://pkg-vdr-dvb.alioth.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vdr-dvb-devel/attachments/20050906/c91f7c6a/attachment-0001.pgp


More information about the pkg-vdr-dvb-devel mailing list