Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nVidia card, 2.6 kernel, several freezing problems [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
madCoder|GN
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 80

PostPosted: Sun Jun 27, 2004 2:45 am    Post subject: nVidia card, 2.6 kernel, several freezing problems [solved] Reply with quote

Ok, I've recently reinstalled my gentoo machine, this time using the latest 2.6 gentoo-dev-sources kernel. Everything seems to work fine most of the time, but there are several things that are causing my machine to simply freeze, and it won't let me do anything: ALT+CTRL+BKSP zapping doesn't work, ALT+CTRL+F1 vty switching doesn't work, I don't have SysRq setup in my kernel, ... I haven't tried setting up ssh to see if I can get to the machine remotely, but I have a feeling it wouldn't let me. Also, there is nothing informative in any log files that I've looked at so far.

These are the situations where it will freeze:

* SOMETIMES when exiting X to the console, the console will be garbled/unreadable though I may be able to reboot it blindly at that point.
* Whenever I switch terminals more than once while in X, it will freeze. ie: In X, pressing ALT+CTRL+F1 to look at the console, then ALT+F7 to return, it will freeze as soon as the framebuffer blanks.
* Whenever resolution is changed. I installed VALVe's Steam, and when starting a game, by default it tries to change into 800x600 resolution. That resolution change causes it to freeze.
* Sometimes my TV tuner card will cause it, though I think more specifically its the TV tuner program I'm using. TVTime works, Zapping works. MythTV freezes every time I go to "Watch TV".

There were other cases where it happened, but I can't remember them right now. With all of the above cases, the machine completely freezes, and I have no way of recovering from it, I have to do a manual power cycle.

Some details about my setup that might help:
I'm using an nVidia GeForce4 Ti4400 graphics card, and a Hauppauge WinCast/TV card (bt848)

Code:
$ uname -a
Linux madcoder 2.6.7-gentoo #3 Fri Jun 25 20:50:19 MDT 2004 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz GenuineIntel GNU/Linux

$ lspci
0000:00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 04)
0000:00:01.0 PCI bridge: Intel Corp. 82850 850 (Tehama) Chipset AGP Bridge (rev 04)
0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 04)
0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 04)
0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 04)
0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 04)
0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 04)
0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 04)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4400] (rev a2)
0000:02:07.0 Multimedia video controller: Brooktree Corporation Bt848 Video Capture (rev 11)
0000:02:08.0 Ethernet controller: Macronix, Inc. [MXIC] MX987x5 (rev 20)
0000:02:09.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
0000:02:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)

$ lsmod
Module                  Size  Used by
nvidia               2075144  12
snd_seq_midi            6688  0
snd_cs46xx             84488  2
snd_rawmidi            20260  2 snd_seq_midi,snd_cs46xx
snd_ac97_codec         64644  1 snd_cs46xx
snd_seq_oss            31104  0
snd_seq_midi_event      6272  2 snd_seq_midi,snd_seq_oss
snd_seq                48656  5 snd_seq_midi,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6792  4 snd_seq_midi,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss            48552  0
snd_pcm                83592  2 snd_cs46xx,snd_pcm_oss
snd_page_alloc          9096  2 snd_cs46xx,snd_pcm
snd_timer              21252  2 snd_seq,snd_pcm
snd_mixer_oss          17792  2 snd_pcm_oss
snd                    47332  14 snd_seq_midi,snd_cs46xx,snd_rawmidi, [... SNIP ...]
soundcore               7520  2 snd
tulip                  42144  0
3c59x                  33960  0


I'm using version 5336 of the nvidia-kernel and nvidia-glx packages. X works great normally, and will be completely stable if I don't do anything to change the graphics card.

I don't have any idea where to start troubleshooting with this problem, but I really can't just deal with it :| Does anyone have any suggestions for where I should start? If you think it has any bearing on the problem, my Gnome version is 2.6 also.
_________________
madCoder <madCoder@gamesurge.net>
Abuse Manager
http://www.gamesurge.net/


Last edited by madCoder|GN on Sun Jun 27, 2004 8:06 am; edited 2 times in total
Back to top
View user's profile Send private message
HydroSan
l33t
l33t


Joined: 04 Mar 2004
Posts: 764
Location: The Kremlin (aka Canada)

PostPosted: Sun Jun 27, 2004 3:58 am    Post subject: Reply with quote

Did you enable 4k Stacks in your kernel?

If you did, disable it and recompile. 4k Stacks currently bork the nVidia drivers.
_________________
I was a Gangster for Capitalism, by Major General Smedley Butler.

Server status: Currently down, being replaced with fresh install - 20% completed.
Back to top
View user's profile Send private message
madCoder|GN
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 80

PostPosted: Sun Jun 27, 2004 5:49 am    Post subject: Reply with quote

Code:
# grep "STACK" .config
CONFIG_4KSTACKS=y

:oops:

I'll recompile with that disabled and see if it fixes anything. Thanks for the tip. One question: by "bork" do you mean the nvidia driver simply doesn't work, or that it will cause weird behavior like this? Cause like I said, the driver works fine. X loads, everything works. The only thing that seems to cause these freezes are when changing the video mode, as simply as I can put it. If I exit X, and it doesn't freeze, then it definitely will freeze if I start X again before rebooting.

The Steam/CS problem was fixed by adding my resolution to the launch arguments so that the menu loaded in the same resolution as my desktop, so that no video mode changes were necessary.
_________________
madCoder <madCoder@gamesurge.net>
Abuse Manager
http://www.gamesurge.net/
Back to top
View user's profile Send private message
madCoder|GN
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 80

PostPosted: Sun Jun 27, 2004 8:05 am    Post subject: Reply with quote

Great, that seems to have fixed the freezing problem :) Thank you very much

Now I just need to figure out why mythtv is giving me problems :|
_________________
madCoder <madCoder@gamesurge.net>
Abuse Manager
http://www.gamesurge.net/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum