Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Sep 2004 01:02:33 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Vulpes Velox" <v.velox@vvelox.net>
Cc:        hardware@freebsd.org
Subject:   Re: motherboard has died, any recommend? nForce2? or else?
Message-ID:  <opsdsgejol9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20040903223930.72e603bd@vixen42.24-119-122-191.cpe.cableone.net>
References:  <20040825225405.SUTS4710.lakermmtao06.cox.net@smtp.east.cox.net> <20040825232842.14a8cf08@vixen42.24-119-122-191.cpe.cableone.net> <opsdp47rml9aq2h7@mezz.mezzweb.com> <20040903223930.72e603bd@vixen42.24-119-122-191.cpe.cableone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
------------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 <v.velox@vvelox.net> wrote:

> On Thu, 02 Sep 2004 19:05:41 -0500
> "Jeremy Messenger" <mezz7@cox.net> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opsdsgejol9aq2h7>