LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-18-2005, 07:33 AM   #1
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
system freezes after upgrading kernel


I had to upgrade to 2.6.10 (from /testing) so that I could get my new (to me) graphics card working.

It is now working, and most of the things that the upgrade broke are fixed.

However this is the third time that I have started this thread, because each of the other two time the system has frozen. A complete lock up which required a reset.

These freezes are apparently random, and on looking in the logs and dmesg appear to have no cause.

Am I just looking in the wrong place or is there a problem with 2.6.10

Samac
 
Old 02-18-2005, 08:40 AM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
well....can you give your hardware-setup. ?
if i understand correct, this occured after installing a " new " graph. card. ?
if it's pci, you could try another slot.
otherwise reseat the card. ( might be just a bad contact. ).

egag
 
Old 02-18-2005, 10:06 AM   #3
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Post your video card specs, if it is agp, maybe the lock up is due to a bad setting in bios or something wrong with agp module/video card driver, it may be a RAM problem too...

What driver do you use for your card in /etc/X11/xorg.conf ?
 
Old 02-18-2005, 11:55 AM   #4
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Original Poster
Rep: Reputation: 137Reputation: 137
I am replying from my backup system Slackware 10.1 (2.4.29) because the 2.6.10 was freezing too often to even get this reply typed.

2.4.29 seems stable therefore I would suggest that the problem is not hardware related, but rather configuration related.

I created a script that gives tons of information and writes it all to a file called si.txt (1300+ lines), but then realised that you could not post attachments.

So I have posted it to

www.samac.pwp.blueyonder.co.uk/si.html

www.samac.pwp.blueyonder.co.uk/nvidia-bug-report.html

A thought that I had, was to run an upgrade using:

upgradepkg --reinstall --install-new /root/packages/*/*.tgz

just to see if that would help (but with my luck it wouldn't)

Or perhaps rebuilding the kernel modules (see previous line)

Samac

Last edited by samac; 02-18-2005 at 12:05 PM.
 
Old 02-18-2005, 12:00 PM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
ah, if you're sure it's not a hw-prob. then the graph-driver could be it.
still don't know what hw. you use....? ( and what driver.. )

egag
 
Old 02-18-2005, 12:06 PM   #6
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Original Poster
Rep: Reputation: 137Reputation: 137
See edit, I have added a massive nvidia bug report file.
 
Old 02-19-2005, 06:21 AM   #7
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Original Poster
Rep: Reputation: 137Reputation: 137
UPDATE

Kernel version 2.6.10 freezes with both "nvidia" driver and "nv" driver, whereas 2.4.29 is stable with "nv" driver.

Which suggests to me that the graphics card/driver combination are relatively stable and it is perhaps an interaction between them and the kernel, or in fact some other drivers and the kernel that is causing the problem.

I had a ssh conection between the Zaurus and the main machine during a crash to see if it was just the keyboard and mouse that were dead, and also to poke around to see if there were any clues, but the ssh terminal was frozen too, so it seems to be a system wide failure, not just X or the input devices.

Samac
 
Old 02-19-2005, 08:33 AM   #8
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
For the nvidia driver :
Did you try to comment your "VideoRam 262144" line in xorg.conf ?

Maybe an agp problem, try put that line, just below ' Driver "nvidia" ' :
Option "NvAGP" "1"

Then try :
/sbin/rmmod sis_agp
/sbin/rmmod agpgart
startx
 
Old 02-19-2005, 09:05 AM   #9
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Original Poster
Rep: Reputation: 137Reputation: 137
I have modified xorg.conf, but am having big troubles removing the modules.

rmmod will not remove them as they are in use, and modifying /etc/rc.modules had no effect.

Where are they being loaded from?

Samac
 
Old 02-19-2005, 09:10 AM   #10
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
First exit X session, then rmmod nvidia (if present), rmmod agpgart and sis_agp (maybe try rmmod sis_agp before), then modprobe nvidia and startx
 
Old 02-19-2005, 09:36 AM   #11
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Original Poster
Rep: Reputation: 137Reputation: 137
Hi,

Did that but the modules still would not remove. Eventually tried "rmmod -f" this temporarily disabled the modules.

insmod nvidia didn't work, yet modprobe nvidia did, but that appears just to have put sis_agp and agpgart back in.

How can you remove modules that are being used?

Is there a file that loads these modules at start, then I can modify it and reboot.

Samac
 
Old 02-19-2005, 09:40 AM   #12
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
If you're using hotplug (more than likelly with 2.6.10 kernel), tou could add sis_agp and agpgart in /etc/hotplug/blacklist to prevent them to load at boot
 
Old 02-19-2005, 09:50 AM   #13
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Original Poster
Rep: Reputation: 137Reputation: 137
OK that worked, now we will have to wait and see if the system is stable, I will update you.

Many thanks

Samac
 
Old 02-19-2005, 10:02 AM   #14
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Original Poster
Rep: Reputation: 137Reputation: 137
Three minutes later ...........


So now I'm back in 2.4.29, could I be better going back to my old graphics card and forgetting about "The joy of Doom3".

No I will not give up.

Any other suggestions keefaz
 
Old 02-19-2005, 12:17 PM   #15
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
At least you know it is not an agp problem. You can revert to default, comment the Agp line in xorg.conf and delete sis_agp and agpgart in /etc/hotplug/blacklist

I see you enabled Linux Plug and Play Support from your log, maybe try a kernel compilation without this option.

Make sure you did not enabled APM in config as you use ACPI

I see some "pciehp" error in your log, try put pciehp in /etc/hotplug/blacklist
 
  


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 08:23 AM
Upgrading my system (kernel, make, etc...) convulted Linux - Newbie 4 12-12-2005 10:24 AM
system freezes zord Slackware 8 05-08-2005 12:53 AM
Upgrading the kernel of an FC2 system pcweirdo Linux - Distributions 5 03-02-2005 02:33 AM
System freezes after 2.6.7 kernel loads R00ts Linux - Software 5 07-26-2004 08:07 PM


All times are GMT -5. The time now is 07:13 PM.

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