From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 15 20:01:23 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A95E516A41F for ; Thu, 15 Sep 2005 20:01:23 +0000 (GMT) (envelope-from perlfu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21A5943D45 for ; Thu, 15 Sep 2005 20:01:23 +0000 (GMT) (envelope-from perlfu@gmail.com) Received: by zproxy.gmail.com with SMTP id n29so96271nzf for ; Thu, 15 Sep 2005 13:01:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=iR0PE+LVSiADlwPNbNFtFr17xFIHy9vbTlxua8pMBFFJHDhdh7zTPwN0vqQFX3zDJemdYQIz1DeUll1EzRsW8JA3jogZHdqt1+PtChUsC/kgZ5PWlVC2U4i6hn8V0ENNL+uPr1D9tj9GDCu/oxxqrEIJpMKmOpTxYEIUVbsB7jU= Received: by 10.54.119.7 with SMTP id r7mr563958wrc; Thu, 15 Sep 2005 13:01:22 -0700 (PDT) Received: from insomnia.localnet.net ( [67.66.247.164]) by mx.gmail.com with ESMTP id 35sm786301wra.2005.09.15.13.01.22; Thu, 15 Sep 2005 13:01:22 -0700 (PDT) Date: Thu, 15 Sep 2005 15:00:51 -0500 From: "Mike S." To: freebsd-multimedia@freebsd.org Message-Id: <20050915150051.7d31bd99.perlfu@gmail.com> In-Reply-To: <20050915065846.0732a58b.skywizard@MyBSD.org.my> References: <20050914170228.328c571e.perlfu@gmail.com> <20050915065846.0732a58b.skywizard@MyBSD.org.my> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; amd64-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Vchan/Sound/patch hard locks... X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 20:01:23 -0000 On Thu, 15 Sep 2005 06:58:46 +0800 Ariff Abdullah wrote: > On Wed, 14 Sep 2005 17:02:28 -0500 > "Mike S." wrote: > > I've been having hard locks that are seeming related to vchans. I > > can't manage to verify this with the logs, but judging by the fact > > that the locks only occur when two sounds are played together, and > > only some of the time at that. I'm going to guess that's the > > issue. Either way, I've been trying to use the patch found at, > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/incoming/, it's > > helped some, but hasn't entirely fixed the problem. When I tried > > to upgrade the patch to the newest version, I got this error.. > > > > [ .. ] > > > > > > Also, my sound card is a VIA 8233. Any insight, or suggestions > > regarding how to fix the locks, and or get the patch working would > > be greatly appreciated. Thanks in advance. > > > Wow wow.. hold on a second.. > 1) uname -a > 2) full dmesg > 3) pciconf -lv (only multimedia / audio part) > 4) cat /dev/sndstat > 5) You pick wrong patch, from wrong directory. You are not supposed to > pick anything from '/incoming/' > 6) Judging from those compiler error message, your source already messed > up. You need a clean, pristine source to apply those patches. > > > -- > > Ariff Abdullah > MyBSD > > http://www.MyBSD.org.my (IPv6/IPv4) > http://staff.MyBSD.org.my (IPv6/IPv4) > http://tomoyo.MyBSD.org.my (IPv6/IPv4) uname -a: FreeBSD insomnia.localnet.net 5.4-STABLE FreeBSD 5.4-STABLE #3: Wed Sep 14 08:37:23 CDT 2005 perlfu@insomnia.localnet.net:/usr/obj/usr/src/sys/INSOMNIA amd64 dmesg (full): Copyright (c) 1992-2005 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.4-STABLE #3: Wed Sep 14 08:37:23 CDT 2005 perlfu@insomnia.localnet.net:/usr/obj/usr/src/sys/INSOMNIA Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3400+ (2400.11-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xfc0 Stepping = 0 Features=0x78bfbff AMD Features=0xe0500800 real memory = 2147418112 (2047 MB) avail memory = 2060546048 (1965 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd0000000-0xd7ffffff at device 0.0 on p ci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) atapci0: port 0xd800-0xd8ff,0xdc00-0xdc0f,0xe000-0 xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 irq 20 at device 15.0 on pci0 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 atapci1: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f 6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 uhci0: port 0xc800-0xc81f irq 21 at device 16.0 on p ci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xcc00-0xcc1f irq 21 at device 16.1 on p ci0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xd000-0xd01f irq 21 at device 16.2 on p ci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xd400-0xd41f irq 21 at device 16.3 on p ci0 usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at device 16.4 (no driver attached) isab0: at device 17.0 on pci0 isa0: on isab0 pcm0: port 0xc400-0xc4ff irq 22 at device 17.5 on pci0 pcm0: vr0: port 0xc000-0xc0ff mem 0xcfffbd00-0xcfff bdff irq 23 at device 18.0 on pci0 miibus0: on vr0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:11:09:cc:d1:83 fdc0: port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 o n acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on ac pi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 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 MouseMan+, device ID 0 orm0: at iomem 0xe0000-0xe0fff,0xd2000-0xd47ff,0xc0000-0xccfff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2400107993 Hz quality 800 Timecounters tick every 1.000 msec acd0: DVDR at ata0-master PIO4 acd1: DVDR at ata1-slave PIO4 ad4: 76293MB [155009/16/63] at ata2-master SATA150 cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at ata1 bus 0 target 1 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 16.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present Mounting root from ufs:/dev/ad4s1a pciconf -lv: pcm0@pci0:17:5: class=0x040100 card=0x00801462 chip=0x30591106 rev=0x60 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller' class = multimedia subclass = audio cat /dev/sndstat: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xc400 irq 22 kld snd_via8233 (5p/1r/4v channels duplex default) Did not patch from /incoming, and also have rm'd the sound sources, and re-cvs'd a couple times to retry the patch since.