phreak.ch
linux.configs

  

   Linux (gentoo) configurations that worked for me.
   phreak.ch or any affiliates take no responsibilty on broken software/hardware or anything by using this information!
   (i still suspect xorg 7.2 might overheat i915 graphics chip on the aopen 915B..)
   (currently using 3230s hp with ati hd2400, check there for latest configuration)
   
   The configurations might not be perfect (for sure..), but might deliver at least a starting point where basics work.
   All kernels used were vanilla sources, so that should be useful to non gentoo users  as well.

 
i  in case of gentoo troubles (just recovered mine (july '09)):
  
my personal gentoo tricks archive to recover from zero...
   (deleting /var/db is not the brightest idea?)

   The t8000 and Sun ultra 5 are mostly used as servers, while the aopen 915B and HP-Pavilion s3230 were used as desktops,
   therefore the desktops have proven xorg support,
   (i915 and ati hd 2400 pro with hw direct rendering support) while the server configs (t8000/sparc5)
   might lack any desktop/xorg  support.
   package.keywords files are used to install the latest, nonstable versions, in some cases they are very necessary though..

  things to do with it:

   copy the kernel config files as .config into /usr/src/linux  where the dir is a link towards like /usr/src/linux-2.6.24.2
   run a  
   make oldconfig
   then a
   make clean && make && make modules_install
   cp System.conf /boot/System.conf
   cp arch/i386/boot/bzImage /boot/<your kernel image file..>
   if u use lilo, run lilo, with grub do nothing unless youve changed the filename.
   

  things that helped:

   SATA:
   if youre using sata drives, make sure the ide generic support flag is TURNED OFF:
    # CONFIG_IDE_GENERIC is not set
   (hope its the correct one.should be the generic ide support within make menuconfig on sata config,
    gave me a headache to get it workin..)
   
   XORG:
   for the i915 make sure you re-emerge the intel drivers again after the whole xorg is there.
   Same with the ati drivers, plus the ati proprietary drivers need all
   the latest stuff therefore put all package.keywords for it to work)

   Boot stuff :
   http://neosmart.net/wiki/display/EBCD/Linux
some info about how to boot to linux from a vista bootloader.
   the easybcd is ok to have a dual boot vista machine: easybcd
   For grub remember to count one off of the final drive number like
   grub.conf entries:
    root (hd0,4)
    kernel (hd0,4)/kernel-2.6.24 root=/dev/sda6

   to boot from /dev/sda5, having the "/" aka root device on /dev/sda6.


   
Gentoo related workarounds:
   
    on cache.cache_errors.CacheCorruption: do this:
    rm -rf /var/cache/edb/dep
    emerge --metadata

    avoiding "poor code kills airplanes" (after portage 2.2 or so):
    /etc/make.conf entry:
    FEATURES="-stricter"


   used configs:


   Aopen 915-B minipc (pentium-m/i915)
   
    xorg.conf
    kernel .config  kernel 2.6.22.3
    gentoo package.keywords


   HP 3230s  gentoo kernel config slimline (intel core duo/ati hd 2400 pro) pick this.. latest updates here...
   
    in case of dbus uuid troubles, found out that the only way to get libuuid is when
    emerging sys-libs/e2fsprogs-libs !!! (see gentootricks)

    xorg.conf for fglrx driver
    xorg.conf for radeon driver (using it,still faster)
    
kernel.config kernel 2.6.32.2 (Full release used from kernel.org)
    
    
gentoo make.conf
    gentoo
package.keywords

 
   LATEST:
   have kernel 3.5.2 running with amd driver 12.6-legacy
   howto patch (not perfect but works..)


  Kernel 2.6.32.2 and amd 9.12 release (did the same patch again as with 9.11 kernel 2.6.32)..

  download the  driver to  ati-driver-installer-9-11-x86.x86_64.run to
/usr/src/
  run the installer once:
  ./ati-driver-installer-9-1-x86.x86_64.run
  it will fail.

  The fix:
  cd /lib/modules/fglrx/build_mod/

  vi kcl_io.c and add the line
  #include <linux/signal.h>
  for example on the 3 line of the include part.
  then run the install again in the same directory with
  ./make.sh
  it will tell you at the end to
  cd /lib/modules/fglrx    (same as cd .. ?;))
  then run
  ./make_install.sh

  i found the solution to this one on:
  https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/485444
  (check message #2 from SevenMachines. thanks!)


  Otherwise keep an eye on http://www.phoronix.com
  they mostly have some of the best info on graphics drivers.



  Used to have some problem with xorg 1.5.3 and hal, no mouse no keyboard :
  I needed to add the following to /etc/X11/xorg.conf:
 Section "ServerFlags"
        Option      "AllowMouseOpenFail" "true"
        Option      "AutoAddDevices"    "true"
        Option      "AllowEmptyInput"   "false"
 EndSection

and it was back again. got the info from:
http://wiki.archlinux.org/index.php/Xorg_input_hotplugging
there seems to be an alternative with proper hal config.

Other things that i found and helped on updating gentoo were:

if your using ati this is quite important..:
eselect opengl set ati

update after emerge --sync:
emerge -pvnN @installed

cleanup system:
eclean-pkg
eclean-dist

otherwise i did the usual for world update:
emerge -uN world || until emerge --resume --skipfirst; do emerge --resume --skipfirst; done;init 0
      

   Toshiba t8000

    xorg.conf
    kernel.config
    gentoo package.keywords


   Sparc ultra 5

    xorg.conf
    kernel.config
    gentoo package.keywords

    Dell OptiPlex SX270

    xorg.conf
    kernel.config
    gentoo package.keywords