View Single Post
Old 02-10-03, 07:28 PM   #1
Marty
Registered User
 
Join Date: Nov 2002
Posts: 17
Talking Red Hat 8.0 Nforce mobo audio, video, lan all work updated instructions

Many thanks to Steel, without whom, I never would have gotten x working with Red Hat 8.0. With the Nforce motherboards, there are also issues with the nic and sound and every time there is a kernel update, you have to go through the whole mess all over again. I have modified his instructions to reflect the new file names and have included the instructions for getting the nic and sound drivers updated, which were not in his post..

I have downloaded and burned to a cd the 3 src rpms from Nvidia:
NVIDIA_kernel-1.0-4191.src.rpm
NVIDIA_GLX-1.0-4191.src.rpm
NVIDIA_nforce-1.0-0248.src.rpm

You don't have to burn them to CD, you could just save them to your hard drive if you like, but these instructions show how to do it from CD.

First, open a terminal and log in as root
"su -"
Then:

Step 1> Open /etc/inittab file and change the following line. be carefull while changing this line. This will allow linux to reboot in text multiuser mode.
Change :
id:5:initdefault: to id:3:initdefault:

Step 2> rename the previosly compiled kernel to make a backup copy. In a terminal window.
"cd /usr/src/redhat/RPMS/i386"
"mv NVIDIA_kernel-1.0-3123.i386.rpm NVIDIA_kernel-1.0-3123.i386.rpm.old"

Step 3> upgrade your kernel to the new kernel-2.4.18-xx.x.x and kernel-source-2.4.18-xx.x.x and hwdata using the redhat downloader. You must have all dependencies installed. The best way to ensure that you have all dependencies is to just go start menu > system settings > packages > and in the development section choose the Kernel development packge and install the whole thing.

Step 4> Reboot and run linux in the new kernel. It will start in the command line mode. You will get errors about networking because the sound and nic drivers are not right yet. Login as root. After root log in, then su -.

Step 5> remove the previously loaded GLX and kernel files in the right order as below.

rpm -e NVIDIA_GLX-1.0-4191
rpm -e NVIDIA_kernel-1.0-4191

Step 6> mount the CD where the 3 nforce drivers are.

cd /dev
mount cdrom
cd /mnt/cdrom
ls
you now see a list of all 3 src rpm's.

Step 7> on command line do a "rpmbuild --rebuild NVIDIA_kernel-1.0-4191.src.rpm" to create drivers for the RH new kernel that we have now booted the system in. (This will again create the new binary RPM for the new kernel in "/usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-4191.i386.rpm")

Step 8> Install this new (NVIDIA_kernel-1.0-4191.i386.rpm)
"rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-4191.i386.rpm"

Step 9> on command line do a "rpmbuild --rebuild NVIDIA_GLX-1.0-4191.src.rpm" to create drivers for the GLX. (This will again create the new binary RPM for the GLX in "/usr/src/redhat/RPMS/i386/NVIDIA_GLX-1.0-4191.i386.rpm")

Step 10> Install the GLX (NVIDIA_GLX-1.0-4191.i386.rpm)
"rpm -ivh NVIDIA_GLX-1.0-4191.i386.rpm"

Step 11> uninstall the nforce drivers for sound and nic.
"rpm -e NVIDIA_nforce-1.0-0248"

Step 12> on command line do a "rpmbuild --rebuild NVIDIA_nforce-1.0-0248.src.rpm" to create drivers for the nic and sound. (This will again create the new binary RPM for the nic and sound in "/usr/src/redhat/RPMS/i386/NVIDIA_nforce-1.0-0248.rpm")

Step 13> install the nforce drivers for sound and nic.
"rpm -ivh NVIDIA_nforce-1.0-0248"

Step 14> your Xconfig file should work from before and you dont have to change anything in there.
now do "startx" to start XServer.

Step 15> once XServer works fine Open /etc/inittab file and change the following line again. This will allow linux to reboot in GUI mode again.
Change :
id:3:initdefault: to id:5:initdefault:

Step 16> reboot again, kudzu will find the nic and ask you to migrate over the old settings. Everything should now work as before.

My system:
Asus A7N 266 VM
AMD XP 1600+
512 MB Mushkin 2,2,2 DDR PC2100
17" NEC multisynch FE700

This actually plays UT2K3 as long as you don't get too crazy with detail levels.

Last edited by STEEL1 on 10-21-2002 at 11:39 PM
(as modified by Marty 2-12-2003 at 12:44 PM)

Last edited by Marty; 02-12-03 at 11:45 AM.
Marty is offline   Reply With Quote