You are not logged in.
hi,
i want to create a custom kernel starting from official kernel26 sources. since i have just started using arch, i am a newbie wrt to the best way of doing this.
one possibility (that i can think of) is to use abs. the problem here is that makepkg (after downloading + patching the kernel sources) uses the default kernel-config.
is it possible to do the following (or its equivalent):
- download + patch the kernel26 code as usual.
- run make menuconfig and choose appropriate options
- continue with makepkg as usual with the new config ?
or if there is a better way to doing the same, can you please let me know ?
thanks
anupam
Offline
Offline
cool, thanks !
Offline
cool, thanks !
just wanted to update this with my experience: basically, i followed the instructions in the above url, and it all worked fine (almost).
the custom kernel-package is created fine and gets installed, as usual with a "pacman -U ...". this also creates appropriate hierarchy at "/usr/src/<kernel-package>" for building out-of-tree modules (i guess e.g. nvidia). in the end, i had to run "mkinitcpio" for creating the initrd image for the custom kernel.
the only issue i had was during compilation of nvidia-kernel module. apparently, "arch/i386/Makefile.cpu" was not copied over during the installation of the custom-kernel-package above. this had to be done by "hand", after which i had no issues creating the custom nvidia module which works fine.
Offline
I'm glad things went well. I don't use the abs method for compiling my kernel, so I can't comment on te missing file problem. If you believe the missing file is a packaging problem, you might want to notify the devs using the bugtracker. However, since may people use "the abs way" to compile their kernels, I'm thinking it's not a bug, otherwise it would have been reported long ago.
Cheers,
peart
Offline
i've had that problem too. copying by hand is the only way i've gotten nvidia to compile. getting nvidia to work is another story
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
i've had that problem too. copying by hand is the only way i've gotten nvidia to compile. getting nvidia to work is another story
hmm, i had no issues getting nvidia to work. i can post my xorg settings here if that might help you out (just let me know). another thing that you can try (if not done already) is to use "nvidia-xconfig" to generate an xorg.conf as a starting point. then you can tweak it as you see fit.
Offline
@signal11: Maybe this http://bbs.archlinux.org/viewtopic.php?id=34815 might help aswell.
Offline
hmm, i had no issues getting nvidia to work. i can post my xorg settings here if that might help you out (just let me know). another thing that you can try (if not done already) is to use "nvidia-xconfig" to generate an xorg.conf as a starting point. then you can tweak it as you see fit.
eh, i've tried just about everything i can think of. i know my xorg.conf works because it works on the default kernel with the default module. i'll figure it out soon i suppose. thanks for the offer though.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline