Subject: port-i386/10159: eap(4) clicks during sound playback on an Athlon system
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.zhadum.de>
List: netbsd-bugs
Date: 05/20/2000 04:16:18
>Number:         10159
>Category:       port-i386
>Synopsis:       eap(4) clicks during sound playback on an Athlon system
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 20 04:17:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Scheler
>Release:        2000/05/17
>Organization:
Matthias Scheler                            http://www.sighardstrasse.de/~tron/
>Environment:
System: NetBSD lyssa.zhadum.de 1.4Y NetBSD 1.4Y (LYSSA) #0: Fri May 19 01:45:44 CEST 2000 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386


>Description:
After updating my system from a Pentium II 400MHz CPU (Intel BX chipset
based motherboard) to an Athlon Modell 2 700MHz CPU (VIA KX-113 chipset
based motherboard) my Soundblaster PCI 128  - retail version with four
connectors - stopped working properly. I get clicks while playing mpeg
layer 3 files with "mpg123" or QuickTime movies with "xanim". Both programs
worked fine with the old configuration and haven't been modified after the
hardware update. Sound playback works properly under Windows 98. Here
is the "dmesg" output of the system:

NetBSD 1.4Y (LYSSA) #0: Fri May 19 01:45:44 CEST 2000
    tron@lyssa.zhadum.de:/src/sys/compile/LYSSA
cpu0: family 6 model 2 step 1
cpu0: AMD K7 (Athlon) (686-class)
total memory = 511 MB
avail memory = 369 MB
using 4870 buffers containing 127 MB of memory
BIOS32 rev. 0 found at 0xfb470
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: VIA Technologies VT8371 (Apollo KX133) Host Bridge (rev. 0x02)
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8371 (Apollo KX133) PCI-PCI Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: Matrox MGA G400 AGP (rev. 0x03)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x22)
pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C586A IDE Controller (rev. 0x10)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DPTA-372050>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 19574 MB, 16383 cyl, 15 head, 63 sec, 512 bytes/sect x 40088160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
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 configured to compatibility mode
wd1 at pciide0 channel 1 drive 0: <IBM-DPTA-372050>
wd1: drive supports 16-sector pio transfers, lba addressing
wd1: 19574 MB, 16383 cyl, 15 head, 63 sec, 512 bytes/sect x 40088160 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: secondary channel interrupting at irq 15
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x10)
uhci0: interrupting at irq 12
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 7 function 3: VIA Technologies VT83C572 USB Controller (rev. 0x10)
uhci1: interrupting at irq 12
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pchb1 at pci0 dev 7 function 4
pchb1: VIA Technologies VT82C686A SMBus Controller (rev. 0x30)
eap0 at pci0 dev 9 function 0: Ensoniq AudioPCI (rev. 0x01)
eap0: interrupting at irq 9
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
bktr0 at pci0 dev 11 function 0
bktr0: interrupting at irq 12
bktr0: Hauppauge Model 60114 C VM
bktr0: Detected a MSP3410D-B4 at 0x80
Hauppauge WinCast/TV, Philips PAL I tuner, msp3400c stereo.
ppb1 at pci0 dev 13 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x01)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ahc0 at pci2 dev 4 function 0
ahc0: interrupting at irq 10
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc0 channel 0: 16 targets, 8 luns per target
ahc1 at pci2 dev 5 function 0
ahc1: interrupting at irq 11
ahc1: aic7880 Wide Channel B, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc1 channel 0: 16 targets, 8 luns per target
ppb2 at pci0 dev 15 function 0: IBM 82351 PCI-PCI Bridge (rev. 0x01)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
tl0 at pci3 dev 0 function 0
tl0: Compaq Dual Port Netelligent 10/100 TX
tl0: Ethernet address 00:08:c7:a4:71:2f
tl0: interrupting at irq 10
nsphy0 at tl0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy0 at tl0 phy 31: ThunderLAN 10baseT media interface, rev. 5
tlphy0: 10base5
tl1 at pci3 dev 1 function 0
tl1: Compaq Dual Port Netelligent 10/100 TX
tl1: Ethernet address 00:08:c7:a4:71:af
tl1: interrupting at irq 12
nsphy1 at tl1 phy 1: DP83840 10/100 media interface, rev. 1
nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy1 at tl1 phy 31: ThunderLAN 10baseT media interface, rev. 5
tlphy1: 10base5
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
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
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
apm0 at mainbus0: Power Management spec V1.2 (slowidle)
biomask fd65 netmask fd65 ttymask fde7
scsibus0: waiting 2 seconds for devices to settle...
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 20.0MHz, offset = 0x8
ahc0: target 0 using tagged queuing
sd0 at scsibus0 target 0 lun 0: <IBM, DDRS-39130W, S97B> SCSI2 0/direct fixed
sd0: 8715 MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sect x 17850000 sectors
scsibus1: waiting 2 seconds for devices to settle...
ahc1: target 2 using 8bit transfers
ahc1: target 2 synchronous at 10.0MHz, offset = 0x8
cd0 at scsibus1 target 2 lun 0: <PIONEER, DVD-ROM DVD-303, 1.09> SCSI2 5/cdrom removable
ahc1: target 3 using 8bit transfers
ahc1: target 3 synchronous at 10.0MHz, offset = 0xf
cd1 at scsibus1 target 3 lun 0: <WAITEC, WT624, 7.0H> SCSI2 5/cdrom removable
ahc1: target 4 using 8bit transfers
ahc1: target 4 synchronous at 10.0MHz, offset = 0xf
st0 at scsibus1 target 4 lun 0: <SONY, SDT-7000, 0195> SCSI2 1/sequential removable
st0: drive empty
IPsec: Initialized Security Association Processing.
uhub2 at uhub0 port 1
uhub2: EIZO hub, class 9/0, rev 1.00/1.01, addr 2
uhub2: 5 ports with 5 removable, self powered
ugen0 at uhub2 port 1
ugen0: EIZO monitor, rev 1.00/1.01, addr 3
umass0 at uhub2 port 4 configuration 1 interface 0
umass0: Iomega USB Zip 250, rev 1.10/1.00, addr 4
umass0: using SCSI over BBB-P
scsibus2 at umass0: 2 targets, 1 luns per target
scsibus2: waiting 2 seconds for devices to settle...
sd1 at scsibus2 target 1 lun 0: <IOMEGA, ZIP 250, 31.G> SCSI0 0/direct removable
sd1: drive offline
ums0 at uhub2 port 5 configuration 1 interface 0
ums0: Logitech USB-PS/2 Mouse, rev 1.00/1.10, addr 5, iclass 3/1
ums0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0

The problem may be related to the fact that the ACPI controller - I can't
find that device in the "dmesg" output - uses IRQ 9, too.

>How-To-Repeat:
Try to use a Soundblaster PCI 128 in an AMD Athlon system with KX-133 chipset.

>Fix:
Sorry, I don't know.

>Release-Note:
>Audit-Trail:
>Unformatted: