Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78240 - gentoo-dev-sources-r5 and cx24110 frontend: ioctl32 error
Summary: gentoo-dev-sources-r5 and cx24110 frontend: ioctl32 error
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-16 10:05 UTC by Alexander Jenisch
Modified: 2005-03-17 02:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Jenisch 2005-01-16 10:05:32 UTC
now that the gentoo-dev-sources are patched and recognize my cx24110 frontend again i've created the necessary udev rules to get /dev/dvb/adapter0/*. all there and nice but i doesn't work:

This is xine (X11 gui) - a free video player v0.99.3.
(c) 2000-2004 The xine Team.
reading channels from file '//home/nt/.tecla/favorites'
zapping to 2 'ORF2E':
sat 0, frequency = 12692 MHz H, symbolrate 22000000, vpid = 0x00aa, apid = 0x00ab
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
ioctl FE_GET_INFO failed: Invalid argument

dmesg gives me:
---------------
ioctl32(szap:5793): Unknown cmd fd(3) cmd(80a86f3d){00} arg(0804b960) on /dev/dvb/adapter0/frontend0


root@eNTi # emerge info
Portage 2.0.51-r13 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 11 2005, 21:55:34)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.5, 1.6.3, 1.7.9, 1.4_p6, 1.8.5-r2
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache digest distlocks fixpackages"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://mir.zyrianes.net/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 S3TC X aalib acpi acpi4linux alsa async bash-completion berkdb bidi bitmap-fonts bzlib cdb cddb cdinstall cdparanoia cdr cdrom chroot codecs crypt cups dga distcache divx4linux dts dvb dvd dvdr dvdread emul-linux-x86 escreen ethereal ext-png ext-zlib faac faad fam fame fastcgi fftw flac fltk fmod font-server freetype ftp gd gdbm gif gimp gimpprint gkrellm glut gpm gs gtk gtkhtml icq imagemagick imlib imlib2 ipv6 java javadoc jikes jp2 jpeg junit lcms libcaca libwww lzo lzw lzw-tiff maildir matroska mcal mjpeg mmap mng moznocompose moznoirc moznomail mozsvg mp3 multilib mythtv native ncurses nethack network nls no-old-linux nocd nowin nvidia offensive oggvorbis openal opengl operanom2 oscar oss pam pcre perl php physfs png posix ppds python qt readline rtc samba sdl shared sharedmem slp sndfile sockets ssl stencil-buffer stroke svg tcltk tcpd tetex theora threads tiff timidity transcode truetype truetype-fonts type1 type1-fonts usb userlocales vim vim-with-x vnc winbind wmf wxwindows xchatdccserver xine xmlrpc xmms xosd xpm xrandr xv xvid xvmc zlib"
Unset:  LDFLAGS, PORTDIR_OVERLAY
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-01-17 16:24:34 UTC
Best to take this up with the linux-dvb guys. Let me know if you find a fix.
If they want to know, this is the patch we are using to readd the frontend:
http://dev.gentoo.org/~dsd/gentoo-dev-sources/release-10.05/dist/4505_bt8xx-updates.patch
Comment 2 Alexander Jenisch 2005-01-18 14:20:01 UTC
maybe could you check these posts:

http://www.linuxtv.org/mailinglists/linux-dvb/2005/01-2005/msg00111.html

it seems they made it work again and their patches might not break ioctl32, but it could be the amd64 arch too. if you can't tell anything from their posts, i'll subscribe to the list and bring the problem up there.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-01-18 14:34:19 UTC
That is the thread that you pointed me to already and that patch is included in the one we apply in gentoo-dev-sources.
Comment 4 Alexander Jenisch 2005-01-25 04:11:01 UTC
uhm... yes. sorry, about that link. not looked hard enough :).

i've subscribed myself to the mailing list and will play test-subject for the devloper. i'll report back here for the progress.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-03-16 06:13:40 UTC
Linux 2.6.11 includes the updates previously mentioned, so I think this can be closed. If there are still issues then please take it up with the DVB developers.
Comment 6 Alexander Jenisch 2005-03-17 01:42:32 UTC
i'm running 2.6.11.2 and i it's still a no-go. i've had contact with the developers on their mailing list, but after i got no responses for a few weeks i've decided do leave the list again, because there was too much traffic with too little use for me. the problem is not resolved yet or at least i don't know how to resolve it.

so what do i have to do? wait and pray or try the list again?
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2005-03-17 02:42:00 UTC
This is an upstream bug, theres nothing we can do. You could additionally try filing it at http://bugzilla.kernel.org