From owner-freebsd-gnome@FreeBSD.ORG Sat Sep 4 06:02:37 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAEC816A4CE; Sat, 4 Sep 2004 06:02:37 +0000 (GMT) Received: from fed1rmmtao08.cox.net (fed1rmmtao08.cox.net [68.230.241.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id B19EC43D1D; Sat, 4 Sep 2004 06:02:37 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by fed1rmmtao08.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP id <20040904060236.WWER10798.fed1rmmtao08.cox.net@mezz.mezzweb.com>; Sat, 4 Sep 2004 02:02:36 -0400 Date: Sat, 04 Sep 2004 01:02:33 -0500 To: "Vulpes Velox" References: <20040825225405.SUTS4710.lakermmtao06.cox.net@smtp.east.cox.net> <20040825232842.14a8cf08@vixen42.24-119-122-191.cpe.cableone.net> <20040903223930.72e603bd@vixen42.24-119-122-191.cpe.cableone.net> From: "Jeremy Messenger" Content-Type: multipart/mixed; boundary=----------T1lo80urpm6touDGiz0YmI MIME-Version: 1.0 Message-ID: In-Reply-To: <20040903223930.72e603bd@vixen42.24-119-122-191.cpe.cableone.net> User-Agent: Opera M2/7.54 (Linux, build 751) cc: gnome@freebsd.org cc: hardware@freebsd.org Subject: Re: motherboard has died, any recommend? nForce2? or else? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 06:02:38 -0000 ------------T1lo80urpm6touDGiz0YmI Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii Content-Transfer-Encoding: 8bit On Fri, 3 Sep 2004 22:39:30 -0500, Vulpes Velox wrote: > On Thu, 02 Sep 2004 19:05:41 -0500 > "Jeremy Messenger" wrote: > >> ata: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/71321 >> sound: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/71317 >> >> The id can be check by run 'pciconf -l -v'. There have few more >> 'noneN' in my 'pciconf', so I am planning to walk throught list to >> see if I can get those work. As for SATA and RAID, I don't bother >> them either because I don't have and/or need them now. >> >> BTW: My motherboard is MSI K7N2 Delta2 Platinum (MS-6570E-010). >> URL: >> http://www.msicomputer.com/product/p_spec.asp?model=K7N2_Delta2_Platinum&class=mb > > Cool, thanks :) > > Yeah, according the pciconf ata is the same... any idea when this is > going to get merged into 5x? soa has committed about over 10 nForce(2,3,4) (S)ATA chipest in -CURRENT last night, which one of it is our. soa has closed my PR. I am looking forward for it to be merging in RELENG_5 branch sometime later. > BTW silly question, but how do I apply the patch? Attaching nforce2-sound.diff and nforce2-smbus.diff in here... The sound works pretty very well. The SMBus, I am not sure but it seems work to me so far such as display the CPU and other temp correct in xmbmon (before, it display incorrect). So.. It's up to you if you want to touch SMBus patch and it can't be send to PR, because it is not flexible with the PCI register stuff yet. To patch, you can do it by hand or like this: cd /usr/src patch -p0 < /path/to/file.diff To use nforce2-sound.diff, be sure to add in kernel: device sound device snd_ich To use nforce2-smbus.diff, be sure to add in kernel: device smbus device nfpm device iicbus device iicbb # Not sure if it needs this. device ic device iic device iicsmb I think, I have finished with the walk throught in pciconf.. Current, I have six 'noneN': Five are Memory controller and one is ethernet. The USB 2.0 is already included, so I just add 'device ehci' in kernel. I don't know if your has same USB as mine (8 USB ports). As for the ethernet, nvnet is out of date that doesn't has our ID. I went to Nvidia's website and it has newer nforce driver that has our ethernet support. I have contracted with the nvnet port author and he is planning to update, then let me to test it. The nvnet in ports tree is using nforce driver that is from 2003, btw. As for the Memory controller, I have no idea but I am planning to surf around a little bit to see if there already have some patch(es) or hint(s) for me to play with it. I am pretty happy with my new motherboard so far; it was easy to get FreeBSD installed and runs without get any of serious problem. I finally can run my Nvidia video card in 8x rather than 2x (old motherboard has VIA chipest.) Cheers, Mezz -- mezz7 at cox.net - mezz at FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org ------------T1lo80urpm6touDGiz0YmI Content-Disposition: attachment; filename=nforce2-sound.diff Content-Type: text/plain; name=nforce2-sound.diff Content-Transfer-Encoding: 8bit --- sys/dev/sound/pci/ich.c.orig Thu Sep 2 11:44:48 2004 +++ sys/dev/sound/pci/ich.c Thu Sep 2 11:46:25 2004 @@ -648,6 +648,10 @@ device_set_desc(dev, "Nvidia nForce2"); return 0; + case 0x008a10de: + device_set_desc(dev, "Nvidia nForce2 MCP"); + return 0; + case 0x00da10de: device_set_desc(dev, "Nvidia nForce3"); return 0; ------------T1lo80urpm6touDGiz0YmI Content-Disposition: attachment; filename=nforce2-smbus.diff Content-Type: text/plain; name=nforce2-smbus.diff Content-Transfer-Encoding: 8bit --- sys/pci/amdpm.c.orig Thu Sep 2 11:24:09 2004 +++ sys/pci/amdpm.c Fri Sep 3 01:11:02 2004 @@ -73,10 +73,11 @@ /* nVidia nForce chipset */ #define AMDPM_VENDORID_NVIDIA 0x10de #define AMDPM_DEVICEID_NF_SMB 0x01b4 +#define AMDPM_DEVICEID_NF2_SMB 0x0084 /* PCI Configuration space registers */ #define AMDPCI_PMBASE 0x58 -#define NFPCI_PMBASE 0x14 +#define NFPCI_PMBASE 0x50 #define AMDPCI_GEN_CONFIG_PM 0x41 #define AMDPCI_PMIOEN (1<<7) @@ -167,7 +168,8 @@ } if ((vid == AMDPM_VENDORID_NVIDIA) && - (did == AMDPM_DEVICEID_NF_SMB)) { + ((did == AMDPM_DEVICEID_NF_SMB) || + (did == AMDPM_DEVICEID_NF2_SMB))) { device_set_desc(dev, "nForce SMBus Controller"); /* ------------T1lo80urpm6touDGiz0YmI--