March 31, 2009

Gentoo Install -- Next Step : Base System

I'm back after some hard working on my netbook. I will not speak about things which worked just fine, but only about my issues.

The first one is the most important: I couldn't manage to have a working 64bit system. So I got back to a 32bits system with:
CFLAGS="-02 -march=native -pipe -mmmx -msse -msse2 -mssse3" (some of these options are only available after an update to sys-devel/gcc-4.3.2-r3)
CHOST="i686-pc-linux-gnu"

Then during the kernel configuration, don't forget like me to select the PATA drivers for the Via chipset. It took half an hour to compile with the NC20.

After that I was able to boot under my new Gentoo. The next step is to recompile system tools. An "emerge -e world" will do it.

I will be back soon...

8 comments:

  1. Hi

    I'm currently installing Gentoo on my NC20 and can't find how to have a working X server.
    Any tips for me ?

    Ta

    ReplyDelete
  2. Hi,

    I'm new in gentoo so be careful with my advises.
    I succeed to have a working X server with KDE on my NC20.
    I try the openchrome driver but it seems to be unusable currently. So I install vesa driver and I activate it in my xorg.conf.

    However I can't make synaptic and keyboard work :-/
    Can anyone help ?

    Thank you, bye
    -------------------------

    My make.conf :
    CFLAGS="-O2 -march=native -pipe -mmmx -msse -msse2 -mssse3"
    CXXFLAGS="-O2 -march=native -pipe -mmmx -msse -msse2 -mssse3"
    CHOST="i686-pc-linux-gnu"
    USE="-gtk -gnome -ipv6 -abiword xorg X synaptics mp3 qt3 qt4 kde alsa hal bash-completion "
    VIDEO_CARDS="openchrome via"
    INPUT_DEVICES="keyboard mouse"

    My xorg.conf :

    Section "InputDevice"
    Identifier "keyboard1"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "fr"
    Option "XkbVariant" "latin9"
    Option "XkbOptions" "lv3:ralt_switch"
    EndSection

    Section "InputDevice"
    Identifier "mouse1"
    Driver "mouse"
    # Option "Device" "/dev/mouse0"
    EndSection

    Section "Device"
    Identifier "Configured Video Device"
    Driver "vesa"
    Option "ActiveDevice" "LCD,CRT"
    EndSection

    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    EndSection

    ReplyDelete
  3. hi,

    can someone plz post his kernel configuration plz

    Thank you.

    ReplyDelete
  4. You can find my .config here :
    http://fr.netlog.com/fonzcar/blog/blogid=3360871

    ReplyDelete
  5. What problem(s) were you seeing with the amd64 kernel?

    I did see some errors when compiling, but I did eventually get it to compile. However, now I am seeing a kernel panic when it tries to boot.

    Also, I am seeing a grub problem with "Undefined video mode: ffff". Anyone seen that or know what it actually means?

    ReplyDelete
  6. I did compile the amd64 kernel too, but had problems with 32bit emulation. Have you found a workaround for this or was that the reason you switched to 32bit system?

    ReplyDelete
  7. stefita, did you have any kernel compilation issues?

    My first go (a failure) was with x86-64 hardened, and though the kernel did 'compile' it ran into a number of segfaults along the way... I'm about to attempt x86 non-hardened and work my way up.

    ReplyDelete
  8. I got 64-bit to come up, but I'm having trouble getting X to come up.

    ReplyDelete