Since updating to gentoo-sources-3* Kernels dvb-t stops working (with module dib0700) no Picture is show. I have tried it with vlc, mplayer2 and xine. The behavior of the players are different (in vlc if i change 10 times the channel i could see 1 time dvb-t, with mplayer2 and xine dvb-t works but after updating to gentoo-sources-3.1 mplayer2 and xine stops also working correctly with dvb-t. The only Error Message what i can grep is: "dib0700: tx buffer length is larger than 4. Not supported." This Message i could found at gentoo-sources-2.6.39-r3 to but there dvb-t is still working. On a x86_64 gentoo-sources-3* are the same Error Messages but there i can still watch dvb-t.(I havent tried gentoo-sources-3.1 on x86_64) There are many posts on different sites with this Error Message ("dib0700: tx buffer length is larger than 4. Not supported.") and 3Patches which probably solve the Problem: https://bugzilla.redhat.com/show_bug.cgi?id=733827 http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/36393 The first 3 Patches at: http://git.linuxtv.org/pb/media_tree.git/shortlog/refs/heads/for_v3.0 Reproducible: Always Steps to Reproduce: 1.Try to watch dvb-t with vlc on i386 gentoo-sources-3* using the dib0700 Module. 2. 3. Actual Results: No Picture is shown. Expected Results: Picture is shown.
emerge --info Portage 2.1.10.31 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.1.0-gentoo i686) ================================================================= System uname: Linux-3.1.0-gentoo-i686-Intel-R-_Pentium-R-_D_CPU_3.60GHz-with-gentoo-2.1 Timestamp of tree: Tue, 25 Oct 2011 18:00:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.7-r2, 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.6-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1-r1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r4 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo x11 x-portage ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/x11 /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amr automount avahi avi berkdb bitmap-fonts bluetooth branding bzip2 cairo cdda cdr clamav cli consolekit cracklib cups cxx dbus device-mapper dga divx dri dts dv dvb dvd dvdnav dvdr dvdread eds emboss enca encode esd evo exif extras ffmpeg firefox flac fortran fts3 fuse gdbm gdu gif git glibc-omitfp gmedia gnome gnutls gpm gstreamer gtk gtk2 gtk3 gvfs hddtemp iconv ipv6 java jpeg jpeg2k lame lcms ldap libkms libnotify live llvm lm_sensors mad matroska mdnsresponder-compat mercurial mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap nautilus ncurses nls no-helper nptl nptlonly nsplugin ogg oggvorbis opengl openmp openvg pam pango pcre pdf png pni policykit ppds pppd qt3support qt4 quicktime radio readline realmedia sasl sdl secure-delete session spell sqlite sse sse2 ssl startup-notification stream subversion svg sysfs tcpd teletext theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb utempter utf8 vcd vidix vlm vorbis wifi win32codecs wmp wps wx x264 x86 xanim xcb xcomposite xine xml xml2 xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ctxfi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-dib0700" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600 vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 290891 [details, diff] protect_dib0700_buffer_access.patch
Created attachment 290893 [details, diff] protect_dibcom_i2c_buffer_access.patch
Can you please try the attached patches? They apply cleanly to 3.0.7 and the module builds without problems. More info about the patches here. [1] [2] [3] [1] http://git.linuxtv.org/media_tree.git?a=commitdiff;h=bff469f4167fdabfe15294f375577d7eadbaa1bb [2] http://git.linuxtv.org/media_tree.git?a=commitdiff;h=79fcce3230b140f7675f8529ee53fe2f9644f902 [3] https://bugzilla.redhat.com/show_bug.cgi?id=733827
I want to try these patches but i don't know how to patch the modules - kernel (before i only have patched ebuilds) please give me a advise and i will try.
The patches works without warnings on gentoo-sources-3.1.0 to. After patching and rebuilding the kernel i can watch dvb-t again. The Error Message "dib0700: tx buffer length is larger than 4. Not supported." is already gone. Thanks for your help.
Now vlc works perfect but the problems with mplayer2 and xine after updating to gentoo-sources-3.1.0 is still there. mplayer2 shows the first 4 programms(in the channels.conf) but all other programms are not shown. mplayer2 errors: ocess::parseLine: 'Cache fill: 0.00% (0 bytes) dvb_streaming_read, attempt N. 2 failed with errno 0 ocess::parseLine: 'Cache not filling, consider increasing -cache and/or -cache-min!' [20:02:06:413] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 6 failed with errno 4 when reading 8192 bytes' [20:02:06:913] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 5 failed with errno 0 when reading 8192 bytes' [20:02:07:414] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 4 failed with errno 0 when reading 8192 bytes' [20:02:07:914] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 3 failed with errno 0 when reading 8192 bytes' [20:02:08:415] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 2 failed with errno 0 when reading 8192 bytes' [20:02:08:915] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 1 failed with errno 0 when reading 8192 bytes' [20:02:08:916] MplayerProcess::parseLine: 'dvb_streaming_read, return 0 bytes' [20:02:09:021] MplayerProcess::parseLine: 'Cache not filling, consider increasing -cache and/or -cache-min!' [20:02:09:417] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 6 failed with errno 0 when reading 8192 bytes' [20:02:09:917] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 5 failed with errno 0 when reading 8192 bytes' [20:02:10:418] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 4 failed with errno 0 when reading 8192 bytes' [20:02:10:918] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 3 failed with errno 0 when reading 8192 bytes' [20:02:11:419] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 2 failed with errno 0 when reading 8192 bytes' [20:02:11:919] MplayerProcess::parseLine: 'dvb_streaming_read, attempt N. 1 failed with errno 0 when reading 8192 bytes' [20:02:11:920] MplayerProcess::parseLine: 'dvb_streaming_read, return 0 bytes' [20:02:11:927] MplayerProcess::parseLine: '' [20:02:11:931] MplayerProcess::parseLine: '' [20:02:11:931] MplayerProcess::parseLine: 'Exiting... (End of file)
(In reply to comment #7) > Now vlc works perfect but the problems with mplayer2 and xine after updating to > gentoo-sources-3.1.0 is still there. This happens with patched gentoo-sources-3.1.0? If so, what about 3.0.7 (with the dibcom patches).
Yes this happens with gentoo-sources-3.1.0 + patches.(vlc works mplayer2+xine ups) With gentoo-sources-3.0.7 + patches vlc works perfect but the problems with mplayer2 and xine still persists.
Problems are only on x86 i386 kernels the x86_64 kernls made no problem with dibcom and vlc! long time i used vlc to view tv over dvb-t(with the kernel modules) and this works perfect. After updating to gentoo-sources-3.0.0 vlc was unable to view tv over dvb-t(if i changed 20 times the channel vlc view 1 or 2 times the programm). After that i tried some other programms to watch tv and i choose mplayer2 and xine witch worked perfect. Then comes the update to gentoo-sources-3.1.0 mplayer2 and xine made problems with dvb-t(every time they viewed programm 1 till 4 perfect but programm 5 till 9 failed every time. Programm 1-4 have the same Frequenz:498000000 and 5-9 also 578000000. My cannels.conf: ORF1(ORF):498000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:1010:1011:10101 ORF2 W(ORF):498000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:1020:1021:10102 ATV(ATV+):498000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:1040:1041:10120 ORF2 N(ORF):498000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:1020:1021:10122 PULS 4(sevenonemedia):578000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:1050:1051:10123 3SAT(ORF):578000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:1055:1056:11102 ORF Sport Plus(ORF):578000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:1060:1061:11103 ServusTV(ServusTV):578000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:1064:1066:11104 Radio Maria(Radio Maria sterreich):578000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:1111:11111 Then wrote this bug report tried the patches with gentoo-sources-3.1.0. Now vlc works perfect but mplayer2 and xine doesn't change their behavior. Now i tried the older kernels 3.0.6 and 3.0.7 without the path again vlc don't works and mplayer2 and xine which works previously with this sources perfect stops their work with programm 5 till 9.(maybe a update of a dependency has influence?) Then i tried 3.0.7 with the patch and vlc works perfect mplayer2 and xine are not able to view channel 5 till 9. Thanks for the patches. Do you add these Patches to the next gentoo-sources? well evening
Furthermore vlc shows epg information at channels 1-4 and don't shows epg information at channels 5-9.
gentoo-sources-3.1.0-r1 brought no changes but since updating to gentoo-sources-3.1.2 vlc works perfect with dvb-t (without extra patches!) the epg problems at vlc is also solved. At the other part xine mplayer and mplayer2 have the same problems with dvb-t and dibcom.
Kernel issues appear to have been resolved with later versions.