LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-24-2007, 10:48 AM   #1
kentish_lad
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
slackware 12 freeze on log out or switch to virtual terminal


Hi,
I'm a long time linux user and have recently installed slackware for the first time to see how it goes having tried many and particularly liking Debian and ubuntu but attracted to the simplicity and legendary solidness of slack. So far I have been impressed and had no probs getting the system configured including wireless / wpa, the docs are good and so are the tools so kudos to the slackware team.

My problem, I have a compaq nx9030 and have used a default install and am using the default kernel. On install I edited the inittab file to set runlevel 4 on boot to get a kdm login and kde desktop. all good so far, then I discovered logging out my user session caused a hang, black screen and no keyboard response very unusual and having to use a hard reset to get out of the problem. shutting down works fine. Trying to switch to a virtual console (ctrl alt f1-8) also causes the freeze.
I switched the default runlevel back to 3 in case this might help but I still have the same problem. I have also tried another wm and used 'startxfce' from the console but still have the freeze on logout.
I've been searching for a solution but it seems it's not a common problem, anybody have any ideas please?

TIA

Wayne.

Last edited by kentish_lad; 11-24-2007 at 10:51 AM.
 
Old 11-24-2007, 12:14 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Welcome to Slackware & LQ!
I'm wondering if using a generic kernel will help you out here.

You should read the CHANGES_AND_HINTS.TXT, RELEASE_NOTES and UPGRADE.TXT to get some helpful information. As PV states, you should try to use one of the smp kernels if possible.

Code:
excerpt from Slackware 12;

CHANGES_AND_HINTS.TXT;
It is recommended that you use one of the generic kernels (either the plain
  kernel-generic or kernel-generic-smp) for daily use.  For most systems,
  you should use the generic SMP kernel if it will run, even if your system
  is not SMP-capable.  Some newer hardware needs the local APIC enabled in
  the SMP kernel, and theoretically there should not be a performance penalty
  with using the SMP-capable kernel on a uniprocessor machine, as the SMP
  kernel tests for this and makes necessary adjustments.  Furthermore, the
  kernel sources shipped with Slackware 12.0 are configured for SMP usage,
  so you won't have to modify those to build external out-of-tree modules
  (such as NVidia or ATI proprietary drivers) if you use the SMP kernel.

How did you setup your 'X'? Setup using a frame buffer?
 
Old 11-24-2007, 01:14 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Could you post what kind of video card you have and what driver you are using for it (in '/etc/X11/xorg.conf').
 
Old 11-24-2007, 01:38 PM   #4
kentish_lad
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by onebuck View Post
Hi,

Welcome to Slackware & LQ!
I'm wondering if using a generic kernel will help you out here.

How did you setup your 'X'? Setup using a frame buffer?
I believe it is a generic kernel, uname -a:
Linux darkstar 2.6.21.5-smp #2 SMP Tue Jun 19 14:58:11 CDT 2007 i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux

my xorg.conf initially was using the vesa driver which I changed to the intel i810 as I have an onboard intel 82852/855GM chip,

During the install I chose to enable frame buffer console could this be the problem?

Code:
bash-3.1# cat /var/log/Xorg.0.log |grep -i fb
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
bash-3.1# cat /var/log/Xorg.0.log |grep -i framebuffer
(**) intel(0): Depth 24, (--) framebuffer bpp 32
(--) intel(0): Linear framebuffer at 0xE8000000
Thanks,

Wayne
 
Old 11-24-2007, 01:46 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
No, 'fb' should NOT be loaded, go to your '/etc/X11/xorg.conf' and remove the line containing it from the "Module" section. If that still doesn't fix it, post your 'xorg.conf'.
 
Old 11-24-2007, 05:02 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

I agree with H, that is why I asked about the frame buffer. You should post the 'xorg.conf' for us to diagnose.

You are using the '2.6.21.5-smp' kernel.
 
Old 11-25-2007, 03:10 PM   #7
kentish_lad
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, I have tried removing the frame buffer settings and this did not help.
I then tried using a working xorg.conf file from debian on this same machine and still the same problem. I then set up the supplied generic kernel with an initrd image and this has cured the problem, strange as I would not have thought the kernel would affect the video to this affect anyway it's working now so thanks for the help.

Regards,
Wayne
 
Old 10-16-2008, 09:31 PM   #8
blue900
LQ Newbie
 
Registered: Sep 2003
Location: Idaho
Distribution: slackware all the way
Posts: 13

Rep: Reputation: 0
Thumbs up problem solved

Made usable with posts above and some other googleing,
- Slackware 12.1, nvidia GeForce2 MX/MX 400 AGP card using Nvidia Driver
x86-96.43.07, Generic smp kernel.
X was hanging at logout with a black screen and an unblinking cursor at the top left of screen, keyboard frozen, required a hard shutdown at run level 4. I tracked it down to the Nvidia driver, worked fine without it at run level 4. It also worked fine with /etc/inittab at run level 3 with or with out the driver installed.
To get logged out without lockup in run level 4, I edited /etc/kde/kdm/kdmrc and added 'TerminateServer=true' under the heading [x-*-Core]to force kdm to restart X-server on logout. I just added it to the top of that section.
Now at Logout X is forced to restart and every thing is good and 3D works.
 
Old 10-16-2008, 10:19 PM   #9
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
Quote:
Originally Posted by blue900 View Post
Made usable with posts above and some other googleing,
- Slackware 12.1, nvidia GeForce2 MX/MX 400 AGP card using Nvidia Driver
x86-96.43.07, Generic smp kernel.
X was hanging at logout with a black screen and an unblinking cursor at the top left of screen, keyboard frozen, required a hard shutdown at run level 4. I tracked it down to the Nvidia driver, worked fine without it at run level 4. It also worked fine with /etc/inittab at run level 3 with or with out the driver installed.
To get logged out without lockup in run level 4, I edited /etc/kde/kdm/kdmrc and added 'TerminateServer=true' under the heading [x-*-Core]to force kdm to restart X-server on logout. I just added it to the top of that section.
Now at Logout X is forced to restart and every thing is good and 3D works.

That is cool. Thanks for the help on that. I too was having trouble with this as well, in my case I traced it back to the driver which was also a Geforce 2 mx/mx 400 AGP. However this is additional help for the future.
 
  


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
Blank screen when I log off or switch to a terminal liegerm Ubuntu 9 09-25-2006 01:00 PM
Switch to pseudo terminal you didn't log out of? xnomad Linux - General 2 07-19-2005 12:35 AM
Slackware Virtual Terminal Problem jon1591 Slackware 4 03-02-2004 12:01 PM
Terminal Konsole hangs/freeze kaboom Linux - Software 0 08-25-2003 07:06 AM
log in to virtual terminal when startup yenonn Linux - General 5 06-30-2003 07:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:16 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