LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   System crash when the screen turns off (http://www.linuxquestions.org/questions/linux-from-scratch-13/system-crash-when-the-screen-turns-off-557001/)

help_a_newbie 05-27-2007 06:58 AM

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.

:newbie:

druuna 05-27-2007 07:53 AM

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 ;)

kstan 05-27-2007 08:25 AM

For myself I think the problem come from your X server (mean your display). Try turn off screensaver, or install proper display card driver.

druuna 05-27-2007 08:35 AM

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.

help_a_newbie 05-28-2007 08:54 AM

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 ]

druuna 05-28-2007 09:27 AM

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.

help_a_newbie 05-28-2007 09:42 AM

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 ]


All times are GMT -5. The time now is 04:53 PM.