Kako iskompajlirati svoj kernel (Ubuntu)
Moderator/ica: Moderatori/ce
Re: Kako iskompajlirati svoj kernel (Ubuntu)
dovoljno je instalirati kernel_image, ovi ostal inisu nužni. U GUI konfiguraciji on postavi default postavke i može se lako iz File -> open otvoriti bilo koja druga .conf, pa i oldconf iz /boot. To je daleko najlakša metoda jer daje lijepo sučelje.
Es gibt keinen Gott, kein Universum, keine menschliche Rasse, kein irdisches Leben, keinen Himmel, keine Hölle. Es ist alles ein Traum - ein grotesker und dummer Traum. Nichts existiert außer dir. Und du bist nur ein Gedanke - ein vagabundierender Gedanke, ein nutzloser Gedanke, ein heimatloser Gedanke, der verloren in der leeren Ewigkeit wandelt!
Re: Kako iskompajlirati svoj kernel (Ubuntu)
Da, fakat nisam o tome uopće razmišljao. Eh!
- kaiwan
- Postovi: 934
- Pridružen/a: 04 pro 2007, 21:59
- Spol: M
- OS: OpenSUSE 11.2, KDE 4.4.3
- Lokacija: jastrebarsko
Re: Kako iskompajlirati svoj kernel (Ubuntu)
Rezultati:
- normalno se boota pri prvom bootu mi je javio da ce radit u LOW-GRAPHIC modu, pa sam malo editirao xorg.conf i
uspio dobit rez sa 800*600 na 1024*768. Ali sada ne znam sto moram upisati da dobijem 1280*1024...
Dat cu tu svoj xorg pa ako znate:
dodao sam ovo: modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
ali ne radi, opet me baca u staru rez
- normalno se boota pri prvom bootu mi je javio da ce radit u LOW-GRAPHIC modu, pa sam malo editirao xorg.conf i
uspio dobit rez sa 800*600 na 1024*768. Ali sada ne znam sto moram upisati da dobijem 1280*1024...
Dat cu tu svoj xorg pa ako znate:
Kod: Označi sve
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "v4l"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "hr"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "Failsafe Device"
Boardname "vesa"
Busid "PCI:1:0:0"
Driver "vesa"
Screen 0
EndSection
Section "Monitor"
Identifier "Failsafe Monitor"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1024x768"
Horizsync 31.5-48.0
Vertrefresh 56.0 - 65.0
# !!!!!!!!!!!!!!! sljedece 3 modline opcije sam komentirao jer mi ne trebaju
# modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
# modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
# modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync # ->DAL I TU MORA BITI: +hsync +vsync
#!!!!!!!!!!!!! modeline "1280x1024@60" ????????????????????? ne znam te podatke
Gamma 1.0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Failsafe Device"
Monitor "Failsafe Monitor"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1024 768
Modes "1280x1024@60" "1024x768@60" "800x600@56" "640x480@60"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
EndSection
Section "ServerFlags"
EndSection
ali ne radi, opet me baca u staru rez
Be the change you want to see in the world! Dalai Lama.
Re: Kako iskompajlirati svoj kernel (Ubuntu)
Evo pa izaberi:
Kod: Označi sve
Section "Monitor"
Identifier "Generic Monitor"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1600x1200"
Horizsync 31.5-74.7
Vertrefresh 56.0 - 65.0
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
Gamma 1.0
EndSection
Re: Kako iskompajlirati svoj kernel (Ubuntu)
A zašto ne probaš sa ovime iskonfigurirati:
Da, to ti se sa grafikom desilo jer ti je prestao raditi modul od grafičke koji radi samo pod kernelom iz repozitorija.
Kod: Označi sve
sudo dpkg-reconfigure -phigh xserver-xorg- kaiwan
- Postovi: 934
- Pridružen/a: 04 pro 2007, 21:59
- Spol: M
- OS: OpenSUSE 11.2, KDE 4.4.3
- Lokacija: jastrebarsko
Re: Kako iskompajlirati svoj kernel (Ubuntu)
idem probati to sada....Grof je napisao/la:A zašto ne probaš sa ovime iskonfigurirati:
Da, to ti se sa grafikom desilo jer ti je prestao raditi modul od grafičke koji radi samo pod kernelom iz repozitorija.Kod: Označi sve
sudo dpkg-reconfigure -phigh xserver-xorg
Znam da je zato, samo sam mislio da ce me bacit u 1280*1024 kako me bacio i ubuntu kada sam ga insalirao tek
Be the change you want to see in the world! Dalai Lama.
- kaiwan
- Postovi: 934
- Pridružen/a: 04 pro 2007, 21:59
- Spol: M
- OS: OpenSUSE 11.2, KDE 4.4.3
- Lokacija: jastrebarsko
Re: Kako iskompajlirati svoj kernel (Ubuntu)
Evo radi sada normalno reyolucija....Grof je napisao/la:A zašto ne probaš sa ovime iskonfigurirati:Kod: Označi sve
sudo dpkg-reconfigure -phigh xserver-xorg
Imam novi kernel
Imam novi kernel
Imam novi kernel
Hvala pomagacima, Grofu i Shriku
Be the change you want to see in the world! Dalai Lama.
- kaiwan
- Postovi: 934
- Pridružen/a: 04 pro 2007, 21:59
- Spol: M
- OS: OpenSUSE 11.2, KDE 4.4.3
- Lokacija: jastrebarsko
Re: Kako iskompajlirati svoj kernel (Ubuntu)
I normalno rade programi koje sam iskompilirao sam...mislio sam da oni nece htjet...ali rade... 
Ako idem rucno drivere za nvidiu stavit, hocu poremetit sta kod restricted drivers managera koji je vezan za stari kernel ?
Ako idem rucno drivere za nvidiu stavit, hocu poremetit sta kod restricted drivers managera koji je vezan za stari kernel ?
Be the change you want to see in the world! Dalai Lama.
- kaiwan
- Postovi: 934
- Pridružen/a: 04 pro 2007, 21:59
- Spol: M
- OS: OpenSUSE 11.2, KDE 4.4.3
- Lokacija: jastrebarsko
Re: Kako iskompajlirati svoj kernel (Ubuntu)
E sada mi ne radi zvuk...kaze: no volume control GStreamer plugins and/or devices found
Ovo mi javi za gresku kada instaliram nove ALSA drivere:
Ovo mi javi za gresku kada instaliram nove ALSA drivere:
Kod: Označi sve
make[1]: Entering directory `/home/miroslav/bin/alsa-driver-1.0.15/acore'
mkdir -p /lib/modules/2.6.24.3/kernel/sound/acore
cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-rtctimer.ko snd-timer.ko snd.ko /lib/modules/2.6.24.3/kernel/sound/acore
cp: cannot stat `snd-hwdep.ko': No such file or directory
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-rawmidi.ko': No such file or directory
cp: cannot stat `snd-rtctimer.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/home/miroslav/bin/alsa-driver-1.0.15/acore'
make: *** [install-modules] Error 1
Be the change you want to see in the world! Dalai Lama.
Re: Kako iskompajlirati svoj kernel (Ubuntu)
Hm. Da li su ti ALSA moduli za taj kernel? Ako da, obično se traži source u /usr/src, no vidim da kod tebe to nije nužno tako. Probaj prebaciti source u /usr/src, probaj opet i javi. Probaj i restartat komp.
Es gibt keinen Gott, kein Universum, keine menschliche Rasse, kein irdisches Leben, keinen Himmel, keine Hölle. Es ist alles ein Traum - ein grotesker und dummer Traum. Nichts existiert außer dir. Und du bist nur ein Gedanke - ein vagabundierender Gedanke, ein nutzloser Gedanke, ein heimatloser Gedanke, der verloren in der leeren Ewigkeit wandelt!