Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
_Deprecated_ CONRAD Install Guide 1.5.0 'Revolution'
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sat Jan 21, 2006 3:43 am    Post subject: _Deprecated_ CONRAD Install Guide 1.5.0 'Revolution' Reply with quote

SEE VERSION 2.0.x
https://forums.gentoo.org/viewtopic-t-433878.html
-----
Conrad Gentoo Projects Presents...
NOW SUPPORTS 64-BIT!
CONRAD Install Guide 1.5.0 - Named: "Revolution"
THIS IS THE 4.0.3 VERSION!
For the CONRAD 1.0-1.5 UPGRADE GUIDE SEE SECTION B1 AT THE BOTTOM
-----
GCC 4.0.3
GCC 4.0.3 is planned to come AFTER GCC-4.1 is released, shortly after. This guide uses a CVS Overlay ebuild in an attempt to use a pre-release of GCC 4.0.3. It offers high performance, though it is unsupported, it works pretty well, and if you try this guide, hopefully it works well for you too! :)
-Cheater
-----
Conrad Install Guide Dev. Edition
If you are willing to test gcc 4.1 beta releases, binutils-2.16.91* with -Bdirect support, and future releases of Glibc-2.3.90*, check out the Conrad Install Guide Dev. Edition
Warning: THIS GUIDE IS EXPERIMENTAL, THE DEV GUIDE IS VERY EXPERIMENTAL AND USES A LOT OF OVERLAYS, It is assumed you have a fair amount of gentoo knowledge before continuing
https://forums.gentoo.org/viewtopic-t-429276.html
-----
UPDATES
2/05/06 - Changed kernel to 2.6.15-no3, made it use nicksched cpu schedular by default
2/04/06 - Upgraded snapshot to latest (20060202) - and added a new patch
1/30/06 - Edited AMD64 Final make.conf, should fix the problems.
1/29/06 - Changed kernel to No-Sources-2.6.15-r2
1/29/06 - Fixed GCC Overlay (bad patch)
1/28/06 - Updated overlay to latest GCC 4.0 Snapshot
-----
Forewarning
This IS an advanced install guide for gentoo linux, it is assuming you have knowledge of gentoo and gnu/linux in general!
-----
The most hardcore and up-to-date of its kind!
One of a kind custom gcc 4.0.3 overlay!
Easier than you make think!
------
FAQ
(Q) This is insane, it is so unstable, a system would never run like this!
(A) Well, it is a little intense, but for reasons, the intensity is stable enough for 98% of users - There are only very few packages that are known to break, qemu is the only one I personally know of. The result is a system faster than all others, even though it may take long to get there.
(Q) Isn't reiser4 the most unstable filesystem? Will I lose all my files?
(A) Reiser4 is probally the most unstable filesystem, besides windows :-p, because it is the newest. Is it unstable in general? No it is completely usable and friendly. A few releases ago you may have lost your files, but it is in a much more stable state right now.
(Q) How do I submit bug reports including unsupported testing items, related problems to bugs.gentoo.org?
(A) You can not post the bug, UNLESS you include a patch, then it is perfectly acceptable, submit bugs to upstream developers rather than to gentoo.
------
CONRAD IRC CHANNEL
Join - #conrad on FreeNode (no longer #conrad-gentoo)
FOR REISER4 AS MENTIONED IN GUIDE...
You need the Conrad Install LiveCD
- x86 https://forums.gentoo.org/viewtopic-t-425194.html
- amd64 https://forums.gentoo.org/viewtopic-t-415078.html
-----
NOTICE:
The Conrad guide is not supported in any way by the Gentoo Linux Foundation.
-----
Upgraded to 1.5.0 - "Revolution" - CHANGES
-----
(1) - Revised to new LDFLAG Setup
(2) - Now on gcc 4.0.3 overlay that can be a big speed increase
(3) - Now only supports 1 install option again
(4) - Improved some errors in the guide to make it more clear
(5) - Upgraded to kernel 2.6.15
(6) - AMD64 SUPPORTED!
-----
The only guide with GCC 4.0.3
The only guide with 100% Reiser4/Without copying the filesystem!
-----
Conrad Development Team
!WooHoo!
(/Builder/Tester/Scripter/Graphic\Web Designer) - Cheater1034
(Scripter-Lucky/Tester/IRC/Stage3-Reg.) - Brainiac Ghost
(Scripter-Lucky/Tester) - mdshort
(Tester/Dev-Edition/Stage3-Dev.) - Nesl247
(Host/Tester/Taijuan Manager) - thoffmeyer
-----
This is a hardcore gentoo installation guide - When you reboot and complete your installation process, you may fly into the wall behind you and break something on count of the incredible speed that will be harnessed after installing gentoo through The Official Conrad Gentoo Install
-----
As always, this is not supported by gentoo - This is experimental - For advanced users only - So on and so forth
-----
Version: 1.5.0 "Revolution"
-----
IMPORTANT
* DO NOT POST BUGS REGARDING UNSUPPORTED SOFTWARE (gcc 4.0.x. glibc-2.3.6, overlays, etc) TO GENTOO!
-----
Get Ready...
-----
Getting Started
USE AT YOUR OWN RISK...
------
Continue until you get to the 3 options
------
1 - The LiveCD

1.1 - First of all, we are going to download the LATEST Conrad Gentoo Installation LiveCD - This is required for reiser4 installation
REISER4 IS NOT REQUIRED! If you do not want to use reiser4, you can use this livecd, or the Gentoo liveCD
Code:

(x86 users)
http://forums.gentoo.org/viewtopic-t-425194.html
(amd64 users)
http://forums.gentoo.org/viewtopic-t-415078.html


1.2 - Burn it to a CD and boot it - Then choose the boot option for your needs

2 -Preparing the Network

2 - Make sure the network is working properly - Accomplish this my doing "ping google.com" or "ifconfig" in order to test the internet connection, if it is not working by default, try...
Code:
net-setup eth0

Or if you simply run by dhcp
Code:
dhcpcd eth0


3 - Hard disk configuration

3.1 - View the hard disk configuration
Code:

 # hdparm -i /dev/hda


3.2 - Test the Hard Disk's speed
Code:
hdparm -tT /dev/hda


3.3 - Get the maximum from your hard disk - OPTIONAL
I ONLY Reccomend this option for ATA133 hard drives, not anything lower.
Code:

(ide ata133 drives only)
hdparm -d1 -c1 -X69 /dev/hda
(ide ata100 or lower drives)
hdparm -d1 -c1 /dev/hda


4 - Partitioning the Drive

4.1 Using Fdisk
Code:
# fdisk /dev/hda
Command (m for help): p


Disk /dev/hda: 240 heads, 63 sectors, 2184 cylinders
Units = cylinders of 15120 * 512 bytes

Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1        14    158760  83  Linux # boot
/dev/hda2            15        49    264600   82  Linux swap # swap
/dev/hda3            50        70    remainder   83  Linux # root


4.2 - Setup your partition scheme
Code:
Something like this
Partition File System    ID  Size      Description
/dev/hda1 ext2   83  100 MB    Boot partition
/dev/hda2 (swap)         82  512 MB    Swap partition
/dev/hda3 Reiser4  83  Remainder Root Partition

When done, hit "w" in fdisk to write the changes

4.3 - Creating your partitons - Reiser4/reiserfs/ext3 for root, ext2/ext3 for boot, swap for swap
Code:
# mkfs.reiser4 /dev/hda3
# mkfs.ext2 /dev/hda1
# mkswap /dev/hda2
# swapon /dev/hda2


4.4 - Mounting your hard drives
Code:
# mount /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/proc && mkdir /mnt/gentoo/boot
# mount -t proc none /mnt/gentoo/proc
# mount /dev/hda1 /mnt/gentoo/boot



5 - Setting up for a chroot

5.1 - Downloading and extracting a stage3 tarball
Code:
# cd /mnt/gentoo
(x86 users choose and download your architecture here)
http://gentoo.osuosl.org/releases/x86/2005.1-r1/stages/
(amd64 users download the following)
# wget http://gentoo.osuosl.org/releases/amd64/current/stages/stage3-amd64-2005.1-r1.tar.bz2

# tar -jxvpf stage3-ARCH-2005.1-r1.tar.bz2

5.2 - Downloading and extracting a portage snapshot
Code:
# wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
# tar jxvpf portage-latest.tar.bz2 -C /mnt/gentoo/usr


5.3 - Copying resolv.conf
Code:
#cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf


6 - Chrooting into an environment

6.1 - Chrooting and Running env-update;source /etc/profile
Code:
# chroot /mnt/gentoo /bin/bash
# env-update; source /etc/profile


6.2 - Emerging Sync
Code:
# emerge sync


6.3 - Setting the timezone
(Change according to your zone)
Code:
# rm -rf /etc/localtime
# ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime


7 - Creating a new make.conf

7.1 - Creating a new make.conf
We will create a new make.conf here, here's what We'll do.
Code:
# rm /etc/make.conf

NOW- You need to copy-paste this, or edit it manually, or type the lines, here is the make.conf we'll use For Now
Code:

(x86 users)
-------------
# pentium-m users choose '-march=pentium3' TEMPORARILY
# athlon64 users seeking x86 choose '-march=athlon-xp' TEMPORARILY
CFLAGS="-O2 -march=YOURARCH -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

ACCEPT_KEYWORDS="~x86"

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
PORTAGE_NICENESS="10"

GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"

AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly"
-------------
(amd64 users)
==========
# Sempron users can use '-march=k8'
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

ACCEPT_KEYWORDS="~amd64"

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
PORTAGE_NICENESS="10"

GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"

AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly"


7.3 - Making appropriate portage LOG and OVERLAY directories
Code:
#mkdir -p /var/log/portage
#mkdir -p /usr/local/portage


8 - Building/rebuilding/system-rebuilding with gcc 4.0.3

8.1 - Downloading the gcc 4.0.3/cvs snapshot
Code:
# wget http://enderandrew.com/conrad/gcc-4.0.3-overlay.tar.bz2
# mkdir /usr/local/portage/sys-devel
# tar jxvf gcc-4.0.3-overlay.tar.bz2 -C /usr/local/portage/sys-devel


8.2 - Adding Necessary entries to package.keywords/package.unmask
Here are the files you need to create...
/etc/portage/package.use
Code:
sys-libs/glibc nptl nptlonly userlocales
sys-devel/libperl ithreads
dev-lang/perl ithreads
sys-devel/binutils multislot
sys-devel/gcc multislot

/etc/portage/package.keywords
Code:

=sys-libs/glibc-2.3.6-r1 -*
=sys-devel/gcc-4.0* -*

/etc/portage/package.unmask
Code:
=sys-libs/glibc-2.3.6
=sys-devel/gcc-4.0*


8.2 - (OPTIONAL) Setting locales.build
You have to set this according to your region/area/language
This is completely optional, it just saves build time
Code:
# nano /etc/locales.build


8.3 - Building the toolkit
Code:

# emerge portage
# emerge metadata
# emerge gcc-config mpfr glibc binutils gcc libstdc++-v3 libtool portage


8.4 - Running gcc-config and binutils-config
Code:
# gcc-config -l
(view options)
1 ) i686-pc-linux-gnu-3.3.5_2005* (or x86_64-pc-linux-gnu on 64-bit machines)
2 - 5 ) (other hardned, etc compilers of 3.3.5)
6 ) i686-pc-linux-gnu-4.0.3.2006* (or x86_64-pc-linux-gnu on 64-bit machines)
# gcc-config 6
# emerge-aP gcc
# binutils-config -l
1 ) i686-pc-linux-gnu-2.6.15 *
2 ) i686-pc-linux-gnu-2.16.1
(should be similar to this)
# binutils-config 2
# emerge -aP binutils
# env-update; source /etc/profile


8.6 - Changing the make.conf
Edit the make.conf to look like the following... (change CFLAGS, CXXFLAGS, LDFLAGS, and USE FLAGS)

NOTE: IN THE LDFLAGS, -Wl is a "L" as in "Lucky" not a "1" or an "I"
Code:

(X86 MAKE.CONF)
........................
# Pentium-m users change march to '-march=pentium-m'
# Athlon64 users seeking x86 environment, change march to '-march=athlon64'
CFLAGS="-O2 -march=YOURARCH -fweb -frename-registers -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden -Wl,-O1"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"

ACCEPT_KEYWORDS="~x86"

PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORT_LOGDIR="/var/log/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORTAGE_NICENESS="10"

GENTOO_MIRRORS="http://gentoo.osuosl.org"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"

AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly"
----------------------
(AMD64 MAKE.CONF)
............................
CFLAGS="-O2 -march=athlon64 -fweb -fomit-frame-pointer -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"

ACCEPT_KEYWORDS="~amd64"

PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORT_LOGDIR="/var/log/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORTAGE_NICENESS="10"

GENTOO_MIRRORS="http://gentoo.osuosl.org"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"

AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly"


8.7 - Rebuilding the toolkit
Code:
# emerge glibc binutils libstdc++-v3 gcc libtool portage


8.8 - Rebuilding the System
(I ONLY Reccomend this once!)
Code:

# emerge sync
# emerge --emptytree system


9 Configuring the kernel

9.1 - No-Sources
Why use no-sources? It is my patchset I now maintain, which means it has all I feel is required and helpful (no staircase, but a lot of mm patches, reiser4, fbsplash, vesafb-tng, power management fixes, suspend2,squashfs,unionfs, and much more, including a home made cleaner /dev patch, to make the system possibly faster, and have a cleaner /dev)

9.2 - Emerging No-Sources
(NOTE: Depending on which kernel you chose, substitute as necessary)
Code:
# wget http://no.oldos.org/files/2.6.15-no3/no-sources-2.6.15-r3.ebuild
# mkdir -p /usr/local/portage/sys-kernel/no-sources
# mv no-sources-2.6.15-r3.ebuild /usr/local/portage/sys-kernel/no-sources
# ebuild /usr/local/portage/sys-kernel/no-sources/no-sources-2.6.15-r3.ebuild digest
# emerge no-sources


9.4 - Configuring and Compiling the kernel
-----
I can only help you out so much, what I can do is tell you how to get started, and what is required...
Code:
# cd /usr/src/linux
# make menuconfig

Code:
Required Options...
Code maturity level options --->
  [*] Prompt for development and/or incomplete code/drivers

General setup  --->
  [*] Support for hot-pluggable devices
  CPU Schedulars -->
       Default CPU Schedular --- (Nicksched CPU Schedular)
(THIS IS OPTIONAL, YOU CAN CHOOSE ANY SCHEDULAR YOU WANT)

Block Later --->
 IO Schedulars -->
     Anticapatory <*>
     Deadline <*>
     CFQ <*>
         Default == (Anticapatory = reccomended for older hard drives, deadline = reccomended for faster hard drives, cfq = NOT RECCOMENDED FOR ANY REISER4 SETUP)

Loadable Module Support --->
  [*] Module unloading support

Processor type and features --->
  [*] Standard x86 support
  (Change accordingly)
  (Your Processor Family) Processor family
  [*] Symmetric multi-processing support
  # IF YOU HAVE 1GB OF MEMORY
         Memory Split (3G/1G user/kernel split (for full 1GB Low memory)) ---->

File systems --->
  Pseudo Filesystems --->
    [*] /proc file system support
    [ ] /dev file system support (OBSOLETE)
    [*] Virtual memory file system support (former shm fs)
  <*> Ext3 journalling file system support
  <*> Second extended fs support
  <*> Reiser4 (EXPERIMENTAL Very Fast General Purpose FileSystem)
     < > Reiser4 debug mode

Device Drivers --->
  ATA/ATAPI/MFM/RLL support --->
    [*] Generic PCI bus-master DMA support
    [*]   Use PCI DMA by default when available
    [*] SCSI Emulation Support

Device Drivers --->
  Networking support --->
    <*> PPP (point-to-point protocol) support
    <*>   PPP support for async serial ports
    <*>   PPP support for sync tty ports
  100 MBIT/1000 MBIT --->
   (make sure you compile in your proper network driver
   Sound --->
    [M] Sound card support
        Alsa --->
            PCI Cards --->
                 [M] Your Driver, mine is intel8x0, a common one is emu10k1 for soundblaster cards

USB Support --->
  <*>   USB Human Interface Device (full HID) support

Device Drivers > Graphics support:
 [*] Support for frame buffer devices
 <*>   VESA VGA graphics support
         VESA driver type (vesafb-tng)  --->
 (HRESxVRES@FREQ) VESA default mode    # Pick your resolution - eg. 1024x768@84

Device Drivers > Graphics support > Console display driver support:
 [*] Video mode selection support
 <*> Framebuffer Console support

Device Drivers > Graphics support:
 [*] Support for the framebuffer splash

Device Drivers > Block devices:
 <*> RAM disk support
 (4096) Default RAM disk size (kbytes) (NEW)
 [*]   Initial RAM disk (initrd) support


9.5 - Emerging Grub
Code:
(make sure the /boot partition is mounted)
# emerge grub

The Conrad guide no longer supports installing on a root partition - it works fine on any other filesystem, but reiser4 and grub can cause serious problems, 99% of the time it will only boot to a grub CMDLINE
Windows users, your partition layout could look like this, 1-windows,2-swap,3-root,4-boot

9.6 - Compiling the Kernel
Code:
# make && make modules_install && make install


10 - Emerging additional system files

10.1 Emerging necessary programs
Code:

# emerge syslog-ng reiser4progs reiserfsprogs e2fsprogs sysfsutils dhcpcd hotplug coldplug gentoolkit acpid


10.2 Adding the programs to the default runlevel
Code:
# rc-update add syslog-ng default
# rc-update add net.eth0 default
# rc-update add coldplug default
# rc-update add acpid default


11 - Setting up the framebuffer splash
If you followed the kernel compile options, you should have everything required

11.1 - Emerging splashutils and a few themes
Code:
# emerge splashutils
# emerge splash-themes-gentoo
(or if you want bootsplash themes...)
# emerge --nodeps --oneshot bootsplash-themes
(splashutils converts them into gensplash themes*)
# rc-update add splash boot


11.2 - Generating an initramfs (initrd) image
Code:
# cd /etc/splash
# splash_geninitramfs -v -g /boot/fbsplash-gentoo -r 1024x768 gentoo


12 - Setting up grub

12.1 - The CONRAD Custom Grub Splash
Brand new Conrad Grub Splash, will be seen on the next conrad livecd (unless it uses isolinux, it's in debate)
This custom splashimage is not totally conrad-based, it still states gentoo linux at the top in big bold letters :)
Code:
Preview: http://www.bfgraphics.net/conrad/conrad-grub.png
Download:
http://bfgraphics.net/conrad/0.5.0/grub/conrad.xpm.gz


12.2 - Grub.conf

Code:

Boot partition...

default 0
timeout 30 # amount of time (seconds) before grub boots the selected option
splashimage (hd0,0)/grub/conrad.xpm.gz
# alternitively, you can use splash.xpm.gz, which comes with the ebuild of grub

title=Conrad-Gentoo
root (hd0,0) # boot partition
# FOR CPUSCHED, YOU CAN CHOOSE (ingosched,nicksched, staircase, spa_no_frills, spa_ws, spa_svr, spa_ebs or zaphod)
# DEFAULT Is ingosched, I will use nicksched here
kernel /vmlinuz-2.6.15-no3 cpusched=nicksched root=/dev/hda3 video=vesafb:1024x768-16@84,mtrr,ywrap splash=silent,fadein,theme:gentoo quiet CONSOLE=/dev/tty1
initrd (hd0,0)/fbsplash-gentoo

title=Windoze (if existent)
rootnoverify (hd0,3)
makeactive
chainloader +1


12.3 - Running grub to install grub
Note: GRUB will only install on reiser4 partitions if you installed it the reiser4 way
Code:

# grub
<grub:> root (hd0,0) # boot partition
# boot partiton
<grub:> setup (hd0)
<grub:> quit


13 - Configuring your system

13.1 - Editing configuration files
Code:
# nano /etc/conf.d/hdparm
Add the following (OPTIONAL)
# ATA133 DRIVES ONLY!
hda_args="-d1 -X69 -c1"
# ALL OTHER ATA DRIVES
hda_args="-d1 -c1"
# CDROM DMA
cdrom0_args="-d1"


13.2 - Set your hostname and domainname
Code:
# nano /etc/conf.d/hostname
(Set your hostname)
HOSTNAME="conrad-gentoo"

# nano /etc/hosts
127.0.0.1 localhost
..change to..
127.0.0.1 conrad-gentoo
# ^ = your hostname

Code:
# nano /etc/conf.d/domainname
# DNSDOMAIN="gentoo.org"
# NISDOMAIN=""
- If you don't know what a nisdomain is, leave it blank

Editing the /etc/conf.d/net
(Not necessary for dhcp users as of 2005.1)
Code:
# nano /etc/conf.d/net
For possible lines, visit the Configuring the Network section in the Gentoo Handbook Here
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8#doc_chap2


13.3 - Configuring FSTAB
Code:
# nano /etc/fstab
# <fs>               <mountpoint>  <type>       <opts>               <dump/pass>
/dev/hda1            /boot         ext2     noauto,notail        1 2
/dev/hda3            /             reiser4     notail,noatime,nodiratime          0 1
/dev/hda2            none          swap         sw                   0 0
/dev/hdd   /mnt/cdrom    iso9660      user,noauto,ro,exec  0 0
/dev/fd0             /mnt/floppy   auto         noauto,users         0 0

# NOTE: The next line is critical for boot!
none                 /proc         proc         defaults             0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none                 /dev/shm      tmpfs        nodev,nosuid         0 0


13.4 - Setting up users
First set the root password
Code:
# passwd
<enter new password>
<confirm new password>


Then set up a user
Code:
# useradd -m -G users,wheel conrad
# passwd conrad
<set conrads password


14 - Rebooting and Booting!


14.1 - Rebooting And Unmounting
Code:
# umount /boot
# umount /proc
# exit
# umount /mnt/gentoo
# reboot


14.2 - Booting the system
Find yourself at a grub menu, and boot into your system
If you get a kernel panic then check to make sure you configured everything properly

15 - Other Configuration

15.1 - Looking at the possible use variables
Code:
# nano /usr/portage/profiles/use.desc

There are tons of user variables, by x86 the following are used by default
Code:
USE="x86 oss apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde gnome libg++
libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sdl
slang spell ssl svga tcpd truetype X xml2 xmms xv zlib indent"


15.2 - Setting USE Flags

There are tons of use flags to choose from, personally, I like a gnome/gtk/opengl/nvidia system, here is how I will set my use flags
Code:
# nano /etc/make.conf

USE="nptl alsa X gtk gnome -qt -kde -arts win32codecs nvidia opengl"[/code]

15.3 - Deleting the 'netmount' service if it is unneeded
Most people don't need this, it will fail to start in most cases
Code:
# rc-update del netmount


For more In-Depth configuration information, consult the Gentoo Handbook


16 - Installing Xorg-X11 and a graphical environment

16.1 - Emerging Xorg
Code:
# emerge xorg-x11


16.2 - Getting an xorg.conf setup
This config *SHOULD* work on most systems
Code:
# emerge mkxf86config
# mkxf86config.sh


16.3 - Installing GNOME or KDE

For Gnome...
Code:
# emerge gnome gdm
(light)
# emerge gnome-light gdm


For KDE
Code:

(monolithic)
# emerge kde gdm
(meta)
# emerge kde-meta gdm


16.4 - Additional configuration
Code:
# nano /etc/rc.conf
FIND
# DISPLAYMANAGER="xdm"
uncomment it and change it to GDM
# rc-update add xdm default
# xorgconfig
<go through this script>


16.5 - Graphics Drivers
If you have 3D acceleration on your card, you may want to, and should install the NVidia or ATI Drivers.
Gentoo NVIDIA Guide: http://www.gentoo.org/doc/en/nvidia-guide.xml
Gentoo-Wiki ATI Guide: http://gentoo-wiki.com/HOWTO_ATI_Drivers

16.6 - The CONRAD Wallpaper Archive

Code:
# Wallpaper 1 - MacOSX/Conrad
http://www.bfgraphics.net/conrad/GFX/conrad-wallpapers/1-macosconrad/



17 - Configuring ALSA
For more information you may want to visit the Gentoo Linux Alsa Guide...
Gentoo Alsa Guide: http://www.gentoo.org/doc/en/alsa-guide.xml

17.1 - Emerging alsa-utils

Code:
# emerge alsa-utils


17.2 - Running alsaconf
Since alsa 0.9 (i believe) there has been an excellent configurator script included for ALSA
Code:
# alsaconf


17.3 - Editing Additional Files

Code:
# nano /etc/modules.d/alsa
<Find near the botton snd-***, and sound-***>
change *** to your sound card name, for example...
snd-intel8x0 sound-intel8x0
snd-emu10k1 sound-emu10k1


17.4 - Running ALSAMIXER
You should run alsamixer to adjust the levels of your card, and make sure it is all unmuted, you can press 'M' to unmute/mute the card, by default, alsaconf should unmute all or most, depending on setup, of the things required.
Code:
# alsamixer


17.5 - Adding alsasound to the default runlevel
Code:
# rc-update add alsasound default



Now alsa should be successfully configured, and configured right - Additional tools you may use could be, alsamixer, amixer, etc

18 - Keeping your system up-to-date


18.2 - Updating the world
First of all always keep the sync up-to-date, a emerge sync once a day atleast is reccomended
Code:
# emerge sync

TO update all the packages, run
Code:
# emerge -u world


//End Conrad Guide :)

B1 - CONRAD 1.0-1.5 UPGRADE GUIDE
Well, maybe some people want to upgrade to CONRAD 1.5, here is a small way of HOWTO do it.
(this is not thorough, do not make mistakes)
Code:
# wget http://enderandrew.com/conrad/gcc-4.0.3-overlay.tar.bz2
# mkdir /usr/local/portage/sys-devel/
# tar jxvf gcc-4.0.3-overlay.tar.bz2 -C /usr/local/portage/sys-devel
# emerge gcc-config mpfr glibc binutils gcc libstdc++-v3 libtool portage
# gcc-config 2
# emerge -aP gcc
# env-update; source /etc/profile
-------
(At this point change the make.conf)
CFLAGS="-O2 -march=YOURARCH -fweb -frename-registers -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden -Wl,-O1"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
ACCEPT_KEYWORDS="~x86"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORT_LOGDIR="/var/log/portage"
PORTDIR_OVERLAY="/usr/local/portage"
GENTOO_MIRRORS="http://gentoo.osuosl.org"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTAGE_NICENESS="10"
AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly"
-------
# emerge glibc binutils libstdc++-v3 gcc libtool portage
# emerge -e system; emerge -e world
(CONRAD 1.5.0 KERNEL UPGRADE)
# wget http://no.oldos.org/files/2.6.15-no3/no-sources-2.6.15-r3.ebuild
# mkdir -p /usr/local/portage/sys-kernel/no-sources
# mv no-sources-2.6.15-r3.ebuild /usr/local/portage/sys-kernel/no-sources
# ebuild /usr/local/portage/sys-kernel/no-sources/no-sources-2.6.15-r3.ebuild digest
# cp /usr/src/linux/.config /usr/src/config
# emerge no-sources
# rm /usr/src/linux
# ln -s /usr/src/linux-2.6.15-no3 /usr/src/linux
# cd /usr/src/linux
# mv /usr/src/linux/config /usr/src/linux/.config
# make menuconfig
(Load an alternate config file -> .config, then press enter)
# mount /boot
# make; make modules_install; make install
# nano /boot/grub/grub.conf
(..FIND.. kernel /vmlinuz-2.6.15-gentoo-r* ...., change to, vmlinuz-2.6.15-no2)
# umount /boot
# reboot
(remerge external modules possible built in, such as...)
# emerge nvidia-kernel (nvidia users) alsa-driver (if alsa is NOT in-kernel) orinoco (if orinoco is not in-kernel) ... etc

For any questions just ask me, i will clarify anything :)
-----

Well this brings us to our end, I hope you the best of luck.

Now your system should be on the edge in speed and it should be the most up-to-date system once installed.

Your system (hopefully) Now includes...
* Reiser4 Filesystem (possibly)
* GCC 4.0 based system
* The LATEST Packages portage has to offer
* The speed of a military jet x 3
* A very nice boot-up splash with a progress bar

-----
Please leave your feedback, suggestions,support issues or other related things to conrad in this forum.

Do not post gentoo issues in this forum, only related issues with following this guide.

//End Conrad Installation Guide 1.5.x

For Support
For support issues, post in this forum.

If you need other assistance, have suggestions, or need to contact me personally, do so at.
Email: conrad-gentoo@bfgraphics.net
AIM: cheater1034
IRC: #conrad
------
Be sure to check out the Conrad Gentoo Projects Home Page

------
If you are interested in developing/help develop something for Conrad Gentoo Projects, email me at, conrad-gentoo@bfgraphics.net

If you used this to install gentoo - Thankyou, I hope your install went well.
We ask all who try this to take a few moments of their time to type what they thought of the install, how easy it was, and how it works.

Thankyou :)
- Cheater1034

Like it?
If you tried this, and liked it - Why not tell a friend or two? Maybe even add it to your signature :)

Donate (Hardware or through PayPal
I wont beg anyone for donations - anywhere from $1-$1000 is accepted and appreciated (well maybe $1000 a little bit more :lol:)
If you have some extra money or obsolete computer parts - I would love any of it :)

Currently, Conrad is all built on, 1 Machine : AMD Athlon 64 2800+ (O/C'd 200 mhz to 3000+ speed), 768 MB Ram, 120 GB ATA133 HDD

If you are interested in helping Conrad get better hosting ($20/mo for 400 GB Bandwidth and 10 GB space) or helping us get new build machines to setup and built constantly new concepts for conrad, it is a big help to donate.
PayPal - 1
If you are interested in helping Conrad Gentoo Projects through a small cash donation (PayPal) Please do the following:
1. Go to http://conrad-gentoo.bfgraphics.net/
2. Go to the support page (link at top of page)
3. Click the "Make a Donation" button at the bottom of the support page
Hardware - 2
Any hardware donation is accepted (except ISA Cards and P2 or lower class CPUs)
If you have any of the following items - (CPUs, Hard Drives, Memory Sticks, Motherboards, Vid Cards, or already Built systems, etc) - That aren't in use, why not Donate them to Conrad? I will pay for shipping on any item you donate :)
HOWTO:
1. Email conrad-gentoo@bfgraphics.net with the item you are willing to donate, a picture (for proof), and your PayPal account information - and a shipping quote from UPS, USPS, DHL, Fed-Ex, etc. I will send you the electronic funds through paypal.
-----
Future Conrad Projects
* Conrad Stage3 Install Tarballs - (GCC 4.0 Enabled - Athlon-XP, i686, i586, Pentium3 <maybe>, pentium4 <maybe>, prescott <maybe>) - They can be used in this install to save a bundle of time.
-----
Again, if you are interested in joining Conrad Development, email me at, conrad-gentoo@bfgraphics.net - If you have any suggestions, also reach me there :)


Post all support issues in this thread
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.


Last edited by cheater1034 on Tue Feb 21, 2006 11:08 pm; edited 31 times in total
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sat Jan 21, 2006 5:54 pm    Post subject: Reply with quote

I am building nxsty's new glibc overlay. The 2.3.90 version contains the -Bdirect patch again so if you do use it, it should work.

Edit: Upon checking the explanations for your new cflags (-frename-registers) it appears that one of them might not be recommended.

-frename-registers: Not enabled by default at any level because it has known bugs.

Have you tested it at all? Anyways I also recommend adding a part to run alsamixer so that people don't wonder later why sound is muted. (I didn't see it but maybe it is there.)

Overall this is a huge improvement to your older version. I like how you removed all the different LSANE PSANE etc options.
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sat Jan 21, 2006 6:44 pm    Post subject: Reply with quote

nesl247 wrote:
I am building nxsty's new glibc overlay. The 2.3.90 version contains the -Bdirect patch again so if you do use it, it should work.

Edit: Upon checking the explanations for your new cflags (-frename-registers) it appears that one of them might not be recommended.

-frename-registers: Not enabled by default at any level because it has known bugs.

Have you tested it at all? Anyways I also recommend adding a part to run alsamixer so that people don't wonder later why sound is muted. (I didn't see it but maybe it is there.)

Overall this is a huge improvement to your older version. I like how you removed all the different LSANE PSANE etc options.

:) Thankyou for the feedback.

-frename-registers = tested by me, just as stable as the old Lsane Option, except I found this guide to be a bit faster when the result is produced.

I built gnome, xfce4, and kde for testing if it, I also built things like, firefox, thunderbird, openoffice, gaim, mplayer, xmms, bmpx, xchat, etc, for testing purposes.

I would say I have 500+ packages installed and the only one that failed was sox, due to the nitro kernel ;)

I will add alsamixer to check levels of sound ;)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sun Jan 22, 2006 8:33 pm    Post subject: AMD64 Supported Reply with quote

Finally! Amd64 is now supported by the Conrad Guide!

Added link to 64-bit reiser4 livecd, edited fstab, added make.conf for amd64 users.
------
AMD64 throughly installed by Chryseus, long-time #conrad irc channel visiter
AMD64 roughly tested by Cheater1034

Thankyou Chryseus :)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Mon Jan 23, 2006 3:22 pm    Post subject: Reply with quote

Shouldn't ACCEPT_KEYWORDS be "~amd64" instead of "~x86" for amd64 systems?
_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
georgz
Tux's lil' helper
Tux's lil' helper


Joined: 06 Dec 2002
Posts: 137
Location: Munich, Germany

PostPosted: Mon Jan 23, 2006 5:01 pm    Post subject: Reiser4 slow? Reply with quote

Hi,

I installed according to this guide on my amd64 notebook. All fine so far, but I've made the root filesystem Reiser4. Works but I find it very slow:

Code:
# hdparm -tT /dev/hda

/dev/hda:
  Timing cached reads:       1048 MB in 2.00 seconds = 523.03 MB/sec
  Timing buffered disk reads:      4 Mb in 3.84 seconds = 1.04 MB/sec


I tested with gentoo-sources-2.6.15-r1 and with nitro-sources-2.6.15-r3, but both show the same slowness...
Does anybody have an idea? I didn't expect reiser4 to be so much slower...
Back to top
View user's profile Send private message
bigbob73
Guru
Guru


Joined: 31 Dec 2004
Posts: 332
Location: Under the Lone Star

PostPosted: Mon Jan 23, 2006 6:17 pm    Post subject: Reply with quote

[quote="cheater1034"]
nesl247 wrote:


snip...

I would say I have 500+ packages installed and the only one that failed was sox, due to the nitro kernel ;)

I will add alsamixer to check levels of sound ;)


I can't seem to get sensors working with the latest nitro kernel, have you experience any problems? I seem to be missing i2c-isa in the kernel. Also, can't seem to build gkrellm. Is it compatible with gcc 4.0.2?
_________________
A computers attention span is only as long as it's electrical cord (Murphy)
Back to top
View user's profile Send private message
thoffmeyer
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 208
Location: GMT -5 Hours

PostPosted: Mon Jan 23, 2006 7:06 pm    Post subject: Reply with quote

Master_Of_Disaster wrote:
Shouldn't ACCEPT_KEYWORDS be "~amd64" instead of "~x86" for amd64 systems?

Yes I will let conrad know of his error :)
_________________
Conrad Guide, Current Maintainer

Join us on IRC
Server: irc.freenode.net
Channel: #conrad
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Mon Jan 23, 2006 8:12 pm    Post subject: Reply with quote

Master_Of_Disaster wrote:
Shouldn't ACCEPT_KEYWORDS be "~amd64" instead of "~x86" for amd64 systems?


Fixed this*
-----
georgz wrote:
Hi,

I installed according to this guide on my amd64 notebook. All fine so far, but I've made the root filesystem Reiser4. Works but I find it very slow:

Code:
# hdparm -tT /dev/hda

/dev/hda:
  Timing cached reads:       1048 MB in 2.00 seconds = 523.03 MB/sec
  Timing buffered disk reads:      4 Mb in 3.84 seconds = 1.04 MB/sec


I tested with gentoo-sources-2.6.15-r1 and with nitro-sources-2.6.15-r3, but both show the same slowness...
Does anybody have an idea? I didn't expect reiser4 to be so much slower...


Hmm, that is very odd, I have not experienced this, maybe it is an affect of it of your notebook hdd ?
Here is the speed hdparm tells me on my desktop's hard drive (sata 150)
conrad-gentoo ~ # hdparm -tT /dev/sda

/dev/sda:
Timing cached reads: 2080 MB in 2.00 seconds = 1038.60 MB/sec
Timing buffered disk reads: 164 MB in 3.02 seconds = 54.22 MB/sec

[quote="bigbob73"]
cheater1034 wrote:
nesl247 wrote:


snip...

I would say I have 500+ packages installed and the only one that failed was sox, due to the nitro kernel ;)

I will add alsamixer to check levels of sound ;)


I can't seem to get sensors working with the latest nitro kernel, have you experience any problems? I seem to be missing i2c-isa in the kernel. Also, can't seem to build gkrellm. Is it compatible with gcc 4.0.2?


Hmm, I never install sensors, but you can make sure that config variable is set in /usr/src/linux/.config
I tried to emerge it just now and am missing, CONFIG_I2C, and CONFIG_I2C_CHARDEV in my gentoo-sources kernel.

Not sure it may be nitro sources, but make sure all the correct configuration settings are set in your kernel configuration :)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
RobNyc
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2005
Posts: 101
Location: NYC

PostPosted: Tue Jan 24, 2006 5:44 pm    Post subject: Reply with quote

wooo hooo
Conrad Team!
_________________
Thank You
Back to top
View user's profile Send private message
p4r0l3
n00b
n00b


Joined: 12 Jan 2006
Posts: 26

PostPosted: Wed Jan 25, 2006 2:56 am    Post subject: Reply with quote

Many thanks go out to the Conrad team!

I just finished my install after following the 1.5.0 guide and NOTHING is broken! :wink:
I'm running GCC4.0.3 on Linux 2.6.15 Nitro Sources r3...
no problems whatsoever!

Going to be emerging my graphical stuff tonight :D
Back to top
View user's profile Send private message
arkaine
n00b
n00b


Joined: 23 Jun 2004
Posts: 62
Location: Ohio

PostPosted: Thu Jan 26, 2006 2:13 am    Post subject: Reply with quote

I don't mean to nag, but could you build links with the javascript USE flag on your LiveCD, as I can't get on bugs.gentoo.org (for example) without it.

EDIT: I realize the LiveCD was built with one responsibility, your install guide, but I tend to use one LiveCD for everything...and I'm really getting sick of having to use really outdated and screwy ones, when I could just use a nifty conrad one.


Last edited by arkaine on Thu Jan 26, 2006 2:24 am; edited 1 time in total
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Thu Jan 26, 2006 2:23 am    Post subject: Reply with quote

arkaine wrote:
I don't mean to nag, but could you build links with the javascript USE flag on your LiveCD, as I can't get on bugs.gentoo.org (for example) without it.

EDIT: I realize the LiveCD was built with one responsibility, your install guide, but I tend to use one LiveCD for everything...and I'm really getting sick of having to use really outdated and screwy ones, when I could just use a nifty conrad one.


of course, :) sorry I didnt include that flag, forgot about it.

It will be included in the new CD, which MAY include a new surprise kernel ;)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
buttons
n00b
n00b


Joined: 26 Jan 2006
Posts: 18

PostPosted: Thu Jan 26, 2006 4:18 am    Post subject: Problems building on amd64 system Reply with quote

On my brand new AMD64 X2 3800+ and company, I've had difficulty compiling several packages during the emerge --emptytree system step.

On packages "db" and "gettext," I get errors when building the CXX modules. This could be bypassed using the -nocxx option, however that left an unusable system.

Relaxing the CXXFLAGS to "${CFLAGS}" fixed these compiler issues and the system appears to be completing that step without a hitch as we speak.

Just a heads-up to anyone compiling AMD64 with an X2 processor.
Back to top
View user's profile Send private message
buttons
n00b
n00b


Joined: 26 Jan 2006
Posts: 18

PostPosted: Thu Jan 26, 2006 4:29 pm    Post subject: Reply with quote

Nevermind. Whenever compiling a system with the X2 processor, I get the following errors:

ERROR: <something cannot be run> until sysinit completes!

for all boot and default services (while booting)

Also, the amd64 livecd does not support PM Timer, and I frequently get the message "Too Many Lost Ticks!"

Kind of at a loss here.


Last edited by buttons on Thu Jan 26, 2006 7:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
buttons
n00b
n00b


Joined: 26 Jan 2006
Posts: 18

PostPosted: Thu Jan 26, 2006 7:04 pm    Post subject: Reply with quote

The "until sysinit completes!" errors occur whether or not my system is compiled entirely with ~AMD64.

I have now reinstalled twice using your instructions and have not been able to boot yet. Ideas?
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Thu Jan 26, 2006 7:50 pm    Post subject: Reply with quote

buttons wrote:
The "until sysinit completes!" errors occur whether or not my system is compiled entirely with ~AMD64.

I have now reinstalled twice using your instructions and have not been able to boot yet. Ideas?


Hmm, are you running entirely as explained?

Did you have a typo in the CXXFLAGS anywhere?

I've never done FULL amd64 install, but my pal chryseus has ;) I've had the error you has, *** until sysinit completes, I just logged in rebooted and it worked second boot, (possibly something with new baselayout?Mask and Downgrade?)

Try masking the latest 1.12.0 baselayout and getting the stable or 1.12_pre14 or older (I think those were all removed from portage, so probally lastest 1.11*.
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
thoffmeyer
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 208
Location: GMT -5 Hours

PostPosted: Thu Jan 26, 2006 10:01 pm    Post subject: Reply with quote

Worked fine over here untill my harddrive starting dying :(... IO Errors, going to do this on the PII when I get some new hard drives for it :)
_________________
Conrad Guide, Current Maintainer

Join us on IRC
Server: irc.freenode.net
Channel: #conrad
Back to top
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Fri Jan 27, 2006 3:24 pm    Post subject: Reply with quote

I am going to do a new install, and was looking at your new flags.

I'm not seeing -frename-registers in the gcc 4.0.2 guide. Is it included in 4.0.3 or 4.1?

http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Optimize-Options.html#Optimize-Options

This is what I normally use:

CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -ftracer"
CXXFLAGS="${CFLAGS}"
CXXFLAGS="${CXXFLAGS} -ffriend-injection"
CXXFLAGS="${CXXFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-Bdirect"
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
predatorfreak
l33t
l33t


Joined: 13 Jan 2005
Posts: 708
Location: USA, Michigan.

PostPosted: Fri Jan 27, 2006 4:07 pm    Post subject: Reply with quote

enderandrew wrote:
I am going to do a new install, and was looking at your new flags.

I'm not seeing -frename-registers in the gcc 4.0.2 guide. Is it included in 4.0.3 or 4.1?

http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Optimize-Options.html#Optimize-Options

This is what I normally use:

CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -ftracer"
CXXFLAGS="${CFLAGS}"
CXXFLAGS="${CXXFLAGS} -ffriend-injection"
CXXFLAGS="${CXXFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-Bdirect"


Just a heads up, the ldflags are wrong. Also, --as-needed will produce problems. Anyway, they should be -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-Bdirect. Although I strongly recommend not using --as-needed (or the C++ visibility stuff for that matter).
_________________
System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up.
Back to top
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Fri Jan 27, 2006 4:52 pm    Post subject: Reply with quote

--as-needed hasn't broken anything for me yet. I filter it out for various packages with a package.ldflags file

The -Wl at the end of each flag seems to be optional from reading the gcc manual. Either way seems correct, and the flags haven't broken a single package for me yet.
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Fri Jan 27, 2006 7:34 pm    Post subject: Reply with quote

enderandrew wrote:
I am going to do a new install, and was looking at your new flags.

I'm not seeing -frename-registers in the gcc 4.0.2 guide. Is it included in 4.0.3 or 4.1?

http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Optimize-Options.html#Optimize-Options

This is what I normally use:

CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -ftracer"
CXXFLAGS="${CFLAGS}"
CXXFLAGS="${CXXFLAGS} -ffriend-injection"
CXXFLAGS="${CXXFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-Bdirect"


Really? I found it there ;)
Code:
-frename-registers
    Attempt to avoid false dependencies in scheduled code by making use of registers left over after register allocation. This optimization will most benefit processors with lots of registers. Depending on the debug information format adopted by the target, however, it can make debugging impossible, since variables will no longer stay in a “home register”.

    Not enabled by default at any level because it has known bugs.


I reccomend using the guide AS DIRECTED to prevent any problems, and a heads up -Bdirect will not work unless you have special patched glibc (ex. nxsty's glibc overlay) Assuming you know this, just making sure ;)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
p4r0l3
n00b
n00b


Joined: 12 Jan 2006
Posts: 26

PostPosted: Fri Jan 27, 2006 9:49 pm    Post subject: Reply with quote

Hey buttons, I had that same sysinit problem the first time I booted after the install....but rebooting fixed it and everything booted fine....(~x86) :wink:
Back to top
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Fri Jan 27, 2006 10:47 pm    Post subject: Reply with quote

I always use nxsty's overlays. They rock.
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sat Jan 28, 2006 3:04 am    Post subject: Reply with quote

Don't forget for those of you who do use nxsty's glibc overlay that you need to use the binutils overlay in the gentoo bugzilla. (2.16.91.0.5-r2) or the binutils-2.16.1-r1.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
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