Thread: Fwd: segfault from dvgrab on Debian and kernel 3.2.0 firewire_ohci
Brought to you by:
aeb,
bencollins
From: Daniel M. <dan...@go...> - 2013-09-05 16:38:15
|
Hello list. I try to capture video from a miniDV camera via my firewire port. But I get errors and segfaults on every combination of kernel and dvgrab software I have tried. On the latest Debian 7.1 I get at least the message "Found AV/C device" but then segfaults. Any idea what's the problem here and how to make it work? For debugging I'll attach - syslog when plugging in camera - output of `dvgrab` - syslog when running `dvgrab` - lsmod - lspci - partial lspci -vvv - output of `aptitude show dvgrab` - full `dmesg`, due to message size limit here: https://gist.github.com/vlt/6452548 - full `lspci -vvv`, here: https://gist.github.com/vlt/6452592 == syslog when plugging in camera == Sep 5 06:11:37 imitator kernel: [ 29.149240] firewire_core: skipped bus generations, destroying all nodes Sep 5 06:11:38 imitator kernel: [ 29.648035] firewire_core: rediscovered device fw0 Sep 5 06:11:38 imitator kernel: [ 29.648078] firewire_core: phy config: card 0, new root=ffc1, gap_count=5 Sep 5 06:11:38 imitator kernel: [ 29.648287] firewire_core: skipped bus generations, destroying all nodes Sep 5 06:11:38 imitator kernel: [ 30.148032] firewire_core: rediscovered device fw0 Sep 5 06:11:39 imitator kernel: [ 31.037495] firewire_core: created device fw1: GUID 008045802058247f, S100 Sep 5 06:11:40 imitator kernel: [ 31.652015] firewire_core: giving up on config rom for node id ffc0 == output of `dvgrab` == root@imitator:~# dvgrab Found AV/C device with GUID 0x008045802058247f Waiting for DV... Speicherzugriffsfehler == syslog when running `dvgrab` == Sep 5 06:13:06 imitator kernel: [ 118.071816] dvgrab[1998]: segfault at a206081e ip 0806b673 sp b0138090 error 4 in dvgrab[8048000+3e000] == lsmod == root@imitator:~# lsmod Module Size Used by snd_hda_codec_realtek 142274 1 snd_hda_intel 21786 0 snd_hda_codec 63477 2 snd_hda_codec_realtek,snd_hda_intel snd_hwdep 12943 1 snd_hda_codec snd_pcm 53461 2 snd_hda_codec,snd_hda_intel snd_page_alloc 12867 2 snd_pcm,snd_hda_intel evdev 17225 0 psmouse 59609 0 pcspkr 12515 0 serio_raw 12803 0 snd_timer 22356 1 snd_pcm snd 42722 6 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_codec_realtek,snd_hda_intel soundcore 12921 1 snd i2c_i801 12670 0 acpi_cpufreq 12807 0 mperf 12421 1 acpi_cpufreq iTCO_wdt 16945 0 coretemp 12770 0 processor 27565 3 acpi_cpufreq button 12817 0 i2c_core 19116 1 i2c_i801 iTCO_vendor_support 12632 1 iTCO_wdt thermal_sys 17752 1 processor ext4 306996 1 crc16 12327 1 ext4 jbd2 52330 1 ext4 mbcache 12938 1 ext4 dm_mod 57362 2 sg 21476 0 sd_mod 35425 3 crc_t10dif 12332 1 sd_mod ahci 24917 2 ata_generic 12439 0 firewire_ohci 26784 0 libahci 18308 1 ahci uhci_hcd 22337 0 pata_jmicron 12432 0 firewire_core 38753 1 firewire_ohci crc_itu_t 12331 1 firewire_core ehci_hcd 35509 0 r8169 41802 0 libata 125014 4 pata_jmicron,libahci,ata_generic,ahci mii 12595 1 r8169 scsi_mod 135037 3 libata,sd_mod,sg usbcore 104555 3 ehci_hcd,uhci_hcd usb_common 12338 1 usbcore == lspci == root@imitator:~# lspci 00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 02) 00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 4 00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5 00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6 00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) 00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller 02:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) 05:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI 264VT [Mach64 VT] (rev 40) 05:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) == partial lspci -vvv == 05:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI]) Subsystem: Giga-byte Technology GA-EP45-DS5/GA-EG45M-DS2H Motherboard Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 32 (500ns min, 1000ns max), Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 23 Region 0: Memory at f5004000 (32-bit, non-prefetchable) [size=2K] Region 1: Memory at f5000000 (32-bit, non-prefetchable) [size=16K] Capabilities: [44] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME+ Kernel driver in use: firewire_ohci == aptitude show dvgrab == root@imitator:~# aptitude show dvgrab Package: dvgrab State: installed Automatically installed: yes Version: 3.5-2 Priority: extra Section: video Maintainer: Erik Schanze <er...@de...> Architecture: i386 Uncompressed Size: 338 k Depends: libavc1394-0 (>= 0.5.3), libc6 (>= 2.3.6-6~), libdv4, libgcc1 (>= 1:4.1.1), libiec61883-0 (>= 1.2.0), libjpeg8 (>= 8c), libquicktime2 (>= 2:1.2.2), libraw1394-11, libstdc++6 (>= 4.4.0), zlib1g (>= 1:1.1.4) Description: grab digital video data via IEEE1394 and USB links dvgrab receives audio and video data from a digital camcorder via an IEEE1394 (widely known as FireWire) or USB link and stores them into one of several file formats. It features autosplit of long video sequences, and supports saving the data as raw frames, AVI type 1, AVI type 2, Quicktime DV, a series of JPEG stills or MPEG2-TS. Homepage: http://www.kinodv.org/ |