Moderator Control Panel ]

Gen2VDR with TBS 9681 Driver

Gen2VDR with TBS 9681 Driver

Postby gernot80 » Tue Dec 21, 2010 5:14 am

Hello,

my problem with the Install:

Code: Select All Code
vdr01 v4l # ./tbs-x86.sh
TBS 6980/6981 driver configured for x86 platform.
vdr01 v4l # make
perl scripts/make_config_compat.pl /lib/modules/2.6.35-gentoo-r12/source ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[1]: Entering directory `/root/tbs/linux-s2api-tbs6980_1/v4l/firmware'
make[1]: Leaving directory `/root/tbs/linux-s2api-tbs6980_1/v4l/firmware'
make -C firmware
make[1]: Entering directory `/root/tbs/linux-s2api-tbs6980_1/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[1]: Leaving directory `/root/tbs/linux-s2api-tbs6980_1/v4l/firmware'
Kernel build directory is /lib/modules/2.6.35-gentoo-r12/build
make -C /lib/modules/2.6.35-gentoo-r12/build SUBDIRS=/root/tbs/linux-s2api-tbs6980_1/v4l  modules
make[1]: Entering directory `/usr/src/linux-2.6.35-gentoo-r12'
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/tuner-xc2028.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/tuner-simple.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/tuner-types.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/mt20xx.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/tda8290.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/tea5767.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/tea5761.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/tda9887.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/tda827x.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/au0828-core.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/au0828-i2c.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/au0828-cards.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/au0828-dvb.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/au0828-video.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/au8522_dig.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/au8522_decoder.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/flexcop-pci.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/flexcop-usb.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/flexcop.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/flexcop-fe-tuner.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/flexcop-i2c.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/flexcop-sram.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/flexcop-eeprom.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/flexcop-misc.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/flexcop-hw-filter.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/flexcop-dma.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/bttv-driver.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/bttv-cards.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/bttv-if.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/bttv-risc.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/bttv-vbi.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/bttv-i2c.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/bttv-gpio.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/bttv-input.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/bttv-audio-hook.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cpia2_v4l.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cpia2_usb.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cpia2_core.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-alsa-main.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-alsa-pcm.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-driver.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-cards.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-i2c.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-firmware.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-gpio.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-queue.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-streams.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-fileops.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-ioctl.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-controls.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-mailbox.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-vbi.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-audio.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-video.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-irq.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-av-core.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-av-audio.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-av-firmware.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-av-vbi.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-scb.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-dvb.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx18-io.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx231xx-audio.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx231xx-video.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx231xx-i2c.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx231xx-cards.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx231xx-core.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx231xx-avcore.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx231xx-pcb-cfg.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx231xx-vbi.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-cards.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-video.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-vbi.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-core.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-i2c.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-dvb.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-417.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-ioctl.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-ir.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-av.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-input.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23888-ir.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/netup-init.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cimax2.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/netup-eeprom.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx23885-f300.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx25840-core.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx25840-audio.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx25840-firmware.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx25840-vbi.o
  CC [M]  /root/tbs/linux-s2api-tbs6980_1/v4l/cx25840-ir.o
/root/tbs/linux-s2api-tbs6980_1/v4l/cx25840-ir.c: In function 'cx25840_ir_probe':
/root/tbs/linux-s2api-tbs6980_1/v4l/cx25840-ir.c:1239: error: implicit declaration of function 'kzalloc'
/root/tbs/linux-s2api-tbs6980_1/v4l/cx25840-ir.c:1239: warning: assignment makes pointer from integer without a cast
/root/tbs/linux-s2api-tbs6980_1/v4l/cx25840-ir.c:1254: error: implicit declaration of function 'kfree'
make[2]: *** [/root/tbs/linux-s2api-tbs6980_1/v4l/cx25840-ir.o] Error 1
make[1]: *** [_module_/root/tbs/linux-s2api-tbs6980_1/v4l] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.35-gentoo-r12'
make: *** [default] Error 2



Please Help!

Thanks
Gernot
gernot80
 
Posts: 1
Joined: Tue Dec 21, 2010 5:11 am

Re: Gen2VDR with TBS 9681 Driver

Postby cody » Fri Dec 24, 2010 5:38 am

hello Gernot,

i can't reproduce this problem even with newer kernel than yours like 2.6.35-22, because usually the problems are the newer kernels, because we test the drivers with the latest kernel in the time of their release. so, my best guess is that something in your Linux environment is messed up and that why your C compiler can't find the header files in which "kzalloc" and "kfree" are defined and respectively the build process fails. i'm not sure what to suggest, because i'm trying to reproduce this problem for 2 days now without success. maybe, you can give me more details how to create environment more similar to yours and try again, but in any case it's not problem in our Linux driver package and it's related to your Linux environment.

best regards,
cody
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: Gen2VDR with TBS 9681 Driver

Postby EiK » Sun Jan 02, 2011 1:50 am

Probably a Gentoo related problem.
I get exactly the same error on my Gentoo machine.
Here is my build environment:
Code: Select All Code
$ emerge --info
Portage 2.1.9.25 (hardened/linux/x86, gcc-4.4.5, glibc-2.12.1-r3, 2.6.35-gentoo-r15 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r15-i686-AMD_Athlon-tm-_Dual_Core_Processor_4050e-with-gentoo-1.12.14
Timestamp of tree: Sat, 01 Jan 2011 01:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13::<unknown repository>, 2.68
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.mirror.sdv.fr/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB 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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acl acpi bzip2 cdr cli cracklib crypt cxx dga dlloader dri dvdr ffmpeg flash gd gtk2 gtkhtml hardened iconv java jpeg kerberos md5sum mmx mmxext modules mozilla mudflap ncurses nls nptl nptlonly openmp pam pcre perl pic png pppd python readline samba session sse sse2 ssl svg sysfs tcltk tcpd tetex threads tiff unicode urandom usb vchroot win32codecs x86 xml xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="ttpci" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Any help would be appreciated.
Oh, and btw: Happy new year! :D

Edit: same on an other Gentoo machine:
Code: Select All Code
$ emerge --info
Portage 2.1.9.25 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r3, 2.6.35-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r8-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 16 Dec 2010 10:00:01 +0000
ccache version 3.1.3 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror                 ftp://ftp.tu-clausthal.de/pub/linux/gentoo                 ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo                 http://gentoo.mirror.sdv.fr/                 ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo                 http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j5"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/sunrise /usr/local/overlays/sajinet /usr/local/overlays/workaround /usr/local/overlays/Spring /usr/local/overlays/dertobi123"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa archive avahi bash-completion berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups custom-optimization cxx dbus dlloader dns dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran fuse gdbm gif glitz gnome gnome-keyring gnutls gpm graphviz gs gtk gtk+ gtk2 h323 hal iconv ipw3945 java jbig jpeg jpeg2k lcms ldap libffi libnotify libsamplerate libsexy lua mad matroska mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap nautilus ncurses networkmanager nls nptl nptlonly nsplugin nss ntp nvidia ogg opengl openmp pam pango pcmcia pcre pdf perl png pnp policykit postgres ppds pppd pulseaudio python readline samba sdl session sip spell sse sse2 ssl startup-notification svg sysfs tcpd tetex theora threads tiff truetype unicode usb vchroot vorbis wav webkit wifi win32codecs x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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="keyboard mouse ps2mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="nv nvidia 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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Edit2: I just wrote an ebuild for testing. It reproduces the error on my machine(s). Unfortunately it didn't give me any further clues...

tbs-driver-0.1_p20101024.ebuild:
Code: Select All Code
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils linux-mod

MY_PV=${PV#*_p}

DVB_S2API="linux-s2api-tbs6980_1"
DESCRIPTION="DVB driver for TBS 6980/6981"
HOMEPAGE="http://www.tbsdtv.com"
SRC_URI="http://www.tbsdtv.com/download/TBS6981/linux-s2api-tbs6980-1_${MY_PV}.rar"
LICENSE="TBS"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="virtual/linux-sources"
RDEPEND=""

S=${WORKDIR}/${DVB_S2API}

pkg_setup() {
        linux-mod_pkg_setup

        export DISTCC_DISABLE=1
        export CCACHE_DISABLE=1

        if [[ ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} > 2.6.35 ]]; then
                elog "This ebuild only provides drivers for Kernel <= 2.6.35"
                elog "Kernel 2.6.36 and above are not supported"
                die "Kernel > 2.6.35 not supported"
        fi

        BUILD_TARGETS="all"
}

src_unpack() {
        unpack ${A}
        tar xjf ${WORKDIR}/${DVB_S2API}.tar.bz2

        src_configure
}

src_configure() {
        cd ${DVB_S2API}/v4l

        if use x86; then
                elog $(./tbs-x86.sh)
        elif use amd64; then
                elog $(./tbs-x86_64.sh)
        fi
}

src_compile() {
        emake || die "emake failed"
}

src_install() {
        die "TODO"
}

pkg_postinst() {
        die "TODO"
}
EiK
 
Posts: 4
Joined: Sun Jan 02, 2011 1:42 am

Re: Gen2VDR with TBS 9681 Driver

Postby fooksm » Tue Jan 04, 2011 9:50 pm

I'm getting exactly the same error when trying to make under Fedora 14, Kernel 2.6.35.10-74. :?
fooksm
 
Posts: 1
Joined: Tue Jan 04, 2011 9:49 pm

Re: Gen2VDR with TBS 9681 Driver

Postby cody » Wed Jan 05, 2011 6:07 am

ok, there is no problem to fix the problem as far as i can reproduce it. so, please, give me links to installation image for Fedora and Gentoo which i can install and reproduce the problem.

thank you and happy New year,
cody
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: Gen2VDR with TBS 9681 Driver

Postby EiK » Thu Jan 06, 2011 2:46 am

Further investigation show:
2.6.32-gentoo-r24 --> works
2.6.34-gentoo-r6 --> fails

Getting a live and running build environment for Gentoo is unfortunately not as easy as it could be. There is a Live Image of Gentoo (64bit,32bit) but it comes with an outdated Kernel (2.6.30) that doesn't have this problem. There is however a mini install image that comes with a more recent Kernel. But it has neither make nor Kernel sources installed, so it's rather hard to get started.
The most reasonable choice is to go with the installation of Gentoo. That is not as bad as it sounds, since you only need a very basic setup, there is almost no compilation required.... ;-)

You can get the installation images here: 64bit/32bit. And there is also a quick install guide which explains the process far better than I do.
Just keep in mind that
Code: Select All Code
emerge gentoo-sources
will always install the most recent Kernel. In order to get a 2.6.35 Kernel you should do i.e.
Code: Select All Code
emerge =gentoo-sources-2.6.35-r15

Sorry for the inconvenience. :oops:
EiK
 
Posts: 4
Joined: Sun Jan 02, 2011 1:42 am

Re: Gen2VDR with TBS 9681 Driver

Postby cody » Thu Jan 06, 2011 7:28 am

thanks, it seems that i will need at least 3-4 days considering the complications that Gentoo adds, but as far as i reproduce it then is shouldn't be hard to fix it.
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: Gen2VDR with TBS 9681 Driver

Postby EiK » Wed Jan 19, 2011 4:10 pm

Any news on this topic?
EiK
 
Posts: 4
Joined: Sun Jan 02, 2011 1:42 am

Re: Gen2VDR with TBS 9681 Driver

Postby cody » Fri Jan 21, 2011 6:33 am

EiK Wrote:Any news on this topic?


i'm really sorry i was distracted by some other pressing problems and i still haven't chance to look at it.
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: Gen2VDR with TBS 9681 Driver

Postby cody » Sun Jan 23, 2011 3:58 am

thanks to delli, you can read here how easy is the solution to the problem:

https://shop.tbsdtv.com/forum/viewtopic.php?f=14&t=118&start=10#p1098

just add:

#include <linux/slab.h> /* for kzalloc/kfree */

to "cx25840-ir.c". so, actually there is no need of any significant changes in the driver package.
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Next

Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests