Subject: Ensoniq Audio PCI
To: None <current-users@netbsd.org>
From: Paulo Alexandre Pinto Pires <p@ppires.org>
List: current-users
Date: 06/30/2001 15:51:48
Hello, All.

For a few months now, I have been experiencing the following problem
with my Ensoniq Audio PCI card: when playing sounds, it works fine
for the first few times, but at some point the card seems to "hang",
blocking on further write()s.  When this happens, I have to kill the
program that is sending data, but it takes about half a minute for the
program to die.  If I keep trying, by starting and killing the appli-
cation until it succeeds, it will eventually open the device and play
the sound successfully, but the problem eventually happens again.

Below is my machine's configuration.  I am now running -current as of
2001/06/28, but this has been happening for at least five months, always
with -current not older than two months.

8<--------------------------------------------------------------------
NetBSD 1.5W (MATEUS-20010628) #0: Thu Jun 28 20:48:35 BRT 2001
    Pappires@mateus.ppires.org:/usr/src/sys/arch/i386/compile/MATEUS-20010628
cpu0: Intel Pentium II/Celeron (Deschutes) (686-class), 334.11 MHz
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 2-way
cpu0: L2 cache 512 KB 32b/line 4-way
cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX,FXSR>
total memory = 191 MB
avail memory = 175 MB
using 2478 buffers containing 9912 KB of memory
BIOS32 rev. 0 found at 0xf0550
mainbus0 (root)
pnpbios0 at mainbus0: nodes 14, max len 114
pnpbios0: node index mismatch (static): requested 0, got 1
pnpbios0: node index mismatch (dynamic): requested 0, got 1
lpt0 at pnpbios0 index 0 (PNP0401)
lpt0: io 378-37f 778-77f, irq 7, dma 3
com0 at pnpbios0 index 2 (PNP0501)
com0: io 3f8-3ff, irq 4
com0: ns16550a, working fifo
com1 at pnpbios0 index 3 (PNP0501)
com1: io 2f8-2ff, irq 3
com1: ns16550a, working fifo
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x7190 (rev. 0x02)
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x7191 (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
pcib0 at pci0 dev 4 function 0
pcib0: vendor 0x8086 product 0x7110 (rev. 0x02)
pciide0 at pci0 dev 4 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
pciide0: disabling primary channel (no drives)
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
uhci0 at pci0 dev 4 function 2: vendor 0x8086 product 0x7112 (rev. 0x01)
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
vendor 0x8086 product 0x7113 (miscellaneous bridge, revision 0x02) at pci0 dev 4 function 3 not configured
eap0 at pci0 dev 9 function 0: vendor 0x1274 product 0x1371 (rev. 0x08)
eap0: interrupting at irq 5
eap0: Crystal CS4297A codec; headphone, 20 bit DAC, 18 bit ADC, Spatializer 3D
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
ne0 at pci0 dev 10 function 0: RealTek 8029 Ethernet
ne0: Ethernet address 00:00:21:61:8c:7e
ne0: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x30] auto
ne0: interrupting at irq 12
ahc0 at pci0 dev 11 function 0
ahc0: interrupting at irq 10
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
vga0 at pci0 dev 12 function 0: vendor 0x1002 product 0x4750 (rev. 0x5c)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
wsdisplay0: screen 1-7 added (80x25, vt100 emulation)
isa0 at pcib0
aha0 at isa0 port 0x330-0x333 irq 11 drq 5
aha0: model AHA-1542CF, firmware C.0
aha0: unlocking mailbox interface
aha0: async, parity
scsibus1 at aha0: 8 targets, 8 luns per target
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
lm0 at isa0 port 0x290-0x297: W83781D
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
biomask ef65 netmask ff65 ttymask ffe7
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <QUANTUM, FIREBALL ST3.2S, 0F04> SCSI2 0/direct fixed
sd0: 3090 MB, 7068 cyl, 4 head, 223 sec, 512 bytes/sect x 6328861 sectors
sd0: sync (50.0ns offset 15), 8-bit (20.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST15230W SUN4.2G, 0738> SCSI2 0/direct fixed
sd1: 4095 MB, 3992 cyl, 19 head, 110 sec, 512 bytes/sect x 8386733 sectors
sd1: sync (100.0ns offset 8), 16-bit (20.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 3 lun 0: <NEC, CD-ROM DRIVE:222, 3.0k> SCSI2 5/cdrom removable
cd0: sync (124.0ns offset 15), 8-bit (8.064MB/s) transfers
scsibus1: waiting 2 seconds for devices to settle...
sd2 at scsibus1 target 5 lun 0: <IOMEGA, ZIP 100, D.09> SCSI2 0/direct removable
sd2: drive offline
ums0 at uhub0 port 2 configuration 1 interface 0
ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 1.10/1.21, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0
sd0: no disk label
boot device: sd1
root on sd1a dumps on sd1b
root file system type: ffs
sd0: no disk label
-------------------------------------------------------------------->8

-- 
	Pappires

... Qui habet aurem audiat quid Spiritus dicat ecclesiis.