From nobody@FreeBSD.org  Mon Mar 12 15:58:34 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 704F437B71D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Mar 2001 15:58:33 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f2CNwXm29356;
	Mon, 12 Mar 2001 15:58:33 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200103122358.f2CNwXm29356@freefall.freebsd.org>
Date: Mon, 12 Mar 2001 15:58:33 -0800 (PST)
From: hroi@asdf.dk
To: freebsd-gnats-submit@FreeBSD.org
Subject: kernel hangs when loading emu10k1 sound driver
X-Send-Pr-Version: www-1.0

>Number:         25755
>Category:       kern
>Synopsis:       kernel hangs when loading emu10k1 sound driver
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    greid
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 12 16:00:01 PST 2001
>Closed-Date:    Sun Jul 22 17:51:36 PDT 2001
>Last-Modified:  Sun Jul 22 17:51:52 PDT 2001
>Originator:     Hroi Sigurdsson
>Release:        FreeBSD 4.3-BETA
>Organization:
>Environment:
FreeBSD basspump.asdf.dk 4.3-BETA FreeBSD 4.3-BETA #0: Tue Mar 13 00:30:51 CET 2001     root@basspump.asdf.dk:/usr/src/sys/compile/BASSPUMP  i386

>Description:
kernel hangs when loading snd:

# kldload snd
ppc0: parallel port not found
pcm0: <Creative EMU10K1> port 0xcc00-0xcc1f irq 15 at device 9.0 on pci0
(machine hangs)

I do not know what is up with ppc0. parport has been disabled in bios.
Enabling options DDB, INVARIANTS, INVARIANT_SUPPORT and DIAGNOSTIC in kernel gives only this much extra:

# kldload snd
ppc0: parallel port not found
Vendor specific Word = ffff
pcm0: <Creative EMU10K1> port 0xcc00-0xcc1f irq 15 at device 9.0 on pci0
(machine hangs)

kernel conf: http://asdf.dk/sjov/BASSPUMP
dmesg:       http://asdf.dk/sjov/dmesg.txt

I don't know how to debug this, there is no panic. The card is known to work in win2k on the same machine.
>How-To-Repeat:

# kldload snd
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->cg 
Responsible-Changed-By: kris 
Responsible-Changed-When: Mon Mar 12 18:17:38 PST 2001 
Responsible-Changed-Why:  
cg is Mr Sound 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25755 
State-Changed-From-To: open->feedback 
State-Changed-By: greid 
State-Changed-When: Thu Jul 12 18:43:27 PDT 2001 
State-Changed-Why:  
Is this still a problem with more recent sources? 


Responsible-Changed-From-To: cg->greid 
Responsible-Changed-By: greid 
Responsible-Changed-When: Thu Jul 12 18:43:27 PDT 2001 
Responsible-Changed-Why:  
I'll handle feedback 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25755 

From: Hroi Sigurdsson <hroi@asdf.dk>
To: freebsd-gnats-submit@FreeBSD.org, hroi@asdf.dk
Cc:  
Subject: Re: kern/25755: kernel hangs when loading emu10k1 sound driver
Date: Sun, 15 Jul 2001 16:48:26 +0200

 Update: It works!
 
 Fiddling with the BIOS, forcing it to assign IRQ's and DMA's to PCI
 devices only, seems to fix the problem. I can now play sound in FreeBSD.
 
 -- 
 Hroi Sigurdsson
 Fried ice cream is a reality! -- George Clinton

From: Hroi Sigurdsson <hroi@asdf.dk>
To: freebsd-gnats-submit@FreeBSD.org, hroi@asdf.dk
Cc:  
Subject: Re: kern/25755: kernel hangs when loading emu10k1 sound driver
Date: Mon, 23 Jul 2001 02:42:54 +0200

         This PR can be closed
 -- 
 Hroi Sigurdsson
 Fried ice cream is a reality! -- George Clinton
State-Changed-From-To: feedback->closed 
State-Changed-By: greid 
State-Changed-When: Sun Jul 22 17:51:36 PDT 2001 
State-Changed-Why:  
Originator requests closure. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25755 
>Unformatted:
