[linux-dvb] [akpm@xxxxxxxx: [linux-dvb-maintainer] Fw: [Bugme-new] [Bug 4370] New: Pinnacle PCI SAT-TV card: cx24110 frontend ioctl32 error]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Johannes,

On Thu, 2005-05-26 at 11:45, Johannes Stezenbach wrote:
[...]
> > Maybe the problem is with 32bit applications?
> 
> That's possible. Can you try a 32bit app? E.g. compile szap
> on x86 machine and copy it over?
Ok, I managed to recompile dvbtune as 32 bit application:
root@host55:/home/luca/src/tmp/dvbtune # file dvbtune32 
dvbtune32: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped
and it fails as described in the bugreport:
root@host55:/home/luca/src/tmp/dvbtune # ./dvbtune32 -D 2 -f 11919000 -s
27500 -p V -m
FE_GET_INFO: : Invalid argument
(as said in the previous mail, the 64bit version of dvbtune works ok).
The relevant lines in dmesg are:
ioctl32(dvbtune32:11772): Unknown cmd fd(7) cmd(00006f2a){00}
arg(00000000) on /dev/dvb/adapter0/demux0
ioctl32(dvbtune32:11772): Unknown cmd fd(6) cmd(00006f2a){00}
arg(00000000) on /dev/dvb/adapter0/demux0
ioctl32(dvbtune32:11772): Unknown cmd fd(8) cmd(00006f2a){00}
arg(00000000) on /dev/dvb/adapter0/demux0
ioctl32(dvbtune32:11772): Unknown cmd fd(4) cmd(80a86f3d){00}
arg(ffffd810) on /dev/dvb/adapter0/frontend0

> I have no idea if we need to do something special to support this,
> although I've seen that there's this compat_ioctl in
> struct file_operations. Does someone have a clue?
I do not know... I am completely new to this 64bit stuff. I'll try to
google for 32bit ioctl(), and see if I can find something.

Also, if someone has patches that can fix the problem, I am willing to
test them.


			Thanks,
				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !




[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux