> emerge --info Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.12.5 Last Sync: Fri, 20 Oct 2006 16:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de " LANG="de_DE@euro" LINGUAS="de en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/own" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa apache2 arts berkdb bitmap-fonts cdr cli cracklib crypt cups dbus dga dlloader dri dv dvb dvd dvdr dvdread elibc_glibc encode exif ffmpeg firefox foomaticdb fortran ftp gcj gdbm gif gphoto2 gpm hal imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog ivtv java javascript jpeg kde kdehiddenvisibility kernel_linux libg++ linguas_de linguas_en lirc lirc_devices_all lm_sensors mad matrox mmx mng mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdf perl png ppds pppd python qt3 qt4 readline reflection scanner session spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fbdev video_cards_mga video_cards_v4l video_cards_vesa video_cards_vga video_cards_via vorbis win32codecs wmf xine xmms xorg xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS When trying to watch a live channel (Hauppauge PVR250 + ivtv-0.7.1) i get a black screen. I have to kill mythfrontend manuall (kill <pid>) to end the program. dmesg gives me: ------------------- cut ------------------ BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004 printing eip: c0121f04 *pde = 00000000 Oops: 0002 [#1] Modules linked in: floppy pdc202xx_old 3c59x msp3400 saa7115 tda9887 tuner v4l2_common ivtv firmware_class v4l1_compat tveeprom videodev sr_mod cdrom sym53c8xx scsi_transport_spi scsi_mod snd_via82xx snd_ac97_codec snd_ac97_bus snd_pcm snd_page_alloc snd_mpu401_uart snd_rawmidi via686a hwmon i2c_isa uhci_hcd parport_pc parport CPU: 0 EIP: 0060:[<c0121f04>] Not tainted VLI EFLAGS: 00210046 (2.6.17-gentoo-r8 #6) EIP is at add_wait_queue+0x10/0x1d eax: dff771f8 ebx: 00000000 ecx: d910ff04 edx: d910fef8 esi: 00200246 edi: d910ff0c ebp: 00197e8e esp: d910fee8 ds: 007b es: 007b ss: 0068 Process mythfrontend (pid: 12258, threadinfo=d910e000 task=dfc4f0b0) Stack: dff77000 0000003a c01b748b d910ff28 00000000 dfc4f0b0 c0111fec 00000000 00000000 dff77000 0000003a 00000000 df86e9a0 c01b084c c147f1a0 00000000 00000001 a9d101b0 b7f77319 ffffff9c c013ffcb c01b06e5 0000003a c02c61d0 Call Trace: <c01b748b> mga_driver_vblank_wait+0x47/0xc8 <c0111fec> default_wake_function+0x0/0xc <c01b084c> drm_wait_vblank+0x167/0x1b0 <c013ffcb> nameidata_to_filp+0x19/0x28 <c01b06e5> drm_wait_vblank+0x0/0x1b0 <c01af72b> drm_ioctl+0x142/0x183 <c010643a> sys_mmap2+0x5e/0x91 <c01af5e9> drm_ioctl+0x0/0x183 <c014e559> do_ioctl+0x39/0x48 <c014e76a> vfs_ioctl+0x202/0x219 <c014e7ad> sys_ioctl+0x2c/0x43 <c01028ff> sysenter_past_esp+0x54/0x75 <c010643a> sys_mmap2+0x5e/0x91 Code: 33 fa fe ff 5a 59 5b 5e 5f 5d 31 c0 c3 8d 07 e8 f7 7a 14 00 e9 ed fd ff ff 90 90 56 83 22 fe 53 9c 5e fa 8b 18 8d 4a 0c 89 5a 0c <89> 4b 04 89 08 89 41 04 56 9d 5b 5e c3 56 83 0a 01 53 9c 5e fa EIP: [<c0121f04>] add_wait_queue+0x10/0x1d SS:ESP 0068:d910fee8 ------------------- cut ------------------ Btw: tuning with "ivtv-tune" and viewing with "mplayer /dev/v4l/video0" works well. Any ideas ?
Additional info. I started mythfrontend from a console window. I got following printed there (until i killed it): -------------------- cut ---------------------- 2006-10-21 00:39:35.883 Using runtime prefix = /usr 2006-10-21 00:39:35.892 DPMS is disabled. 2006-10-21 00:39:35.959 New DB connection, total: 1 2006-10-21 00:39:35.970 Connected to database 'mythconverg' at host: 127.0.0.1 2006-10-21 00:39:35.974 Total desktop dim: 1280x1024, with 1 screen[s]. 2006-10-21 00:39:35.981 Using screen 0, 1280x1024 at 0,0 2006-10-21 00:39:36.070 Current Schema Version: 1160 2006-10-21 00:39:36.071 mythfrontend version: 0.20.20060828-3 www.mythtv.org 2006-10-21 00:39:36.072 Enabled verbose msgs: important general 2006-10-21 00:39:37.510 Total desktop dim: 1280x1024, with 1 screen[s]. 2006-10-21 00:39:37.513 Using screen 0, 1280x1024 at 0,0 2006-10-21 00:39:37.516 Switching to square mode (G.A.N.T.) 2006-10-21 00:39:37.765 Using the Qt painter mythtv: could not connect to socket mythtv: No such file or directory lirc_init failed for mythtv, see preceding messages 2006-10-21 00:39:40.114 Loading from: /usr/share/mythtv/themes/G.A.N.T./base.xml 2006-10-21 00:39:40.314 Loading from: /usr/share/mythtv/themes/default/base.xml 2006-10-21 00:39:40.574 Registering Internal as a media playback plugin. 2006-10-21 00:40:45.730 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 2006-10-21 00:40:45.734 Using protocol version 31 2006-10-21 00:40:45.819 Received a remote 'Clear Cache' request 2006-10-21 00:40:57.156 New DB connection, total: 2 2006-10-21 00:40:57.160 Connected to database 'mythconverg' at host: 127.0.0.1 2006-10-21 00:40:57.266 TV: Attempting to change from None to WatchingLiveTV 2006-10-21 00:40:57.267 Using protocol version 31 2006-10-21 00:40:59.002 AFD: Opened codec 0x8372320, id(MPEG2VIDEO) type(Video) 2006-10-21 00:40:59.053 AFD: Opened codec 0x8356f30, id(MP2) type(Audio) 2006-10-21 00:40:59.130 Opening OSS audio device '/dev/dsp'. 2006-10-21 00:40:59.200 VideoOutputXv: XvMCTex: Init failed 2006-10-21 00:40:59.201 VideoOutputXv: XVideo Adaptor Name: 'Matrox G-Series Backend Scaler' 2006-10-21 00:41:00.454 The realtime priority setting is not enabled. 2006-10-21 00:41:00.459 TV: Changing from None to WatchingLiveTV 2006-10-21 00:41:04.709 NVP: Timed out waiting for free video buffers. 2006-10-21 00:41:08.719 NVP: Timed out waiting for free video buffers. 2006-10-21 00:41:12.739 NVP: Timed out waiting for free video buffers. 2006-10-21 00:41:16.739 NVP: Timed out waiting for free video buffers. 2006-10-21 00:41:20.739 NVP: Timed out waiting for free video buffers. 2006-10-21 00:41:24.739 NVP: Timed out waiting for free video buffers. Terminated -------------------- cut ---------------------- Some hardware info: CPU: AMD Athlon 1400 GPU: Matrox G200 AGP (X-driver: xf86-video-mga-1.4.1-r1) Hope that helps tracking down the issue.
last Changelog entry: Removing MythFrontend. Functionality in MythTV ebuild
Could you give a little bit more info ? I have already installed media-tv/mythtv-0.20_p11444 which is the currently latest one. The mythfrontend i used is from there. I can not seee any reference for my problem in the Changelog of the mythtv ebuilds.
Just another MythTV feature to live with. That's why everyone has scripts setup to see if MythTV is running or has crashed and restart it if it has. You can try to take it upstream and work with them over at http://svn.mythtv.org but since MythTV is so unstable it's not a Gentoo trackable thing.
I've got it running using the unstable xf86-video-mga-1.4.2 ebuild (instead of 1.4.1 stable) as xorg video driver. Hope that helps others.