Bug#512362: runvdr crash handler does not handle the module dependency tree

Brendon Higgins blhiggins at gmail.com
Tue Jan 20 02:02:18 UTC 2009


Package: vdr
Version: 1.6.0-8
Severity: normal


I came across this while debugging a separate problem (which was being
triggered by this) with my dvb modules.

The runvdr script attempts to reload the dvb modules in the event that vdr
crashes. It does this by using lsmod to determine which modules directly
depend on dvb_core, and then attempting to rmmod and modprobe just those
modules plus dvb_core. This process does not take into account the fact that
multiple other modules may depend on those modules that runvdr attempts to
reload. The rmmod calls will fail in this case.

Getting this to work right would require traversing the module dependency
tree and running rmmod/modprobe for all of those modules.

Peace,
Brendon

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (102, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vdr depends on:
ii  adduser                      3.110       add and remove users and groups
ii  debconf [debconf-2.0]        1.5.24      Debian configuration management sy
ii  libc6                        2.7-18      GNU C Library: Shared libraries
ii  libcap2                      2.11-2      support for getting/setting POSIX.
ii  libfontconfig1               2.6.0-3     generic font configuration library
ii  libfreetype6                 2.3.7-2     FreeType 2 font engine, shared lib
ii  libgcc1                      1:4.3.2-1.1 GCC support library
ii  libjpeg62                    6b-14       The Independent JPEG Group's JPEG 
ii  libstdc++6                   4.3.2-1.1   The GNU Standard C++ Library v3
ii  psmisc                       22.6-1      Utilities that use the proc filesy

Versions of packages vdr recommends:
ii  lirc                          0.8.3-3    infra-red remote control support
ii  ttf-freefont                  20080323-3 Freefont Serif, Sans and Mono True

vdr suggests no packages.

-- debconf information:
* vdr/select_dvb_card: Terrestrial
* vdr/showinfo:
* vdr/create_video_dir: true





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