Vazhinji venyu munoratidzika kunge mune dambudziko rekuisa iyo Kernel yakakwenenzverwa neiyo 200 mutsara chigamba pamachini ako, izvi zvinotarisirwa, saka zvinogara zvirinani kuva ne Kernel zvakanyatso nyorwa mumuchina wedu kupfuura mumuchina wekunze, zvekuti zvinotora nemazvo dhizaini yemuchina wedu uye gadziriso yakajairika yeiyo Hardware.
Neichi chikonzero, pano ini ndinodzidzisa vane hushingi, maitiro ekunyora yavo Kernel (2.6.36.2) muUbuntu (yakaedzwa mukati Ubuntu 10.10) ine 200-mutsara chigamba chakabatanidzwa mairi. Rangarira kuti maitiro aya anofanirwa kuitwa panjodzi yako wega, zvinoda huwandu hukuru hwemapakeji kurodha pasi uye inguva yakareba yekubatanidza.
Kutanga, chinhu chekutanga chatinofanira kuita kuisa kudikanwa kunoenderana nekernel kuunganidzwa nekuita inotevera tambo mune iyo terminal:
sudo apt-tora kuisa fakeroot kuvaka-kwakakosha kuparara kexec-maturusi makedumpfile kernel-wedge kernel-package
Iye zvino ngatitangei inotevera tambo mune iyo terminal, iyo inodikanwa kuumbiridza iyo Kernel (kubva Intrepid)
sudo apt-tora kuvaka-dep linux
Isu tinopedzisa ino yekutanga nhanho nekuiswa kwemamwe mapakeji anodikanwa mukuumbwa
sudo apt-tora kuisa libncurses5 libncurses5-dev yakasununguka-dev asciidoc binutils-dev
Kuenderera mberi neiyo kernel yekumisikidza maitiro, isu tinofanirwa kurodha pasi masosi eazvino akatsiga kernel (2.6.36.2) uye chigamba che Mike galbraith uye uzviise mukati medha renhoroondo.
Ngatigadzirei dhairekitori reiyo kernel kuunganidzwa, tinoenda kwariri uye tinotora masosi enjeri kubva kernel.org:
mkdir kernel-2.6.36.2 cd kernel-2.6.36.2 wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.2.tar.gz
Iye zvino tinogadzira faira nyowani nyowani uye isu tinoteedzera iyo kodhi iyo isu yatinowana mune yaMike Galbraith's posvo kana isu tinogona kuirodha kubva kuMediaFire, kusevha uye kuvhara iyo faira:
gedit ~ / autogroup.patch
Mike Galbraith's Yepamutemo Post
Mike Galbraith Patch kubva kuMediaFire
Iye zvino tave kuzobvisa iyo Kernel iyo isu tangotora pasi kubva kernel.org:
tar xzvf linux-2.6.36.2.tar.gz cd linux-2.6.36.2 chigamba -p1 <~ / autogroup.patch
Panguva ino zvese zvinofanirwa kufamba mushe uye zvisina zvikanganiso, kana paine kukanganisa panofanirwa kutangazve maitiro.
Tevere isu tichaisa yazvino Kernel kumisikidzwa, izvi kuitira kuti iyo nyowani Kernel itore iyo gadziriso yakananga kubva kune yedu system uye isu hatizove nechero matambudziko kana tichiinyora. Kunyangwe zvakadaro, kana iwe uine ruzivo rwakakwana iwe unogona kugadzirisa iyo kernel kumisikidza kuti uwane system inoenderana zvakanyanya nezvako zvaunoda, unogona kuzviita.
Kana iwe usingazive zvauri kuita, zvirinani kuti usashandure manyore kugadzirisa kernel.
Isu tinoteedzera kumisikidza nekuita unotevera kuraira mune iyo terminal uye gare gare isu tinoita
lsmod
kuitira kuti ma module ese akatakurwa musystem yedu aurayiwe uye tinoita shuwa kuti zvese zvigadzirwa zvedu zvinozivikanwa.
cp -vi / boot / config-`uname -r` .config inogadzira localmodconfig
Panguva ino maitiro ekuunganidza achakubvunza mibvunzo yakati wandei nezve ma module, ramba uchigamuchira mibvunzo yese inobvunzwa nekutsikirira pinda kusvikira gadziriro yekumisikidza yapera.
Isu tinopfuurira kernel kuunganidzwa nekuita inotevera tambo mune terminal yekuvhura iyo kernel yekumisikidza menyu:
cp / bhuti / gadziriso - $ (uname -r) .config && hongu "" | gadzira oldconfig gadzira menuconfig
Iye zvino tinogona kusarudza zvigamba zvatiri kuda kugonesa muKernel yedu, nekuti isu tinofarira iyo 200-mutsara chigamba.
Kuti tiite izvi, isu tinofamba kuburikidza neiyo kernel yekumisikidza menyu inoonekwa, kudzamara
General Setup
uye isu tinotsvaga tambo ine zita
Automatic process group scheduling
, tinoigonesa nekudzvanya iyo bar bara pane yedu keyboard, tinozvimisikidza pachedu pane sarudzo
Exit
uchishandisa museve pabhodhi uye pinda kiyi pinda kubva kukhibhodi yedu kuti ubude mumenu
General Setup
.
Iye zvino tave kuenda kune iyo menyu
Kernel hacking
uye tinopinda nekudzvanya kiyi pinda, tinotsvaga sarudzo
Compile the kernel with debug info
uye isu tinosarudza iyo nekudzvanya iyo bara repakati pane yedu keyboard, zvakare tinoenda kusarudzo
Exit
uye tinotsimbirira pinda kuti ubudise huru menyu.
Isu tapedza kumisikidzwa kernel, saka isu tinongofanirwa kudzokera ku
Exit
mumenyu huru uye pfuurira pinda kupedzisa kumisikidza kernel. Isu tinobvuma painotibvunza kana isu tichida kusevha shanduko dzakaitwa kune kernel kumisikidzwa nekudzvanya Enter pane iyo Yes sarudzo.
Zvino hongu, isu tichagadzira iyo kernel nekuita inotevera tambo mune iyo terminal:
fakeroot gadzira-kpkg --initrd - shandisa-kune-vhezheni = -20101209 kernel-mufananidzo kernel-misoro
Ndokumbira utarise kuti maitiro ekuvaka anogona kusiyana zvichienderana neyakaomarara Hardware
Izvi zvinogadzira maviri .deb mapakeji mukati mekernel-2.6.36.2 dhairekitori, iyo yatinozoshandisa kuisa iyo Kernel nyowani muUbuntu hwedu ichivatendera kuti vateedzere ne Synaptic uye nyore bvisika.
Tinouya kuchikamu chekupedzisira chedzidziso iyi, kwatinozoisa nekuyedza mashandiro akanaka eKernel nyowani yatichangobva kuisa.
Kuisa iwo maviri .deb mapakeji atichangobva kugadzira isu tinofanirwa kuteedzera inotevera kuraira mune iyo terminal:
cd .. sudo dpkg -i * .deb
Kana zvese zvikafamba mushe, takatangazve muchina wedu uye mune runyorwa rwe Grub, tinosarudza iyo Kernel nyowani (2.6.36.2) uye tinya pinda kutanga iyo system.
Kana tangodzokera pa desktop, tichaona kuti iyo 200-mutsara chigamba yakanyatso shandiswa uye kushanda nekuita inotevera tambo mune terminal:
cat /usr/src/linux-headers-2.6.36.2-20101219/.config | grep -i ZVINOKOSHA
Uye inofanirwa kudzosa tambo yakaita seiyi:
CONFIG_SCHED_AUTOGROUP = y
Kana zvirizvo, isu tine yedu system inomhanya nayo. Kernel 2.36.6.2 and the "Otomatiki kuronga boka kuronga" yakamisikidzwa.
Isu tinogona kutonetseka Ubuntu kusvika kune yakanyanya ...
Iri bhuku rinouya kwauri nekuda kwekuedza kwe FRANCOBEP.
Mhoro David
mubvunzo wangu ndouyu:
Ini ndinowanzo shandisa tsanga dzeiyo ubuntu ppa (https://launchpad.net/~kernel-ppa/+archive/ppa)
Izvi hazvichauyi neiyo 200-mutsara chigamba chakabatanidzwa?
gracias
Ona, ini ndichiri kutarisa kuti ndione kana iyo Ubuntu PPA kernel ine chigamba chakabatanidzwa, asi izvi zviri nyore kuti uzviwanire wega, ingo mhanyisa iwo murairo
cat /usr/src/[versión del último kernel]/.config | grep -i AUTOGROUP
, kwaunga shandura iwo mavara mukati mabhureki eiyo vhezheni yazvino kernel pamushini wako.Kana iwe ukawana mhinduro meseji seiyi
CONFIG_SCHED_AUTOGROUP=y
, ipapo une chigamba chakaiswa.Cherechedza: kuti uzive vhezheni yedzese kernels dzakaiswa pakombuta yako, iwe unongofanirwa kuita rairo
ls /usr/src/
Mune terminal.Horacio, iyo Ubuntu PPA Kernel parizvino ine iyo V4 chigamba che Mike glabraith mumashoko ake Tim gardner (Anovandudza Canonical).
Zvakanaka, ini ndakatozvinyora uye yaiswa,…. zvirinani system haina kufa izvozvi kuti ishande kuti ione kuti inoshanda sei
Yakanaka dzidziso. Ini ndakatevera matanho kune tsamba uye zvese zvakashanda zvakaringana. Ndine kernel yangu nyowani.
Ongorora: Ini ndakangoita imwe shanduko yainzwika zvine musoro kwandiri uye yaive pano:
cp -vi / bhuti / gadziriso-`uname -r` .config
gadzira localmodconfig
Ndakazviita sezvizvi:
cp -vi / bhuti / gadziriso-`uname -r` .config
lsmod
gadzira localmodconfig
ikozvino ndinoziva kuti ndakaita chikanganiso chidiki saka ndichachidzorera ... uye wedzera irving modification
Ini ndinogara pakutanga a:
init: isina kuverengwa main maitiro (362) akagumiswa aine chinzvimbo 5
Zvakanaka, zvinoita sekushanda zvakanaka, chingave chii ??? '
Zvakanaka chaizvo bhuku racho, ivo vakariisawo pa taringa, panguva ino iri kunyora kernel ndinotarisira kuti yafamba mushe ndinongochinja mhando yepurosesa mu menuconfig ndinovimba wasarudza zvakanaka nekusarudza Intel core / nyowani xeon sezvo ini ndine Intel musimboti i3 processor, kwaziso uye nekutenda kwekuisa
Mhoro, zvakanaka, iwo murairo unoita kunge uri nani kwandiri
cp / boot / config-`uname -kernel-release` ./.config
sezvo inoshandisa yazvino kernel kumisikidzwa yakaiswa
Mhoro, wakadii? Ini ndinongova nekusahadzika kushoma… mufaera rekernel kunouya ese mairi-makumi matatu nemasere-makumi matanhatu mavhezheni? kana kutora amd32 vhezheni ini ndinofanira kurodha pasi imwe?… Nekubvisa dudziro dzose dziri mbiri dzinofanira kuuya zvakaenzana?… tsananguro yakanaka kwazvo!
Gracias!