k22 Posted February 5, 2004 Share Posted February 5, 2004 I recently installed Red Hat 9 on an old hard drive. As my sig says, I have an Intel D875PBZ motherboard with built in ethernet. I downloaded the red hat 9 drivers from the intel site for my motherboard and tried to follow the instructions. Building and Installation ========================= To build a binary RPM* package of this driver, run 'rpmbuild -tb <filename.tar.gz>'. Replace <filename.tar.gz> with the specific filename of the driver. NOTE: For the build to work properly, the currently running kernel MUST match the version and configuration of the installed kernel sources. If you have just recompiled the kernel reboot the system now. 1. Move the base driver tar file to the directory of your choice. For example, use /home/username/e1000 or /usr/local/src/e1000. 2. Untar/unzip archive: tar zxf e1000-x.x.x.tar.gz 3. Change to the driver src directory: cd e1000-x.x.x/src/ 4. Compile the driver module: make install The binary will be installed as: /lib/modules/[KERNEL_VERSION]/kernel/drivers/net/e1000.o The install locations listed above are the default locations. They might not be correct for certain Linux distributions. For more information, see the ldistrib.txt file included in the driver tar. 5. Install the module: insmod e1000 <parameter>=<value> 6. Assign an IP address to the interface by entering the following, where x is the interface number: ifconfig ethx <IP_address> 7. Verify that the interface works. Enter the following, where <IP_address> is the IP address for another machine on the same subnet as the interface that is being tested: ping <IP_address> ================================================= I tried to start the terminal and do the rpmbuild command with the correct filename. It responds with rpmbuild is an unknown command or something similar (I'm sorry I cant post exact errors but I cant get online, obviously, in Red Hat so I'm doing this from memory). Since rpmbuild didn't work, I tried the manual instructions. I was able to untar the file. It created a couple of directories that had some more tar files in them. Finally I extracted one of the other tars and it created the SRC directory mentioned in step 3. When i went back to the terminal and tried make install in the SRC directory I got another error - something like error number 81. I have yet to move beyond this point. Also, with the default display driver I am forced to run no higher than 800x600 res. I am given the option to change it to 1024x768, but it doesnt work even after rebooting. I downloaded the nvidia display driver in windows and copied it over. When trying to install it (it is a .run file) it says I need to kill the X server and I have to start in vgamode to install it. When I kill the x server, it automatically takes me back to the logon screen. If anyone can help with this I would appreciate it - I would like to play around with linux but without a decent display and Internet connectivity I cannot do much. Thanks for any suggestions. Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted February 5, 2004 Veteran Share Posted February 5, 2004 WOW! Long post! :blink: Well, let me help where I think I can, and see what you can do from there (and from other people's suggestions that will hopefully come). Compiling the source is generating an error. Unless we can find a binary that is designed for RH9, we will need to figure out what error you are getting (what file or instruction it had problems with). And for killing X and doing your nVidia .run file, this is what is happening: Your system reads inittab on boot, and sets runlevel to 5, as it says to. You get your nice GUI and login. You see you need to kill X to do your nVidia magic, so use CTRL+ALT+BACKSPACE ? (I assume). X dies inittab is read to see how you want to boot up, and sees runlevel 5 :pinch: X is restarted, and your GUI login is presented. :crazy: To fix this, just login as normal, then open up a shell. Once in the shell, su to root, and enter your password. Then type in init 3 and this will force your system to runlevel 3, regardless of inittab saying you want 5. You can now "do your thang", and when you are done, just say init 5, and everything will be on your nice GUI again. :) Hope this helps! Link to comment Share on other sites More sharing options...
k22 Posted February 5, 2004 Author Share Posted February 5, 2004 thanks i will try that tonight or tomorrow - once i get over these 2 hurdles i think i will be able to learn more about linux and enjoy using it. Link to comment Share on other sites More sharing options...
k22 Posted February 5, 2004 Author Share Posted February 5, 2004 ok - I was able to get the nvidia driver installed with the init 3 command only problem is that didn't fix my resolution problem - it still defaults back to 800x600 even after I change it to 1024x768 and reboot. I tried editing the xf86config file to include "1024x768" but it changes itself back and only includes "800x600" and "600x480". I'm going to try to hunt down a Linux driver for my monitor (Samsung Syncmaster 151s 15" LCD) to see if that remedies the problem. Also - here is the exact error I get when I do the "make install" step of the instructions to install network drivers in my main post Makefile:81: *** Linux kernel source not found. Stop. Thanks for any help. Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted February 5, 2004 Veteran Share Posted February 5, 2004 I tried editing the xf86config file to include "1024x768" but it changes itself back and only includes "800x600" and "600x480". I'm going to try to hunt down a Linux driver for my monitor (Samsung Syncmaster 151s 15" LCD) to see if that remedies the problem.Hmmm... You shouldn't need a special driver... One thing that would prevent you from changing your config is if you are not root. Are you sure you did an su to root, and used vi to edit? If so, vi will tell you if the file is read only or not. (a good first clue to permissions problems). Once you change and save, do a quick cat on your file to make sure your change is there.On the source thing, it is telling you that you are running your kernel, but haven't installed the source code for your kernel. (that part is obvious, though :pinch: ) To solve this, you can pop in your CDs and install the source from your CDs. RedHat has a Package Manager that you will need to start to tell it this (I think the source options are near the bottom, if I recall correctly). Again, good luck! Mark Link to comment Share on other sites More sharing options...
k22 Posted February 7, 2004 Author Share Posted February 7, 2004 i was able to get the network drivers working after adding the source code. I also got the resolution to work by selecting a model very close to my model - however after rebooting the nvidia driver failed (it hadn't failed on several reboots before) and the monitor was reset to Unknown Monitor defaulting the resolution back to 800x600. Also, I tried to uninstall OpenOffice 1.0 in order to install OpenOffice 1.1 (tried to install over and it said the languages don't match - I'm guessing that 1.0 was multilanguage and the one I downloaded was english only). After unistalling, I went to open a terminal window and it froze up. After rebooting, the terminal prompt was different and now says "bash" instead of the standard prompt with dhcp and the root username. Any ideas how I could fix this so the terminal works right in the root account? Also I tried to change to my other user account by typing su user and got the original prompt again but when I tried to run the openoffice install and it gives errors about the X server. Thanks for all your help - I wouldn't have gotten this far without the help. Link to comment Share on other sites More sharing options...
Recommended Posts