Subject: kern/22877: USB audio device stopped working.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <chris@dokein.co.uk>
List: netbsd-bugs
Date: 09/21/2003 18:14:55
>Number:         22877
>Category:       kern
>Synopsis:       When playing sounds to my usb speakers, sound doesn't play, and errors occur
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 21 17:34:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chris Gilbert
>Release:        NetBSD 1.6ZC
>Organization:
>Environment:
System: NetBSD pinky.buzzbee.plus.com 1.6ZC NetBSD 1.6ZC (PINKY) #23: Sun Sep 21 17:45:29 BST 2003 chris@pinky.buzzbee.plus.com:/usr/obj/kern/current/i386/PINKY i386
Architecture: i386
Machine: i386
>Description:
When attempting to playback ogg or mp3 files to my USB speakers I repeatedly
get:
usbd_setup_pipe: failed to start endpoint, STALLED

which stalls the process trying to play, and no sound is generated.

This is with freshly sync'd up -current.

>How-To-Repeat:
	Attempt to play audio files to USB. dmesg of the box is:
	
NetBSD 1.6ZC (PINKY) #23: Sun Sep 21 17:45:29 BST 2003
        chris@pinky.buzzbee.plus.com:/usr/obj/kern/current/i386/PINKY
total memory = 255 MB
avail memory = 233 MB
using 3296 buffers containing 13184 KB of memory
BIOS32 rev. 0 found at 0xfb030
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 864.55 MHz, id 0x686
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 8 page colors
pnpbios0 at mainbus0: nodes 14, max len 74
com0 at pnpbios0 index 13 (PNP0501)
com0: io 3f8-3ff, irq 4
com0: ns16550a, working fifo
com1 at pnpbios0 index 14 (PNP0501)
com1: io 2f8-2ff, irq 3
com1: ns16550a, working fifo
lpt0 at pnpbios0 index 15 (PNP0400)
lpt0: io 378-37f, irq 7
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies VT82C691 (Apollo Pro) Host-PCI (rev. 0xc4)
agp0 at pchb0: aperture at 0xd8000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT82C598 (Apollo MVP3) CPU-AGP Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: Nvidia Corporation GeForce2 GTS (DDR) (rev. 0xa4)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x41)
pciide0 at pci0 dev 7 function 1
pciide0: VIA Technologies VT82C686A (Apollo KX133) ATA100 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel configured to compatibility mode
pciide0: secondary channel interrupting at irq 15
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x16)
uhci0: interrupting at irq 12
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies 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. 0x16)
uhci1: interrupting at irq 12
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viapm0 at pci0 dev 7 function 4
viaenv0 at viapm0
tlp0 at pci0 dev 9 function 0: Lite-On 82C169 Ethernet, pass 2.0
tlp0: interrupting at irq 11
tlp0: Ethernet address 00:a0:cc:66:25:8a
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: BCM5201 10/100 media interface (OUI 0x000818, model 0x0021), rev. 2
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
emuxki0 at pci0 dev 11 function 0: Creative Labs SBLive! EMU 10000 (audio multimedia, revision 0x04)
emuxki0: interrupting at irq 12
emuxki0: ac97: TriTech TR28023 codec; no 3D stereo
audio0 at emuxki0: full duplex, mmap, independent
Creative Labs PCI Gameport Joystick (miscellaneous input, revision 0x01) at pci0 dev 11 function 1 not configured
isa0 at pcib0
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
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
wd0 at pciide0 channel 0 drive 0: <IC35L060AVVA07-0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 58644 MB, 119150 cyl, 16 head, 63 sec, 512 bytes/sect x 120103200 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at pciide0 channel 0 drive 1: <Maxtor 31536U2>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 14655 MB, 29777 cyl, 16 head, 63 sec, 512 bytes/sect x 30015216 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <LITE-ON LTR-40125S, , ZS0K> cdrom removable
cd0: 32-bit data port
pciide0:1:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
cd0: drive supports PIO mode 4pciide0:1:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
, DMA mode 2pciide0:1:0: lost interrupt
        type: ata tc_bcount: 0 tc_skip: 0
, Ultra-DMA mode 2 (Ultra/33)
wd2 at pciide0 channel 1 drive 1: <Maxtor 5T030H3>
wd2: drive supports 16-sector PIO transfers, LBA addressing
wd2: 29311 MB, 59554 cyl, 16 head, 63 sec, 512 bytes/sect x 60030432 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
IPsec: Initialized Security Association Processing.
uaudio0 at uhub0 port 1 configuration 1 interface 0: harman/kardon SoundSticks, rev 1.10/0.01, addr 2
uaudio0: audio rev 1.00
audio1 at uaudio0: full duplex, independent
uhidev0 at uhub0 port 1 configuration 1 interface 2
uhidev0: harman/kardon SoundSticks, rev 1.10/0.01, addr 2, iclass 3/0
uhid0 at uhidev0: input=2, output=0, feature=0
uhidev1 at uhub0 port 2 configuration 1 interface 0
uhidev1: Microsoft Microsoft IntelliMouseM-. Explorer, rev 1.10/1.14, addr 3, iclass 3/1
ums0 at uhidev1: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0

>Fix:
	No idea, an older kernel works, so I guess it's something to do with
	the recent rework of umass.
>Release-Note:
>Audit-Trail:
>Unformatted: