bios->kernel->modules alla POS ???

Φρίξος Κοψαχείλης tachyon at vivodinet.gr
Thu Nov 11 03:14:52 EET 2004


Alaios wrote:
> Kalispera akolotuthei mia megali erotisi kai sigoura
> den perimeno kai megales apantiseis oso to pou na
> synexiso na psaxnomai
> 

> Thelo na katalabo oso to dynaton perissotero ti boot
> procedure tou linux. Kata kairous exo brei diaforous
> odigous oi opoio kalyptoun ta parakato

> a)Poso apo to bios tha ftasei o kernel na parei ton
> elegxo
thes na epanalabeis thn erwthsh? den katalabainw ti thes na peis.

> b)Poia einai ta runlevel kai pos ftanoume sto 5o
> runlevel kai poies einai oi basikes processes enos
> linux sistimatos
> 
Ta runlevels einai kathara custom issue. Kathe dianomh kathorizei monh 
ths ti kanei to kathena, opote den tithetai thema tou pws ftaneis sto 
level 5 px. /Synithws/  ta levels 0 kai 6 orizontai ws shutdown/halt kai 
reboot antistoixa. Epishs, to level 1 einai to single user mode, dld 
katastash toy systhmatos opou trexoun oi apolytws aparaithtes processes 
kai prosferetai gia troubleshooting kai maintenace  tasks. (kati san 
'safe mode')

Apo kei kai pera, (levels 2-5) analoga me th dianomh. Sto ubuntu linux, 
kathe runlevel einai graphical multiuser.

Sto Slackware to level 3 einai to multiuser (text mode) kai to level 4 
einai to mutliuser (graphics:X <- xdm/kdm/gdm mode)

Sto debian nomizw to graphcis mode einai to level 5.


Sto gentoo, to level 2 einai 'nonetwork' mode. KOK...

> Omos den mporo me tipota na kalypso tis parakato
> apories mou eksou kai giati sas grafo
> 
> a)Pos enas pirinas anagnorizei ti hardware exei ena
> sistima?

Fortwnei ena initial ram disk me ta entelws vasika modules kai trexei 
ena hardware detection program/script.
Oi perissoteres dianomes xrhsimopoioun to kudzu (RedHat hardware 
detector) an den apatwmai. An kanw lathos as me diorthwsoun.
Ola ayta gia live cd h systhmata egkatastashs.

> b)Pos enas pirinas katalabainei ti module na fortosei
> gia kathe mia syskeyi? Gia paradeigma esto oti me
> kapoio tropo brei oti exo agp... pos tha katalabei oti
> tha prepei na fortosei to agppart.o (ean to thymamai
> sosta)

einai agpgart.o. kai orismenes syskeyes einai standard, analoga me ta 
xarakthristika toys pou antiproswpeyontai me ta node numbers sto /dev.
an deis sto modules.conf, tha prosekseis orismena aliases tou styl 
'major-114 nvidia' px. Opote ean o pyrhnas kserei oti yparxei to device 
me major number 114 tha fortwsei to antistoixo module.

> c)Yparxei tropos na tou poume na min fortosei kapoio
> module. Gia paradeigma den thelo na anagnorisei tin
> karta kai oti paizei san apli vga mou einai mia xara
> .. yparxei tropos na tou po min fortoseis kati
vlepe modules.conf

> d)Kathe fora pou prosthetoume siskeyi pos katafernei
> meta apo restart na tin kanei na paizei polles fores? 

ennoeis oti polles fores, ean kaneis restart afou exeis prosthesei 
kainouria syskeyh tha th dei kai tha paiksei? Ayto eksartatai apo th 
dianomh.

> e)Pos katafernoun oi etairies p.x Suse,Fedora.
> Mandrake na ftiaxoun pirines mazi me ta modules pou na
> paizoun se ola ta sistimata? 
Poly apla. Paketaroun mazi ola ta dynata modules! :)

>Pos kseroun oti ego exo
> agp.. tade cdrom tade karta ixou k.l.p ? 

den to kseroun


>Ta kanoun ola
> modules? Kai pos kseroun to ti tha fortosoun gia to
> kathe mixanima?
to hardware detection pou legame proigoumenws.
> 
> Ayta (pros to paron).. elpizo na min sas kourasa alla
> exo kai merikes alles pio perierges.
> Eyxaristo
> Aleksandros
> 

To hardware detection den einai kati toso ekswtiko. Efoson yparxoun 
ergaleia pou anasyroun plirofories apo ta vasika yposysthmata, (px 
lspci) ena aplo parser script arkei gia na kanei match ta vendor kai 
device specific info kai na rythmisei ton pyrhna na fortwnei ta 
katallhla modules. Toulaxiston egw etsi exw katalavei.

-- 
Frixos "I/We/Gaia" Kopsachilis




More information about the Linux-greek-users mailing list