----- Original Message ---- > From: "pet...@schwertfisch.de" <pet...@schwertfisch.de> > To: misc@openbsd.org > Sent: Mon, September 13, 2010 3:11:39 PM > Subject: aucat on OpenBSD 4.8 current exits in monitoring mode > > Hi, > > I am enjoying aucat on OpenBSD 4.8 current (snapshot from end of August), > but sometimes the audio server just exits, leaving the currently > running audio application(s) homeless and confused. > > I can sort of reproduce this behavior with audacity (from ports), although it > also happens with other audio applications occasionally. > > Opening audacity on a wave file, and clicking Play/Stop a couple of > times yields the following output from aucat: > > $ aucat -ddd -q rmidi:1 -s default -m mon -s mon > default: recording s24le4msb,0:11,44100 > default: playing s24le4msb,0:9,44100 > default: block size is 660 frames, using 2 blocks > m...@default: mon=0:1 > defa...@default: rec=0:1 play=0:1 vol=32768 > audacit0: buffer size = 9240, play = s16le,0:1,44100 > starting device > device stopped > audacit0: buffer size = 9240, play = s16le,0:1,44100 > starting device > device stopped > audacit0: buffer size = 9240, play = s16le,0:1,44100 > monitor xrun, not allowed > Abort trap (core dumped) > > This does not seem to happen with > $ aucat -ddd -q rmidi:1 -s default > > In both cases, midicat is not running. > > Am I misusing the monitoring mode? > > Regards, > Dirk > > > $ audioctl # while aucat is running > name=Envy24 > version=- > config=M-Audio Audioph > encodings=slinear_le:24:4:1 > properties=full_duplex,independent > full_duplex=1 > fullduplex=1 > blocksize=26400 > hiwat=2 > lowat=1 > output_muted=0 > monitor_gain=0 > mode=play,record > play.rate=44100 > play.sample_rate=44100 > play.channels=10 > play.precision=24 > play.bps=4 > play.msb=1 > play.encoding=slinear > play.gain=127 > play.balance=32 > play.port=0x0 > play.avail_ports=0x0 > play.seek=0 > play.samples=0 > play.eof=0 > play.pause=1 > play.error=0 > play.waiting=0 > play.open=1 > play.active=0 > play.buffer_size=65536 > play.block_size=26400 > play.errors=0 > record.rate=44100 > record.sample_rate=44100 > record.channels=12 > record.precision=24 > record.bps=4 > record.msb=1 > record.encoding=slinear > record.gain=127 > record.balance=32 > record.port=0x0 > record.avail_ports=0x0 > record.seek=0 > record.samples=0 > record.eof=0 > record.pause=1 > record.error=0 > record.waiting=0 > record.open=1 > record.active=0 > record.buffer_size=65536 > record.block_size=31680 > record.errors=0 > > $ dmesg > OpenBSD 4.8-current (GENERIC) #312: Tue Aug 31 21:59:22 MDT 2010 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: AMD Athlon(tm) XP 2000+ ("AuthenticAMD" 686-class, 256KB L2 cache) > 1.68 >GHz > cpu0: >FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE > > real mem = 804810752 (767MB) > avail mem = 781688832 (745MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 10/18/06, BIOS32 rev. 0 @ 0xfdb10, >SMBIOS rev. 2.3 @ 0xf0630 (21 entries) > bios0: vendor American Megatrends Inc. version "P2.80" date 10/18/2006 > bios0: American Megatrends Inc. K7S41GX > acpi0 at bios0: rev 0 > acpi0: sleep states S0 S1 S4 S5 > acpi0: tables DSDT FACP APIC > acpi0: wakeup devices PS2M(S4) PS2K(S4) UAR1(S4) USB1(S4) USB2(S4) EHCI(S4) >LAN_(S4) MDM_(S4) AUD_(S4) PCI0(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: apic clock running at 268MHz > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins > acpiprt0 at acpi0: bus 0 (PCI0) > acpicpu0 at acpi0 > acpipwrres0 at acpi0: URP1 > acpipwrres1 at acpi0: URP2 > acpipwrres2 at acpi0: FDDP > acpipwrres3 at acpi0: LPTP > acpibtn0 at acpi0: PWRB > bios0: ROM list: 0xc0000/0xd000 > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "SiS 741 PCI" rev 0x03 > sisagp0 at pchb0 > agp0 at sisagp0: aperture at 0xd0000000, size 0x10000000 > ppb0 at pci0 dev 1 function 0 "SiS 648FX AGP" rev 0x00 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 0 function 0 "ATI Radeon 9200 PRO" rev 0x01 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > radeondrm0 at vga1: apic 2 int 16 (irq 11) > drm0 at radeondrm0 > pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25 > pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 741: DMA, channel > 0 >wired to compatibility, channel 1 wired to compatibility > wd0 at pciide0 channel 0 drive 0: <WDC WD1600JB-22GVC0> > wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd1 at pciide0 channel 0 drive 1: <WDC WD800JB-00ETA0> > wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 > wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 > atapiscsi0 at pciide0 channel 1 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <LITE-ON, DVD SOHD-167T, 9S19> ATAPI 5/cdrom >removable > atapiscsi1 at pciide0 channel 1 drive 1 > scsibus1 at atapiscsi1: 2 targets > cd1 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-RAM GSA-H55L, 1.03> ATAPI > 5/cdrom >removable > cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 > cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4 > ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: apic 2 int 20 >(irq 3), version 1.0, legacy support > ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: apic 2 int 21 >(irq 5), version 1.0, legacy support > ehci0 at pci0 dev 3 function 2 "SiS 7002 USB" rev 0x00: apic 2 int 23 (irq 10) > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1 > sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x90: apic 2 int 19 >(irq 10), address 00:19:66:65:10:93 > rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1 > envy0 at pci0 dev 10 function 0 "IC Ensemble Envy24 I/O Ctrlr" rev 0x02: > apic >2 int 18 (irq 5) > envy0: M-Audio Audiophile 2496, 2 inputs, 2 outputs > audio0 at envy0 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pms0 at pckbc0 (aux slot) > pckbc0: using irq 12 for aux slot > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > wbsio0 at isa0 port 0x2e/2: W83697HF rev 0x12 > lm1 at wbsio0 port 0x290/8: W83697HF > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1 > usb2 at ohci1: USB revision 1.0 > uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1 > mtrr: Pentium Pro MTRR support > umidi0 at uhub2 port 2 configuration 1 interface 1 "vendor 0x15ca USB Midi >Cable" rev 1.10/f1.10 addr 2 > umidi0: (genuine USB-MIDI) > umidi0: out=1, in=1 > midi0 at umidi0: <USB MIDI I/F> > umidi1 at uhub1 port 2 configuration 1 interface 0 "KORG INC. nanoKONTROL" > rev >1.10/1.00 addr 2 > umidi1: (genuine USB-MIDI) > umidi1: out=1, in=1 > midi1 at umidi1: <USB MIDI I/F> > softraid0 at root > root on wd0a swap on wd0b dump on wd0b > midi1 detached > umidi1 detached > umidi1 at uhub1 port 2 configuration 1 interface 0 "KORG INC. nanoKONTROL" > rev >1.10/1.00 addr 2 > umidi1: (genuine USB-MIDI) > umidi1: out=1, in=1 > midi1 at umidi1: <USB MIDI I/F> > >
Sounds like a sendbug(1) to me. :) --- James A. Peltier james_a_pelt...@yahoo.ca