LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-27-2007, 06:58 AM   #1
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Rep: Reputation: 15
Unhappy System crash when the screen turns off


Hi,

I really need help here coz I can't go on building the system

When I leave my computer for a long time, the scren turns off and the system seems to be crashing (I tried to press everything but it didn't work). Actually, the system crashed when I left it compiling gcc (it took too much time). How can I avoid my screen to turn off?

Thanx, every comment is accepted.

 
Old 05-27-2007, 07:53 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I've never had this problem myself, but here are a few pointers you could try:

- I sounds like an apm, dpms and or acpi problem. Did you try starting (the liveCD) with the noapm / noacpi / nodpms option?

- Which liveCD version are you using? Maybe a slightly newer/older version could help. I googled and found out that someone had the same issue as you have. He used 6.2-5, using 6.3-pre1 or 6.2.1 solved his problem.

- (Semi serious) You could open a second terminal and keep your computer 'alive' by typing something every so often. But I have to admit that that is not a very workable solution
 
Old 05-27-2007, 08:25 AM   #3
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
For myself I think the problem come from your X server (mean your display). Try turn off screensaver, or install proper display card driver.
 
Old 05-27-2007, 08:35 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

@kstan: Turning of the screensaver could be helpful. But installing a proper driver will be a lot harder/not workable (this being a livecd).

I just thought of something obvious: Start and stay in runlevel 3. You don't need the X environment.
 
Old 05-28-2007, 08:54 AM   #5
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
Hi, and thanx for your replies.

Well, druuna, I don't know how to start the live cd in these modes. I do use the 6.2-5 version, and I don't thik I can download another version of it in these days. I also tried to keep the system awaken by moving the mouse, but this sometimes can lead to compilation failure. Anyway, I tried to compile all the big-sized packs like this, and I managed to do it. Now I'm in the beggining of the chapter 6 and I don't know what do I have to type to create the $LFS/{dev,......} dirs. It says permission denied and when I try to change to root, it asks for password, which I dont know. Can I shutdown my computer with safety now? (I just press the power button?)What do I have to type when i get in live cd again?

kstan, to say the truth, I didnt understand even a word from what u said!!! I'm new and I don't know how to disable screensaver (and i dont even know if this will help, as druuna said)

Anyway, thank you again, and please, help someone who wants to become a linux-expert!
[Posted by 85.74.70.220 via http://algart.net/ww This is added while posting a message to avoid misuse.
Try: http://webwarper.net/webwarper.exe Example of viewing: http://webwarper.net/ww/~av/www.linu...splay.php?f=13 ]
 
Old 05-28-2007, 09:27 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi again,

Quote:
Well, druuna, I don't know how to start the live cd in these modes.
At a certain point when booting the cd there's a part where it waits a while, it also gives you the possibility to enter some extra boot options or show the possibilities (F1 if I remember correctly).
But it looks like you don't need this anymore.

Quote:
I do use the 6.2-5 version, and I don't thik I can download another version of it in these days.
Yes you can: Download LFS liveCD

Quote:
Now I'm in the beggining of the chapter 6 and I don't know what do I have to type to create the $LFS/{dev,......} dirs. It says permission denied and when I try to change to root, it asks for password, which I dont know.
You are probably still user lfs (re-read chapter 5.32). You can used the id command to check. If you are lfs, just type exit or CTRL-d. Before you go any further, check if you are root (the id command) and check to see if LFS is still set correctly (echo $LFS).

Quote:
Can I shutdown my computer with safety now? (I just press the power button?)What do I have to type when i get in live cd again?
Between the end of chapter 5 and the beginning of chapter 6 is a 'safe' point to stop.

You never ever push the power button to stop your computer, there's a chance of HD('s) corruption and/or data loss. There are e few safe ways to stop, I always use init 0

You already asked about stopping and starting. In one of your other threads I gave you a lfs hint about this subject.

Hope this clears things up.
 
Old 05-28-2007, 09:42 AM   #7
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
Hey,

Yes, I remember having mentioned this again, and the hint you gave me too. I followed the instruction and when i typed the "export //" command to check if all variables are right, the message was not the same as the hint. I guess it may have been caused because I didt use a command to shutdown the system, i just pressed the power button, or because i did sth wrong. anyway, about th other issue, yes i was lfs user. so if i press "exit" it turns to root without a code needed? I have the chapter 5.32 in front of me right now, and the only command it gives is "chown -R root:root $LFS/tools", to change the ownership. I already did that. Is this command the "id" command?
Thanx

[Posted by 85.73.24.126 via http://webwarper.net This is added while posting a message to avoid misuse.
Try: http://webwarper.net/webwarper.exe Example of viewing: http://webwarper.net/ww/~av/www.linu...splay.php?f=13 ]
 
  


Reply

Tags
crash, screen



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
Screen turns off after nvidia driver install slimgarfield29 SUSE / openSUSE 2 05-20-2006 01:15 AM
screen turns of when X starts with nvidia drivers on mandrake 10 amon Linux - Hardware 7 03-15-2006 09:57 AM
when loading my screen flashes and monitor turns off. jdm Red Hat 2 07-02-2004 10:28 AM
Fedora Core 2 test 2, Screen turns off orvtech.com Fedora - Installation 8 05-28-2004 10:34 AM
SuSE problem, screen turns white phillipd Linux - Newbie 0 07-09-2002 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

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