Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on a Pentium-M nx5000 from Stage1 made easy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
michaelbevilacqua
n00b
n00b


Joined: 20 Mar 2005
Posts: 42
Location: Schwenksville, PA

PostPosted: Sun Aug 14, 2005 5:59 am    Post subject: Gentoo on a Pentium-M nx5000 from Stage1 made easy Reply with quote

Tested with Gentoo 2005.1 on my Compaq nx5000:

1) Load the fan.ko & thermal.ko acpi modules as the fan on these machines doesn't seem to want to turn on (BIOS bug?)

Code:

modprobe fan
modprobe thermal


2) Follow all of the steps as you normally would in the Gentoo handbook for a Stage1 install, including writing your make.conf (see my example below) until you get to:

Code:

scripts/bootstrap.sh -f


3) We want to get gcc 3.4.4 so that '-march=pentium-m' will work from scratch. As stated in an earlier post in the forums do the following

Code:

echo "sys-devel/gcc ~x86" >> /mnt/gentoo/etc/portage/package.keywords


4) Now emerge gcc with the bootstrap use flag

Code:

USE="bootstrap" emerge -v gcc


5) Now run the normal bootstrap

Code:

cd /usr/portage
scripts/bootstrap.sh -f
scripts/bootstrap.sh


6) Now install python to get around another known problem stated elsewhere in the forums

Code:

emerge -v python


7) Now remove the "sys-devel/gcc ~x86" we made in /mnt/gentoo/etc/portage/package.keywords in step three or emerge -e system will try and grab an older gcc, which will fail.

Code:

mv /mnt/gentoo/etc/portage/package.keywords /root


8) Finally, emerge your system

Code:

emerge -vp -e system
emerge -v -e system



Here is my current and tested make.conf:

Code:

CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/"
ACCEPT_KEYWORDS="~x86"
USE="-3dfx -3dnow -X -Xaw3d -a52 -aac -aalib -accessibility -acl -acpi -adabas -adns -afs -aim alsa -altivec -apache2 -apm -arts -atlas -audiofile avi -bash-completion -bcmath -berkdb -bidi -bindist -birdstep -bluetooth -bmp -bonobo -bootstrap -boundschecking -build -bzlib -calendar -canna -caps -cdb cdparanoia -cdr -chasen -cjk -cpdflib -crypt -cscope -ctype -cups -curl -curlwrappers -db2 -dba -dbase -dbm -dbmaker -dbx -debug -dedicated -dga -diet -dio -directfb divx4linux -doc -dv -dvb dvd -dvdr -dvdread -eds -emacs -emacs-w3 -emboss -empress -empress-bcs -emul-linux-x86 encode -esd -esoob -ethereal -ev6 -evo -examples -exif -expat -fam -fastcgi -fbcon -fdftk -ffmpeg -fftw -filepro -firebird flac -flash -flatfile -foomaticdb -fortran -freetds -freetype -freewnn -frontbase -ftp -gb -gcj -gd -gd-external -gdbm -geoip -ggi -gif -ginac -glut -gmp -gnome -gnustep -gnutls -gphoto2 -gpm -gps -gstreamer gtk gtk2 -gtkhtml -guile -hal -hardened -hardenedphp -howl -hyperwave-api -icc -icc-pgo -iconv -icq -ieee1394 -ifc -imagemagick -imap -imlib -informix -ingres -inifile -innodb -interbase -iodbc -ipv6 -jabber -jack java -javascript -jikes -joystick jpeg -junit -kde -kdeenablefinal -kdexdeltas -kerberos -krb4 -ladcca -lcms -ldap -leim -lesstif -libcaca -libedit -libg++ -libgda -libwww -lirc -livecd -lm_sensors -m17n-lib mad -maildir -mailwrapper -matroska -matrox -mbox -mcal -mcve -memlimit -mhash -migemo -mikmod -milter -mime -ming -minimal -mmap mmx -mng -mnogosearch -mono -motif -mozilla moznocompose moznoirc moznomail mp3 mpeg -mpi -msession -msn -msql -mssql -mule -multilib -mysql -mysqli -nas ncurses -netboot -netcdf -neXt -nhc98 -nis -nls -nocd -nocxx nptl -oci8 -odbc -offensive -ofx ogg oggvorbis -openal opengl -oracle7 -oracle -osc -oscar -oss -ovrimos pam -pcmcia -pcntl -pcre -pda -pdflib perl -pfpro -php -pic -plotutils png -portaudio -posix -postgres -ppds -prelude -profile -python -qdbm -qt quicktime readline -recode -ruby -samba -sapdb -sasl -scanner -sdl -selinux -session -sharedext -sharedmem -shorten -simplexml -skey -slang -slp -smartcard -sndfile -snmp -soap -sockets -socks5 -solid -source -sox -speex spell -spl -sqlite sse ssl -static svg -svga -sybase -sybase-ct -symlink -sysvipc -szip -tcltk -tcpd -test -tetex theora -threads -tidy -tiff -tokenizer truetype -uclibc -unicode -usb -usepackagedmakefiles userlocales -v4l -vanilla -vcd -vhosts -videos -voodoo3 vorbis -wddx -wifi -wmf -wxwindows -xface -xine -xinerama -xml -xml2 -xmlrpc xmms -xosd -xpm -xprint -xsl xv xvid -yahoo -yaz -zeo -zlib nptlonly i8x0 matroska real sse2 win32codecs cpudetection lzo"



Let me know if you run into problems or have any suggestions for these notes.
_________________
Michael Bevilacqua
Back to top
View user's profile Send private message
ShaneO
n00b
n00b


Joined: 17 Sep 2003
Posts: 8

PostPosted: Wed Aug 17, 2005 7:19 pm    Post subject: Reply with quote

emerge -v system fails for me with
Quote:

!!! ERROR: sys-devel/gcc-3.3.5.20050130-r1 failed.
!!! Function gcc_do_make, Line 1216, Exitcode 2
!!! emake failed with bootstrap-lean


I'm trying now without doing this
Quote:


7) Now remove the "sys-devel/gcc ~x86" we made in /mnt/gentoo/etc/portage/package.keywords in step three or emerge -e system will try and grab an older gcc, which will fail

and it seems to be working.

Installing on SONY VAIO S360 from Stage 1 using 2005.1 and this guide.
Back to top
View user's profile Send private message
michaelbevilacqua
n00b
n00b


Joined: 20 Mar 2005
Posts: 42
Location: Schwenksville, PA

PostPosted: Fri Aug 19, 2005 8:54 pm    Post subject: Reply with quote

That is the older GCC that will fail that I mention in step 7. If it keeps failing you should simply not install it and stick it into /etc/portage/package.mask
_________________
Michael Bevilacqua
Back to top
View user's profile Send private message
george23w
n00b
n00b


Joined: 10 Feb 2004
Posts: 19
Location: koblenz

PostPosted: Sat Aug 20, 2005 11:34 am    Post subject: Reply with quote

I had the same error like Shane0

For me it was :

Code:

echo "sys-devel/gcc ~x86" >> /etc/portage/package.keywords
echo "sys-devel/gcc-config ~x86" >> /etc/portage/package.keywords
echo "sys-libs/glibc ~x86" >> /etc/portage/package.keywords
echo "sys-libs/libstdc++-v3 ~x86" >> /etc/portage/package.keywords


after that it worked fine..

Hope it helps

greetz george23w
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum