LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 08-29-2003, 08:54 PM   #1
rhino02ss
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
Random freezes within RH9 (help with grub please)


I've had an on again off again relationship with linux for the past 7 years, before I had the desire, but not the time, to persue it as a full time OS.

I've used Mac OS X since the public beta and have grown to love unix based OS's. I have become more comfortable at the console than a gui. I'm fairly familiar with general OS usage from a user stand point although I've never ventured this far into the sysadmin stand point.

I recently installed XP until I can get wine working good enough to support a few very needed applications. Durring the install of RH9, in a semi asleep state, selected to install the bootloader on the first sector of the boot partition rather than the MBR. This caused an endless boot into XP, never giving me my grub menu. In a no holds barred attempt to get back to linux I booted from the RH9 CD1 and "upgraded" my install. To write to the MBR I had to make a kernel change. Thinking that I would still have the option of my current kernel, this prompted me to install a kernel for support of >4 gig of RAM and the option of an SMP kernel.
I now have a working dual boot using grub in LBA mode.

on my grub menu, I now have 2.4.20-Bigmem (support for >4 gig RAM) and 2.4.20-SMP (support for Multi-Processor Machines)
I believe that using the bigmem kernel is causing random freezes of my machine (mouse works but system is hung otherwise.. doesn't even respond to ping requests)

One task that I've always wanted to perform, but never had the knowledge to do, was to compile a kernel and run it. I've decided that due to the fact that I'm using an incorrect kernel, this will be my next task within linux.

Before compiling I'd like to try to change the grub menu to show the correct 2.4.20 kernel that came default in RH9. I hope that this is the issue. The only other package that I've installed that's currently running is wine (which appears to run most apps fine)

The only other problems that I could possibly forsee:

1.)My linux partition starts in ~16 gig into the drive. Even though Grub supports LBA, could this possibly be an issue with freezing?

2.)I noticed that Nvidia has released drivers for both my MoBo and my Vid Card (Geforce 4 vid and an nforce 2 athlon board)
I've done the exact same install on a similar machine in the past, and have never ran accross this issue... the only variables that are not the same are 1.) the kernel 2.)the base sector of the linux boot partition. and 3.) drivers not installed for the MoBo/Vid card

I am going to install drivers for the mobo and attempt a vidcard driver install later tonight to see if this takes care of my issue.

Any further help would be greatly appreciated. I know I'm green when it comes to linux, but I'm not afraid to get my hands dirty.
 
Old 08-29-2003, 09:05 PM   #2
rhino02ss
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Original Poster
Rep: Reputation: 0
I recently just learned that I could have easily avoided this by simply installing Grub from my boot disk, but I was tired and impatient at the time. I'm definately going to have to bone up on Grub, I had always used LILO in the past and I decided to try something a little different.
 
Old 08-29-2003, 09:22 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
So you've got it fixed?

Moving to Distributions - RedHat

Cool
 
Old 08-29-2003, 09:42 PM   #4
rhino02ss
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Original Poster
Rep: Reputation: 0
I don't have it fixed yet... I just realized that I could have completely avoided this issue entirely if I wasn't so impatient.

I've also found that I can install an RPM for the base kernel from my redhat distro CD's and uninstall the other pkg's. From what I have just read this will automaticaly edit the grub.conf file for me.

For future reference (I WILL finaly conquer compiling a kernel)
how would I add a newly compiled kernel to the boot menu?
 
Old 08-30-2003, 12:15 AM   #5
rhino02ss
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Original Poster
Rep: Reputation: 0
This is actualy the second time I'm typing this so I hope I don't forget anything... (it locked up on me before I could submit)

the issue appears to be something within X. It locked up this last time because the word wrap within the quick reply window wrapped to a line below what would display. rather than scrolling it locked up on me.

Since my last post I've installed the nforce drivers for the mobo as well as reverting back to my old kernel by editing grub.conf.

Would video card drivers have anything to do with this issue?
I would feel that they shouldn't although I'm at a loss to know where to look next.

EDIT: I should also note that this machine worked flawlessly for a number of hours while I was at work (I was able to VNC into it) although it's locked up on me 3 times within the past hour while sitting at it.

Last edited by rhino02ss; 08-30-2003 at 12:21 AM.
 
Old 08-30-2003, 01:42 AM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Well that certainly would read like a video card conflict of some sort. If, all the time you were away NOT using X via the video card, everything worked, yet as soon as the Video Card is put to use doing the same thing, stuff starts "freezing", well that would spell "error" to me

The drivers would certainly be worth the try to see if things worked afterwards...

Cool
 
Old 08-30-2003, 02:17 AM   #7
rhino02ss
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Original Poster
Rep: Reputation: 0
Well, just going out on a limb I decided to install the drivers... Now that I got back into X I'm glad to see that you concurred with my decision. with all the difficulty that people have been having I thought it would be a lot more difficult than it actually was.
I just ended up switching away from X (ctrl alt F2), killing the server and doing the install (I had edited my xconfig earlier), Once I switched back to X everything seems to run much smoothly.

The XF86Config is what I was having difficulty understanding. As soon as I read the readme from nvidia it all made sense. It's an awesome install.

I don't want to get ahead of myself... but I think this may have taken care of it. I haven't had a freeze yet, and I've been downloading via Kazaa under wine, playing mp3's and doing a few other processor intensive tasks without a single lockup.

TuxRacer also now runs top notch! Always a definate plus

Last edited by rhino02ss; 08-30-2003 at 02:20 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random freezes, don't know why randomshinichi Linux - Software 3 06-07-2005 11:58 AM
Random Server Freezes deviance99 Linux - Hardware 11 12-02-2004 06:28 PM
RH9 random freezes ashwin_cse Red Hat 1 08-12-2004 08:55 AM
ALSA freezes system at random during use tsigo Linux - Hardware 11 04-25-2004 12:09 PM
nvidia and random freezes claylong Linux - Newbie 4 02-25-2003 07:03 AM


All times are GMT -5. The time now is 09:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration