Penguin
Blame: NForce2Notes
EditPageHistoryDiffInfoLikePages
Annotated edit history of NForce2Notes version 38, including all changes. View license author blame.
Rev Author # Line
19 WilliamBlew 1 The three components of the motherboard that you are likely to need special (usually binary) drivers from outside the kernel for are graphics, network and sound. These are described in more detail below. MattBrown has a Gigabyte GA-7N400Pro motherboard and CraigBox has a Soltek 75-FRN-RL and this page is based mostly on experiences with those.
2
38 CraigBox 3 First of all download the most recent nvidia driver package from [NVIDIA's NForce driver archive|http://www.nvidia.com/object/linux_nforce_archive.html].
19 WilliamBlew 4
5 !! Graphics
6
30 WilliamBlew 7 You need NVIDIA AGPGART support, and you get this by using 2.4.22+ or 2.6.3+ Some people have experienced performance issues with 8x AGP using kernels before 2.6.3. See RadeonNotes for more on getting an ATI card to work.
8
9 To get an nvidia card working, see their http://www.nvidia.com/ site for their latest graphics driver (currently [1.0-5336|http://www.nvidia.com/object/linux_display_ia32_1.0-5336.html] as of March 6, 2004).
19 WilliamBlew 10
11 !! Network
12
34 DanielLawson 13 The [ForcedEth|http://www.hailfinger.org/carldani/linux/patches/forcedeth/], driver is a reverse engineered, open source ethernet driver for the onboard NVIDIA lan. It's very stable and comes with 2.4.24+ and 2.6.3+ kernels. This means you do not need to patch your kernel if you are running one of these kernels!
19 WilliamBlew 14
32 CraigBox 15 If you want to use nvidia's binary driver, it's called nvnet and is supplied by nvidia in the package above. This seems to work fine and gives reasonable performance.
16 Sometimes you'll notice, when doing large transfers over your LAN, that your CPU usage goes through the roof and eth0 generates up to 500,000 interrupts a second. The nvnet driver is to blame; you can either load the module with 'optimizations=1' to optimize for CPU usage instead of throughput (interestingly, this doesn't seem to affect throughput at all)
19 WilliamBlew 17
32 CraigBox 18 If you're using kernel 2.6, you will have to [patch the NVidia source|http://penna.dyn.dhs.org/nvnet.2.5-1.diff] to make nvnet run.
34 DanielLawson 19
35 CraigBox 20 ! Wake On LAN
34 DanielLawson 21
35 CraigBox 22 The nvnet driver claims to support [WOL], but doesn't. The forcedeth driver supports [WOL], but seems to disable it by default. You need a program called ethtool to set the WOL status each time you boot. See WakeOnLanNotes for more details.
19 WilliamBlew 23
24 !! Sound
25 Provided you have your motherboard correctly setup (see below) you should be able to use the kernel supplied OSS i810_audio module to get sound using the nvidia chipset. You can get better facility out of the nvaudio module but it's hard to get going.
26
30 WilliamBlew 27 If you're using [ALSA], you might want something like this (/etc/modprobe.conf in [Linux 2.6|LinuxKernel2.6]):
19 WilliamBlew 28
29 <verbatim>
30 # ALSA portion
31 alias char-major-116 snd
32 alias snd-card-0 snd-intel8x0
33 # module options should go here
34 # OSS/Free portion
35 alias char-major-14 soundcore
36 alias sound-slot-0 snd-card-0
37 alias sound-slot-1 snd-card-0
38 # card #1
39 alias sound-service-0-0 snd-mixer-oss
40 alias sound-service-0-1 snd-seq-oss
41 alias sound-service-0-3 snd-pcm-oss
42 alias sound-service-0-8 snd-seq-oss
43 alias sound-service-0-12 snd-pcm-oss
44 options snd-intel8x0 mpu_port=0x330
45 </verbatim>
32 CraigBox 46
47 !!Digital speaker setup
19 WilliamBlew 48
49 You can either be using an analog speaker setup, or a digital speaker setup. While the above configuration is sufficient for analog speakers, the following additional notes are applicable to a digital speaker setup.
50
30 WilliamBlew 51 The digital setup will be using the motherboard's S/PDIF output. The ALSA card 0, device 0 (playback) provides the analog outputs. However, the ALSA card 0, device 2 (playback) provides the S/PDIF (i.e. IEC958) output.
19 WilliamBlew 52
36 GregBrown 53 You will want to direct ALSA's OSS emulation device 0 (/dev/dsp0, /dev/adsp0, etal) to ALSA device 2, so that applications using the OSS API will send their sounds to your nifty digital speaker system. To accomplish this mapping of OSS device 0 to ALSA device 2, add the following to your modules.conf (modprobe.conf in Linux 2.6) file:
19 WilliamBlew 54 <verbatim>
30 WilliamBlew 55 options snd-pcm-oss dsp_map=2 adsp_map=2
19 WilliamBlew 56 </verbatim>
32 CraigBox 57
58 !!Software mixing
59
19 WilliamBlew 60 In addition, you might want to configure alsa-lib to provide software mixing and rate conversion, with the following /etc/asound.conf file:
32 CraigBox 61
62 !Analog output
63 <verbatim>
37 TimOrford 64 ### /etc/asound.conf for nforce2 apu
65 ### (analog out, from http://www.wlug.org.nz/NForce2Notes)
32 CraigBox 66
67 pcm.!default {
68 type plug
69 slave.pcm "nforce"
70 }
71
72 pcm.nforce {
73 type dmix
74 ipc_key 1024
75 slave {
76 pcm "hw:0,0"
77 period_time 0
78 period_size 1024
79 buffer_size 4096
80 rate 48000
81 }
82 }
83 </verbatim>
84
85 !Digital output
86
19 WilliamBlew 87 <verbatim>
37 TimOrford 88 ### /etc/asound.conf for nforce2 apu
89 ### (digital out, from http://www.wlug.org.nz/NForce2Notes)
90
19 WilliamBlew 91 pcm.nforce-hw {
92 type hw
93 card 0
94 }
95 pcm.!default {
96 type plug
97 slave.pcm "nforce"
98 }
99 pcm.nforce {
100 type dmix
101 ipc_key 1234
102 slave {
103 pcm "hw:0,2"
104 period_time 0
105 period_size 1024
106 buffer_size 32768
107 rate 44100
108 }
109 }
110 </verbatim>
31 JoshBassett 111 While the above alsa-lib "nforce" device is limited to 2 channels, it does provide software audio mixing. This nicely handles the mixing of audio from multiple applications.
30 WilliamBlew 112
113 In addition to the above configuration notes, here are a few usage notes to keep in mind:
114
115 With the above /etc/asound.conf xmms (1.2.8) will happily use its alsa-xmms (0.9.12) output plugin when its configured to use the "nforce" device instead of its default ALSA device. Similarly, by using the alsa9:nforce audio device mplayer (0.92) will also happily generate downmixed stereo S/PDIF output.
116
19 WilliamBlew 117 These nforce2 S/PDIF ALSA usage notes are current as of ALSA 1.0.2 (circa Feb/2004). The above config was tested with an unpatched linux kernel 2.6.3 (alsa-driver 1.0.2c) on an ABIT NF7-S rev2 optically S/PDIF connected to a Cambridge Sound Works DTT3500 Digital Home Speaker System.
30 WilliamBlew 118
119 I found these invaluable files within ALSA's [Documentation|http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/Documentation/#dirlist] directory: [ALSA-Configuration.txt|http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/Documentation/ALSA-Configuration.txt?view=markup] and [OSS-Emulation.txt|http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/Documentation/OSS-Emulation.txt?view=markup].
19 WilliamBlew 120
121 !!USB
122
123 If you're running Linux 2.6, you will want to use the ohci-hcd [USB] module, in a stanza in modprobe.conf like so:
124
125 <verbatim>
126 alias usb-controller ohci-hcd
127 alias usb-controller1 ehci-hcd
128 </verbatim>
129
130 !! IDE Controller
30 WilliamBlew 131 The ATA100 support for nforce2 boards is mature in kernel versions 2.4.24 and 2.6.3. Just be sure to enable the kernel's nforce2 IDE driver.
132
133 !! ACPI
134 The 2.4.25 and 2.6.3 kernels support nforce2 boards' [ACPI|http://www.acpi.info/] (Advanced Configuration & Power Interface) implementation. With ACPI and its thermal zone support enabled, userspace programs (e.g. gkrellm) can display the temperature of the CPU die.
135
136 !! APIC
137 The 2.4.25 and 2.6.3 kernels support nforce2 boards' [APIC|http://www.intel.com/design/chipsets/datashts/290566.htm]. However, due to a confusing hardware? bug (the C1 disconnect bug) most nforce2 boards frequently freeze when the kernel's APIC/APIC-IO support is enabled. Here is a website that provides some more details: http://atlas.et.tudelft.nl/verwei90/nforce2/index.html
138
139 The word on the linux kernel mailing list is that shuttle's nforce2 boards have a recent BIOS update that addresses their APIC freeze issue. While recent progress seems to be happening, my ABIT NF7-S (rev2) board still freezes with kernel 2.6.3
33 WilliamBlew 140
141 10-May/2004; kernel 2.6.6 was released and contained fixes for the C1 disconnect (APIC) freeze and for the mapping of the timer interrupt.
19 WilliamBlew 142
143 !!GA-7N400
144
145 The GA-7N400 is a Gigabyte Socket A motherboard based on the nForce2 chipset. I had a few things catch me out as I got it working with linux.
146
147 * If you do not have the "front audio" expansion connected ensure that pins 5-6 and 9-10 (either side of the single pin) are jumpered or you will not be able to get *any* sound out of the line out port.
148 * Kernel 2.4.21 does not support the IDE controller on the nVidia chipset (well it does, but only in 16-bit PIO mode), 2.4.20 supports the controller properly in 32-bit DMA mode.
149
150 Other than that it seems to be a fairly good motherboard. The nForce chipset was a little bit more work to get going under linux that I would have liked, but it was not hassle free to set it up under windows either. I guess you get what you pay for.
The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors.
  • WilliamBlew
  • TimOrford
  • JoshBassett
The following authors of this page have agreed to the WlugWikiLicense.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 4 times)

lib/blame.php (In template 'html'):177: Warning: Invalid argument supplied for foreach()

lib/blame.php (In template 'html'):177: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors