You are not logged in.

#1 2010-05-15 18:49:25

greengold
Member
Registered: 2010-01-30
Posts: 199

AUR Kernel compilation

Hi!
I have download traball for Kernel-ice 2.6.33-7 form aur, made package and install it using makepkg -s -i.
my question is, what else should I do to start this newly installed kernel? ...because when I issue the uname -a command I get result that Im usuing my old lernel 2.6.32.
Thanks for response! (:

Offline

#2 2010-05-15 18:56:37

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: AUR Kernel compilation

did you update your bootloader to use the new kernel?

Offline

#3 2010-05-15 19:00:35

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: AUR Kernel compilation

emm...(:.. no!
how I should do that?

Offline

#4 2010-05-15 19:05:55

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: AUR Kernel compilation

You're probably using grub, if so, in

/boot/grub/

is a file called menu.lst. In that are the boot entries, copy the default one (the one with kernel26.img and so on under (new lines) it and edit the entries specifics (that is kernel26.img to kernel26-ice.img if that is the name of your new kernel).
Here is my entry for the kernel26-ck:

title  Arch Linux CK patchset [/boot/vmlinuz26]
root   (hd0,0)
kernel /vmlinuz26-ck root=/dev/mapper/VolGont-lvmroot resume=/dev/sda2 ro
initrd /kernel26-ck.img

(Don't just copy my entry though, it would fail for you)
Also look at the arch-wiki entry for Grub.

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#5 2010-05-15 19:41:19

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: AUR Kernel compilation

Thanks! It works!
but..
at first, I was surprised that my grub didn't recognise changes in menu.lst, tham I have noticed that in /boot/grub/ I do have file named grub.conf so I edited this and changes were applyed!
But here's the problem - when I boot with my new ice kernel, Im booted to console like as I have runlevel 3 uncommented in inittab. But my inittab and rc.conf did not change! so,why it is booting to console?
I tryed  to issue startx command but I get error about nvidia drivers... Wired... Everything works fine when I boot to my old kernel

Offline

#6 2010-05-15 19:48:59

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: AUR Kernel compilation

i believe you need to install nvidia for your custom kernel, which is probably the reason x is not starting.

Offline

#7 2010-05-15 19:51:24

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: AUR Kernel compilation

Wait for some other commenters, but look here for some possible reason/solution.

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#8 2010-05-15 20:33:23

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: AUR Kernel compilation

Im trying to instal custom nvidia driver from abs
I've followed steps in links above and and I got to step change the version of kernel in nvidia.install and PKGBUILD
there is a line in PKGBUILD which describe dependencies :
depends=('kernel26>=2.6.31' 'kernel26<2.6.32' "nvidia-utils=${pkgver}")
so as you can see 'kernel26<2.6.32' is not sa satisfyed because Im trying to install it fo 2.6.33-7 kernel !

once agin, Im out hmm sad

Last edited by greengold (2010-05-15 20:37:46)

Offline

#9 2010-05-15 22:03:37

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: AUR Kernel compilation

which nvidia driver version are you trying to use? the latest version 195.36.15 is compiled with the 2.6.33 kernel.

Offline

#10 2010-05-15 22:30:21

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: AUR Kernel compilation

Just use this package and you have nvidia drivers for both kernels:
http://aur.archlinux.org/packages.php?ID=32908


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#11 2010-05-15 23:11:02

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: AUR Kernel compilation

SanskritFritz wrote:

Just use this package and you have nvidia drivers for both kernels:
http://aur.archlinux.org/packages.php?ID=32908

nice, i hadn't seen that before.  looks very convenient.

Offline

#12 2010-05-16 06:05:19

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: AUR Kernel compilation

Convenient, and more importantly, works flawlessly here, I have 4 kernels, all have their respective nvidia drivers.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#13 2010-05-16 09:44:52

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: AUR Kernel compilation

well, what I did... I uninstall my old drivers using pacman -Rd nvidia and nvidia-utils command
and I did makepkg -s -i with nvidia-all downloadred PKGBUILD.
during installation I got :

Password:
loading package data...
checking dependencies...
(1/1) checking for file conflicts                   [#####################] 100%
(1/1) upgrading nvidia-all                          [#####################] 100%
ERROR: Module nvidia is in use
In order to use the new nvidia module, exit Xserver and unload it manually.

but,installing went fine, so I tryed to run my new kernel. Nothing happend here. Onve agin I have booted into console.
Than I tryed to edit my inittab and issue booting to runlevel 3 instead runlevel 5 and than issue modprobe nvidia. But when I rebooted I was still booted into graphic big_smile .than I try issue modprobe nvidia in console enviroment of my new kernel but I got wrong module format sad
Really,is it so complicated?!
Thanks!

Offline

#14 2010-05-16 22:59:45

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: AUR Kernel compilation

installing package nvidia-utils-beta 195.36.24-1 did that trick !
Thanks anyway ((:

Offline

#15 2010-05-16 23:18:33

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: AUR Kernel compilation

You're doing it wrong. nvidia-all depends on nvidia-utils, nvidia-beta-utils is not what you're looking for at all, that's for nvidia-beta and nvidia-beta-all. You're just lucky that nvidia-beta and nvidia are at exactly the same version currently. Please uninstall nvidia-utils-beta and install nvidia-utils.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#16 2010-05-17 08:26:50

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: AUR Kernel compilation

I did have installed nvidia-utils before this configuration. If I would not have it installed, I would not be able to install nvidia-all

Offline

#17 2010-05-17 08:31:05

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: AUR Kernel compilation

greengold wrote:

I did have installed nvidia-utils before this configuration. If I would not have it installed, I would not be able to install nvidia-all

nvidia-utils-beta conflicts with nvidia-utils. You would not have been able to install both without over-writing nvidia-utils files, and you'd have to force it anyway.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#18 2010-05-17 09:37:06

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: AUR Kernel compilation

that's right!
I had have installed nvidia-all and appropirate nvidia-utiils --this didn't work..
so I have uninstall both and install nvidia-beta-all and nvidia-utils-beta --this work for me

Offline

#19 2010-05-17 16:03:01

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: AUR Kernel compilation

Okay. Glad you like my package. When you do post solutions such as in #14 please don't abbreviate, it sounded for all the world like you had nvidia-utils-beta and nvidia-all installed concurrently.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#20 2010-05-17 21:04:51

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: AUR Kernel compilation

My apologies!
Thanks for package! (:

Offline

Board footer

Powered by FluxBB