From owner-freebsd-firewire@FreeBSD.ORG Sun Jul 20 01:50:05 2003 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6772C37B404 for ; Sun, 20 Jul 2003 01:50:05 -0700 (PDT) Received: from anor.ics.muni.cz (anor.ics.muni.cz [147.251.4.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8655A43F93 for ; Sun, 20 Jul 2003 01:50:03 -0700 (PDT) (envelope-from hopet@ics.muni.cz) Received: from kloboucek (p0043.as-l041.contactel.cz [194.108.232.43]) (user=hopet mech=LOGIN bits=0) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id h6K8nkmt008463 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 20 Jul 2003 10:49:53 +0200 From: "Petr Holub" To: "Hidetoshi Shimokawa" Date: Sun, 20 Jul 2003 10:49:49 +0200 Message-ID: <000001c34e9b$e0d99880$2be86cc2@kloboucek> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Muni-Spam-TestIP: 194.108.232.43 X-Muni-Envelope-From: hopet@ics.muni.cz X-Muni-Virus-Test: Clean cc: =?iso-8859-2?B?TWlsb7kgTGm5a2E=?= cc: firewire@freebsd.org Subject: RE: firewire problem on 5.1-RELEASE X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Vendors pre-release coordination List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 08:50:05 -0000 Hi Hidetoshi, > Those may indicate some hardware problem. > 5.1 does more strict check on sid buffer. the machine is the same and it used to work on 5.0. When I say "work" I mean I've been able to read from the camera without any problem. If it helps dmesg output is below. > > fwohci0: IR DMA overrun (0x40008011) > > fwohci0: IR DMA overrun (0x40008011) > > fwohci0: IR DMA overrun (0x40008011) > > fwohci0: IR DMA overrun (0x40008011) > > How do you read from camera and where do you write the data? > If you cannot read/write fast enough, the buffer overrun > could ocurr. The code for reading is based on your dv/dvrecv/dvsend that you gave me some time ago (approx. March this year) when I was wondering why DVTS doesn't work. This code used to work on 5.0 so that's why I'm a bit confused why it stopped working. Thanks a lot, Petr ================================================================ Petr Holub CESNET z.s.p.o. Supercomputing Center Brno Zikova 4 Institute of Compt. Science 162 00 Praha 6, CZ Masaryk University Czech Republic Botanicka 68a, 60200 Brno, CZ e-mail: Petr.Holub@cesnet.cz phone: +420-541512272 fax: +420-541212747 e-mail: hopet@ics.muni.cz Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #1: Wed Jul 2 23:11:32 CEST 2003 toor@trurl.fi.muni.cz:/usr/src/sys/i386/compile/TRURL Preloaded elf kernel "/boot/kernel/kernel" at 0xc076a000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc076a21c. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 2372930576 Hz CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2372.93-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073180672 (1023 MB) avail memory = 1034649600 (986 MB) Changing APIC ID for IO APIC #0 from 0 to 4 on chip Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 cpu2 (AP): apic id: 2, version: 0x00050014, at 0xfee00000 cpu3 (AP): apic id: 3, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 4, version: 0x00178020, at 0xfec00000 Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00fb9a0 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_cpu1: port 0x530-0x537 on acpi0 acpi_cpu2: port 0x530-0x537 on acpi0 acpi_cpu3: port 0x530-0x537 on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 17 -> irq 13 IOAPIC #0 intpin 23 -> irq 16 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 IOAPIC #0 intpin 16 -> irq 17 pci1: at device 0.0 (no driver attached) pcib2: at device 2.0 on pci0 pci2: on pcib2 pcib3: at device 31.0 on pci2 pci3: on pcib3 IOAPIC #0 intpin 20 -> irq 18 IOAPIC #0 intpin 22 -> irq 19 pci3: at device 0.0 (no driver attached) em0: port 0xece0-0xecff mem 0xfe4a0000-0xfe4bffff,0xfe4c0000-0xfe4dffff irq 18 at device 12.0 on pci3 em0: Speed:100 Mbps Duplex:Full ahc0: port 0xe800-0xe8ff mem 0xfe4fe000-0xfe4fefff irq 19 at device 14.0 on pci3 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs pcib4: at device 30.0 on pci0 pci4: on pcib4 IOAPIC #0 intpin 18 -> irq 20 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem 0xfe1ffc00-0xfe1ffc7f irq 16 at device 11.0 on pci4 xl0: Ethernet address: 00:08:74:39:45:65 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fwohci0: mem 0xfe1f8000-0xfe1fbfff,0xfe1ff000-0xfe1ff7ff irq 17 at device 12.0 on pci4 fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 80:74:08:00:65:45:39:00 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 if_fwe0: on firewire0 if_fwe0: Fake Ethernet address: 82:74:08:45:39:00 sbp0: on firewire0 fwohci0: Initiate bus reset pcm0: port 0xdc60-0xdc7f irq 13 at device 13.0 on pci4 pcm0: bktr0: mem 0xfa003000-0xfa003fff irq 20 at device 14.0 on pci4 bktr0: Warning - card vendor 0xfefe (model 0x0012) unknown. bktr0: Pinnacle/Miro TV, Temic NTSC tuner. pci4: at device 14.1 (no driver attached) bktr1: mem 0xfa001000-0xfa001fff irq 2 at device 15.0 on pci4 bktr1: Warning - card vendor 0x11bd (model 0x0012) unknown. bktr1: Pinnacle/Miro TV, Temic NTSC tuner. pci4: at device 15.1 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xff80-0xff9f irq 2 at device 31.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 31.3 (no driver attached) uhci1: port 0xff60-0xff7f irq 16 at device 31.4 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcm1: port 0xcc40-0xcc7f,0xc800-0xc8ff irq 13 at device 31.5 on pci0 pcm1: fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: