From elwood@mc5sys.in-berlin.de  Mon Jul 19 20:00:05 2004
Return-Path: <elwood@mc5sys.in-berlin.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D24AA16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Jul 2004 20:00:05 +0000 (GMT)
Received: from hirsch.in-berlin.de (hirsch.in-berlin.de [192.109.42.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A87A743D58
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Jul 2004 20:00:04 +0000 (GMT)
	(envelope-from elwood@mc5sys.in-berlin.de)
Received: from hirsch.in-berlin.de (localhost [127.0.0.1])
	by hirsch.in-berlin.de (8.12.11/8.12.11/Debian-3) with ESMTP id i6JK01MT028600
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Jul 2004 22:00:02 +0200
Received: (from uucp@localhost)
	by hirsch.in-berlin.de (8.12.11/8.12.11/Debian-3) with UUCP id i6JJe2R4026132
	for FreeBSD-gnats-submit@freebsd.org; Mon, 19 Jul 2004 21:40:02 +0200
Received: from mc5sys.in-berlin.de (localhost.in-berlin.de [127.0.0.1])
	by mc5sys.in-berlin.de (8.12.11/8.12.11) with ESMTP id i6JJbXAj002443
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Jul 2004 21:37:33 +0200 (CEST)
	(envelope-from elwood@mc5sys.in-berlin.de)
Received: (from elwood@localhost)
	by mc5sys.in-berlin.de (8.12.11/8.12.11/Submit) id i6JJbX8X002442;
	Mon, 19 Jul 2004 21:37:33 +0200 (CEST)
	(envelope-from elwood)
Message-Id: <200407191937.i6JJbX8X002442@mc5sys.in-berlin.de>
Date: Mon, 19 Jul 2004 21:37:33 +0200 (CEST)
From: Frank Gruender <elwood@mc5sys.in-berlin.de>
Reply-To: Frank Gruender <elwood@mc5sys.in-berlin.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Sound-Support for nForce2 ALC650 has broken after changes from pcm to sound
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         69312
>Category:       kern
>Synopsis:       [sound] Sound-Support for nForce2 ALC650 has broken after changes from pcm to sound
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tanimura
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 19 20:00:38 GMT 2004
>Closed-Date:    Thu Sep 09 20:27:05 GMT 2004
>Last-Modified:  Thu Sep 09 20:27:05 GMT 2004
>Originator:     Frank Gruender
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
private
>Environment:
System: FreeBSD mc5sys.in-berlin.de 5.2-CURRENT FreeBSD 5.2-CURRENT #9: Mon Jul 19 09:40:22 CEST 2004 root@mc5sys.in-berlin.de:/usr/obj/usr/src/sys/MC5SYS i386

ASUS A7N8X-E Deluxe
with Realtek ALC650 Soundchip

>Description:

After booting a new kernel with the pcm -> sound changes, there is no support
for the onboard soundchip ALC650. 

After login I have kldload the snd_driver, but the chipset wasn't detected! 

I have changed the kernel conf-file to "device sound".


dmesg with the old kernel:

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #6: Tue Jul 13 23:35:31 CEST 2004
    root@mc5sys.in-berlin.de:/usr/obj/usr/src/sys/MC5SYS
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 2800+ (2079.56-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
[...]
pci0: <serial bus, USB> at device 2.2 (no driver attached)
pci0: <multimedia, audio> at device 5.0 (no driver attached)
pcm0: <Nvidia nForce2> port 0xb000-0xb07f,0xc000-0xc0ff mem 0xe1084000-0xe1084ff
f irq 3 at device 6.0 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC650 AC97 Codec>
pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <network, ethernet> at device 4.0 (no driver attached)
ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0x9400-0x94ff mem 0xe0004000-0x
e0004fff irq 11 at device 7.0 on pci1
[...]


dmesg with pcm to sound changes:

kernel: Copyright (c) 1992-2004 The FreeBSD Project.
kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #9: Mon Jul 19 09:40:22 CEST 2004
root@mc5sys.in-berlin.de:/usr/obj/usr/src/sys/MC5SYS
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 2800+ (2079.56-MHz 686-class CPU)
Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
kernel: Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400000<AMIE,DSP,3DNow!>
[...]
pci0: <serial bus, USB> at device 2.2 (no driver attached)
pci0: <multimedia, audio> at device 5.0 (no driver attached)
pci0: <multimedia, audio> at device 6.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <network, ethernet> at device 4.0 (no driver attached)
ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0x9400-0x94ff mem 0xe0004000-0xe0004fff irq 11 at device 7.0 on pci1
[...]

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->tanimura 
Responsible-Changed-By: arved 
Responsible-Changed-When: Fri Jul 23 13:11:50 GMT 2004 
Responsible-Changed-Why:  
Over to tanimura, who renamed the pcm driver 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69312 

From: "Conrad J. Sabatier" <conrads@cox.net>
To: freebsd-gnats-submit@FreeBSD.org, elwood@mc5sys.in-berlin.de
Cc:  
Subject: Re: kern/69312: Sound-Support for nForce2 ALC650 has broken after
 changes from pcm to sound
Date: Fri, 23 Jul 2004 17:35:33 -0500

 You need to have both of the following lines in your kernel config:
 
 device   sound
 device   snd_ich
 
 Alternatively, you can load the corresponding modules.
 
 This is known to work for both nForce2 and nForce3 chipsets.
 

From: Frank Gruender <elwood@mc5sys.in-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org, elwood@mc5sys.in-berlin.de
Cc:  
Subject: Re: kern/69312: Sound-Support for nForce2 ALC650 has broken after
 changes from pcm to sound
Date: Sat, 24 Jul 2004 11:58:12 +0200

 Thanks, this is working for me.
 
 Frank
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Sep 9 20:26:31 GMT 2004 
State-Changed-Why:  
Submitter notes that including the suggested lines in the kernel 
configuration fixes the problem. 

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