From owner-freebsd-current@FreeBSD.ORG Sun Oct 10 18:27:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21FFA16A4CE for ; Sun, 10 Oct 2004 18:27:54 +0000 (GMT) Received: from smtp16.wxs.nl (smtp16.wxs.nl [195.121.6.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id A67AE43D2D for ; Sun, 10 Oct 2004 18:27:53 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from ronald.echteman.nl (ip51cdc5d2.speed.planet.nl [81.205.197.210]) by smtp16.wxs.nlSMTP id <0I5D003ZPIG9RH@smtp16.wxs.nl> for freebsd-current@freebsd.org; Sun, 10 Oct 2004 16:48:09 +0200 (CEST) Received: (qmail 30469 invoked from network); Sun, 10 Oct 2004 14:48:06 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Sun, 10 Oct 2004 14:48:06 +0000 Received: (qmail 1219 invoked from network); Sat, 09 Oct 2004 14:09:23 +0000 Received: from softdnserror (HELO guido.thuis.klop.ws) (192.168.0.2) by softdnserror with SMTP; Sat, 09 Oct 2004 14:09:23 +0000 Received: (qmail 5788 invoked from network); Sat, 09 Oct 2004 14:08:12 +0000 Received: from softdnserror (HELO outgoing.local) (127.0.0.1) by softdnserror with SMTP; Sat, 09 Oct 2004 14:08:12 +0000 Date: Sat, 09 Oct 2004 16:08:11 +0200 From: Ronald Klop To: freebsd-current@freebsd.org Message-id: MIME-version: 1.0 Content-type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-transfer-encoding: 7BIT User-Agent: Opera M2/7.54 (FreeBSD, build 751) Subject: mplayer hangs in pcmsyn X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Oct 2004 18:27:54 -0000 Hello, Often mplayer hangs at the end of playing an mp3-song. Top displays STATE pcmsyn. The output of truss mplayer ends with this: ioctl(6,SNDCTL_DSP_GETODELAY,0xbfbfcd08) = 0 (0x0) write(1,0x864e000,27)0% = 27 (0x1b) select(4,{0 3},0x0,0x0,{0 0}) = 0 (0x0) ioctl(6,SNDCTL_DSP_GETOSPACE,0x85637c0) = 0 (0x0) nanosleep({0 10000000}) = 0 (0x0) ioctl(6,SNDCTL_DSP_GETOSPACE,0x85637c0) = 0 (0x0) gettimeofday({1097330522 533449},0xbfbfcd00) = 0 (0x0) gettimeofday({1097330522 535651},0xbfbfcd00) = 0 (0x0) write(6,0x882b000,0) = 0 (0x0) ioctl(6,SNDCTL_DSP_GETODELAY,0xbfbfcd08) = 0 (0x0) write(1,0x864e000,27)0% = 27 (0x1b) select(4,{0 3},0x0,0x0,{0 0}) = 0 (0x0) write(1,0x864e000,1) = 1 (0x1) break(0x883b000) = 0 (0x0) break(0x8829000) = 0 (0x0) kill(0x166d,0x9) = 0 (0x0) SIGNAL 20 (SIGCHLD) wait4(0x166d,0x0,0x0,0x0) = 5741 (0x166d) munmap(0x28c66000,0x200000) = 0 (0x0) munmap(0x28c65000,0x40) = 0 (0x0) close(5) = 0 (0x0) ioctl(0,TIOCSETA,0x8594f80) = 0 (0x0) Some info about my system is below. I'm running without invariants and witness. more /var/run/dmesg.boot Copyright (c) 1992-2004 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.3-BETA7 #30: Wed Oct 6 22:19:08 CEST 2004 root@guido.thuis.klop.ws:/usr/obj/usr/src/sys/GUIDO Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (497.84-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 402653184 (384 MB) avail memory = 388509696 (370 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) fxp0: port 0x2000-0x201f mem 0x40100000-0x401ffff f,0x40200000-0x40200fff irq 11 at device 10.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:50:8b:a3:d9:44 pcm0: port 0x2060-0x207f irq 11 at device 14.0 on pci0 pcm0: isab0: at device 20.0 on pci0 isa0: on isab0 atapci0: port 0x2040-0x204f,0x376,0x170-0x177,0x 3f6,0x1f0-0x1f7 at device 20.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0x2020-0x203f irq 11 at de vice 20.2 on pci0 uhci0: [GIANT-LOCKED] 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 intpm0: port 0xfc00-0xfc0f irq 9 at device 20.3 on pci0 intpm0: I/O mapped fc00 intpm0: intr IRQ 9 enabled revision 0 intpm0: [GIANT-LOCKED] intsmb0: on intpm0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped f800 acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 ppc0 port 0x778-0x77d,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 orm0: at iomem 0xe0000-0xe7fff,0xc0000-0xc7fff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 497838405 Hz quality 800 Timecounters tick every 4.000 msec ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to ac cept, logging unlimited acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% ad0: 9541MB [19386/16/63] at ata0-master UDMA33 acd0: CDROM at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0x2060 irq 11 kld snd_emu10k1 (4p/2r/4v channels duplex default) kldstat Id Refs Address Size Name 1 20 0xc0400000 2a19e8 kernel 2 1 0xc06a2000 9970 cd9660.ko 3 1 0xc06ac000 ea68 msdosfs.ko 4 1 0xc06bb000 7494 snd_emu10k1.ko 5 2 0xc06c3000 1d4fc sound.ko 6 1 0xc06e1000 5bcc g_md.ko 7 1 0xc06e7000 1a1c mem.ko 8 1 0xc06e9000 1bcc io.ko 9 14 0xc06eb000 536dc acpi.ko 10 2 0xc15b3000 5000 procfs.ko 11 1 0xc15c6000 5000 linprocfs.ko 12 1 0xc15cb000 17000 linux.ko 13 1 0xc1682000 2c000 nfsclient.ko 14 1 0xc16e2000 1e000 nfsserver.ko -- Ronald Klop Amsterdam, The Netherlands