Hi there,
I get a kernel oops when doing a GCHAN ioctl. Does anyone mannage to do a GCHAN on his kfir device? Or is it known to be broken? thanks, Bram The code: struct video_channel vchan; printf("Getting channel info, size = %d bytes\n", sizeof(vchan)); ret=ioctl(handle, VIDIOCGCHAN, &vchan); if (ret==-1) perror("ioctl VIDIOCGCHAN failed"); else printf("got vchan\n"); The system log: kfir: Found i2c device at: 0x4a kfir: decoder status=4 kfir: Kfir board revision 5e Unable to load 'micro/altera_keb_plx_5e.rbf'. loaded microcode with length 32385 kfir: Reset Altera kfir: done kfir: Reset Kfir and PLL ... done kfir: segment: 0 Done kfir: segment: 1 Done kfir: segment: 2 Done kfir: segment: 3 Done kfir: segment: 4 Done kfir: segment: 5 Done kfir: done saa7113: version=11 saa7113: attaching SAA7113 at 0x4a kfir: saa7113 decoder attached kfir: i2c attach [SAA7113] i2c-core.o: client [SAA7113] registered to adapter [kfir #1](pos. 0). saa7113: status=c0 saa7113: attached to adapter kfir #1 i2c-core.o: adapter kfir #1 registered as adapter 1. kfir: Found i2c device at: 0x4a kfir: decoder status=4 sizeof video_channel according to kernel is: 48 Unable to handle kernel paging request at virtual address 5170b700 printing eip: d08eabab *pde = 00000000 Oops: 0000 CPU: 1 EIP: 0010:[<d08eabab>] EFLAGS: 00010287 eax: 80df7d60 ebx: 00000000 ecx: 0000000c edx: cee79f20 esi: 5170b700 edi: cee79f20 ebp: ffffffe7 esp: cee79ee0 ds: 0018 es: 0018 ss: 0018 Process kfirtst (pid: 299, stackpage=cee79000) Stack: ceec0c20 bffffcc0 c0307602 ffffffe7 cefe2000 00000000 cee79f03 00000001 0a1b40af c01b0780 cefe2000 0000000a 00000001 40016025 00000286 00000000 0804a7f2 00000000 0804c6d8 bffffd1c 08049b66 0804c6d8 0804a7f2 0000000b Call Trace: [<c01b0780>] [<c01ae40b>] [<c01d14a7>] [<d0913b00>] [<c0142347>] [<c0106d7b>] Code: f3 a5 8d 74 24 40 bb 30 00 00 00 0f 18 06 b8 00 e0 ff ff 21 -- ------------------------------------------------------------------------------ Bram Stolk, VR Specialist. SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP AMSTERDAM email: [EMAIL PROTECTED] Phone +31-20-5923059 Fax +31-20-6683167 "I heard if you play the NT-4.0-CD backwards, you get a satanic message." "Thats nothing, if you play it forward, it installs NT-4.0" ------------------------------------------------------------------------------