LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 03-06-2004, 05:50 PM   #1
rmdl
LQ Newbie
 
Registered: Feb 2004
Distribution: Win XP - still trying to get any linux distro working, pref. Gentoo
Posts: 13

Rep: Reputation: 0
Gentoo Bootstrap shuts down my laptop


During a Stage 1 bootstrap of Gentoo, my laptop shuts down. Why would this happen?

It's not a battery issue, as the AC is plugged in.

I've completely followed the installation instructions line-by-line 100% and when I do /usr/portage/scripts/bootstrap.sh, about 5 minutes into it, just craps out and shuts down my system. It shouldn't be doing this.

I have my CFFlags set as "-march=athlon-xp -O3 -pipe -fomit-frame-pointer"

and CHOST="i686-pc-linux-gnu"

There's nothing at all wrong with how I have things setup. Even did: export USE="-java" before the bootstrap to speed it up.

Also, since I removed my existing linux partition (red hat), the old grub.conf file was deleted.

I looked at grub documentation and to get into my windows partition (/dev/hda1), it says type "root (hd0,0)", but the grub loader complains about something unknown at 0x07 (which I guess is the filesystem type). The prompt appears (during boot) as: grub>
 
Old 03-09-2004, 09:58 AM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Your laptop is overheating. Start with a stage 3. Then recompile the system from there so you can use powermanagement to keep the processor from overloading.
 
Old 03-09-2004, 10:11 AM   #3
rmdl
LQ Newbie
 
Registered: Feb 2004
Distribution: Win XP - still trying to get any linux distro working, pref. Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
It's not overheating.

If I move the mouse every 5 minutes, it stays on just fine. If it was overheating, it would shut down regardless of if I move the mouse or not. I went 2 hours into the boostrap with moving the mouse every 5 minutes, but got sick and tired of it after a while.

It has to do with the system going into suspend or idle or whatever during compile.

Last edited by rmdl; 03-09-2004 at 10:15 AM.
 
Old 03-09-2004, 11:30 AM   #4
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Wow. Thats odd.

Well, creative problems need a creative solution...

Go find something that vibrates, shakes, moves, or otherwise can be used to make continues motion, and tape it to the mouse That'll keep bootstrap running without you. And once its done maybe you can get the problem fixed.

Either that, or go with the stage 3 and disable the power management features...

Are you using the acpi kernel btw? And the 2004.0 cd image?
 
Old 03-09-2004, 11:41 AM   #5
rmdl
LQ Newbie
 
Registered: Feb 2004
Distribution: Win XP - still trying to get any linux distro working, pref. Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
I'm using the 2004.0 cd image (the minimal).

ACPI should be on, I'm not doing "noacpi" during boot. I've also tried without it.

Let's say I do a stage 3, could I go back and re-run the bootstrap and compile everything to fit my system? That's kinda why I wanted to use Gentoo, and if I can't go back and re-do everything then I might as well stay with RedHat
 
Old 03-09-2004, 12:34 PM   #6
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Ok. So here's what ya do

Install your stage 3 gentoo. Don't define any extra use flags.

Get the system and X and everything you need going and working, so that it doesnt shut down every 5minutes.

Load it up without x running, and rmmod everything you don't need for the system to run.

Edit the /etc/make.conf so that its got all the use flags, compile options and optimizations you want.

Save the changes, and start with a..

emerge -e system

That'll rebuild the system with your use flags

then

emerge -s world

That'll rebuild the rest with your use flags
 
Old 03-09-2004, 12:48 PM   #7
rmdl
LQ Newbie
 
Registered: Feb 2004
Distribution: Win XP - still trying to get any linux distro working, pref. Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
Sweet, I'll try that out tonight!

Thank you VERY much, I appreciate it!
 
Old 03-09-2004, 02:09 PM   #8
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
I'm on day 3 of my emerge -e world... lol. Course, i defined a lot of use flags because I wanted a million features compiled in for my hardware...
 
Old 08-04-2004, 05:12 AM   #9
cthu
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 7

Rep: Reputation: 0
i recenlty read that -noacpi on boot option solves that problem

i got a Medion
 
  


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
Laptop shuts down whenever! Wiz22 Linux - Laptop and Netbook 10 08-21-2005 09:22 AM
Build Error During Gentoo Bootstrap jrtayloriv Linux - Newbie 2 12-31-2004 11:40 AM
Gentoo bootstrap problems DislexiK Linux - General 5 12-03-2004 01:22 AM
installing gentoo -- bootstrap error pumazi Linux - Distributions 1 11-10-2004 01:21 PM
Gentoo bootstrap.sh problems Devbmx Linux - Newbie 4 04-05-2004 11:58 AM


All times are GMT -5. The time now is 02:03 AM.

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