Public bug reported: Binary package hint: linux-image-2.6.19-7-generic
I'm using an up-to-date Feisty with the Pinnacle DC10+ video capture card (zr36067 chipset), the application using this card is motion (though I get the same problems with lavrec). Motherboard: Gigabyte GA-965G-DS3: 965 chipset/ ICH8 controller/ integrated GMA X3000 graphics Processor: Intel Core 2 Duo E6600 RAM: 2x1GB 240DIMM XMS2-6400 CL4 Due to the kernel > 128KB contiguous memory block problem, to capture full PAL frames (768 x 576) it is necessary to set the v4l_bufsize to 1296KB (defaults to 128KB). http://www.linuxtv.org/v4lwiki/index.php/Zoran_devices_(zr36057,_zr36067)#The_128KB_buffer_problem_and_a_workaround /etc/modprobe.d/options options zr36067 v4l_bufsize=1296 card=2 debug=5 When I used this card on Debian Woody, I built a 2.4.19 kernel with the bigphysarea path and built the zoran driver using this option. This worked for years (until the machine died). However, in Feisty the machine works for an hour or so before massive instability sets in: Running anything causes a segfault, apport continually writes junk to /var/log/messages and the sound plays white noise, no problems with video display though. I believe this might be caused by the driver being forced to use HIMEM; linux-source-2.6.19-2.6.19/drivers/media/video/zoran_driver.c (from line 185) // RJ: Test only - want to test BUZ_USE_HIMEM even when CONFIG_BIGPHYS_AREA is defined #if !defined(CONFIG_BIGPHYS_AREA) //#undef CONFIG_BIGPHYS_AREA #define BUZ_USE_HIMEM #endif I've tried freeing varying amounts of memory in Grub, but it seems to make no difference (the driver doesn't complain even if none is reserved); /boot/grub/menu.lst kernel /boot/vmlinuz-2.6.19-7-generic root=UUID=26e676b6-7df8-4337-9a8b-7c54aa40a2a9 ro mem=2045M Relevant message logs; /var/log/messages kernel: [ 0.000000] 1143MB HIGHMEM available. kernel: [ 0.000000] 896MB LOWMEM available. kernel: [ 19.249091] Memory: 2059756k/2088896k available (1982k kernel code, 27808k reserved, 844k data, 312k init, 1171392k highmem) kernel: [ 19.249169] virtual kernel memory layout: kernel: [ 19.249170] fixmap : 0xfff4e000 - 0xfffff000 ( 708 kB) kernel: [ 19.249171] pkmap : 0xff800000 - 0xffc00000 (4096 kB) kernel: [ 19.249171] vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB) kernel: [ 19.249172] lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) kernel: [ 19.249173] .init : 0xc040f000 - 0xc045d000 ( 312 kB) kernel: [ 19.249174] .data : 0xc02ef8be - 0xc03c2b74 ( 844 kB) kernel: [ 19.249174] .text : 0xc0100000 - 0xc02ef8be (1982 kB) kernel: [ 15.183355] Linux video capture interface: v2.00 kernel: [ 15.183901] Linux video codec intermediate layer: v0.2 kernel: [ 15.215964] agpgart: Detected an Intel 965G Chipset. kernel: [ 15.217453] agpgart: Detected 7676K stolen memory. kernel: [ 15.228579] agpgart: AGP aperture is 512M @ 0xe0000000 kernel: [ 15.308947] Zoran MJPEG board driver version 0.9.5 kernel: [ 15.309005] ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 20 (level, low) -> IRQ 21 kernel: [ 15.309089] MJPEG[0]: Zoran ZR36067 (rev 2) irq: 21, memory: 0xf2200000 kernel: [ 15.309136] MJPEG[0]: subsystem vendor=0x1031 id=0x7efe kernel: [ 15.311170] DC10plus[0]: Initializing i2c bus... kernel: [ 15.383980] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16 kernel: [ 15.402781] DC10plus[0]: Initializing videocodec bus... kernel: [ 15.415339] ZORAN: 1 card(s) found kernel: [ 15.415381] DC10plus[0]: zr36057_init() - initializing card[0], zr=f8a96240 kernel: [ 15.495921] DC10plus[0]: enable_jpg(IDLE) kernel: [ 15.495979] DC10plus[0]: Guests: 0x10 0x10 0x10 0x10 0x10 0x10 0x11 kernel: [ 15.496166] DC10plus[0]: Detecting guests activity, please wait... kernel: [ 15.565166] DC10plus[0]: Guests: 0x10 0x10 0x10 0x10 0x10 0x10 0x11 kernel: [ 15.565355] DC10plus[0]: 8624: 7 => 0x13 kernel: [ 15.565397] DC10plus[0]: 421: 7 => 0x10 kernel: [ 15.565438] DC10plus[0]: 19593: 7 => 0x12 kernel: [ 15.565481] DC10plus[0]: 413: 7 => 0x11 kernel: [ 15.565522] DC10plus[0]: 19585: 7 => 0x13 kernel: [ 15.565564] DC10plus[0]: 412: 7 => 0x10 kernel: [ 15.565605] DC10plus[0]: 19583: 7 => 0x12 kernel: [ 15.565647] DC10plus[0]: 413: 7 => 0x11 kernel: [ 16.564732] DC10plus[0]: Testing interrupts... kernel: [ 16.564782] DC10plus[0]: interrupts received: GIRQ1:51 queue_state=0/0/0/0 kernel: [ 16.569398] DC10plus[0]: procfs entry /proc/zoran0 allocated. data=f8a96240 motion-new: [0] Processing thread 0 - config file /etc/motion/motion.conf motion-new: [0] Thread 1 is from /etc/motion/motion.conf kernel: [20954.594790] DC10plus[0]: zoran_open(motion-new, pid=[7517]), users(-)=0 kernel: [20954.674982] DC10plus[0]: enable_jpg(IDLE) kernel: [20954.696370] DC10plus[0]: v4l_fbuffer_alloc() - using 2592 KB high memory kernel: [20954.696385] DC10plus[0]: mmap(V4L) of 0xb6ba1000-0xb6e29000 (size=2654208) kernel: [20954.696524] DC10plus[0]: set_vfe() - width = 768, height = 576 /proc/interrupts CPU0 CPU1 21: 50 0 IO-APIC-fasteoi DC10plus[0] I'm currently thinking of building an earlier kernel where I can apply the latest bigphysarea patch (currently 2.6.18.3), but thought I'd report the problems I've been having. http://pv105234.reshsg.uci.edu/~jfeise/Downloads/zr36120/ This is the first bug I've submitted, please let me know if you need any more information. Thanks Nick ** Affects: linux-source-2.6.19 (Ubuntu) Importance: Undecided Status: Unconfirmed -- Zoran driver himem usage causing system instability. https://launchpad.net/bugs/76394 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
