Es schrieb Jason Miller:
>
> Here is a clarification about the stability problem. If I try to use
> anything that uses v4l2 (like v4lctl, etc) I get this dmesg output:
>
The Aopen card is now card=17 in saa7134.h, that is why you get that
mixed up and the Aopen tuner. You should set it to the next free number
(18) in the cardlist in saa7134.h, if you want to use it further. (take
care for your data.)
On the saa7134-20030822 the "id" error is solved, so I expect it working
now on 2.4.22. Here it installs the modules *.o in v4l2. When replaced
with *.ko on unload an oops on my crap and all module funcionality is
locked up. So I went back to the plain 2.6.0-test3 with the additional
patch, unchanged.
When I power down the machine with the loaded driver, not calling depmod
-r or even rmmod -f before, no problems. So that may be on my side.
Jason yes, there is no xv support anymore, not on nv and not on nvidia
here.
V4lctl, mencoder-v4l2, streamer (poor compared to 2.4.20!) and ffmpeg
are working and you seem to have xawtv-overlay-mode. (have to solve my
KDE init issue and there may be more.)
> saa7130/34: v4l2 driver version 0.2.9 loaded
> PCI: Found IRQ 12 for device 0000:00:04.0
> saa7133[0]: found at 0000:00:04.0, rev: 16, irq: 12, latency: 32, mmio:
> 0xde000000
> saa7133[0]: subsystem: 5168:0138, board: AOPEN VA1000 POWER
> [card=17,insmod option]
> saa7133[0]: i2c eeprom 00: 68 51 38 01 10 28 ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: board init: gpio is 39d00
> saa7133[0]: dsp access wait timeout [bit=WRR]
> saa7133[0]: dsp access wait timeout [bit=WRR]
> saa7133[0]: dsp access wait timeout [bit=WRR]
> saa7133[0]: dsp access wait timeout [bit=WRR]
> tuner: no version magic, tainting kernel.
> tuner: chip found @ 0xc2
> tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
> registering 1-0061
> saa7133[0]: registered device video0 [v4l2]
> saa7133[0]: registered device vbi0
> saa7133[0]: registered device dsp2
> saa7133[0]: registered device mixer2
> Unable to handle kernel NULL pointer dereference at virtual address
> 00000030
> printing eip:
> e0a102bc
> *pde = 00000000
> Oops: 0000 [#1]
> CPU: 0
> EIP: 0060:[<e0a102bc>] Tainted: PF
> EFLAGS: 00210246
> EIP is at video_open+0x4c/0x2a0 [saa7134]
> eax: 00000000 ebx: 00000000 ecx: e0a1fa50 edx: de286000
> esi: de286000 edi: c0338ecc ebp: d0b32b40 esp: d0adde94
> ds: 007b es: 007b ss: 0068
> Process v4lctl (pid: 1395, threadinfo=d0adc000 task=cf317380)
> Stack: c155f284 d0adc000 c032c910 cf34bcc0 dffdd009 d9d3cd40 00000006
> 00000000
> 00000001 dffed880 dffdf220 00005100 00000000 c0338ee0 d81b6cc0
> c0338ecc
> d0b32b40 c01f68e6 cf250800 d0b32b40 c01548f0 00000001 00000000
> d0adc000
> Call Trace:
> [<c01f68e6>] video_open+0x116/0x230
> [<c01548f0>] exact_match+0x0/0x10
> [<c01f67d0>] video_open+0x0/0x230
> [<c015464a>] chrdev_open+0xea/0x210
> [<c01a54f4>] devfs_open+0xf4/0x120
> [<c014aad2>] dentry_open+0x142/0x210
> [<c014a982>] filp_open+0x62/0x70
> [<c014ae1b>] sys_open+0x5b/0x90
> [<c0109077>] syscall_call+0x7/0xb
>
> Code: 39 58 30 0f 84 33 02 00 00 8b 42 28 39 58 30 0f 84 18 02 00
>
make -C /lib/modules/2.6.0-test3/build SUBDIRS=/root/saa7134-0.2.9-20030822 modules
make[1]: Entering directory `/root/linux-2.6.0-test3'
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
CC [M] /root/saa7134-0.2.9-20030822/tuner.o
CC [M] /root/saa7134-0.2.9-20030822/video-buf.o
CC [M] /root/saa7134-0.2.9-20030822/saa7134-core.o
CC [M] /root/saa7134-0.2.9-20030822/saa7134-i2c.o
CC [M] /root/saa7134-0.2.9-20030822/saa7134-video.o
CC [M] /root/saa7134-0.2.9-20030822/saa7134-vbi.o
CC [M] /root/saa7134-0.2.9-20030822/saa7134-tvaudio.o
CC [M] /root/saa7134-0.2.9-20030822/saa7134-oss.o
CC [M] /root/saa7134-0.2.9-20030822/saa7134-cards.o
CC [M] /root/saa7134-0.2.9-20030822/saa7134-ts.o
CC [M] /root/saa7134-0.2.9-20030822/saa7134-input.o
/root/saa7134-0.2.9-20030822/saa7134-input.c: In function `saa7134_input_init':
/root/saa7134-0.2.9-20030822/saa7134-input.c:85: warning: `mask_data' might be used uninitialized in this function
LD [M] /root/saa7134-0.2.9-20030822/saa7134.o
CC [M] /root/saa7134-0.2.9-20030822/tda9887.o
CC [M] /root/saa7134-0.2.9-20030822/tvaudio.o
CC [M] /root/saa7134-0.2.9-20030822/saa6752hs.o
Building modules, stage 2.
MODPOST
*** Warning: "get_free_page" [drivers/net/wan/z85230.ko] undefined!
*** Warning: "video_proc_entry" [drivers/usb/media/usbvideo.ko] undefined!
*** Warning: "video_proc_entry" [drivers/usb/media/stv680.ko] undefined!
*** Warning: "video_proc_entry" [drivers/usb/media/se401.ko] undefined!
*** Warning: "video_proc_entry" [drivers/usb/media/ov511.ko] undefined!
*** Warning: "restore_flags" [drivers/isdn/icn/icn.ko] undefined!
*** Warning: "cli" [drivers/isdn/icn/icn.ko] undefined!
*** Warning: "save_flags" [drivers/isdn/icn/icn.ko] undefined!
CC /root/saa7134-0.2.9-20030822/saa6752hs.mod.o
LD [M] /root/saa7134-0.2.9-20030822/saa6752hs.ko
CC /root/saa7134-0.2.9-20030822/saa7134.mod.o
LD [M] /root/saa7134-0.2.9-20030822/saa7134.ko
CC /root/saa7134-0.2.9-20030822/tda9887.mod.o
LD [M] /root/saa7134-0.2.9-20030822/tda9887.ko
CC /root/saa7134-0.2.9-20030822/tuner.mod.o
LD [M] /root/saa7134-0.2.9-20030822/tuner.ko
CC /root/saa7134-0.2.9-20030822/tvaudio.mod.o
LD [M] /root/saa7134-0.2.9-20030822/tvaudio.ko
CC /root/saa7134-0.2.9-20030822/video-buf.mod.o
LD [M] /root/saa7134-0.2.9-20030822/video-buf.ko
make[1]: Leaving directory `/root/linux-2.6.0-test3'
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.9 loaded
saa7134[0]: found at 0000:00:0b.0, rev: 1, irq: 10, latency: 32, mmio: 0xd5000000
saa7134[0]: subsystem: 1131:0000, board: Tevion MD 9717 [card=6,insmod option]
saa7134[0]: Huh, no eeprom present (err=-5)?
saa7134[0]: board init: gpio is 100a0
tuner: chip found @ 0xc0
tuner: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
registering 0-0060
saa7134[0]: registered device video0 [v4l2]
saa7134[0]: registered device vbi0
saa7134[0]: registered device radio0
saa7134[0]/audio: audio carrier scan failed, using 5.500 MHz [default]
Unable to handle kernel paging request at virtual address 8645cfac
printing eip:
d8980843
*pde = 00000000
Oops: 0002 [#1]
CPU: 0
EIP: 0060:[<d8980843>] Not tainted
EFLAGS: 00210246
EIP is at video_unregister_device+0x43/0x6e [videodev]
eax: 6b6b6b6b ebx: cda9e4f4 ecx: d898204c edx: c0335750
esi: d898204c edi: d7dad540 ebp: cb38dea4 esp: cb38de98
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 5984, threadinfo=cb38c000 task=ce248d80)
Stack: c0335750 caeb4484 caeb4484 cb38deb4 d89cd245 cda9e4f4 00000000 cb38dedc
d89cdce2 caeb4484 d89da020 000003f1 ca0f154c d7dad594 d7dad540 d89e0388
00000000 cb38deec c01c4829 d7dad540 d7dad594 cb38df04 c020230e d7dad594
Call Trace:
[<d89cd245>] saa7134_unregister_video+0x25/0xc0 [saa7134]
[<d89cdce2>] saa7134_finidev+0x142/0x270 [saa7134]
[<c01c4829>] pci_device_remove+0x39/0x40
[<c020230e>] device_release_driver+0x5e/0x60
[<c0202332>] driver_detach+0x22/0x40
[<c0202589>] bus_remove_driver+0x39/0x70
[<c02029b4>] driver_unregister+0x14/0x26
[<c01c4ad7>] pci_unregister_driver+0x17/0x30
[<d89cdea2>] saa7134_fini+0x12/0x30 [saa7134]
[<c01326e1>] sys_delete_module+0x131/0x190
[<c0147473>] sys_munmap+0x43/0x60
[<c010ae99>] sysenter_past_esp+0x52/0x71
Code: c7 04 85 00 22 98 d8 00 00 00 00 ff 05 4c 20 98 d8 0f 8e 82