slackware 12 freeze on log out or switch to virtual terminal
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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
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'.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.