From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 17 11:00:30 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DAA5916A415 for ; Sun, 17 Dec 2006 11:00:30 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4646343C9E for ; Sun, 17 Dec 2006 11:00:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBHB0UNO039275 for ; Sun, 17 Dec 2006 11:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBHB0Tw8039274; Sun, 17 Dec 2006 11:00:29 GMT (envelope-from gnats) Resent-Date: Sun, 17 Dec 2006 11:00:29 GMT Resent-Message-Id: <200612171100.kBHB0Tw8039274@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Frédéric Petit Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76D7B16A407 for ; Sun, 17 Dec 2006 10:59:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2129543CBC for ; Sun, 17 Dec 2006 10:59:28 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBHAxSqr035200 for ; Sun, 17 Dec 2006 10:59:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kBHAxSlx035199; Sun, 17 Dec 2006 10:59:28 GMT (envelope-from nobody) Message-Id: <200612171059.kBHAxSlx035199@www.freebsd.org> Date: Sun, 17 Dec 2006 10:59:28 GMT From: Frédéric Petit To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/106829: snd_ich driver fails with nvidia MCP04 chipset (RealTek ALC850) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 11:00:30 -0000 >Number: 106829 >Category: kern >Synopsis: snd_ich driver fails with nvidia MCP04 chipset (RealTek ALC850) >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Dec 17 11:00:29 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Frédéric Petit >Release: FreeBSD 6.1-RELEASE >Organization: >Environment: System: FreeBSD marsu 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Dec 16 17:39:23 CET 2006 root@marsu:/usr/src/sys/i386/compile/FREEBSD_61 i386 (does not work for GENERIC kernel too) Asus P5ND2-SLI Deluxe mobo, Pentium D 930 >Description: nvidia MPC04 (aka intel nForce4) sound chipset (RealTek ALC850) does not work with snd_ich driver. >From dmesg: pci0: at device 19.0 (no driver attached) But pciconf detects it anyaway: hostb0@pci0:0:0: class=0x060000 card=0x81891043 chip=0x007110de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = bridge subclass = HOST-PCI none0@pci0:0:1: class=0x050000 card=0x00000000 chip=0x007f10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM none1@pci0:0:2: class=0x050000 card=0x00000000 chip=0x007510de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM none2@pci0:0:3: class=0x050000 card=0x00000000 chip=0x006f10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM none3@pci0:0:4: class=0x050000 card=0x00000000 chip=0x00b410de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM none4@pci0:1:0: class=0x050000 card=0x00000000 chip=0x007610de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM none5@pci0:1:1: class=0x050000 card=0x00000000 chip=0x007810de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM none6@pci0:1:2: class=0x050000 card=0x00000000 chip=0x007910de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM none7@pci0:1:3: class=0x050000 card=0x00000000 chip=0x007a10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM none8@pci0:1:4: class=0x050000 card=0x00000000 chip=0x007b10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM none9@pci0:1:5: class=0x050000 card=0x00000000 chip=0x007c10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM none10@pci0:1:6: class=0x050000 card=0x00000000 chip=0x007d10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM pcib1@pci0:2:0: class=0x060400 card=0x00000040 chip=0x007e10de rev=0xa2 hdr=0x01 vendor = 'NVIDIA Corporation' class = bridge subclass = PCI-PCI pcib2@pci0:4:0: class=0x060400 card=0x00000040 chip=0x007e10de rev=0xa2 hdr=0x01 vendor = 'NVIDIA Corporation' class = bridge subclass = PCI-PCI pcib3@pci0:6:0: class=0x060400 card=0x00000040 chip=0x007e10de rev=0xa2 hdr=0x01 vendor = 'NVIDIA Corporation' class = bridge subclass = PCI-PCI none11@pci0:9:0: class=0x050000 card=0x00000000 chip=0x003f10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory subclass = RAM isab0@pci0:10:0: class=0x060100 card=0x818a1043 chip=0x003010de rev=0xa3 hdr=0x00 vendor = 'NVIDIA Corporation' class = bridge subclass = PCI-ISA ichsmb0@pci0:10:1: class=0x0c0500 card=0x818a1043 chip=0x003410de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP04 SMBus' class = serial bus subclass = SMBus ohci0@pci0:11:0: class=0x0c0310 card=0x818a1043 chip=0x003b10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP04 USB Controller' class = serial bus subclass = USB ohci1@pci0:11:1: class=0x0c0310 card=0x818a1043 chip=0x003b10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP04 USB Controller' class = serial bus subclass = USB ehci0@pci0:11:2: class=0x0c0320 card=0x818a1043 chip=0x003c10de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP04 USB Controller' class = serial bus subclass = USB nve0@pci0:14:0: class=0x068000 card=0x81411043 chip=0x003810de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP04 Ethernet Controller' class = bridge atapci0@pci0:15:0: class=0x01018a card=0x818a1043 chip=0x003510de rev=0xf2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP04 IDE' class = mass storage subclass = ATA atapci1@pci0:16:0: class=0x010185 card=0x818a1043 chip=0x003610de rev=0xf2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP04 Serial ATA Controller' class = mass storage subclass = ATA atapci2@pci0:17:0: class=0x010185 card=0x818a1043 chip=0x003e10de rev=0xf2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP04 Serial ATA Controller' class = mass storage subclass = ATA pcib4@pci0:18:0: class=0x060401 card=0x00000000 chip=0x003d10de rev=0xa2 hdr=0x01 vendor = 'NVIDIA Corporation' device = 'MCP04 PCI Bridge' class = bridge subclass = PCI-PCI ============== HERE ================ pcm0@pci0:19:0: class=0x040100 card=0x812a1043 chip=0x003a10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP04 AC'97 Audio Controller' class = multimedia subclass = audio ==================================== nvidia0@pci1:0:0: class=0x030000 card=0x81981043 chip=0x00f910de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'NVBR02 NVIDIA GeForce 6800 Series GPU' class = display subclass = VGA nvidia1@pci2:0:0: class=0x030000 card=0x81981043 chip=0x00f910de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'NVBR02 NVIDIA GeForce 6800 Series GPU' class = display subclass = VGA none12@pci3:0:0: class=0x018000 card=0x819f1043 chip=0x31321095 rev=0x01 hdr=0x00 vendor = 'Silicon Image Inc (Was: CMD Technology Inc)' class = mass storage none14@pci4:11:0: class=0x0c0010 card=0x808b1043 chip=0x8023104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' device = 'TSB43AB22/A IEEE1394a-2000 OHCI PHY/Link-Layer Ctrlr' class = serial bus subclass = FireWire em0@pci4:12:0: class=0x020000 card=0x80ee1043 chip=0x100e8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82540EM Gigabit Ethernet Controller' class = network subclass = ethernet >How-To-Repeat: Does not work on Asus P5ND2-SLI Deluxe mobo. >Fix: Thanks to B. Ducrot for the patch. Patch for /sys/dev/sound/pci/ich.c: --- ich.c.orig Sat Dec 16 22:33:03 2006 +++ ich.c Sat Dec 16 22:33:03 2006 @@ -63,6 +63,7 @@ SND_DECLARE_FILE("$FreeBSD: src/sys/dev/ #define NVIDIA_NFORCE3 0x00da #define NVIDIA_NFORCE3_250 0x00ea #define NVIDIA_NFORCE4 0x0059 +#define NVIDIA_NFORCE4_MCP 0x003a #define NVIDIA_NFORCE_410_MCP 0x026b #define AMD_768 0x7445 #define AMD_8111 0x746d @@ -114,6 +115,8 @@ static const struct ich_type { "nVidia nForce4" }, { NVIDIA_VENDORID, NVIDIA_NFORCE_410_MCP, 0, "nVidia nForce 410 MCP" }, + { NVIDIA_VENDORID, NVIDIA_NFORCE4_MCP, 0, + "nVidia nForce 4 MCP" }, { AMD_VENDORID, AMD_768, 0, "AMD-768" }, { AMD_VENDORID, AMD_8111, 0, >Release-Note: >Audit-Trail: >Unformatted: