Description du hard: CM IGP: ATI HD4200 cartes: ATI HD4350 driver: - kernel header - entre 114 et 124M libres Recopier la table de partitions: sfdisk -d /dev/sda | sed 's/sda/sdb/g' | sfdisk /dev/sdb
Uranus:~# sfdisk -d /dev/sda | sed 's/sda/sdc/g' | sfdisk /dev/sdc
Checking that no-one is using this disk right now ...
OK

Disk /dev/sdc: 121601 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdc1   *      0+    122     123-    987966   83  Linux
/dev/sdc2        123    2555    2433   19543072+   7  HPFS/NTFS
/dev/sdc3       2556    2799     244    1959930   fd  Linux raid autodetect
/dev/sdc4       2800  121600  118801  954269032+   5  Extended
/dev/sdc5       2800+   4016    1217-   9775521   fd  Linux raid autodetect
/dev/sdc6       4017+   7664    3648-  29302528+  fd  Linux raid autodetect
/dev/sdc7       7665+  13744    6080-  48837568+  fd  Linux raid autodetect
/dev/sdc8      13745+ 121600  107856- 866353288+  fd  Linux raid autodetect
New situation:
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
/dev/sdc1   *        63   1975994    1975932  83  Linux
/dev/sdc2       1975995  41062139   39086145   7  HPFS/NTFS
/dev/sdc3      41062140  44981999    3919860  fd  Linux raid autodetect
/dev/sdc4      44982000 1953520064 1908538065   5  Extended
/dev/sdc5      44982063  64533104   19551042  fd  Linux raid autodetect
/dev/sdc6      64533168 123138224   58605057  fd  Linux raid autodetect
/dev/sdc7     123138288 220813424   97675137  fd  Linux raid autodetect
/dev/sdc8     220813488 1953520064 1732706577  fd  Linux raid autodetect
Successfully wrote the new partition table

Re-reading the partition table ...

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
Uranus:~#
2010 01 09 Touches de BIOS: TAB: POST screen DEL: BIOS setup/Q-FLASH F9: XPRESS RECOVERY F12: BOOT MENU END: Q-FLASH Buts vises par l'achat de cette machine: ************************************************************** - plus de puissance de calcul - tous mes ecrans ont une acceleration 2D (j ai pas teste la 3D, mais vu ce que j ai paye, j y crois pas trop) - j espere un chargement plus rapide des grosses applis comme OOo - j attends une reduction du ramage de FF (qui actuellement occupe mon CPU a fond) - ca resoudra pas les soucis des ites lents, mais ca devrait fluidifier ma navigation (a confirmer). Et aussi booster l affichage des sites Flash (Youtube ... qui depend de l acceleration 2D) - forte diminution du bruit (confirmee), et possibilite de dormir avec sans devenir sourd - des slots libres pour ajouter des choses (que 2, au lieu de 3 possibles, et 5 esperes; mais c est mieux que 0) - tout en USB2, et plusieurs racines (ca va fluidifier pas mal de choses, et rendre possible en USB des choses que j evitais par le passe a cause de ma bande passante limitee) - afficher un film sur 2 ecrans en meme temps (testéK) - avoir un meilleur son (outre mon ampli pourri, ma carte son etait loin d etre "bonne") (a conf, mais quasi certain) - ne plus avoir de glitch sonores quand je deplace une fenetre (deja verifié Au pire, je peux retirer une carte video, pour liberer 4 ports, ce qui reduit mon affichage a 4 ecrans numeriques ou 3 analogiques (j ai en tout 6 ports video, dont un est exclusivement numerique). et comme je n ai aucun ecran numerique (enfin si, un, mais j ai pas le cable), actuellement, j ai un port inutilisable. Donc tu vois, ca fait pas mal de changements; dont la moitie reste a confirmer et ne sont enore que de l ordre de l espoire. Une bonne amelioration de mon confort (et en premier lieu: bruit, puis fluidite). Je suis decu pour l instant sur 2 points que j avais pas anticipes: - le Sata est plus lent que je pensais. Je pensais que je plafonnais a 108M/s a cause d emon sata1, et que le sata2 boosterait un poil. Bah non, 105M/s c est le debit plateau.Et encore, sur le meilleur. J ai deux disques a 90 et 88M/s. Et a cause du raid, a sra un facteur limitant. Decu par ce pb hard que j ignorais. Je pensais que c etait le sata1 qui limitait. bah non. - le raid va me faire perdre plus d espace que je pensais. Sur 4x1T, faut retirer les OS (non redondants) et le home (non redondant) - archivésur ce qui suit - , la zone d archives (redondante), la "big zone" redondante non archive, qui va passer de 1T a seulement 2.6T. Un probleme de vision m a fait trop esperer; sur 4T physiques, je serai limite a 2.6 pour le stoquage des divx et mp3 (mais avec un poil de redondance que j ai encore JAMAIS eu pour les divx). Reste a prier que le raid5 me bouffe pas trop de CPU. Ce qui sera en usage continue sera raid0 (debit crete: 400M/s, moins les durs pourris, moins les calculs de FS, moins la segmentation ... j espere qu ill me restera 200M/s en pratique). *************************************************************************** buts atteints, ou pas: - le CD n'est pas assez puissant pour faire ouvrir la porte fermee; marche seulement si entrouverte. Inconvenients: Boitier: - la porte de la tour n'ouvre pas completement: gros risque de lui foutre un coup et la casser (je pense vraiment qu'elle va peter tres vite) - les touches de fonction de boot de la CM ne sont pas affichees assez longtemps, ni avec l'ecran d'acueil, ni avec l'ecran POST. - pas de RAID5 hard - impossible d'appuyer sur POWER sans ouvrir la porte - impossible de demonte la porte pour la retourner (placer les gonds droite - tous les frigos domestiques le permettent) - la porte va peter d autant plus vite qu'elle doit imperativement etre ouverte pour appuyer sur power/reset, n'ouvre pas a fond, et est difficile a demonter - Je preferais de loin la Antec Avantages: - silence - durs sur silent blocs - gros debit de pointe des durs - virtualisation (AMD-V) - le paneaulateral du boitier est tres bien foutu Bugs: - semblerait que le WOL fonctionne quand j'eteins pas pression de POWER, mais pas apres un HALT via Grub En cas de soucis avec Xen, changer une bricole dans /etc/network/interfaces . Windows XP64 - installation prevue sur 1er Sata - debut install: 18h56 - jamais boote le CD (CD HS ? probleme de detection de la zone d amorce parle BIOS ? lecteur HS ?) Windows XP (grave): - installation prevue sur 3e Sata - boot CD: 19h43 - 19h48: le system n'a detecte aucun disque dur Windows XP Home (Gericom): - installation prevue sur 3e Sata - boot CD: 19h51 - 19h53: le system n'a detecte aucun disque dur Je vais enrgiustrer dans le menu Grub de la premiere Gentoo les keybinds du BIOS; faut bien les noter quelque part, vu que le BIOS lui meme ne se donne pas la peine de les afficher !!! Configuration expliquee de mon BIOS: - - TODO: - donner la conf du PXE - inclure la version de CM, et BIOS CM et video Probleme PXE (configure to boot twice on PXE, and press Pause to read the screen during the second try): (hand copy)
[...]
Verifying DMI Pool Data ..............
AMD Data Change...Update New Data to DMI!

Intel UNDI, PXE-2.1 (build 082)
Copyright (C) 1997-2000  Intel Corporation

For Realtek RTL8111B/8111C Gigabit Ethernet Controller v2.09 (071017)

CLIENT MAC ADDR: 6C F0 49 02 21 9B  GUID: 36434630-34393032-3231-3942FFFFFFFF
PXE-E51: No DHCP or proxyDHCP offers were received.

PXE-MOF: Exiting PXE ROM.

Intel UNDI, PXE-2.1 [...]
In the logs of server:
Jan  9 20:34:59 sirius dhcpd: DHCPDISCOVER from 6c:f0:49:02:21:9b via eth0
Jan  9 20:34:59 sirius dhcpd: DHCPOFFER on 192.168.0.193 to 6c:f0:49:02:21:9b via eth0
Jan  9 20:35:23 sirius dhcpd: DHCPDISCOVER from 6c:f0:49:02:21:9b via eth0
Jan  9 20:35:23 sirius dhcpd: DHCPOFFER on 192.168.0.193 to 6c:f0:49:02:21:9b via eth0
Jan  9 20:35:25 sirius dhcpd: DHCPDISCOVER from 6c:f0:49:02:21:9b via eth0
Jan  9 20:35:25 sirius dhcpd: DHCPOFFER on 192.168.0.193 to 6c:f0:49:02:21:9b via eth0
Jan  9 20:35:29 sirius dhcpd: DHCPDISCOVER from 6c:f0:49:02:21:9b via eth0
Jan  9 20:35:29 sirius dhcpd: DHCPOFFER on 192.168.0.193 to 6c:f0:49:02:21:9b via eth0
Jan  9 20:35:37 sirius dhcpd: DHCPDISCOVER from 6c:f0:49:02:21:9b via eth0
Jan  9 20:35:37 sirius dhcpd: DHCPOFFER on 192.168.0.193 to 6c:f0:49:02:21:9b via eth0
Server is Debian etch, isc-dhcpd-V3.0.4 , Install Debian (la normale) - installation prevue sur 2e Sata, sdb2 - Boot PXE AMD2 pour instller: 20h09 - F12 => Legacy LAN = echec No DHCP or proxyDHCP offers were received. - F12 => Realtek Boot agent = echec . IDem - server PXE HS ? non la machine est up (service casse ? ) - la premiere fois je n'avais pas la virtualisation; je la retire - 23h03apres avoir installe http://etherboot.org/wiki/removable sur une cle USB (mon tel portable avec une SD inutile), ca boot en reseau. - 23h18: "An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Install the system" - retry with components: Choose-mirror, debian-EDU-installer / testing / Workstation => configure the package manager : installe the base system :: Je pense que ce qui resoud tout est le "EDU". - je prends toujours la locale anglaise, pour avoir les messages en VO non traduits, et les dates en format europee, le clavier francais. Il m'arrive de prendre la langue US, avec une locale GB. Mais mon timezone est toujours Paris. - 23h26: ca telecharge - kernel 2.6.30 - drivers: generic, pour pouvoir ajouter du hard plus tard dans ma machine. - use non free: YEs - updates: security=yes, volatile=no - 2h00 grub-pc installation failed. Parce qu'il a tente de se mettre sur hd0, qui est ma cle USB que j'ai retiree trop tard, donc, le / a ete configure pour sdc2 au lieu de sdb2 ... bref, des tonnes de soucis mineurs en vue. - 2h10 : je coupe bruptalement - reboot, grub est mort. Visiblement, Debian a tue mon ancien grub - 4h13: les deux grub etant morts, je tombe dans un grub 2 zone. Pour booter qqch: -- linux (hd0,1)/boot/vmlinu... root=/dev/sda1 -- initrd (hd0,1)/boot/initrd... -- boot - 4h21 j'ai restaure sda1 et je boot dessus en mode normal, automatique, repare - 5h08 j'arrive a booter sur ma nouvelle Debian, en specifiant le noyeau depuis grub1 de la Rescue - 5h09 grub-install --force /dev/sdb2 - 5h30 : <<>> update-grub2 >> dans la Debian, et tout roule. mdadm -C /dev/md3 -n3 -l0 --name=plop -f /dev/sda3 /dev/sdb3 /dev/sdc3 mdadm -C /dev/md5 -n4 -l5 --name=plop -f /dev/sda5 /dev/sdb5 /dev/sdc5 missing mdadm -C /dev/md6 -n4 -l5 --name=plop -f /dev/sda6 /dev/sdb6 /dev/sdc6 missing mdadm -C /dev/md7 -n4 -l5 --name=plop -f /dev/sda7 /dev/sdb7 /dev/sdc7 missing mdadm -C /dev/md8 -n4 -l5 --name=plop -f /dev/sda8 /dev/sdb8 /dev/sdc8 missing mkswap /dev/md3 mkfs.ext4 /dev/md5 mkfs.ext4 /dev/md6 mkfs.ext4 /dev/md7 mkfs.ext4 /dev/md8 http://rom-o-matic.net/gpxe/gpxe-git/gpxe.git/contrib/rom-o-matic/ 1: SYSLINUX dhp@moon-gen-3:/opt/doublehp/usr/src/gpxe-0.9.9/src$ scp /home/dhp/B_B_B_B_B_B_B/gpxe-0.9.9+-gpxe.sdsk root@uranus: cat gpxe-0.9.9+-gpxe.sdsk >/dev/sdc1
title           gPXE
root            (hd2,0)
chainloader     +1
#savedefault     6
#boot
root@Uranus:/mnt/sdd1# dd if=/dev/zero of=plop bs=1M count=10000 ^C2387+0 records in 2387+0 records out 2502950912 bytes (2.5 GB) copied, 64.6249 s, 38.7 MB/s root@Uranus:/mnt/sdd1# mdadm /dev/md3 -a /mnt/sdd1/plop mdadm: /mnt/sdd1/plop is not a block device. root@Uranus:/mnt/sdd1# losetup /dev/loop4 plop root@Uranus:/mnt/sdd1# mdadm /dev/md3 -a /dev/loop4 root@Uranus:/mnt/sdd1# mdadm /dev/md3 -f /dev/loop4 mdadm: set /dev/loop4 faulty in /dev/md3 root@Uranus:/mnt/sdd1# mdadm /dev/md3 -r /dev/loop4 mdadm: hot removed /dev/loop4 root@Uranus:/mnt/sdd1# losetup -a /dev/loop4: [0831]:4202563 (plop) root@Uranus:/mnt/sdd1# losetup -d /dev/loop4 (au dessus de LTSP, apres avoir telecharge TOUS les composants) Configure the package manager > install the BASE mdadm -C /dev/md8 -n3 -l5 --name=plop -f /dev/sda8 /dev/sdb8 /dev/sdd8 Total humain: Total machine: root@uranus:~# grub-install --force --no-floppy /dev/sdc2 /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged. Installation finished. No error reported. root@uranus:~# root@uranus:~# grub-install --force /dev/sdc2 --root-directory=/mnt/debian_c/ /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged. Installation finished. No error reported. root@uranus:~# apt-get install grub-pc root@uranus:~# dpkg-reconfigure tzdata Current default timezone: 'Europe/Paris' Local time is now: Mon Jan 11 00:03:59 CET 2010. Universal Time is now: Sun Jan 10 23:03:59 UTC 2010. root@uranus:~# /etc/apt/sources.list + deb http://ftp.fr.debian.org/debian squeeze main aptitude update aptitude install grub-common grub-pc grub-install --force /dev/sdc2 update-grub2 echo "ext4" >>/etc/initramfs-tools/modules update-initramfs -k all -u (22:38:27) Jordan_U: doublehp: I think xen is multiboot compliant, so it would be "multiboot xen-3.2..." ************************************************* * Raid benchmarking: mount /dev/sdd1 /mnt/tmp losetup /dev/loop3 /mnt/tmp/plop mkdir /mnt/md order of commands: - mdadm -C - mkfs # wait 1mn if just created the MD - dd - mdadm -S mdadm -C /dev/md3 -n4 -l5 -c 32 -f /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/loop3 mdadm -C /dev/md3 -n4 -l5 -c 64 -f /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/loop3 mdadm -C /dev/md3 -n4 -l5 -c 128 -f /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/loop3 mkfs.ext4 -v -m 0 -b 4096 -E stride=8,stripe-width=24 -L test /dev/md3 mkfs.ext4 -v -m 0 -b 4096 -E stride=16,stripe-width=48 -L test /dev/md3 mkfs.ext4 -v -m 0 -b 4096 -E stride=32,stripe-width=96 -L test /dev/md3 mkfs.ext4 -v -m 0 -b 4096 -E stride=64,stripe-width=192 -L test /dev/md3 mkfs.ext4 -v -m 0 -b 4096 -E stride=128,stripe-width=384 -L test /dev/md3 mkfs.ext4 -v -m 0 -b 4096 -E stride=192,stripe-width=576 -L test /dev/md3 mount /dev/md3 /mnt/md ; dd if=/dev/zero of=/mnt/md/plop bs=1M count=4000 ; umount /mnt/md mount /dev/md3 /mnt/md ; dd of=/dev/null if=/mnt/md/plop bs=1M count=4000 ; umount /mnt/md mdadm -S /dev/md3 # as I found sdd a bit too slow, I found an other idea :) mdadm -S /dev/md3 losetup -d /dev/loop3 dd if=/dev/zero of=/dev/shm/plop losetup /dev/loop3 /dev/shm/plop # chunk/stride/stripe write/read 32/8/24 200/253 32/8/24 137/138 32/32/96 242/259 245/262 32/64/192 234/261 32/128/384 238/251 64/8/24 242/277 => / 64/16/48 150/200 126/131 64/32/96 238/277 64/64/192 224/273 239/277 => /big 64/128/384 241/272 227/274 128/32/96 212/275 226/273 128/128/384 221/269 185/269 *************************************************************************************** root@uranus:/mnt# mkswap -L swap -f /dev/md3 mkfs.ext4 -v -m 0 -b 4096 -E stride=8,stripe-width=24 -L Gentoo /dev/md5 mkfs.ext4 -v -m 0 -b 4096 -E stride=8,stripe-width=24 -L Home /dev/md6 mkfs.ext4 -v -m 0 -b 4096 -E stride=8,stripe-width=24 -L Arch /dev/md7 mkfs.ext4 -v -m 0 -b 4096 -E stride=64,stripe-width=192 -L Big /dev/md8 tune2fs -c 300 -i 100 /dev/md5 tune2fs -c 300 -i 100 /dev/md6 tune2fs -c 100 -i 400 /dev/md7 tune2fs -c 300 -i 100 /dev/md8 xm dmesg | grep -i hvm xm -1 xm create hvm_CD2.cfg # (01:07:27) doublehp_f: (XEN) HVM: SVM enabled # (01:07:27) doublehp_f: (XEN) HVM: Hardware Assisted Paging detected and enabled. vncviewer uranus:0 mdadm /dev/md5 -a /dev/sdd5 mdadm /dev/md6 -a /dev/sdd6 mdadm /dev/md7 -a /dev/sdd7
root@uranus:~# grep -abn Gentoo-uranus_01 /dev/md5
143499:101482931:.gitignorsecurityâentoo-uranus_01.old!"o-uranus_01ÐibŒz.mailmap¬
.á                         ..OŒ
738296:290850518:CONFIG_LOCALVERSION="-Gentoo-uranus_01"
826432:303040214:CONFIG_LOCALVERSION="-Gentoo-uranus_01"
grep: /dev/md5: Cannot allocate memory
root@uranus:~#

root@uranus:~# dd if=/dev/md5 of=e1  bs=1 count=1M skip=290850518
1048576+0 records in
1048576+0 records out
1048576 bytes (1.0 MB) copied, 1.50954 s, 695 kB/s
root@uranus:~# vim e1
root@uranus:~# vim e1
root@uranus:~# dd if=/dev/md5 of=e1  bs=1 count=10M skip=290000518
10485760+0 records in
10485760+0 records out
10485760 bytes (10 MB) copied, 15.3536 s, 683 kB/s
root@uranus:~# vim e1
root@uranus:~# vim e1
root@uranus:~# dd if=/dev/md5 of=e2  bs=1 count=10M skip=303000214
10485760+0 records in
10485760+0 records out
10485760 bytes (10 MB) copied, 14.8401 s, 707 kB/s
root@uranus:~# vim e2

root@uranus:~# time grep -abn --mmap -z Gentoo-uranus_01 /dev/md5  >log

root@uranus:/mnt/gentoo# mdadm -C /dev/md3 -n4 -l0 --name=swap -f /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3
uranus linux-2.6.31-gentoo-r6 # time genkernel 
--kernel-config="2.6.31-gentoo-r6-x86_64-07.config_dhp" --disklabel 
--dmraid all
* Gentoo Linux Genkernel; Version 3.4.10.906
* Running with options: 
--kernel-config=2.6.31-gentoo-r6-x86_64-07.config_dhp --disklabel 
--dmraid all

* Linux Kernel 2.6.31-gentoo-r6-hmmm-02 for x86_64...
* kernel: >> Running mrproper...
* config: Using config from 2.6.31-gentoo-r6-x86_64-07.config_dhp
*         Previous config backed up to .config.bak
*         >> Running oldconfig...
* kernel: >> Cleaning...
*         >> Compiling 2.6.31-gentoo-r6-hmmm-03 bzImage...
*         >> Compiling 2.6.31-gentoo-r6-hmmm-03 modules...
* Copying config for successful build to 
/etc/kernels/kernel-config-x86_64-2.6.31-gentoo-r6-hmmm-03
* e2fsprogs: >> Configuring...
* e2fsprogs: >> Compiling...
* blkid: >> Copying to cache...
* busybox: >> Applying patches...
* busybox: >> Configuring...
* busybox: >> Compiling...
* busybox: >> Copying to cache...
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Appending busybox cpio data...
*         >> Appending dmraid cpio data...
* DMRAID: Adding support (compiling binaries)...
* device-mapper: >> Compiling...
*         >> Copying to cache...
* dmraid: >> Configuring...
* dmraid: >> Compiling...
*       >> Copying to bincache...
*         >> Appending modules cpio data...
*         >> Appending blkid cpio data...
*
* Kernel compiled successfully!
*
* Required Kernel Parameters:
*     real_root=/dev/$ROOT
*
*     Where $ROOT is the device node for your root partition as the
*     one specified in /etc/fstab
*
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided INITRAMFS file. Otherwise;
* substitute the root argument for the real_root argument if you are
* not planning to use the initramfs...

* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot 
properly...
* add "dodmraid" for dmraid support
*       or "dodmraid="

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest genkernel before reporting bugs.

real    7m34.459s
user    6m45.085s
sys     0m54.867s
uranus linux-2.6.31-gentoo-r6 #






uranus / # time genkernel 
--kernel-config="/root/kernel-config-x86-2.6.29-gentoo-r5-Gentoo-uranus-1-01" 
--disklabel --dmraid all
* Gentoo Linux Genkernel; Version 3.4.10.906
* Running with options: 
--kernel-config=/root/kernel-config-x86-2.6.29-gentoo-r5-Gentoo-uranus-1-01 
--disklabel --dmraid all

* Clearing cache dir contents from /var/cache/genkernel
*        >> removing blkid-1.40.9-x86_64.bz2
*        >> removing busybox-1.7.4-x86_64.tar.bz2
*        >> removing device-mapper-1.02.22-x86_64.tar.bz2
*        >> removing dmraid-1.0.0.rc14-x86_64.tar.bz2
*        >> removing src
rm: cannot remove `/var/cache/genkernel/src': Is a directory
* Linux Kernel 2.6.31-gentoo-r6-Gentoo-uranus-1-01 for x86_64...
* kernel: >> Running mrproper...
* config: Using config from 
/root/kernel-config-x86-2.6.29-gentoo-r5-Gentoo-uranus-1-01
*         Previous config backed up to .config.bak
*         >> Running oldconfig...
* kernel: >> Cleaning...
*         >> Compiling 2.6.31-gentoo-r6-Gentoo-uranus-1-01 bzImage...
*         >> Compiling 2.6.31-gentoo-r6-Gentoo-uranus-1-01 modules...
* Copying config for successful build to 
/etc/kernels/kernel-config-x86_64-2.6.31-gentoo-r6-Gentoo-uranus-1-01
* e2fsprogs: >> Configuring...
* e2fsprogs: >> Compiling...
* blkid: >> Copying to cache...
* busybox: >> Applying patches...
* busybox: >> Configuring...
* busybox: >> Compiling...
* busybox: >> Copying to cache...
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Appending busybox cpio data...
*         >> Appending dmraid cpio data...
* DMRAID: Adding support (compiling binaries)...
* device-mapper: >> Compiling...
*         >> Copying to cache...
* dmraid: >> Configuring...
* dmraid: >> Compiling...
*       >> Copying to bincache...
*         >> Appending mdadm cpio data...
*         >> Appending modules cpio data...
*         >> Appending blkid cpio data...
/usr/share/genkernel/gen_funcs.sh: line 411: popd: 
/var/tmp/genkernel/1329.25212.16108.30496/initramfs-blkid-temp: No such 
file or directory
* Adding kernel to /boot/grub/grub.conf...
* We don't support non-numeric (such as 'saved') default 
values...skipping update
*
* Kernel compiled successfully!
*
* Required Kernel Parameters:
*     real_root=/dev/$ROOT
*
*     Where $ROOT is the device node for your root partition as the
*     one specified in /etc/fstab
*
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided INITRAMFS file. Otherwise;
* substitute the root argument for the real_root argument if you are
* not planning to use the initramfs...

* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot 
properly...
* add "dodmraid" for dmraid support
*       or "dodmraid="

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest genkernel before reporting bugs.

real    6m35.377s
user    10m23.383s
sys     1m13.489s
uranus / #




eselect bashcomp enable gentoo # Enabling All Completions # If you want to enable all of the installed completions you can run this command: # for i in $(ls --color=no /usr/share/bash-completion/); do ln -s /usr/share/bash-completion/$i ~/.bash_completion.d/$i; done # Or, if you want to enable all installed completions globally, run this as root: # for i in $(ls --color=no /usr/share/bash-completion/); do ln -s /usr/share/bash-completion/$i /etc/bash_completion.d/$i; done ### http://www.gentoo-wiki.info/TIP_TAB-completion # this can help too: # $ uranus etc # mkdir /etc/bash_completion.d # $ uranus etc # # # http://lepouf.free.fr/v3/?p=400 # # emerge app-shells/bash-completion-config app-shells/gentoo-bashcomp # bash-completion-config \u2013uninstall \u2013global gentoo # bash-completion-config \u2013install gentoo # source /etc/bash/bashrc # Insérer dans le fichier bashrc le code suivant # nano -w /root/.bashrc # [ -f /etc/profile.d/bash-completion ] && . /etc/profile.d/bash-completion] time genkernel --kernel-config="/tmp/kernel-config-x86_64-2.6.31-gentoo-r6-Gentoo-uranus-1-04" --disklabel --dmraid all time make && time make modules_install make install # cp arch/i386/boot/bzImage /boot/kernel # sed -i -e 's/HOSTNAME.*/HOSTNAME="mybox"/' conf.d/hostname # => # A TESTER: # sed -i -e 's/default*/default saved/' /mnt/boot_gentoo/grub/menu.lst LDFLAGS="-Wl,-O1 -Wl,--sort-common" emerge -av1 xen-tools xm create hvm_test_01.cfg -c watch xm list xm destroy gentoo_01
uranus ~ # eselect news read 1
2009-07-12-xorg-74-alpha
  Title                     xorg-x11-7.4 and xorg-server-1.5 kernel 
support
  Author                    Tobias Klausmann 
  Posted                    2009-07-12
  Revision                  1

Recent versions of xorg's X11 require kernel support to access PCI and 
AGP
graphic cards. This support has only recently been added to the Linux 
kernel
(sys-kernel/vanilla-sources-2.6.30 and 
sys-kernel/gentoo-sources-2.6.29-r5).
Thus, you will need to run a recent enough kernel to use recent versions 
of X11
on an alpha. If you only start programs on your alpha, but the display 
is on
another machine, no upgrade is necessary.

Furthermore, not all graphics card drivers have been updated to work 
with the
newer X server API. One example is the glint driver used for Permedia 
cards. The
upstream developers have been informed about this, but no fixes are 
available
yet, please see https://bugs.freedesktop.org/show_bug.cgi?id=21546

For a general guide to upgrading to Xorg 1.5, see the Gentoo upgrade 
guide:
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.5-upgrade-guide.xml

uranus ~ #
(02:56:43) chithead: doublehp: kernel 2.6.32 and mesa 7.6 will give you 3d on that card, yes (04:01:53) chithead: doublehp: http://wiki.debian.org/XStrikeForce/HowToRandR12 has a good howto on xorg.conf for xrandr 1.2 capable drivers (04:02:10) chithead: doublehp: read section III.1 and later (04:14:39) chithead: doublehp: xrandr in xorg-server-1.6 is limited to one card. you have to setup multiple device sections in xorg.conf (04:20:35) doublehp_f: chithead: RandR 1.2 does not support multiple boards yet (it's planned for RandR 1.3). It means that any RandR 1.2 aware driver will crash the server if you have 2 boards. ... yet an other regression compared to old X . How do i know which randr I have ? (04:20:55) chithead: doublehp: eix xrandr (04:21:08) doublehp_f: chithead: i may have 1.3.1 ... and your tuto is deprecated (04:21:25) chithead: doublehp: you also need xorg-server 1.7 to make use of new xrandr features (04:21:57) doublehp_f: what's wrong with 1.6.5 ? (04:22:03) chithead: doublehp: alternatively use fglrx, which supports multiple cards more or less properly (04:22:15) chithead: xserver 1.6 only supports up to xrandr 1.2 (04:22:42) doublehp_f: chithead: i have xorg 1.6 and ranrd 1.3 ... what are the defaults for stable x86 (04:22:58) chithead: doublehp: xorg-server 1.6 is the latest stable (04:23:14) doublehp_f: chithead: fglrx not in portage; i need to grab it from ati.com ? (04:23:24) chithead: doublehp: the package is called ati-drivers (04:23:30) doublehp_f: chithead: can I safely unmask 1.7 ? (04:23:57) chithead: doublehp: fglrx will only work with 1.6 so you have to decide. maybe #ati or #radeon can give advice
>>> Emerging (2 of 2) x11-drivers/ati-drivers-9.11
[...]
 * checking ebuild checksums ;-) ...                                     
[ ok ]
 * checking auxfile checksums ;-) ...                                    
[ ok ]
 * checking miscfile checksums ;-) ...                                   
[ ok ]
 * CPV:  x11-drivers/ati-drivers-9.11
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux modules multilib userland_GNU
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.31-xen-r10-Gentoo-uranus-1-09
 * You have DRM support built in to the kernel
 * Direct rendering will not work.
 * ati-drivers-9.11 requires the magic SysRq keys in the kernel.
 * Please enable it:
 *     CONFIG_MAGIC_SYSRQ=y
 * in /usr/src/linux/.config or
 *     Kernel hacking  --->
 *         [*] Magic SysRq key
 * in the 'menuconfig'
 * ERROR: x11-drivers/ati-drivers-9.11 failed:
 *   CONFIG_MAGIC_SYSRQ disabled
 *
 * Call stack:
 *                 ebuild.sh, line  48:  Called pkg_setup
 *   ati-drivers-9.11.ebuild, line 190:  Called _check_kernel_config
 *   ati-drivers-9.11.ebuild, line 139:  Called die
 * The specific snippet of code:
 *              die "CONFIG_MAGIC_SYSRQ disabled"
 *
 * If you need support, post the output of 'emerge --info 
=x11-drivers/ati-drivers-9.11',
 * the complete build log and the output of 'emerge -pqv 
=x11-drivers/ati-drivers-9.11'.
 * The complete build log is located at 
'/var/tmp/portage/x11-drivers/ati-drivers-9.11/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/x11-drivers/ati-drivers-9.11/temp/die.env'.
 * S: '/var/tmp/portage/x11-drivers/ati-drivers-9.11/work'

>>> Failed to emerge x11-drivers/ati-drivers-9.11, Log file:

>>>  '/var/tmp/portage/x11-drivers/ati-drivers-9.11/temp/build.log'
(04:30:00) chithead: doublehp: without direct rendering things will be very slow. build it as module (04:31:10) dougztr: doublehp, its optional, fglrx won't use it but you might want it to experiment with radeon (21:48:51) doublehp_f: 1 system is freesing on "requesting amd-ucode/microcode_amd.bin" for 1mn, the continue booting. is that normal ? => remove, or at least make modular some kernel feature. Something in the "processor" submenu. (00:05:34) doublehp_f: how do i enable the "kernel arbiter" ? (00:08:41) PaulFertser: doublehp: by running a recent kernel? (00:10:07) sharky__ [n=sharky@c-66-177-111-89.hsd1.fl.comcast.net] entered the room. (00:11:30) doublehp_f: PaulFertser: which feature do i need to enable ? which symbole (00:11:56) PaulFertser: doublehp: why do you think you need it at all? Are you talking about this: http://airlied.livejournal.com/67628.html ? (00:12:22) doublehp_f: (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support (00:12:29) doublehp_f: is rather explicit when i have 3 cards (00:14:22) PaulFertser: doublehp: probably you want to read http://www.x.org/wiki/VgaArbiter then (00:14:58) jetscreamer [n=jetscrea@unaffiliated/jetscreamer] entered the room. (00:15:01) PaulFertser: doublehp: so clone the repo, compile the module, like that... (00:16:25) doublehp_f: stupid question: it was working fine until 1.4 in 2008 . Why diud everything break with 1.5 and 1.6 in 2008-2009 ? (00:18:11) PaulFertser: doublehp: probably gurus will answer, i'm not one of them, sorry. (00:18:38) doublehp_f: how do clone it ? (00:18:41) doublehp_f: i installe git, (00:18:47) doublehp_f: but it did not conaint git-clone (00:18:54) PaulFertser: doublehp: "git clone" (00:19:37) doublehp_f: which ones do i need: all 3, or jkust kernel module ? (00:20:19) aronofsky: PaulFertser: me again, sorry, Im in europe and I set TV-FORMAT to PAL ... it works ok but the display is black and white, any idea ? (00:21:13) PaulFertser: doublehp: first kernel module cd /usr/src/ git clone http://git.c3sl.ufpr.br/pub/scm/multiseat/vga-module.git git clone http://git.c3sl.ufpr.br/pub/scm/multiseat/libvgaaccess.git export PKG_CONFIG_PATH=/usr/bin/pkg-config cd vga-module make => error => (00:26:51) PaulFertser: doublehp: ok, try to change asm/semaphore.h to linux/semaphore.h vim vgaarb.c - :22 #include => #include - :888 pci_find_slot => pci_get_bus_and_slot make insmod vgaarb.ko # le mesage << VGA arbiter: cannot open kernel arbiter, no multi-card support >> doit disparaitre de /var/log/Xorg.0.log /usr/share/ati/fglrx-uninstall.sh (02:11:32) doublehp_f: soreau: for the 3rd time: what is KMS ? (02:11:33) soreau: You missed step one (02:11:39) soreau: 2.6.31 is too old (02:11:54) doublehp_f: *there is no newer kernel for Xen* (02:12:09) soreau: No one cares about what xen offers (02:12:12) spuddweb left the room (quit: Remote closed the connection). (02:12:14) soreau: Use vanilla-sources or grab a kernel from git (02:12:47) doublehp_f: a kernel without Xen capabilities ? what do you want me to do with those ? (02:13:04) MostAwesomeDude: KMS, kernel mode-setting, is where the kernel sets up the primary functionality of the video card without X. (02:13:07) [Enrico]: doublehp: well if you are able to, update your .31-r10 kernel with drm-next (02:13:21) soreau: [Enrico]: Preferably, drm-radeon-testing (02:13:30) [Enrico]: doublehp: but i don't think it will apply to .31 anymore (02:13:43) MostAwesomeDude: It's the way of the future, it has excellent multicard, and it's going to receive a lot more bugfixes than the legacy path. (02:14:11) [Enrico]: doublehp: yeah soreau is right drm-radeon-testing is good too and may be even easier (02:14:20) soreau: If you're bent on using xen, I guess you'll just have to wait till they catch up to the current state of thins # logrotate => 4000 weeks moon-gen-3 ~ # rsync -aH --stats --delete -e ssh /mnt/arch/ uranus:/mnt/arch/ (23:37:28) doublehp_f: ebuild foo is installed and not mor in any tree. How can i know from which overlay it did come ? (23:37:50) Nikoli: doublehp, all info is in /var/db/pkg ) uranus ~ # xrandr --output DVI-0 --left-of VGA-0 uranus ~ # xrandr --output VGA-0 --mode 1280x1024 uranus ~ # echo '"WD10EADS-00L5B1" 194 C "WDC WD10EADS-00L5B1" "WD10EADS-00M2B0" 194 C "WDC WD10EADS-00M2B0"' >> /usr/share/hddtemp/hddtemp.db
uranus halevt # cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Athlon(tm) II X2 245 Processor
stepping        : 2
cpu MHz         : 2913.280
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc pni cx16 popcnt hypervisor lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips        : 5829.51
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Athlon(tm) II X2 245 Processor
stepping        : 2
cpu MHz         : 2913.280
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc pni cx16 popcnt hypervisor lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips        : 5829.51
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

uranus halevt #

# configure X layout by hal : # http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.5-upgrade-guide.xml uranus halevt # bzcat /usr/share/doc/hal-0.5.13-r2/use-estonian-layout.fdi.bz2 >>/etc/hal/fdi/policy/use-kbd-driver.fdi uranus halevt # mv /etc/hal/fdi/policy/use-kbd-driver.fdi /etc/hal/fdi/policy/use-my-kbd-driver.fdi uranus halevt # vim /etc/hal/fdi/policy/use-my-kbd-driver.fdi
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 4
model name	: AMD Phenom(tm) II X4 965 Processor
stepping	: 3
cpu MHz		: 3415.472
cache size	: 512 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc pni cx16 popcnt hypervisor lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips	: 6834.33
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 4
model name	: AMD Phenom(tm) II X4 965 Processor
stepping	: 3
cpu MHz		: 3415.472
cache size	: 512 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc pni cx16 popcnt hypervisor lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips	: 6834.33
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 2
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 4
model name	: AMD Phenom(tm) II X4 965 Processor
stepping	: 3
cpu MHz		: 3415.472
cache size	: 512 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc pni cx16 popcnt hypervisor lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips	: 6834.33
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 3
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 4
model name	: AMD Phenom(tm) II X4 965 Processor
stepping	: 3
cpu MHz		: 3415.472
cache size	: 512 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc pni cx16 popcnt hypervisor lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips	: 6834.33
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
# /bin/grep: /usr/lib/libGLU.la: No such file or directory # /bin/sed: can't read /usr/lib/libGLU.la: No such file or directory # libtool: link: `/usr/lib/libGLU.la' is not a valid libtool archive lafilefixer --justfixit dhp@uranus ~ $ ls -l /usr/lib/libGL* -rw-r--r-- 1 root root 446274 2010-01-15 02:45 /usr/lib/libGLEW.a lrwxrwxrwx 1 root root 16 2010-01-15 02:45 /usr/lib/libGLEW.so -> libGLEW.so.1.5.1 lrwxrwxrwx 1 root root 16 2010-01-15 02:45 /usr/lib/libGLEW.so.1.5 -> libGLEW.so.1.5.1 -rwxr-xr-x 1 root root 325528 2010-01-15 02:45 /usr/lib/libGLEW.so.1.5.1 lrwxrwxrwx 1 root root 32 2010-02-11 18:16 /usr/lib/libGL.so -> opengl/xorg-x11/lib/libGL.so.1.2 lrwxrwxrwx 1 root root 11 2010-02-11 18:16 /usr/lib/libGLU.so -> libGLU.so.1 lrwxrwxrwx 1 root root 20 2010-02-11 18:16 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070601 -rwxr-xr-x 1 root root 453104 2010-02-11 18:15 /usr/lib/libGLU.so.1.3.070601 lrwxrwxrwx 1 root root 11 2010-02-11 18:16 /usr/lib/libGLw.so -> libGLw.so.1 lrwxrwxrwx 1 root root 15 2010-02-11 18:16 /usr/lib/libGLw.so.1 -> libGLw.so.1.0.0 -rwxr-xr-x 1 root root 26592 2010-02-11 18:15 /usr/lib/libGLw.so.1.0.0 dhp@uranus ~ $ # While 'ls -l /usr/lib/libGL*' may be interesting, # while revdep-rebuild is the ultimate solution, # lafilefixer should be good for a quick fix.