LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2004, 07:46 AM   #1
Rocker
Member
 
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Rep: Reputation: 15
system freezes when leaving X


Every time I kill X, my computer locks up and I have to re-start it. I am using xorg 6.8, but the problem also existed when xfree was installed. The graphics card is a geforce2 and the kernel is 2.6.5. I have no idea what might cause this, and google has turned up a lot about X itself freezing but not much about the computer freezing when killing X. I have not been able to try ssh'ing into it after the freeze, but I don't think I would be able to. All hdd activity stops and it just sits there.

Any help would be greatly appreciated.
 
Old 10-27-2004, 08:20 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Are you using the stock video driver or the one from nVidia?

Baldrick
 
Old 10-27-2004, 08:32 AM   #3
Rocker
Member
 
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
it is the driver from nvidia
 
Old 10-27-2004, 08:53 AM   #4
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
You could try using an older or newer driver to see if that works. Apart from that, try disabling some un-needed services one by one to see if that fixes the problem.

After that, I'm out of ideas at the moment.

edit
It could also be the kernel you are using. Do you have another kernel available?
end edit

Baldrick

Last edited by Baldrick65; 10-27-2004 at 08:54 AM.
 
Old 10-27-2004, 09:00 AM   #5
Rocker
Member
 
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
i'm sure that its not the version of the kernel; do you think that there are any options in the kernel that I could disable/enable that might affect this?

unfortunately I am at work right now so I can't test all these things, but I want to get a good idea of whats going on because I have several problems on that computer that I plan to solve when I get back tonight.
 
Old 10-27-2004, 09:01 AM   #6
Rocker
Member
 
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
BTW, what are "HCL Entries"

I see them in the short profiles next under our usernames, to the left of the body of the messages
 
Old 10-27-2004, 09:07 AM   #7
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
The kernel bit was an after-thought ... better to be safe than sorry. The HCL entries are Hardware Compatibility List entries. Click on the HCL button under my post to see for yourself.

Baldrick
 
Old 10-27-2004, 12:54 PM   #8
Kestrel67
LQ Newbie
 
Registered: Oct 2004
Location: Vancouver, BC
Posts: 6

Rep: Reputation: 0
I had the same problem on Gentoo using Kernel 2.6.8.

Make sure your kernel is setup for 4K stacks and that you are using the 6111+ nVidia driver.
 
Old 10-27-2004, 12:59 PM   #9
Rocker
Member
 
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
"Make sure your kernel is setup for 4K stacks"

i dont think I know what you mean here, do you think you could explain this a little more?

thanks
 
Old 10-27-2004, 01:15 PM   #10
Kestrel67
LQ Newbie
 
Registered: Oct 2004
Location: Vancouver, BC
Posts: 6

Rep: Reputation: 0
Quote:
Originally posted by Rocker
"Make sure your kernel is setup for 4K stacks"

i dont think I know what you mean here, do you think you could explain this a little more?

thanks
When choosing your kernel options in Gentoo, you can turn 4K stack support on or off. (at which point 8K stacks will be used) It's in the 'kernel hacking' section when you do a 'make menuconfig'. See the gentoo installation handbook for more information on how to build the kernel. I think 4K stacks are on by default in the 2.6.X kernel, but don't quote me on this.

If you're emerging the nvidia driver, you'll need v6111 or later, which is currently masked by ~x86. Earlier versions of the nvidia driver, including the unmasked nvidia driver, don't support 4K stacks.

HTH
 
Old 10-27-2004, 01:41 PM   #11
Rocker
Member
 
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
great, thanks. i will try it out when i get home.


and, I compile my kernel regularly, I guess I just dont look into the kernel hacking stuff that much.

thanks for the help, i will post again tonight or tomorrow with how it went
 
Old 10-27-2004, 01:50 PM   #12
Rocker
Member
 
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
damn, i made the mistake of killing X over ssh, and now I cant mess with it at work anymore. Anyway, the kernel was already set up properly, so I emerged the newer nvidia-kernel and nvidia-glx. Hopefully this will take care of it.
 
  


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
System freezes in X shaun_bakker Linux - Newbie 7 06-06-2007 07:23 AM
system freezes zord Slackware 8 05-07-2005 11:53 PM
System freezes newlinuxgeek Linux - Hardware 4 03-01-2005 06:45 PM
Slack 9.1 shuts down leaving file system dirty wartstew Slackware 3 10-15-2003 07:47 PM
System freezes jayakrishnan Linux - General 2 08-27-2003 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration