/srv/irclogs.ubuntu.com/2011/11/24/#ubuntu-kernel.txt

=== ericm-Zzz is now known as ericm
An-iSociaLanyone working on tegra 2 kernels?06:14
pkHi, I need to bisect the mainline kernel on Ubuntu, what would the best way be to go about this?07:47
pkSince I experienced the bug with the Ubuntu kernel I guess I should use the same config, is this oneiric-kernel/debian.master/config/amd64/config.flavour.generic for amd64 desktop systems?07:52
ppisatimorning *08:42
=== tkamppeter__ is now known as tkamppeter
ehwmorning, all o/  can i get someone's opinion about this last comment? https://www.virtualbox.org/ticket/989109:48
ehwseems like they're saying our headers package is broken; wondering if that's a realistic assessment...09:48
ehw^^ basically having the same issue on 3.0.0-14 from the kernel-ppa09:53
jmuxHi. What's the status of the Oneiric Ubuntu LTS backport kernel? The kernel PPA contains a kernel from September. Is there a release plan?10:10
ehwcking, apw can I get your opinion on that? ^^ (@9:48 UK time)11:01
vanhoofjmux: http://archive.ubuntu.com/ubuntu/pool/main/l/linux-lts-backport-oneiric/ ?11:04
apwjmux, it is in -proposed awaiting release into -updates11:04
apwehw, well the packages they have installed are mainline kernels, they are unsupported anyhow11:05
ehwapw: trying it out with 3.0.0-14 from the kernel-ppa, and having the same issue; is it a bug?11:06
apwtrying what exactly ?11:07
ehwapw: when i build the vbox modules with 3.0.0-14, loading them gives the same traceback11:08
ehwapw: works fine on 3.0.0-1311:08
ehwapw: the relocation address for cleanup_module is indeed different between pci-stub.ko and the dkms-built modules, as the last comment on that bug states11:09
apwand are they the same on -13 ?11:10
ehwapw: apparently so (setting up repro environment still)11:11
apwand do you have the headers packages installed as well as the binary packages for -1411:11
ehwapw: yes, grabbed headers from the same build ppa11:11
apwehw, it is unclear to me that i would expect the -r lines to match in those two11:13
smbIf it worked before and not now I would somehow more expect that upstream changed and they need to get their things together11:13
apwehw, it is listing the relocation table in the module which by definition does not have the knowledge of where the thing is meant to point, and indeed they are both 011:13
ehwapw: my understanding isn't very deep; it looks suspicious, though: https://pastebin.canonical.com/56303/11:18
apwehw, why does that look suspeicous11:22
apwdo we have any idea what any of the numbers even mean ?11:23
apwgreat manual page "displays the relocation section"11:25
apwthat so tells me what the numbers mean11:25
apwehw, is this the only -14 kernel you have had ?11:26
ehwapw: yep, just grabbed it from the ppa on tuesday11:27
ehw(sorry so slow, got into a phone call)11:27
apwand you never had another 1411:27
ehwapw: i'm running this on a VM that I created to test this condition11:28
ehwapw: so, it's pretty clean11:28
ehwshouldn't be any stale headers or anything11:28
* ppisati -> errand, back in a bit...11:30
vanhoofehw: what version of virtualbox and where from?11:31
apwehw, so -13 was ok and -14 is not is the contention yes ?11:31
ehwvanhoof: it's -4.1 from from upstream11:31
apwehw, and you got  that -14 from the c-k-t PPA yes ?11:31
ehwapw: i know that -13 worked; I don't have a clean environment yet for testing that, but I'm working on it11:31
vanhoofehw: built for lucid, or oneiric11:32
vanhoofehw: eg: http://download.virtualbox.org/virtualbox/4.1.6/virtualbox-4.1_4.1.6-74713~Ubuntu~oneiric_amd64.deb ?11:32
ehwapw: i got it from this page:  https://launchpad.net/~canonical-kernel-team/+archive/ppa/+build/294329411:32
apwehw, and what architecture is this11:33
ehwvanhoof: deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free11:33
ehwapw: Linux lucid-test 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 GNU/Linux11:33
apwehw, is that a backports kernel or ?11:35
apwehw, ie are you runing lucid or oneiric11:36
ehwapw: i'm running lucid11:36
apwbut you are installing a kernel build in oneiric11:36
apwyou need to use the lts backport build probabally11:37
apwas that is built using the compiler you have on your system11:37
apwthat may make a different to dkms packages11:37
apwwhere did you get the -13 which does work11:38
ehwapw: ok, i can do that; then the issue here: i need a backports kernel with the cifs/suspend bug fixed [LP#24330] :-)11:38
ehwapw: the -13 was in -proposed, i think11:38
apwin proposed on lucid yes ?11:38
apwlinux-lts-backport-oneiric | 3.0.0-13.22~lucid1 | lucid-proposed | source11:39
apwthat one ?11:39
ehwapw: right, that's the one11:39
* ehw was trying to find that11:39
apwas likely the compiler lucid -> oneiric is very different and may well be contributing to this issue11:39
apwit looks like the -14 hasn't been uploaded yet for oneiric probabally as the previous one has not yet cleared into -updates11:40
hertonyes, I plan to submit a linux-lts-backport-oneiric for -14, but the previous one still didn't make to updates (bug 885468)11:41
ubot2Launchpad bug 885468 in kernel-sru-workflow "linux-lts-backport-oneiric: 3.0.0-13.22~lucid1 -proposed tracker" [Undecided,In progress] https://launchpad.net/bugs/88546811:41
vanhoofehw: apw works for me11:41
ehwapw: any chance I can get/create a -14 test build for lucid? not sure how that works11:41
apwvanhoof, -14 works ?11:41
apwvanhoof, and works on what11:41
* apw is very suspicious of compiler skew in this case11:41
vanhoofah crap still on -1311:41
ehwapw: i like the theory11:42
apwehw, as and when we have something to test it is vital you remeber you have to tell dkms to remove the existing build else you won't get new modules built and the test will be invalid11:44
ehwapw: noted, thanks; will purge, scrub, and bleach dkms11:45
apwwhich frankly isn't easy11:45
apwherton, ok if i wanted to rebase this lts backport for you whats the magic incantation to make the new tracking bug, or is that a dangerous thing to do11:45
apwherton, i don't want shankbot after me11:46
ehwapw: virsh snapshot-revert [...] :-)11:46
vanhoofalright here we go11:46
vanhoofinstalling -14, w/ virtualbox already installed and built via dkms11:46
apwvanhoof, gotten from where and onto what base os release11:47
vanhoofapw: the same release ehw is using ;)11:47
vanhoofapw: lowell11:47
vanhoofapw: 10.04.3 + https://launchpad.net/~canonical-kernel-team/+archive/ppa/11:47
vanhoofamd64 though11:47
apwvanhoof, so onto a lucid base and where did you get your -14, is it the oneiric version of -14 you installed11:47
ehwvanhoof: actually i'm repro'ing on straight lucid atm (leaving lowell out of the mix for now)11:47
vanhoofapw: yup, oneiric based 11:48
hertonapw, there is already a tracking bug opened for it, let me see here (just was waiting to work on it because previous version isn't released yet)11:48
apwherton, i think i should stay out of it then, i was going to try test building it is all11:49
hertonapw, bug 89356711:49
ubot2Launchpad bug 893567 in linux-lts-backport-oneiric "linux-lts-backport-oneiric: 3.0.0-14.23~lucid1 -proposed tracker" [Medium,In progress] https://launchpad.net/bugs/89356711:49
vanhoofehw: same behaviour here11:50
apwvanhoof, and i think i expect that, what you just did is not sensible11:50
* apw installs teh same binaries vanhoof did but onto an oneiric base11:51
apwin general kernels from other releases should work except for dkms stuff where all bets are off11:51
apwwhich in large part is why we have to build special backport kernels11:52
hertonapw, if wanted I can push the update to the git repo, just will not upload the backport yet11:52
apwherton, that would be perfect for me, i could then spin these guys some test kernels from it11:52
apwherton, but don't rearrange your day to make i happen11:52
hertonit's ok, will do now11:52
ehw\o/11:53
vanhoofapw: just did the same on oneiric proper and it works11:53
apwvanhoof, yeah good, that sounds beelieveable11:54
apwand i've just installed the same combinations here and they have matching offsets11:55
apwand that is why i care about the compiler we build the kernel with11:55
vanhoofapw: herton: i'm building it now against lucid12:00
apwvanhoof, building ?12:00
* apw notes that build teh real oneiric kernle isn't quite the same12:02
hertonapw, pushed12:03
vanhoofapw: 3.0.0-14.23 in a lucid chroot12:03
hertonvanhoof, if you want, you can build lts-backport-oneiric branch from lucid repo now12:03
hertonit's updated to 14.2312:04
apwyeah it makes more sense to build what he has12:04
apwherton, thanks12:04
vanhoofack, i'll kick that off12:04
ehwvanhoof: why you working, anyway? isn't it 7AM and thanksgiving? :-D12:25
vanhoofehw: dedication :D12:26
vanhoofehw: just screwing around w/ other stuff12:27
vanhoofnot really working12:27
vanhoofehw: just happened to be playing around w/ the lowell build for something :)12:27
ehwvanhoof: you should be participating in mass turkeycide right now12:28
vanhoofehw: build running12:28
vanhoofehw: bit early for that :)12:28
vanhoofbut you know what its not too early for12:28
vanhoofa beer12:28
vanhoofit is thanksgiving afterall12:28
ehwit's always noon somewhere12:28
vanhoofehw: you want i386 right?12:29
ehwvanhoof: right, i386 pae kernel12:29
vanhoofehw: apw: herton: http://paste.ubuntu.com/748159/13:04
vanhoofehw: i386 build is almost done13:04
vanhoofbut looks good here13:04
ehwvanhoof: excellent!13:04
ehwvanhoof: can you pastebin lsmod ?13:04
vanhoofehw: http://paste.ubuntu.com/748161/13:06
ehwvanhoof: eeexcellent; there's no [permanent] next to the module names, either \o/13:06
vanhoofehw: http://kernel.ubuntu.com/~vanhoof/ehw/i386/13:13
vanhoofehw: all three packages are scp'd over now13:19
vanhoofehw: lmk if it works13:19
ehwvanhoof: great, thanks!13:19
ehwvanhoof: setting up now13:19
vanhoofehw: k make sure to grab linux-headers-3.0.0-14_3.0.0-14.23~lucid1_all.deb13:20
vanhoofehw: it stalled on the transfer13:20
vanhoofbut they're all there and I md5'd em13:20
* ehw grabs13:21
=== yofel_ is now known as yofel
ehwvanhoof: ok, WORKSFORME13:33
vanhoofehw: \o/13:34
vanhoofehw: awesome13:34
=== TeTeT_ is now known as TeTeT
apwbug #86129614:14
ubot2Launchpad bug 861296 in linux "mmap fails to allocate 2030Mb heap on ARM" [High,Confirmed] https://launchpad.net/bugs/86129614:14
ppisatiomap4 i guess14:17
apwppisati, needed on the buildds as well according the bug, so imx5114:20
ppisatiapw: but he said they were running oneiric14:20
ppisatiimx51 is lucid only14:20
apwppisati, i suspect they are building in oneiric chroots, on the buildds with a lucid kernel14:22
apwi guess we'd better check14:22
ppisatiapw: discussing it on #ubuntu-arm with doko14:23
apwok14:35
apwppisati, seems i wasn't on #u-a, did we reach a resolution14:43
ckingapw, power measurements, batch #2 coming your way in email...14:49
apwcking, thanks14:49
ckingapologies, I pasted text into the mail client and it broke the formatting14:50
smbcking, metoo?14:50
ckingsmb, sorry, of course, will do14:51
smbcking, thanks. :)14:51
Kanohi apw 14:53
Kanoapw: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=93165b7774a04cf76bc46eb6c9181ab7a8b545d714:53
Kanocould you consider that as backport for 3.0?14:53
ppisatiapw: for O/omap4 is a clean cherry-pick, kernel built and i'm sending them for testing to #is14:55
apwKano, to sru a change like that we need someone asking for it in a bug, and for them to test when its applied, else it'll get reverted14:55
ppisatiapw: for lucid/imx51, i'll take a look at it now14:55
ppisatiapw: half our builder are babbage (imx51) running lucid14:56
apwppisati, sounds good14:56
ppisatiapw: another half is panda running natty or oneirc14:56
apwppisati, i am assured they will be replaced by pandas around now, but i don't hold my breath14:56
ppisatiyep14:56
apwppisati, and when they are we will stop support for the fsl branch ... yay14:57
Kanoapw: it is the same code as http://knc1.de/download/Linux/KNC_DVB_C_MK3X_TDA10024_Patch.zip which is needed for one dvb-c card14:57
* ppisati wonders if all these Franken-builder will ever get replaced by one proper arm server (when they are available of course...)14:58
apwKano, that may be, but the point is someone with the h/w needs to test the fix else we can't get it through the sru process14:59
Kanoi know someone, thats not the problem14:59
Kano3.2 kernel is somehow crap currently, when i boot my netbook i get something like that: http://kanotix.com/files/fix/crash/IMG_20111123_103403.jpg or http://kanotix.com/files/fix/crash/IMG_20111121_122645.jpg15:01
apwKano, then get them to file a bug, and add the link to the fix there, and them come here and ping me with the bug #15:02
Kanodid you test 3.2 with a netbook (intel atom)?15:02
apwKano, yep i am running the ubuntu 3.2-rc2 based kernels on most of mine15:03
apwyours is some random daily from a few days back.  have you tried at least  -rc3 ?15:03
Kanodid you see rc3 compile?15:04
Kanorc2 had the same problem15:04
apwi have an -rc3 based build i am about to test15:04
Kanothats a 32 bit only N27015:05
Kanomore or less the same as msi wind u100 but called akoya e121015:06
apwi think mine are N450 ish but no not see that even on my 32bit builds15:09
apwbut the stuff just before -rc3 was pretty poor15:09
KanoN450 is 64 bit15:13
apw64bit capable, but i run 32bit on it15:14
apwKano, so i've just booted the tip of our tree which is 3.2-rc3 based and it works for me on 32 and 64 bit atoms i have available15:43
Kanoapw: curious15:50
Kanomaybe it has something to do with wlan15:50
lifeboyjust a question about patch files: Is a patch file anything more than a diff between two files?  I have a patch file for an older version of a driver (not the code itself, but some configuration files), and by looking at the content it seems I could apply the changes manually.  Would I miss something in the process?  I could just try it, but instead of wasting a lot of time trying, I thought I'd just ask.16:27
cemcherton: it worked, thanks a lot16:42
ppisatilifeboy: you would loose the commit msg16:43
ppisatilifeboy: git am -s $PATCH16:43
hertoncemc, cool16:43
ppisatilifeboy: if that doesn't work, git apply --reject $PATCH16:43
ppisatilifeboy: then for every hunk that doesn't apply, there will be a $file.rej16:43
ppisatilifeboy: apply them manually, git add all the modified files16:43
ppisatilifeboy: and in the end git am --continue16:44
ppisatilifeboy: btw, from time to time, i closely check why a patch doesn't apply and i modify it to apply cleanly16:45
ppisatilifeboy: that's another way to approach the same problem16:45
ppisatiwait16:45
ppisatilifeboy: a bit old, but still relevant16:46
apwlifeboy, there is nothing to a patch but the changes represented and the changelog entry16:46
ppisatilifeboy: http://kerneltrap.org/mailarchive/git/2007/2/22/23937616:46
apwlifeboy, git patches have some other information such as git base commit which can help git apply them more easily than you can16:47
lifeboyppisati: It's a patch from the manufacturer of the hardware, so it's not in the git source tree16:47
lifeboyIf toying with the idea of rather taking their source tree, which is based on some Ubuntu 10.04 version and adding some modules to it that I need, specifically aufs and nbd16:49
lifeboyNot "If"... "I'm toying" ...16:49
lifeboywould that be in principle possible?  I would add module sources and make sure the .config file has the relevant entries to include the modules in the build16:50
ppisatiAHHHHHHHHHHHHHHHHHHHHHHHH!!!! i forgot to change the changelog... :(16:51
lifeboyapw: If the patch is not an "official" patch, then the whole git issue doesn't apply, right?16:54
apwright then it won't be annotated and is as difficult to apply as a normal patch16:54
apwgit apply -C1 is a good first try which makes git apply work like patch16:54
lifeboyI might not need to do this, if I can merge the aufs and nbd source into the tree, with their corresponding .config entries.  The build will then take care of the rest or not?16:56
* ppisati goes out to find some boxes...17:37
=== JanC_ is now known as JanC
lifeboyIf I use the make-kpkg way of building a kernel how can I add the items in ubuntu/Kconfig in the source tree to the .config?20:18
lifeboyI asked earlier (but it doesn't seem too many are here!): / If I use the make-kpkg way of building a kernel how can I add the items in ubuntu/Kconfig in the source tree to the .config?21:46
=== Kiall_ is now known as Guest79578
=== Guest79578 is now known as Kiall

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