Author Topic: Red Hat Help!  (Read 1067 times)

Dressler

  • Member
  • **
  • Posts: 28
  • Kudos: 0
Red Hat Help!
« on: 5 December 2002, 20:07 »
Help!
Amd 1.333Ghz Thunderbird
512mb RAM
ms-6340 kt133 mobo
nVidia Geforce-2 MX 64mb RAM

I kinda suck at linux, so please try and make it....easy.
When I boot up my computer (dual boot with...Windows XP I KNOW I KNOW but assignments require me to have it). I chooase Linux and I get tot he login screen. And the computer freezes.

Help? I tried reinstalling it. EDIT: I think I am using Grub....

EDIT: How many of you have tried Security Linux from www.NSA.gov?

[ December 05, 2002: Message edited by: Dressler ]

Gates...Damn him, Damn that man!

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Red Hat Help!
« Reply #1 on: 5 December 2002, 21:02 »
I have a very similar system and do not have that problem. I have seen a few others here complain of the exact same problem you are experiencing. It would seem to me that it is a video card issue. I also have a GeForce2 card but mine is of the GTS variety. The first thing I would try is installing the driver from nVidia. The question is, how difficult of a task would that be to do without the graphical environment for someone who is new to Linux.  For me it is easy but for someone new it could be quite a job.

In fact I just did a google search for "redhat freezes geforce" and find that many people have this problem with the GeForce2 MX card. It looks like it may be a problem with the particular version of XFree86 that is shipped with RedHat.

I'll do some more research and do some thinking and see if I can come up with an easy solution for your problem.

[ December 05, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...

Dressler

  • Member
  • **
  • Posts: 28
  • Kudos: 0
Red Hat Help!
« Reply #2 on: 5 December 2002, 21:11 »
Thank you, Void Main. I appreciate it.
Gates...Damn him, Damn that man!

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
Red Hat Help!
« Reply #3 on: 5 December 2002, 22:11 »
quote:
Originally posted by void main:
I have a very similar system and do not have that problem. I have seen a few others here complain of the exact same problem you are experiencing. It would seem to me that it is a video card issue. I also have a GeForce2 card but mine is of the GTS variety. The first thing I would try is installing the driver from nVidia. The question is, how difficult of a task would that be to do without the graphical environment for someone who is new to Linux.  For me it is easy but for someone new it could be quite a job.

In fact I just did a google search for "redhat freezes geforce" and find that many people have this problem with the GeForce2 MX card. It looks like it may be a problem with the particular version of XFree86 that is shipped with RedHat.

I'll do some more research and do some thinking and see if I can come up with an easy solution for your problem.

[ December 05, 2002: Message edited by: void main ]



Surely it would be failry simple if you give each command to enter and he follows them. The most difficult bit would probably be using vim, but thats hardly brain surgery.
Contains scenes of mild peril.

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Red Hat Help!
« Reply #4 on: 5 December 2002, 22:15 »
quote:
Originally posted by Tux:


Surely it would be failry simple if you give each command to enter and he follows them. The most difficult bit would probably be using vim, but thats hardly brain surgery.



Yes, but I wanted to be fairly confident that installing the nVidia drivers would in fact solve the problem before giving any instructions. Might save some time and confusion.. In fact it might be as simple as turning off the accel options in the X configuration using the existing drivers (or turning off some other option) but I haven't verified any of that yet.

[ December 05, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Red Hat Help!
« Reply #5 on: 6 December 2002, 03:46 »
Yes, this appears to be a problem with XFree86 and the GeForce2 MX cards. Fortunately it looks like the drivers from nVidia should solve your problem. You'll want these drivers regardless because they *significantly* improve the speed of X.

Unfortunately you are going to have to do this without the help of a graphical environment which is no problem for an experienced Linux user but could be (will be) a challenge for the person who is new to Linux. To start with you are going to have to go to this page:

http://www.nvidia.com/view.asp?IO=linux_display_1.0-3123

You will want to read it over very carefully, especially the link to the README near the top. There will be two RPM files that you need to download to your machine and install. Then you will have to make a couple of minor modifications to your XF86Config file. Once this is done your Xwindows should work very well.

Of course after reading this information you are going to have to get your system booted without the graphical environment. I would suggest booting into "single user" mode and changing the default runlevel to "3". To boot into single user mode you should press "a" when the GRUB boot menu comes up which will list the exact boot command that GRUB uses to boot Linux. At the end of that line you want to add a "space" and then the word "single". This should get you to a root prompt "#". Now type:

# vi /etc/inittab

arrow down until you find the line "id:5:initdefault:"

arrow over until your cursor is over the "5" and press "r3". This should change the 5 to a 3. Now type ":wq" and press <ENTER> then reboot (<CTRL><ALT><DEL>).

After rebooting you should get a text based login prompt. Use "root" for the login name and use whatever you set up as the root password at install time for the password. This will bring you to a root shell (#). If you have network connectivity via cable/DSL you can download the drivers from this prompt by typing the following:

# wget http://download.nvidia.com/XFree86_40/1.0-3123/NVIDIA_kernel-1.0-3123.src.rpm
# wget http://download.nvidia.com/XFree86_40/1.0-3123/NVIDIA_GLX-1.0-3123.i386.rpm

You'll really need to look over the README file at this point but basically you will install the kernel driver by typing:

# rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm

Then install it by doing this:

# rpm -Uvh /usr/src/redhat/RPMS/i386/NVID*

Then install the GLX RPM by doing:

# rpm -Uvh NVIDIA_GLX-1.0-3123.i386.rpm

The last thing is making the minor modifications to the /etc/X11/XF86Config file. The only thing you should have to do is change the "nv" to "nvidia" in the "Device" section next to the "Driver" tag. You can make this change with "vi":

# vi /etc/X11/XF86Config

Type "/nv" without the quotes which should take you to the exact item that needs to be changed. Now type "cwnvidia" (without the quotes) then press the <ESC> key, then type ":wq" and press <ENTER>. If all goes well you should be able to type "startx" and get a graphical environment without a lockup. Once you successfully get X running you can change your default runlevel back to "5" which will bring you to a graphical login prompt when you boot up. Type "vi /etc/inittab" and pick up the instructions at the top of this message where we changed the 5 to a 3.

I know this probably looks confusing as hell but fortunately this isn't a hugely common problem. Once you get the nVidia drivers working I believe you will be happy and hopefully find it was well worth your effort. The only problem with my instructions that I can think of is that you may not have installed the development tools when you installed RedHat which means you may not be able to do the "rpmbuild --rebuild" command until you install those tools.

[ December 05, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...

Dressler

  • Member
  • **
  • Posts: 28
  • Kudos: 0
Red Hat Help!
« Reply #6 on: 15 February 2003, 20:53 »
I know this thread is old, but I am going to try this now...

Only one problem: As I have never used Linux since RH freezes, I am not connected to the internet, so how do I get the rpm files?

Thanks!
Gates...Damn him, Damn that man!

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
Red Hat Help!
« Reply #7 on: 15 February 2003, 21:18 »
quote:
Originally posted by Dressler:
I know this thread is old, but I am going to try this now...

Only one problem: As I have never used Linux since RH freezes, I am not connected to the internet, so how do I get the rpm files?

Thanks!



You will have to get online somehow; friend, workplace/school, family maybe?
Anyone with internet and a CD Writer is fine.

Or Buy, this month's LinuxFormat magazine which has the Latest nVidia Drivers on its cover CD/DVD.

ps. Void Main isn't here anymore.
Contains scenes of mild peril.

Dressler

  • Member
  • **
  • Posts: 28
  • Kudos: 0
Red Hat Help!
« Reply #8 on: 15 February 2003, 21:30 »
Thanks, Tux.

What happened to him? Did Bill Gates eat him?

I can get on line...using good ol' windows.

How can I make the floppy useable in both windows and linux?

Simpler: Do I just using windows download the rpm files, put them on the floppies and reboot and do what void said? No, how should his instructions look now that they have to be loaded from floppy?
Gates...Damn him, Damn that man!

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
Red Hat Help!
« Reply #9 on: 15 February 2003, 21:42 »
quote:
Thanks, Tux.


Not a problem.

 
quote:
What happened to him? Did Bill Gates eat him?


He left of his own accord. He (and many others) belive that these forums have gone to shit and, therefore, left.

 
quote:
I can get on line...using good ol' windows.


Good.

[/quote]How can I make the floppy useable in both windows and linux?[/quote]

Linux can read msdos formatted floppies, but this doesnt matter right now because the nvidia drivers are too large for a floppy.

 
quote:
Simpler: Do I just using windows download the rpm files, put them on the floppies and reboot and do what void said? No, how should his instructions look now that they have to be loaded from floppy?


See my next post.
Contains scenes of mild peril.

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
Red Hat Help!
« Reply #10 on: 15 February 2003, 21:51 »
In windows:

Download these two files:

http://download.nvidia.com/XFree86_40/1.0-4190/NVIDIA_kernel-1.0-4190.src.rpm
http://download.nvidia.com/XFree86_40/1.0-4190/NVIDIA_GLX-1.0-4190.i386.rpm

Save them to C:\nvidia

then follow this part of void's instruction:

 
quote:
Of course after reading this information you are going to have to get your system booted without the graphical environment. I would suggest booting into "single user" mode and changing the default runlevel to "3". To boot into single user mode you should press "a" when the GRUB boot menu comes up which will list the exact boot command that GRUB uses to boot Linux. At the end of that line you want to add a "space" and then the word "single". This should get you to a root prompt "#". Now type:


# vi /etc/inittab


arrow down until you find the line "id:5:initdefault:"


arrow over until your cursor is over the "5" and press "r3". This should change the 5 to a 3. Now type ":wq" and press <ENTER> then reboot (<CTRL><ALT><DEL>  ;)  .


After rebooting you should get a text based login prompt. Use "root" for the login name and use whatever you set up as the root password at install time for the password. This will bring you to a root shell (#).


then type:

# mkdir /mnt/windows
# mount -t vfat /dev/hda1 /mnt/windows

This will allow you to access you windows drive.

then:

# cd /mnt/windows/nvidia
# cp *.rpm $HOME
# cd $HOME

now we carry on where void left us:

 
quote:
You'll really need to look over the README file at this point but basically you will install the kernel driver by typing:


# rpmbuild --rebuild NVIDIA_kernel-1.0-4190.src.rpm


Then install it by doing this:


# rpm -Uvh /usr/src/redhat/RPMS/i386/NVID*


Then install the GLX RPM by doing:


# rpm -Uvh NVIDIA_GLX-1.0-4190.i386.rpm


The last thing is making the minor modifications to the /etc/X11/XF86Config file. The only thing you should have to do is change the "nv" to "nvidia" in the "Device" section next to the "Driver" tag. You can make this change with "vi":


# vi /etc/X11/XF86Config


Type "/nv" without the quotes which should take you to the exact item that needs to be changed. Now type "cwnvidia" (without the quotes) then press the <ESC> key, then type ":wq" and press <ENTER>. If all goes well you should be able to type "startx" and get a graphical environment without a lockup. Once you successfully get X running you can change your default runlevel back to "5" which will bring you to a graphical login prompt when you boot up. Type "vi /etc/inittab" and pick up the instructions at the top of this message where we changed the 5 to a 3.


I know this probably looks confusing as hell but fortunately this isn't a hugely common problem. Once you get the nVidia drivers working I believe you will be happy and hopefully find it was well worth your effort. The only problem with my instructions that I can think of is that you may not have installed the development tools when you installed RedHat which means you may not be able to do the "rpmbuild --rebuild" command until you install those tools.


[ February 15, 2003: Message edited by: Tux ]

Contains scenes of mild peril.

Dressler

  • Member
  • **
  • Posts: 28
  • Kudos: 0
Red Hat Help!
« Reply #11 on: 15 February 2003, 22:03 »
Thank you so much, greatly appreciated!

Before I start: This won't in any way affect my windows partition, will it? Won't format or do anything "strange" I wouldn't like?
Gates...Damn him, Damn that man!

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
Red Hat Help!
« Reply #12 on: 15 February 2003, 22:11 »
mounting is non-destructive, basically it just opens a door to a partition on your drive. What we are doing her is copying the required files from the win drive to the lin drive. The MES FAQ (link at top of Linux/Unix forum) tells you more about 'mount'.
Contains scenes of mild peril.

Dressler

  • Member
  • **
  • Posts: 28
  • Kudos: 0
Red Hat Help!
« Reply #13 on: 15 February 2003, 22:42 »
I tried pressing a. Nothing happens.

I am using grub 0.9

Help?
Gates...Damn him, Damn that man!

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
Red Hat Help!
« Reply #14 on: 15 February 2003, 22:53 »
Erm, when you start Linux press [CTRL]+[ALT]+[F1] this should bring you to a terminal.
Contains scenes of mild peril.