=== Guest34418 is now known as lag
=== lag is now known as Guest66638
=== yofel_ is now known as yofel
basixhello everyone... can someone let me know what the issue is here? I am unable to get a useable kernel module compiled on ANY of the mainline kernels in the ubuntu kernel-ppa repository. Heres the bug and some info from a virtualbox developer who says the issue is that the headers somehow don't match the kernel. https://www.virtualbox.org/ticket/989120:10
basixi am currently running 3.1.2 but i'll be upgrading to 3.1.6 and checking if the issue still persists20:11
basixthis is the kernel ppa i am currently using : http://kernel.ubuntu.com/~kernel-ppa/mainline/20:11
apwbasix, the compiler the mainline kernels are built with don't match those on the system most likely20:21
apwbasix, they are only intended for testing20:21
basixapw, how do i find out the compiler used to build mainline kernels? Also, shouldn't this be an issue with the regular ubuntu kernels as well? I mean a user can always upgrade / downgrade GCC on his system and when a package like virtualbox, vmware tries to build it's kernel modules, it'll cause such issues.20:22
basixapw, i agree they are intended for testing. i wanted to test out the latest virtualbox but unfortunately i cant build any version on my system currently20:23
apwbasix, we build the mainline kernels on lucid20:23
basixapw, i am using natty 20:24
apwbasix, so reboot into an official kernel, those are built in a chroot that matches your system20:24
basixapw, my wireless has a bunch of issues if i boot into an official kernel20:24
basixapw, as well as sleep / power issues and thats the whole reason i am on a mainline kernel20:24
basixapw, are there source packages for the mainline kernel so i can rebuild it natively on my system and that should fix the issue, right?20:26
apwbasix, yes i expect if you build it on natty it would work ok20:27
basixapw, so are there any source packages or do i need to build one myself?20:28
apwbasix, there are no source packaged, but there is file COMMIT which contains the linus commit to checkout -- and a set of patches which if applied gives you the tree the builder used20:28
apwexternal modules are a royal pain, those guys should jsut submit their stuff upstream20:29
basixapw, alternatively if i setup a lucid chroot and build the modules in there, would that work as well?20:29
apwbasix, i would hope that would work also; that might make more sense20:30
* apw wonders if we could build vb modules with them ... hmmm20:30
basixapw, haha yes. also i suspect this is an issue not just affecting virtualbox. i tried installing vmware and it too had the same issue.20:31
apwbasix, yep, yet another external module... pain in the ass always20:31
basixany idea what the overall process to build these modules would look like inside a chroot? I haven't build modules in some time let alone inside a chroot. 20:32
apwthe problem is that people want to use these kernels on a range of series, and we don't really have compute or the space to build for every conceivable combination20:32
apwbasix, it should be identicle20:32
basixafter i create a chroot for lucid, do i install gcc and other build essentials and build those modules in that chroot?20:33
apwoh and ... you should mention to vb pepople that they are compiler sensitive so their build really ought to check20:33
basixi think i will reopen the bug20:33
basixbut i need to be 100% certain it is a compiler20:34
basixapw, so i already have a chroot20:34
basixapw, when i look in /lib/modules inside the chroot there are no headers which kinda makes sense because it's a clean root20:34
basixapw, i will just install the header package inside the chroot as well as virtualbox. it should then go through the process of building the modules as usual and i can then copy those modules out of the chroot. does that sound reasonable?20:36
basixapw, sudo debootstrap --variant=buildd --arch amd64 lucid /srv/chroot/lucid_x86_64 http://archive.ubuntu.com/ubuntu <- does this look ok?20:39
apwbasix, heh, it looks believable20:41
apwbasix, i have no idea if its purfect of the top of my head, i use some prebuilt ones the majority of the time20:43
basixapw, ok20:44
basixapw, it's a no go. i was able to compile the modules. they got 'modprobed' without any issues within the chroot but when i copied them outside the chroot into /lib/modues/$(uname -r)/misc, it seems the issue persisted. do i need to run depmod or is there some sort of a module cache that i need to clear to ensure the older modules are not loaded?21:31
basixapw, ok...so i was able to 'modprobe21:50
basix the modules from within the chroot21:50
basixapw, that worked but outside the chroot, it still causes the panic. i wonder if it has to do with something at the runtime21:51
basixapw, for posterity's sake, i am pinging you. thanks for all your help. i got the modules to build inside the lucid chroot and that fixed the issue. there were some old modules remaining in /lib/modules/3.1.2-030102-generic/updates/dkms which made it seem that the issue was not fixed since modprobe was favoring that path over /lib/modules/$(uname -r)/misc where the newly built modules were. After I replaced the modules in the dkms directory, I was 23:24
basixable to modprobe all the virtualbox modules successfully and able to restart virtualbox and run a VM. This is Virtualbox 4.1.8 on kernel 3.1.2. 23:24

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