Subject: help with Ensoniq 1371 chipset and NetBSD-1.5
To: None <netbsd-help@netbsd.org>
From: Stephen A. Ramsey <sramsey@speakeasy.org>
List: netbsd-help
Date: 08/06/2000 04:19:10
Hi all,

I hope this is the appropriate mailing list to send this help
request... if this is off-topic for this list, my apologies.

I'm running the NetBSD 1.5 generic i386 kernel (compiled August 6th), and
I'm having problems with my SoundBlaster PCI sound card.  The chipset of
the sound card is the Ensoniq 1371, which is supported by the "eap" device
driver.  I can play sounds with this driver, but frequently the sound
player hangs, in such a way that the sound player application does not
even respond to sigkill.  After about 10 seconds, it eventually responds
to the sigkill and dies.  To exercise the problem, I repeatedly start and
sigint a sound player like mpg123 (though I can reproduce the bug by using
other sound players as well).  After four or five iterations of this, the
sound player hangs.  So the problem tends to show up when you skip forward
repeatedly for a few songs in some GUI MP3 player (e.g., gqmpeg or
smartplay).

Is anyone else out there having problems with sound cards with the Ensoniq
1371 (AudioPCI 97) chipset, in the i386 port of NetBSD 1.5?   Any
information would be really appreciated.  I've enclosed some more detailed
information in case it is relevant.

Cheers,
Steve Ramsey


About the kernel that I am running:
----------------------------------
NetBSD efu.dsl.speakeasy.net 1.5_ALPHA NetBSD 1.5_ALPHA (GENERIC) #2: Sun
Aug 6 14:36:10 MEST 2000
fvdl@frank:/usr/src15/sys/arch/i386/compile/GENERIC i386


The sound card that I am using is:
---------------------------------
Sound Blaster 16 PCI (Creative Labs)


My motherboard is:
------------------
Dell Dimension XPS D233, 128 MB RAM 


The version of mpg123 I am using is:
------------------------------------
The version of mpg123 that I am using is mpg123-0.59r, compiled straight
from sources obtained at www.mpg123.de (I also reproduced the bug using
the mpg123-0.59r binary obtained from the NetBSD ftp site, which was
patched for NetBSD compatibility).  


The 'dmesg' output (including the audio card stuff) is:
------------------------------------------------------

NetBSD efu.dsl.speakeasy.net 1.5_ALPHA NetBSD 1.5_ALPHA (GENERIC) #2: Sun

NetBSD 1.5_ALPHA (GENERIC) #2: Sun Aug  6 14:36:10 MEST 2000
    fvdl@frank:/usr/src15/sys/arch/i386/compile/GENERIC
cpu0: family 6 model 3 step 4
cpu0: Intel Pentium II (Klamath) (686-class)
total memory = 127 MB
avail memory = 113 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xfd7b1
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443LX PCI AGP Controller (PAC) (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443LX AGP Interface (PAC) (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Nvidia Corporation & SGS Thomson Microelectric Riva 128 (rev. 0x10)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x01)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <Maxtor 86480D6>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6149 MB, 13328 cyl, 15 head, 63 sec, 512 bytes/sect x 12594960 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <NEC                 CD-ROM DRIVE:28B, , 3.05> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x01) at pci0 dev 7 function 3 not configured
ex0 at pci0 dev 13 function 0: 3Com 3c900-COMBO Ethernet (rev. 0x0)
ex0: interrupting at irq 10
ex0: MAC address 00:10:4b:2f:a0:63
ex0: 10baseT, 10baseT-FDX, 10base5, 10base2, default 10baseT
ahc1 at pci0 dev 14 function 0
ahc1: interrupting at irq 9
ahc1: aic7850 Single Channel A, SCSI Id=7, 3/255 SCBs
scsibus0 at ahc1 channel 0: 8 targets, 8 luns per target
eap0 at pci0 dev 15 function 0: Ensoniq AudioPCI 97 ES1373B (rev. 0x06)
eap0: interrupting at irq 5
eap0: TRA3 codec; no 3D stereo
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
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
biomask eb45 netmask ef45 ttymask ffc7
scsibus0: waiting 2 seconds for devices to settle...
ahc1: target 0 synchronous at 10.0MHz, offset = 0x7
st0 at scsibus0 target 0 lun 0: <AIWA, TD-20001, 0159> SCSI2 1/sequential removable
st0: drive empty
ahc1: target 5 using asynchronous transfers
sd0 at scsibus0 target 5 lun 0: <IOMEGA, ZIP 100, L.27> SCSI2 0/direct removable
sd0: drive offline
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)