BeBop Gentoo Stage4





amd64 version

BeBop Gentoo (Funtoo) Stage4 launched !!

Warning:

The last openrc broke my BeBop. Be careful if you are upgrading.

More info here and here:

Get it here:

amd64

Basic system version

Startkde version


Features:

  • built with Funtoo Amd64 stage3
  • gcc version 4.3.1 (Gentoo 4.3.1-r1 p1.1)
  • glibc 2.8_p20080602
  • binutils 2.18-r3
  • LDFLAGS=”-Wl,–hash-style=gnu”
  • baselayout 2
  • openrc

make.conf:

# Bebop Funtoo
#
CHOST="x86_64-pc-linux-gnu"
#
CFLAGS="-march=k8"
#
CFLAGS="${CFLAGS} -O2"
CFLAGS="${CFLAGS} -pipe"
#
CXXFLAGS="${CFLAGS}"
#
LDFLAGS="-Wl,--hash-style=gnu"
#
ACCEPT_KEYWORDS="amd64"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
MAKEOPTS="-j2"
USE="-doc -gtk -gnome -ipv6 kde qt3 qt4 alsa cdr dvd hal minimal nptl nptlonly symlink"
LINGUAS="pt_BR en"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT=180
PORTAGE_NICENESS=3
AUTOCLEAN="yes"
FEATURES="ccache distlocks parallel-fetch sandbox userpriv usersandbox -unmerge-orphans"
INPUT_DEVICES="evdev joystick keyboard mouse synaptics vmmouse wacom"
VIDEO_CARDS="nvidia nv vesa apm ark chips cirrus cyrix dummy epson fbdev glint i128 i740 i810   imstt mach64 mga neomagic nsc r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vga via vmware voodoo"



package.keywords:

~sys-devel/binutils-2.18.50.0.8 ~amd64
sys-devel/gcc-config ~amd64
~sys-devel/gcc-4.3.1-r1 ~amd64
~sys-libs/glibc-2.8_p20080602 ~amd64
dev-libs/gmp ~amd64
dev-libs/mpfr ~amd64
~sys-apps/net-tools-1.60_p20071202044231-r1 ~amd64
sys-libs/gpm ~amd64

#sys-libs/libstdc++-v3 ~amd64
#sys-libs/timezone-data ~amd64
#
# for portage:
sys-apps/portage ~amd64

net-wireless/bcm43xx-fwcutter ~amd64
x11-themes/slim-themes ~amd64
media-video/avidemux ~amd64

#x11-drivers/xf86-input-evdev ~amd64
#sys-apps/hal ~amd64
#dev-util/gperf ~amd64
#app-misc/hal-info ~amd64
#x11-base/xorg-server ~amd64

app-arch/karchiver ~amd64
net-misc/nxserver-freenx ~amd64
app-text/tesseract ~amd64
net-dns/pdns-recursor ~amd64
games-fps/doom3 ~amd64
app-admin/eselect-news ~amd64
app-admin/eselect ~amd64
sys-apps/baselayout **
sys-apps/openrc **
~dev-util/boost-build-1.35.0-r1 ~amd64
~dev-libs/boost-1.35.0-r1 ~amd64
dev-libs/elfutils ~amd64
sys-auth/consolekit ~amd64

package.mask:

=sys-apps/net-tools-1.60-r13
=sys-libs/gpm-1.20.1-r6
=dev-libs/elfutils-0.127
=sys-auth/consolekit-0.2.3

package.use:

#
sys-devel/libperl ithreads
dev-lang/perl ithreads
sys-libs/glibc nptl nptlonly
#
app-cdr/k3b alsa dvdr dvdread encode ffmpeg flac hal mp3 vcd vorbis
app-emulation/emul-linux-x86-xlibs opengl
dev-java/swt firefox
dev-lang/spidermonkey threadsafe
dev-libs/xmlrpc-c curl libwww
media-video/avidemux -qt4 alsa aac dts encode esd fontconfig gtk lame truetype vorbis x264 xv   xvid
media-video/mplayer a52 aac aalib (-altivec) encode gtk v4l v4l2 (vidix) (win32codecs) vorbis   x264 xv xvid xvmc
media-video/transcode iconv mmx sse sse2 a52 (-altivec) dvdread mjpeg mp3 mpeg ogg quicktime vorbis xvid
net-print/cups acl nls pam perl python samba ssl
net-print/hplip minimal ppds
sys-apps/pciutils -zlib
sys-apps/pmount crypt hal
www-client/mozilla-firefox java moznopango
x11-libs/cairo X
kde-base/kdelibs acl alsa cups arts
kde-base/kdebase-startkde arts xinerama
kde-base/arts alsa artswrappersuid esd jack mp3 nas vorbis xinerama
x11-libs/qt dbus opengl gif glib jpeg png tiff xinerama
kde-base/kopete yahoo
kde-base/konqueror arts branding java
app-emulation/emul-linux-x86-java alsa X nsplugin
kde-base/kdepim-kioslaves sasl
net-misc/nxserver-freenx nxclient
media-libs/imlib2 nls zlib X
app-text/tesseract tiff
net-dns/pdns-recursor lua
games-fps/doom3 opengl
media-gfx/gimp alsa mmx python sse curl dbus jpeg png svg tiff
media-video/ffmpeg mmx zlib a52 aac (-altivec) encode ogg oss truetype v4l vorbis x264 xvid   -X
sys-apps/hal crypt acpi apm
sys-apps/dbus X



Installing:

  • Configure Your hard Disk
mkfs.ext3 /dev/sdaX
tune2fs -o journal_data_writeback /dev/sdaX
tune2fs -m 2 /dev/sdaX
mkswap /dev/sdaX
swapon /dev/sdaX



  • Tunning File Systems
tune2fs -O dir_index /dev/sdaX
e2fsck -D /dev/sdaX
tune2fs -O has_journal -o journal_data /dev/sdaX
tune2fs -c 0 -i 0 /dev/sdaX



  • Mounting the File Systems
mount /dev/sdaX /mnt/gentoo -o user_xattr,noatime
mkdir -p /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/usr/local/portage 



  • Installing the Bebop Files

OBS.: The tarball was compressed with lzma. To uncompress, please emerge lzma-utils.

cd /mnt/gentoo
unlzma bebop-x86_64-2008.0.tar.lzma
tar xvf bebop-x86_64-2008.0.tar
rm bebop-x86_64-2008.0.tar
cp /etc/resolv.conf /mnt/gentoo/etc/
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
cp /proc/mounts /mnt/gentoo/etc/mtab



  • Chroot into the New Enviroment
chroot /mnt/gentoo /bin/bash
env-update; source /etc/profile ; export PS1="(BeBop) $PS1"



  • Configure the System to Fit Your Settings
nano /etc/hosts
nano  /etc/conf.d/hostname
nano /etc/conf.d/net
nano /etc/fstab
nano /etc/conf.d/hwclock



Specific settings for Brazil:

CLOCK="local"



nano /etc/conf.d/keymaps


Specific settings for Brazil:

KEYMAP="br-abnt2"



nano /etc/sysctl.conf


sysctl.conf:

net.ipv4.ip_forward = 1
net.ipv4.tcp_ecn = 0
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.rmem_default = 65536
net.core.wmem_default = 65536
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_mem = 4096 4096 4096
net.core.netdev_max_backlog=2500
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.ip_default_ttl = 72



nano /etc/conf.d/ntp-client



  • Update portage tree - Funtoo way
cd /usr
rm -rf portage/
git clone git://github.com/funtoo/portage.git
cd portage
git checkout --track -b gentoo.org origin/gentoo.org



  • Configure eix
echo "PORTDIR_CACHE_METHOD=parse|ebuild*" >> /etc/eixrc
update-eix 



  • Configure the Kernel for Your Hardware

I reccomend the Pappy's Kernel Seeds


  • Configure Network
cd /etc/init.d/
ln -s net.lo net.eth0
rc-update add net.eth0 default



  • Configure X environment

OBS.:This stage4 uses nvidia-drivers.

nano /etc/X11/xorg.conf

  • Configure the Boot Loader
cd /boot/grub
nano menu.lst
grub --no-floppy

grub> root (hdX,X)
grub> setup (hdX)
grub> quit



  • Change the Root Password
passwd



  • Add a Regular User
useradd -m -G lp,wheel,audio,cdrom,video,cdrw,usb,users,plugdev -s /bin/bash bebop 
passwd bebop



  • Exiting Chroot and Unmount Partitions
exit
cd ~/
umount /mnt/gentoo/dev
umount /mnt/gentoo/proc
umount /mnt/gentoo/boot
umount /mnt/gentoo
swapoff /dev/sdaX



  • Reboot
shutdown -r now



OBS.: Before you login on X, create a ~/.xinitrc with “exec startkde” to be able to login on slim.

That’s it!! For more details about portage update using git please click here.

Discussão

Marlon Marlon, 15/10/2008 13:35 (20/10/2008 10:00):

Hi,

The following packages where emerged success on BeBop:

app-admin/eselect
app-admin/metalog
app-admin/sudo
app-emulation/emul-linux-x86-soundlibs
app-emulation/emul-linux-x86-xlibs
app-emulation/vmware-player
app-portage/eix
app-portage/gentoolkit
dev-libs/elfutils
dev-util/ccache
kde-base/kdebase-startkde
kde-base/kedit
kde-base/konq-plugins
kde-base/konsole
kde-base/nsplugins
media-libs/a52dec
media-libs/faac
media-libs/faad2
media-libs/flac
media-libs/libdvdcss
media-libs/libdvdread
media-libs/libogg
media-libs/libvorbis
media-libs/xvid
media-sound/alsa-utils
net-dialup/rp-pppoe
net-dns/pdns-recursor
net-firewall/iptables
net-misc/dhcpcd
net-misc/ntp
net-p2p/azureus
net-print/foomatic-filters
net-print/hplip
net-www/mplayerplug-in
net-www/netscape-flash
net-www/nspluginwrapper
sys-apps/dbus
sys-apps/hal
sys-apps/openrc
sys-auth/consolekit
sys-boot/grub
sys-devel/gcc
sys-devel/gcc-config
sys-devel/prelink
sys-fs/jfsutils
sys-fs/reiserfsprogs
sys-fs/sysfsutils
sys-kernel/gentoo-sources
sys-kernel/module-rebuild
sys-libs/glibc
sys-libs/gpm
sys-libs/libstdc++-v3
sys-power/acpid
sys-process/vixie-cron
x11-apps/xdm
x11-base/xorg-server
x11-base/xorg-x11
x11-drivers/nvidia-drivers
x11-libs/pango
x11-misc/slim
x11-themes/slim-themes

 
gentoofan gentoofan, 18/10/2008 18:31:

HI, I found Bebop through DRobbins blog. Exactly what I looked for!

But could you please check if the above package.* files are correct? The version of elfutils you use is unstable, but not unmasked in the files above.

Thanks a lot!

 
Marlon Marlon, 18/10/2008 20:19:

Hi gentoofan,

thank you for your feedback.

To unmask elfutils do this:

echo “dev-libs/elfutils ~amd64” » /etc/portage/package.keywords

I will update the wiki with this info.

Regards,

Marlon

 
gentoofan gentoofan, 19/10/2008 06:50:

You might also want to unmask sys-apps/baselayout and sys-apps/openrc as they are both in “~” (http://packages.gentoo.org/category/sys-apps?full_cat)

Just in case you are wondering what I am doing: My system is messed up and I use your config files (package.*, config.make, etc) as a blueprint -especially for the USE Flags- on my Gentoo 2008.0.

Please tell me if I should keep reporting what I find. Maybe it isn’t relevant to Bebop/Funtoo???

cumprimento

PS: am I double-posting right now?

 
Marlon Marlon, 20/10/2008 09:54 (20/10/2008 10:04):

Yes, you have to put baselayout and openrc on /etc/portage/package.keywords.

I update the wiki with the correct package.keywords, please see above.

And you should keep reporting, those feedbacks help to improve BeBop!!

I fix the double-posting.

Thank you,

Marlon

 
gentoofan gentoofan, 22/10/2008 16:28:

Hello Marlon,

I did have much time during the last two days, but now today I restarted.

As a “emerge” user I get the following two warnings from “emerge –sync”: WARNING: usage of RSYNC_TIMEOUT is deprecated, use PORTAGE_RSYNC_EXTRA_OPTS instead WARNING: usage of RSYNC_RETRIES is deprecated, use PORTAGE_RSYNC_RETRIES instead I will just remove the two lines from my personal make.conf, as they are default settings anyway.

I also added this useflags to take advantage of special instruction-sets: “mmx 3dnow sse sse2”

Have a nice day!

Kai

 
Marlon Marlon, 22/10/2008 18:38:

Thank you for the update.

By the way, what is your amd64 processor class ?

Regards,

Marlon

 
gentoofan gentoofan, 24/10/2008 16:19:

I´ve got a X2 3800+ “Windsor” and a motherboard with nvidia 6100-430 onboard graphics. Right now I am stuck, because I can ´t get the “nv” driver to work on my system. (”nvidia” binary drivers work though) But it was a pleasant experience that with your world-file and USE-flags the whole “emerge world” went smoothly! I never managed to do that before :)

 
Marlon Marlon, 25/10/2008 18:48:

Glad to hear that! This is what BeBop is about! Save time to buid a powerfull system.

Did you search on Gentoo forums this issue with nv driver ?

Regards,

Marlon

 
Jupiter Jupiter, 01/11/2008 17:53:

Thanks for the great work. Installed and works fine. I would like to do the same for x86 and am wondering if you care to share your .spec files with me or if you have any plans to produce an x86 rev.

Thanks, Jupiter

 
Marlon Marlon, 02/11/2008 09:56:

Thank you for your feedback Jupiter!!

What you mean by .spec files ? :)

Yes, I have plan to produce a x86 version soon as possible.

Regards,

Marlon

 
Marlon Marlon, 05/11/2008 21:39 (05/11/2008 21:41):

I started to rebuild BeBop Stage for with LDFLAG=–hash-style=gnu.

Before I had some issue with e2fsprogs-libs, but could found a workaround on this post:

http://forums.gentoo.org/viewtopic-t-713295-highlight-comerr.html

Just run:

emerge -f e2fsprogs e2fsprogs-libs
emerge –unmerge ss com_err e2fsprogs
emerge e2fsprogs
revdep-rebuild

 
JEOIW