From nobody@FreeBSD.org  Sun Mar 28 20:23:57 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 95DF316A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Mar 2004 20:23:57 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8F36F43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Mar 2004 20:23:57 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i2T4Nv72079179
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Mar 2004 20:23:57 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i2T4NvlX079178;
	Sun, 28 Mar 2004 20:23:57 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200403290423.i2T4NvlX079178@www.freebsd.org>
Date: Sun, 28 Mar 2004 20:23:57 -0800 (PST)
From: Alejandro Valenzuela <lanjoe9@prodigy.net.mx>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 4.9 freezes when I try to get the sound card working
X-Send-Pr-Version: www-2.3

>Number:         64879
>Category:       kern
>Synopsis:       [sound] [hang] 4.9 freezes when I try to get the ICH3 compatible sound card working
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 28 20:30:19 PST 2004
>Closed-Date:    Sat Sep 24 14:44:14 GMT 2005
>Last-Modified:  Sat Sep 24 14:44:14 GMT 2005
>Originator:     Alejandro Valenzuela
>Release:        FreeBSD 4.9
>Organization:
Universidad Nacional Autnoma de Mxico
>Environment:
FreeBSD citlalmina.earthshakers.xs3 4.9-RELEASE FreeBSD 4.9-RELEASE #18: Fri Jan 16 20:30:19 GMT 2004     lanjoe9@citlalmina.earthshakers:/usr/src/sys/compile/CITL  i386

>Description:
My computer is supposed to have an ICH3 compatible sound card (Yamaha AC-XG, according to windoz), but when I try kldloading the sound driver or loading the kernel with the pcm driver compiled in it, the system freezes with the next messages:
-----
fwohci0: <Texas Instruments TSB43AB22/A> at device 7.0 on pci2
fwohci0: Invalid irq 255
fwohci0: Please switch PNP-OS to 'No' in BIOS
fwohci0: Could not map memory
device_probe_and_attach: fwohci0 attach returned 6
fwohci0: <Texas Instruments TSB43AB22/A> at device 7.0 on pci2
fwohci0: Invalid irq 255
fwohci0: Please switch PNP-OS to 'No' in BIOS
fwohci0: Could not map memory
device_probe_and_attach: fwohci0 attach returned 6
fwohci0: <Texas Instruments TSB43AB22/A> at device 7.0 on pci2
fwohci0: Invalid irq 255
fwohci0: Please switch PNP-OS to 'No' in BIOS
fwohci0: Could not map memory
device_probe_and_attach: fwohci0 attach returned 6
pcm0: <Intel ICH3 (8201CA)> at device 31.5 on pci0
pcm0: Unable to map IO port space
device_probe_and_attach: pcm0 attach returned 6
------

I've got a friend who has an older Toshiba laptop with the same sound card (at least according to windoze) and it works perfectly there.
He uses FreeBSD 4.9 too.
>How-To-Repeat:
      #kldload snd.ko
or
#kldload snd_ich.ko
or 
#kldload snd_pcm.ko

(the rest don't work)
>Fix:
      I haven't been able to do much since I am pretty much a newbie.
After lots of tries, I looked at the driver sources and modified it a bit  (added a few printf() statements to get an idea of what the driver does). The machine freezes after several (about 4) "Probe" operations... 
>Release-Note:
>Audit-Trail:

From: Alejandro Valenzuela <lanjoe9@prodigy.net.mx>
To: freebsd-gnats-submit@FreeBSD.org, lanjoe9@prodigy.net.mx
Cc:  
Subject: Re: misc/64879: FreeBSD 4.9 freezes when I try to get the sound card
 working
Date: Tue, 18 May 2004 18:31:48 -0500

 What steps can I try to solve the problem?
 

From: "Simon L. Nielsen" <simon@FreeBSD.org>
To: Alejandro Valenzuela <lanjoe9@prodigy.net.mx>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/64879: FreeBSD 4.9 freezes when I try to get the soundcard working
Date: Wed, 19 May 2004 23:58:35 +0200

 --4Ckj6UjgE2iN1+kY
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2004.05.18 23:20:23 -0700, Alejandro Valenzuela wrote:
 
 >  What steps can I try to solve the problem?
 
 I just noted that you original dmesg snip had the following:
 
 fwohci0: Please switch PNP-OS to 'No' in BIOS
 
 Have you tried to do that (if possible) ?  You might also want to try to
 look a other settings for resource assignment in your BIOS.
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --4Ckj6UjgE2iN1+kY
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFAq9iKh9pcDSc1mlERAi6BAJ4mprWJqKamnxm5AbUzj8kCuJv53QCggRlv
 mqUE7OsHbAmsbp6HDtHcjF8=
 =7YSw
 -----END PGP SIGNATURE-----
 
 --4Ckj6UjgE2iN1+kY--
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: arved 
Responsible-Changed-When: Mon Aug 23 15:28:07 GMT 2004 
Responsible-Changed-Why:  
Over to sound developers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64879 
State-Changed-From-To: open->feedback 
State-Changed-By: netchild 
State-Changed-When: Sun Sep 11 10:32:08 GMT 2005 
State-Changed-Why:  
Is this still a problem on 5.[34] or -current? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64879 
State-Changed-From-To: feedback->closed 
State-Changed-By: netchild 
State-Changed-When: Sat Sep 24 14:43:57 GMT 2005 
State-Changed-Why:  
Problem is already fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64879 
>Unformatted:
