You are not logged in.
Pages: 1
how hard is it to have a custom kernel that would have the 64g option? i've never built a custom kernel, and i was wondering if there was a way that i could do it so that everytime i upgrade the kernel with pacman it would auto rebuild it? is there a way?
i am a complete noob when it comes to building kernels.. .:\
but i learn quick.
ish.
thanks in advance
(or is there a kernel in aur or in the repos that would have that option already in it?)
i really want to see all 4gb that i have
edit: bios fully upgraded, and i have tried the mem=4096M in the grub line
Last edited by spookshow (2007-10-16 18:09:03)
Offline
Just one configuration line away.
Maybe two, at the most.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
do i just edit kconfig26 ?
and what else can i do in there?
i found this in there
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
Last edited by spookshow (2007-10-16 19:15:03)
Offline
Check out the wiki paying particular attention on where to place the make xconfig etc command. editing the kconfig26 file does not work
http://wiki.archlinux.org/index.php/Ker … n_with_ABS
In the PKGBUILD for the kernel at line 114 insert make menuconfig or make xconfig as indicated below save the configuration and the build continues. (In xconfig or menuconfig just select the 64g mem option.)
line 114
#_kernver="2.6.23-rc9${CONFIG_LOCALVERSION}"
_kernver="${_basekernel}${CONFIG_LOCALVERSION}"
insert ==>> make xconfig
# load configuration
Last edited by kishd (2007-10-16 19:27:55)
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
I'm not sure but i think you just can comment the first line and set CONFIG_HIGHMEM64G=y
(.config)
Last edited by timtux (2007-10-16 19:20:33)
http://timtux.net/ - my personal blog about almost everything
Offline
Check out the wiki paying particular attention on where to place the make xconfig etc command. editing the kconfig26 file does not work
http://wiki.archlinux.org/index.php/Ker … n_with_ABS
i have that sitting in front of me here right now, printed off, highlighter and pen a blazin.. kind of lost in the process, but i figure i can learn it. we will see....
Offline
Spookshow use abs at the command line as root type abs and all the packagebuilds are updated to /var/abs. The PKGBUILD for the kernel is found in /var/abs/kernels/kernel26. Copy the kernel26 directory to your home directory. Edit the PKGBUILD inserting the required make xconfig after line 115 as indicated above. run makepkg and when xconfig pops up edit as needed. run makepkg as normal user and only use root to install the package that is created.
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
o0o0o, was just doing the abs part when you came in kishd. thanks. going to try it now. heh.
ok, doing it over ssh isn't working for me, i will wait till i get home from work and start from scratch on this.
i also want to add the realtime patch for this.. is that hard to do?
and does someone want to add me to aim (morkuma) so that i can ask questions if needed?
Last edited by spookshow (2007-10-16 20:22:28)
Offline
Applying patches should not be too hard to do though they sometimes break the config. If you look at the PKGBUILD of the arch kernel you can modify it to apply your custom patches. However if you use the abs system to build the kernel the name of the kernel stays the same. If you look at the post below kano wrote a nice script to rename the custom kernel so that you do not overwrite the default kernel.
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
sweet. i'm using all 4gb of my ram now
Offline
Once upon a time, there was a tool called srcpac. It's exactly what you're looking for, and it still exists, it's just the bbs has long forgotten about it
Install srcpac and check it out though. Basically it's a wrapper for pacman (so you always want to run srcpac -Syu instead of pacman -Syu) that will use regex and other magic tricks to modify packages that you want custom, and rebuild them before it upgrades them. Definitely worth a look.
The suggestion box only accepts patches.
Offline
i will check it out, thanks
Offline
spookshow, Now that you have the core kernel setup why not have a look at this thread (http://bbs.archlinux.org/viewtopic.php?id=7154) and download and build the testing kernel?
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
definitely. i have been meaning to spend some time playing with custom builds and such, i have an extra computer i can boot up and play with, thinking i will jump into the wide world of customizing a bit more, just need to actually learn what i'm doing. heh.
all i really needed was to get the ball rolling so i think that this kernel build might have been the proper place to start... everywhere says not to do a kernel as your first, but i did, and successfully, so i'm thinking i'm on the right track, and arch seems to make it nice and easy.
thanks for all the help guys, i'm sure i will be breaking stuff in the near future and will need some help
Offline
Don't get overconfident . Adding stuff to your kernel is almost never a problem, it's stripping out stuff that can be a b*tch . I can attest .
Congrats on the successful build though.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
HAHA, yeah, i know i'm a noob at it, which is why i'm going to use the old computer i don't care about
amd 2500+ with 1gb of ram and a 7600 video card and whatever i want for hdd's, i have lots
so yeah... nothing i'm worried about, and it is just sitting in the off position anyway.
Offline
Pages: 1