You are not logged in.
Pages: 1
can i have a step by step on how to easily build a custom kernel with abs or whatever. ty
Offline
Offline
thats too complicated
Offline
Then use normal kernel.
I use normal kenel from core and it works very well.
Offline
how to use manule kernel please?
Offline
first, um, wow.
second, go to aur and download the zen kernel package:
http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
change the branch to "master" in the PKGBUILD.
run makepkg.
pacman -U kernel*pkg*
configure grub
Offline
how to download this with pacman?
Offline
pacman is used for automatic instaliations, not for manuale downloads. use wget for manuale downloads.
Offline
ok. how to download it with wget. i am only at root not x windows. ty
Offline
can i have a step by step on how to easily build a custom kernel with abs or whatever. ty
If the step by step how to in the wiki is too complicated, you may need to learn more about GNU/Linux before you proceed to build your kernel for whatever reason.
Why do you need a custom kernel in the first place?
What are you hoping to achieve, that the stock kernel cannot?
Here is a kernel compilation guidefrom the wiki that I personally find simpler:
http://wiki.archlinux.org/index.php/Ker … rom_Source
Last edited by Misfit138 (2008-01-15 02:37:22)
Offline
its cp. that all! for the rest of your questions, the goal is a faster boot.
Last edited by windoze (2008-01-15 02:43:43)
Offline
ok. how to download it with wget. i am only at root not x windows. ty
If you want to learn something about command use this:
man wget
press q to quit arrows to navigate.
Or use online man pages:
http://linux.die.net/man/1/wget
And at all follow Intaliation guide to install all things like normal user sound, xorg, xfce4, firefox and then it will be much more windows-like enviroment.
~~~
And, Yes Misfit138 is right kenel compilation is quite hard task, not for beginers. I used Linux for more than 2 years and never tried it. I think I have more than enough skill now, but I do not bother to do this.
Offline
first, um, wow.
second, go to aur and download the zen kernel package:
http://aur.archlinux.org/packages.php?d … s=0&SeB=ndchange the branch to "master" in the PKGBUILD.
run makepkg.
pacman -U kernel*pkg*
configure grub
what are the benefits of the zen kernel for a desktop user?
Offline
http://www.tweako.com/the_zen_kernel_2_ … oms_kernel
Sounds like advertising...
I will better wait for normal 2.6.24 with same improvements.
Last edited by ProzacR (2008-01-15 08:08:17)
Offline
its cp. that all! for the rest of your questions, the goal is a faster boot.
You may find that compiling your own kernel does not give a noticeable increase in speed, necessarily.
I have personally compared the difference between the stock Arch kernel and a custom, monolithic kernel and found exactly 1 second difference in boot time. A lot more work and system maintenance is required with a custom kernel on my system as well, since I must manually recompile the nvidia driver each time there is an update. So in my case, it was not worth it at all. YMMV.
One of the many reasons to use Arch is the great stock kernel, and the ease of maintenance it represents.
Offline
I'm in a similar boat as you, as in that I've had a bit of free time the last week and decided to do nothing constructive with it (i.e. compile a custom kernel for the first time).
So far I've spent two days on it, and this morning I got a mostly usable result; a stripped down kernel (I think it was about 10mb) that I could boot, had all my usual modules compiled in, and ran everything except the sound (some problems with snd_hwdep). And instead of fixing the sound issue I chucked the whole thing out the window.
Like Misfit said, it would be a living hell to maintain, which is not why I chose Arch in the first place. Also, lets say I could have fixed the sound issue in another day, and that I'd get a 10 second boot time improvement from it. That would bring my boot time from around 30 seconds to around 20 seconds. So in order to gain back the 3 days I spent on that kernel I'd have to boot just under 26 thousand times. Assuming, of course, that I'd never have to update my kernel.
Last edited by gunnihinn (2008-01-15 20:26:39)
Offline
"Living hell"? Nope, non-masochists use a *script*. Like this:
cd /var/abs/local/nvidia
rm -rf pkg src
V=$(cat /usr/src/linux/include/config/kernel.release)
sed -i -e "/^_kernver=/s/.*/_kernver=${V}/" PKGBUILD || exit 1
makepkg -fic --asroot || exit 1
For ALSA, see wiki.
Last edited by brebs (2008-01-15 21:11:32)
Offline
Compiling the kernel is the best thing you can do if you want a system with support for just the hardware you have. But, I have always had trouble using custom kernels on the new Arch Linux, well I mean not the Arch Linux I user back in the days on 2004 which could easily have a custom kernel and pacman -S nvidia would install the driver and work with the custom kernel, which is not the case anymore, it has been complicated to a point of frustration nowadays. I love the CRUX philosophy that the kernel shouldn't be updated by the package manager nor installed by it, the user should. But Arch Linux is way better OS, and I just have given up to the fact that my custom compiled kernel just haves a ~1% boost against the Arch stock one.
And for boot system speedup, just like 1-2 seconds are cut off it. So the conclusion is, Arch stock kernel is really good, so if it ain't broken don't bother fixing it.
Offline
So in order to gain back the 3 days I spent on that kernel I'd have to boot just under 26 thousand times.
Quote of the month - well said.
Offline
lol. yes the zen kernel makepkg sure is a waste of time. I left the computer on all night and it still was not finshed with the build, but that does not matter as i am just playing around with linux as this time.
Offline
building a custom kernel won't give you a fast boot. It might be 3~4 secs faster but the improvement is barely noticeable. If you want a fast system, you need to optimize everything. not just the kernel. U might as well start with others while you are at it.
Archlinux on Compaq Presario v5000 laptop
Offline
Well, I created this thread because most of the udev talks at this board referred to a custom kernel to speedup the udev events which some have suggested is a bug. With fast computers the udev events loads in a few seconds while slower computers such as a p2 could take perhaps up to a minute to load just the udev events. That issue has been posted at the bugs and such talks about it have been posted at this board going back a few years now.
I have also read at other boards the kernel 2.4 is still very supported. The software that needs the 2.6 kernel is fixed for the 2.4 kernel. So in these regards, the 2.4 kernel can be an important factor for slower computers.
I have tested many distros. Damn small linux (DSL) being the fastest to boot to root with the 2.4 kernel. On my computer it only takes DSL about 20 seconds, slackware-8 about 40 second while arch linux takes 60 seconds with the modified start_udev file and about 90 seconds normally. These three distrols detect the same modules and everything seems to be working fine except the sound card where I have to set it up for each of the distros.
I like this arch linux because I am able to learn linux from the groundup. Such as installing by unetbootin, Packman, modifying a file, and anything else to get to startx, but for the members that have an old computer, there seems to be an ongoing issue of udev. If this udev bug could be fixed, a boot to root would take only about 35 seconds.
It seems to address this udev events issue, a custom kernel is needed. one that does not take 10+ hours to build. a precompiled kernel could addrees this issus until the bug is fixed.
Last edited by windoze (2008-01-16 01:17:20)
Offline
This is what got me from arch to crux, still trying to wrestle crux into working But i boot my pc's and laptops and arch sits at udev for 10 -30 seconds. and when i saw http://kmandla.wordpress.com/ showing how fast a boot is without arch/udev i wanted to give it a try.
Offline
No one has mentioned ABS.... I assume it still exists... would be easier way to go....
Mr Green
Offline
This is what got me from arch to crux, still trying to wrestle crux into working But i boot my pc's and laptops and arch sits at udev for 10 -30 seconds. and when i saw http://kmandla.wordpress.com/ showing how fast a boot is without arch/udev i wanted to give it a try.
see my post http://bbs.archlinux.org/viewtopic.php?id=42416
Offline
Pages: 1