/srv/irclogs.ubuntu.com/2008/09/15/#ubuntu-kernel.txt

BigBearwhat i/o scedular does ubuntu use by defualt?01:49
_rubenhrm .. i want to take an existing kernel version (say: 2.6.24-16.30), and want to roll my own version of it (including 2 small patches) .. currently im rebuilding using the old make-kpkg approach, but im having difficulties mimicing the 'standard' versioning scheme11:51
alex_joni_ruben: grab it from git, and make a custom flavour11:55
_rubenhmm .. sounds like smth i could investigate indeed11:59
alex_jonithere is a quide around wiki.ubuntu.com about building kernels from git12:00
alex_jonithat should get you started12:00
_rubenhavent checked wiki yet, using https://help.ubuntu.com/community/Kernel/Compile now12:01
alex_joniok, that sounds good12:01
alex_joniyou need to mess with debian/binary-custom.d/12:02
alex_joniadd another custom binary flavour, put you patches and config there12:03
alex_jonithen build using: "AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules custom-binary-FLAVOUR"12:03
_rubengit clone in progress12:08
_rubenhmm .. the git/flavour approach seems pretty straightforward .. nice job12:14
_rubento get the -server config .. i'd just cat debian/config/$ARCH/config and debian/config/$ARCH/config.server to one file i guess/12:19
munckfishBenC: got a sec?13:44
BenCmunckfish: sure13:45
munckfishOver the weekend I sent a pull request for Linux Ports cause I've finally managed to get together a stable build for the PS313:45
munckfishI just wanted to know what the next steps are to get it into the intrepid repos13:46
munckfishnote that I haven't been able to test build on anything but Cell13:46
munckfishso I don't know what the options are for the other arch's13:46
munckfishBenC: over13:46
BenCmunckfish: I'll take a look after I catch up on email (been off for a week)13:47
munckfishBenC: sure take your time13:47
_rubenhow can i get my kernel git tree to 'represent' 2.6.24-19.41 ? .. i just want to apply 2 small patches to a given kernel and not change anything else (code-wise)13:49
* _ruben lacks proper git skills and background info on the kernel git tree13:58
munckfish_ruben: can you not apply them to the current development version of the kernel from the ubuntu-hardy git tree?13:59
munckfishhttp://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=summary14:00
munckfishOr do you specifically just want to add these patches for yourself and do not intent to contribute them?14:00
_rubenmunckfish: personal (testing) use only .. im interesting in performance differences :)14:05
munckfish_ruben: the easiest way is to just checkout the hardy source as is and work with the current development version14:07
munckfish_ruben: the less easy way is to create a branch starting on 2.6.24-19.4114:07
_rubenmunckfish: how "less easy" would that be? :)14:07
munckfishit's worth you look at the docs for git branch and git checkout14:08
_rubeni browsed the commit log, but couldnt even pinpoint the exact commit to take as reference (19.41 is mentioned multiple times)14:08
munckfishyou can reference the tag for that version14:08
munckfishsee "git tag"14:08
_rubenah, nice14:09
munckfishStefan Bader tagged the version you want here: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=0717f584cfe10c9772b1b5daba51485c419fbe1814:09
munckfishinstead of specify a branch to to branch from14:09
munckfishgive the tag name instead14:09
munckfishGit is a great great system - but it does take a while to get to grips with it14:09
_rubenseems reading up on git is smth to add on my (huge) todo list14:10
munckfishworth it though imo14:10
munckfishYeah I'd recommend it - have you seen the Ubuntu kernel KnowledgeBase docs?14:10
munckfishthey're on the wiki14:11
munckfish_ruben: you'll need to follow the instructions on the Maintenance guide to make a kernel build which ends up as a deb14:11
munckfishthat is without building loads of stuff you don't need just to test something14:13
_rubenstill havent checked the wiki yet .. working with https://help.ubuntu.com/community/Kernel/Compile .. will search the wiki now14:14
_rubenactually i had the wiki open as well .. just not a very helpfull page (for me) https://wiki.ubuntu.com/KernelGitGuide14:15
amitk_ruben: https://wiki.ubuntu.com/KernelMaintenance14:18
_rubenamitk: was just reading that one14:18
amitk..if you are looking to build Ubuntu-based kernsl14:18
_rubentho my current quest is more a git one than a kernel one i'd say :p14:18
_rubenas in: "how to gt my git tree to represent 2.6.24-19.41 instead of head"14:19
_rubenbut kernel.org isnt liking me thusfar (for the git docs)14:19
amitk_ruben: any reason you do not want to clone the kernel tree from kernel.ubuntu.com?14:24
_rubenamitk: i am using that, mentioned kernel.org wrt documentation of git :)14:25
_rubenhmm .. my custom kernel build (based on uptodate git tree) has a linux-headers packages which depends on linux-headers-2.6.24-22 but that one doesnt get build14:36
_rubendebian/rules binary-headers seems to do that trick :)14:45
munckfish_ruben: unless you really need the headers you should just be able to install the linux-image-* package15:10
_rubenmunckfish: i needed the headers to recompile a kmod .. but i succeeded at that .. and so far im not seeing any performance difference .. so this little project goes in the fridge for now :)15:11
munckfishok15:12
_rubenthanks for the help/pointers tho15:13

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!