Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Egkatastasi katefthian se kernel 2.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Greek
View previous topic :: View next topic  
Author Message
mourgos
n00b
n00b


Joined: 29 Dec 2004
Posts: 4

PostPosted: Fri Dec 31, 2004 6:59 pm    Post subject: Egkatastasi katefthian se kernel 2.6 Reply with quote

Paidia,

yparxei installation guide pou na exei odigies pws na kaneis install gentoo me ton kernel 2.6 anti gia 2.4? I prepei anagkastika na kanw install me 2.4 kai meta na akolouthisw tis odigies pws na kanw upgrade apo 2.4 se 2.6?
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sat Jan 01, 2005 12:04 am    Post subject: Reply with quote

Mporeis na kaneis install katefthian me 2.6. Apla na prosexeis o, to alazei apo ena kernel sto alo. Den tha eprepe na exeis kanena provlima.
Back to top
View user's profile Send private message
paul555
l33t
l33t


Joined: 22 Nov 2004
Posts: 612
Location: Greece

PostPosted: Sat Jan 01, 2005 3:06 am    Post subject: Reply with quote

kata thn egatastasi mporeis na kaneis
Code:
emerge gentoo-dev-sources

kai tha exeis egatasthsei enan 2.6 kernel sto /usr/src etoimo gia compile
Back to top
View user's profile Send private message
mourgos
n00b
n00b


Joined: 29 Dec 2004
Posts: 4

PostPosted: Sat Jan 01, 2005 9:20 am    Post subject: Reply with quote

Otan kanw emerge gentoo-dev-sources tote aftomata tha ginoune ta e3is?:

Ta parakatw apo: http://www.gentoo.org/doc/en/migration-to-2.6.xml

Code Listing 2.2: Switching from modutils to module-init-tools

# emerge unmerge sys-apps/modutils
# emerge module-init-tools

Code Listing 2.3: Installing udev

# emerge -a udev

Episis tha prepei na valw to nptl sta USE flags.

Ola afta me berdevoune giati den anaferontai pouthena sto installation guide to opoio sou leei na kaneis emerge gentoo-sources.

Vasika, thelw na 3erw ean akolouthisw pista to installation guide alla anti gia emerge gentoo-sources valw to gentoo-dev-sources ola ta aparaitita paketa tha egkatastathoune?
Back to top
View user's profile Send private message
paul555
l33t
l33t


Joined: 22 Nov 2004
Posts: 612
Location: Greece

PostPosted: Sat Jan 01, 2005 10:24 pm    Post subject: Reply with quote

to module-init tools kai ta ypoloipa tha ginoun aytomata otan kaneis emerge gentoo-dev-sources alla gia to udev nomizw oti prepei na to kaneis ksexwrista.Twra egw den exw kanei emerge to udev kai exw pyrhna 2.6.9-r1 me devfs.Prepei esy na skefteis ti thes alla an akolouthiseis to installation guide ola pisteyw tha pane ok kai me emerge gentoo-dev-sources.Kalh epityxia
Back to top
View user's profile Send private message
vangelis
n00b
n00b


Joined: 05 Jan 2004
Posts: 15
Location: St. Louis, USA

PostPosted: Tue Jan 04, 2005 6:47 am    Post subject: Ena endiaferon link Reply with quote

Kat arxin xronia polla se olous.

Rixte mia matia se ayto to link:
https://forums.gentoo.org/viewtopic.php?t=189250&start=0&postdays=0&postorder=asc&highlight=

Exo xrisimopoiisei ti methodo tou ali3nx se 4-5 systimata kai douleyei poly kala. Yparxei mia poly endiaferousa syzitisi kai kathos prokeitai gia ~x86 egatastasi ta opoia problimata prokyptoun synithos lynontai amesa. Oi kyrioi syntelestes parakolouthoun tin kinisi sto thread kai apantoun. Episis o ali3nx prosferei kai etoima config arxeia gia osous epithymoun.

H egatastasi ginetai kateytheian se 2.6 (apo stage 1) allazontas me to kalimera ta headers se 2.6 kai energopoiontas nptl gia multithreaded leitourgia. Den exo kanei kanena test taxytitas (kathos ta dika mou systimata sto spiti einai apelpistika arga...) alla oloi ekei sto thread isxyrizontai oti ta dika tous systimata trexoun poly grigora.

An proseksete mesa sto thread yparxei kai mia yposyzitisi gia mia enallaktiki methodo (prosarmogi tis methodou tou rac) opou basika kataligeis sto idio simeio (2.6, nptl, gcc 3.4.3 klp), omos ksekinas apo stage 3 kai meta apo merikes allages kaneis emerge -e world kai etsi olo to toolchain exei xtistei apo gcc3.4.3 me nptl.

Telos panton opos kai na katalikseis se 2.6 egatastasi, eimai sigouros oti douleyei poly kala. H diafora ginetai apo to posa paketa tha katalikseis na xtiseis stin poreia. Otan exeis grigoro systima mallon den exei megali simasia... Prosopika den exo megali ypomoni (ta dika mou systimata pairnoun meres na teleiosoun...)

Kali tyxi

Vangelis
Back to top
View user's profile Send private message
ag_x
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 142
Location: Self Sarkarm.

PostPosted: Tue Jan 04, 2005 5:31 pm    Post subject: Reply with quote

mourgos wrote:


# emerge -a udev

Episis tha prepei na valw to nptl sta USE flags.


Δεν είναι αναγκαίο ούτε το ένα (udev) ούτε το άλλο (nptl flag) για ένα 2.6.* πυρήνα.
Πάντως συνιστώνται και τα δύο,για καλύτερη διαχείριση των συσκευών (udev) και για καλύτερη διαχείριση των διεργασιών (nptl),αν και προσωπικά πιστεύω ότι δεν έχει και πολύ ορατό αποτέλεσμα στις επιδόσεις σε ένα desktop σύστημα η χρήση nptl.Σε κάθε περίπτωση όμως σε κάνει να αισθάνεσαι καλύτερα όταν τρέχεις την top και βλέπεις πιο λίγες και πιο συμμαζεμένες τις διεργασίες.
Αν δεν έχεις σκοπό να κάνεις τίποτα από τα δύο ένα emerge gentoo-dev-sources είναι αρκετό.
Με την μέθοδο του Rac μπορείς να βάλεις την nptl flag και μετά,άλλωστε στην ουσία μόνο το glibc χρειάζεται να ξαναγίνει compile.
Το emerge -e system και μάλιστα δύο φορές, χρειάζεται να γίνει άν κάποιος αναβαθμίσει τον gcc compiler σε 3.4.3.
Καθώς το βλέπω, το stage-1 είναι στην ουσία αχρείαστο,πέρα από χρωνοβόρο,άν και προσωπικά με κάνει <Διαστροφή>και αισθάνομαι καλύτερα. </Διαστροφή>
Αλλά πέρα από τον καθαρά ψυχολογικό τομέα,θα λεγα ότι τo stage-3 με επιλογή του gcc-3.4.3 και με 2.6.10 πυρήνα είναι υπεραρκετό και αρκετά σταθερό,για κάποιον που χτίζει ένα σύστημα από την αρχή.
Πάντως με την ευκαιρεία του καινούριου compiler μεταπήδησα σε σταθερό σύστημα και με λίγα επιλεγμένα πακέτα στο package.keywords που χρειάζομαι,αν και για να μαι ειλικρινής,χρειάστηκε κάποιος χρόνος να "στρωθεί",γιατί κάποια προγράμματα "ψάχνανε" για κάποιες βιβλιοθήκες που δεν υπήρχανε.
Back to top
View user's profile Send private message
avalak
n00b
n00b


Joined: 05 Jan 2005
Posts: 1

PostPosted: Wed Jan 05, 2005 12:23 pm    Post subject: Reply with quote

Proswpika, se ka6e neo gentoo installation h me6odos pou akolou6w einai:

- extract stage1 tarball
- chroot && emerge-webrsync
- Set CFLAGS in /etc/make.conf to "-O3 -fstack-protector -s -fomit-frame-pointer <add-your-other-stuff>", CXXFLAGS=${CFLAGS}
- Set USE flags to "nptl nptlonly mmx sse readline <add-your-other-stuff>"
- Set /etc/portage/profile/virtuals to

virtual/kernel sys-kernel/linux26-headers
virtual/os-headers sys-kernel/linux26-headers
virtual/editor app-editors/vim
virtual/jdk dev-java/sun-jdk
virtual/jre dev-java/sun-jre-bin
virtual/linux-sources sys-kernel/gentoo-dev-sources
virtual/dev-manager sys-fs/udev

- Set /etc/portage/package.keywords to

sys-kernel/linux26-headers -* ~x86
sys-kernel/gentoo-dev-sources -* ~x86

...kai meta bootstrap.sh, emerge system etc etc etc...

Straight out of the box exeis 2.6 kernel, udev, nptl, pie/ssp everywhere.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Greek All times are GMT
Page 1 of 1

 
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