[08:43]  * apw yawns
[08:45] <ikepanhc> good morning apw
[08:47]  * amitk waves
[08:48] <ikepanhc> .... and amitk :)
[08:48] <apw> morning ikepanhc 
[08:48] <abogani> morning all
[08:49]  * apw waves
[09:13]  * cooloney waves at apw amitk cking 
[09:13] <cooloney> morning guys
[09:13] <apw> mornign
[09:13] <Matsy> Ah, this seems to be a more suitable channel for my question. I am in need to install the 2.6.32.9 kernel. I just need it to compile a certain kernel driver. How would I go and do such a thing? I'm currently doing a git sync of kernel.org, but I doubt I will be able to see the previous versions there.
[09:15] <apw> Matsy, the 4 number versions are not in linus' tree, they are in the stable trees.  we do produce unsupported builds of them however
[09:15] <apw> https://wiki.ubuntu.com/Kernel/MainlineBuilds
[09:17] <Matsy> Hm, okay. I can see it right there. I'm on 10.04 right now. Would I also need the -lucid package from the repository?
[09:18] <apw> yep
[09:23] <Matsy> Interesting enough, then!
[09:26] <Matsy> Oh, gah. Need to resize my virtual disk first. I knew I shouldn't have picked 18GB
[10:03] <lacostej> I reported, tracked and got kernel regression https://bugs.launchpad.net/ubuntu/+source/linux/+bug/86820 fixed upstream. It will only appear in 2.6.36. Any change we can backport this in 10.10's kernel ? I'am tired of backporting the change in my 10.04 custom kernels... Tanks
[10:03] <ubot2> Launchpad bug 86820 in linux-source-2.6.20 (Ubuntu) (and 1 other project) "touchpad doesn't work after suspend (affects: 2) (dups: 2) (heat: 41)" [Medium,Won't fix]
[10:39] <ikepanhc> if we need to give some parameter to one module, can we write the parameter somewhere in /etc?
[10:43] <apw> ikepanhc, yep, /etc/moprobe.d/<newfile>
[10:44] <ikepanhc> eh...
[10:44] <ikepanhc> add file for myself?
[10:45] <ikepanhc> oh, I see it, write options there
[10:45] <ikepanhc> apw: thanks
[10:52] <apw> yeah you can make new files in there for your purpose
[10:57] <Matsy> Hm.
[10:58] <Matsy> Okay, the installation of 2.6.32.9 didn't quite work. :(
[10:58] <Matsy> Or at least, it's not giving me the result I would like.
[10:59] <Matsy> Apparently, it's saying: Kernel configuration is invalid, autoconf.h and auto.conf are missing. Run make olconfig && make prepare to fix it.
[10:59] <Matsy> But, those return 'error 2'
[11:00] <Matsy> So I'm not quite sure what to do here.
[11:02] <Matsy> The error the command make oldconfig && make prepare is giving me is as follows: make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.
[11:03] <Matsy> Any ideas?
[11:09] <Matsy> Oh, I managed to do it. Now, it's saying it cannot find modpost. Hm.
[11:15] <apw> Matsy, sorry not ever tried to build a module against those
[11:16] <Matsy> apw: Aw, thanks though. I'll just keep on trying.
[11:18] <Matsy> Oh no.
[11:18] <Matsy> I need 2.6.34.5
[11:18] <Matsy> Darn.
[11:19] <Matsy> Flawed information is always nice.
[11:19] <apw> at least that version is also in the archive
[11:21] <Matsy> Yeah, that's true.
[11:21] <Matsy> But, no sources available, apparently?
[11:30] <Matsy> Gah, this is too complicated.
[11:34] <Matsy> I might be doing it very much wrong.
[11:34] <Matsy> All I want to do is download the 2.6.34.5 kernel, and compile it.
[11:45] <Matsy> Oh, gconfig did the job.
[11:49]  * apw wonders why you need that specific version
[11:50] <dionys> hi
[11:52] <apw> hi
[11:56] <dionys> having Ubuntu 10 - I'm running a very time critical task - how can I boot into no-Xwindows and give 99% scheduling to a single task?
[11:58] <dionys> I managed to compile rt/smp and set the highest rt priority for the task but it still gets interrupted too much
[12:01] <dionys> maybe the answer is running DOS but there must be a way to get linux into doing a single task apart from the kernel
[12:17] <dionys> booted into recovery root console does work for now 
[12:18] <apw> dionys, how are you determining it is interrupted too much
[12:18] <apw> and what is your latency requirement ?
[12:19] <apw> thinks truly running at RT priority should be able to break the system by starving it of CPU
[12:20] <ogra> for x-less boot you just need to put "text" on the kernel cmdline btw
[12:49] <dionys> sorry I was away for lunch
[12:51] <dionys> as it appears I need to have 20micro seconds
[12:52] <dionys> if a program does a sleep(x) does the kernel come back after x or after x plus the time spend in other tasks?
[12:57] <dionys> I guess after experiencing these interrupts the kernel comes back after x plus the time spend on other tasks
[13:04] <dionys> apw: I determined the interruption by causing CPU load by moving windows and then experiencing more hickups to the program I'm running  
[13:05] <apw> dionys, there is some jitter on how long later it comes back based on the scheduler, you would expect an RT process to have a lower latency there though as it is much higher priority
[13:09] <dionys> as I mentioned by running in a terminal window in recovery mode has taken away the interruptions
[13:10] <Matsy> Hm.
[13:10] <Matsy> Compiling the kernel is taking a long time. Are there any flags I can set to speed it up? I'm on a quad core system.
[13:14] <dionys> Matsy: a solution would be the break down the compiles into independent work units and give them to one workertask per core - which I don't think is implemented 
[13:14] <Matsy> Hm.
[13:15] <Matsy> What'd the general compilation time be of a Linux kernel?
[13:16] <Matsy> On a Q6600 / 4GB ram
[13:16] <dionys> not the quantity of the ram is essential here but the ram timings
[13:18] <abogani> Matsy: -j8?
[13:18] <dionys> but maybe there is a way to make build units run in parallel on each core
[13:20] <Matsy> Oh
[13:20] <Matsy> Haha, thanks abogani
[13:21] <abogani> Matsy: You are welcome.
[13:22] <Matsy> Hm.
[13:22] <Matsy> I am building a kernel module
[13:22] <Matsy> But, when I try to load it, it can't load, saying Exec format error.
[13:22] <Matsy> I'm fairly certain that I am building it against the right kernel
[13:22] <Matsy> But, I am not quite sure what the error means
[13:23] <Matsy> Could it be because I am compiling it on a 64 bit machine, and that it is going to run on a 32 bit machine?
[13:31] <apw> Matsy, yes you need to build it in the right environment
[13:31] <apw> often that is a chroot with a 32 bit install in it
[13:33] <Matsy> hm.
[13:33] <Matsy> I can't use -m32 to build it?\
[13:36] <apw> you may be able, it wouldn't be guarenteed to be the same exact kernel as woudl be built in an chroot though
[13:36] <apw> Matsy, which kernel are you loading this module into btw ?
[13:37] <apw> as modules need to built against the kernel they are loaded into
[13:37] <Matsy> A custom kernel, it's a smartphone kernel.
[13:37] <Matsy> Makefile is pointing to the source of that one kernel.
[13:38] <Matsy> My phone is in sync with that kernel.
[13:38] <Matsy> But, when I try and do insmod module.ko, it presents me with that errors.
[13:38] <Matsy> *error
[13:38] <apw> you often need the same compiler they used to build the kernel too 
[13:39] <Matsy> Same.. compiler as well?
[13:39] <Matsy> Hm.
[13:39] <apw> you do for an ubuntu kernel
[13:39] <Matsy> I don't know if they're included, let me see.
[13:41] <Matsy> Nope, no compilers included.
[13:41] <Matsy> Can't I force load this in any way?
[13:43] <abogani> Matsy: Don't you can ask to people have done that smartphone kernel? :-)
[13:43] <Matsy> No one has done this before, apparently.
[13:43] <Matsy> So it's a bit tricky ;)
[13:44] <Matsy> If I'm being a pain for asking here, please tell me, and I'll just look somewhere else.
[13:45] <Matsy> I will try #android-dev, though. Might be a bit more relevant indeed.
[14:58] <soren> How do you guys prefer patches? Back in the day, I would just push a git repo to Zinc, but since my affiliations changed, that's no longer possible :)
[15:12] <sidnei> hi folks, is anyone aware or working on https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281 ?
[15:12] <ubot2> Launchpad bug 524281 in linux-2.6 (Debian) (and 2 other projects) "Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled (affects: 104) (dups: 1) (heat: 638)" [Unknown,Incomplete]
[15:13] <sidnei> from searching around mailing lists, there are some reports that it's fixed in 2.6.36, so maybe it merits a backport of whatever patch was applied upstream.
[15:25] <abogani> soren: I suppose that they prefer git format-patch'ed...
[15:33] <ogra> apw, how about a new meta upload for omap4 (so we actually get the new kernel onto the images)
[15:33] <apw> ogra, can do shortly
[15:33]  * ogra hugs apw 
[15:34] <ogra> thanks a lot ... i just wasted a day trying to find out whats wrong with the new kernel ... rsalveti just pointed out that we still use the old one 
[15:34] <apw> doh
[15:34]  * ogra thinks with over 40 you need glasses :P
[15:36]  * rsalveti also hugs apw 
[15:37] <apw> it'll take me a bit as my main dev box just wedged on X and i am trying to figure out why
[15:40] <apw> cking, heh i can hear you it seems through my X hang
[17:11] <apw> soren, email in a format-patch format patch to kernel-team@
[17:11] <apw> sidnei, we are aware, though noone has had a chance to go look for that patch yet
[17:11] <apw> if you find out w
[17:12] <apw> which patch it is do add it to the bug
[17:20] <sidnei> apw, ok, i'll try to find it
[17:41] <sidnei> apw, added some links to patches on linus tree that seem related to the bug
[17:41] <sidnei> apw, hope that helps
[17:41] <sidnei> apw, im candidate for trying out a ppa'd package with the fixes, since i can repro on my laptop
[17:46] <apw> ogra, hey ti-omap4 meta ... they already seem to be in sync ?
[17:48] <apw> oh ... hrm perhaps not ...
[17:58] <apw> ogra, ahh we had a bodge in there, new one uploaded, let me know if that doesn't work for you
[19:28] <apw> ogasawara, what you doing working
[19:43] <dupondje> No more mainline kernels ?
[19:45] <dupondje> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/604122
[19:45] <ubot2> Launchpad bug 604122 in linux (Ubuntu) "mmc0: Got command interrupt 0x00030000 even though no command operation was in progress. (affects: 1) (heat: 6)" [Undecided,New]
[19:45] <dupondje> seem to occur again :(
[21:24] <patman023> hey guys, brand new laptop, and I can't boot any kernel above 2.6.31.x, ideas as to what to look for?
[22:14] <nxvl> hello, the latest maverick kernel wouldn't boot on my toshiba nb205 netbook, what information do you need in the bug report?
[22:15] <nxvl> it boots normaly with 2.6.35-17 boots normally, but -19 wouldn't boot
[22:55] <apw> nxvl, file a bug with the working kernel and whatever output you can get from the broken one
[23:16] <patman023> hey guys, brand new laptop, and I can't boot any kernel above 2.6.31.x, ideas as to what to look for?