Bug 30991

Summary: pcm in PNP-OS mode vs. non-PNP-OS mode port detection failure
Product: Base System Reporter: The Toor of All Vile <scottm>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   

Description The Toor of All Vile 2001-10-02 19:00:00 UTC
I'm on a Sony VAIO PCG-F370 and I've run into the following nifty pcm
problem. Here's the uname -a string for a kernel cvsup-ed on Friday
afternoon:

FreeBSD rdwarrior.aero.org 4.4-STABLE FreeBSD 4.4-STABLE #6: Sat Sep 29 20:19:50 PDT 2001     root@rdwarrior.cs.ucla.edu:/usr/src/sys/compile/RDWARRIOR  i386

pcm exhibits a reaaaalllllyyyyyy slow playout when the VAIO is put into
BIOS PNP-OS mode, and the kernel detects the following (with the error
happening on playout):

Oct  2 09:53:32 rdwarrior /kernel: pcm0: <Yamaha DS-1E (YMF744)> mem 0xfedf0000
-0xfedf7fff irq 9 at device 9.0 on pci0
Oct  2 10:16:11 rdwarrior /kernel: pcm0: play interrupt timeout, channel dead

When I put the VAIO into BIOS non-PNP-OS mode, I get the following
detection string and playout occurs normally:

Oct  2 10:24:06 rdwarrior /kernel: pcm0: <Yamaha DS-1E (YMF744)> port 0xfc8c-0xfc8f,0xfcc0-0xfcff mem 0xfedf8000-0xfedfffff irq 9 at device 9.0 on pci0

Fix: 

Dunno. Haven't had a chance to look at the pcm or PNP detection
settings code.
How-To-Repeat: 
[kernel configuration file "RDWARRIOR"]

	device pcm0
Comment 1 iedowse freebsd_committer freebsd_triage 2002-12-01 18:03:49 UTC
State Changed
From-To: open->feedback


Is this problem still present in more recent FreeBSD releases?
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2003-07-12 14:04:30 UTC
State Changed
From-To: feedback->closed

Feedback timeout