=== gmb is now known as breakum-binns | ||
=== breakum-binns is now known as gmb | ||
=== gmb is now known as breakum-binns | ||
=== breakum-binns is now known as gmb | ||
=== gmb is now known as breakum-binns | ||
=== breakum-binns is now known as gmb | ||
jdesfossez | Hi, when compiling external modules for a Ubuntu kernel, is it possible to detect that the target kernel is a Ubuntu kernel ? | 13:59 |
---|---|---|
jdesfossez | some kind of version include or something like that | 14:00 |
apw | jdesfossez, we have reently added a version thing for that, and UBUNTU_ABI in a header | 14:28 |
apw | not sure how far back it was applied | 14:28 |
apw | UBUNTU_RELEASE_ABI | 14:29 |
jdesfossez | apw: oh nice, is it in trusty ? | 14:30 |
jdesfossez | apparently not | 14:32 |
apw | jdesfossez, it will be in the next update in trusty | 14:34 |
jdesfossez | ah great ! | 14:35 |
apw | jdesfossez, also i don't know if you can see CONFIG_VERSION_SIGNATURE in your module, that is ubuntu specifici | 14:35 |
apw | and that has "always" been in there | 14:36 |
jdesfossez | nice, I wasn't sure if it was Ubuntu specific | 14:36 |
jdesfossez | I should be able to include this file, I'll give it a try | 14:37 |
jdesfossez | I hope it will fix a bug we are having right now with LTTng kernel modules since this patch has been backported to Ubuntu 3.13.0-x http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-trusty.git;a=commit;h=f131dbbef24a58bb43bbd54119d9b2dad478f21f | 14:37 |
jdesfossez | apw: CONFIG_VERSION_SIGNATURE is in .conf file, it seems tricky to import inside our macros, we will have to wait for UBUNTU_RELEASE_ABI to fix this | 14:48 |
apw | jdesfossez, i don't th | 14:50 |
apw | jdesfossez, i don't think you have to include anything do you? as yu can #ifdef CONFIG_SMP and stuff in modules without direct action | 14:50 |
apw | it is a config just the same, #ifdef ought to work on it no ? | 14:50 |
jdesfossez | ah maybe, I'll try that | 14:51 |
jdesfossez | ok, I can use it, I'll try to cook a patch for that | 14:52 |
jdesfossez | thanks ! | 14:53 |
apw | sadly its not in a form you can check numerically, which is why the ABI was added | 14:57 |
jdesfossez | do you think UBUNTU_RELEASE_ABI will be backported to 12.04 also ? | 14:58 |
apw | bjf, ^ ?? | 15:01 |
bjf | apw, i can't think of any reason it can't be | 15:02 |
apw | bjf, i guess if it is in 12.04 and 14.04 kernels soon that will be all of them | 15:02 |
jw12000 | apw: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1313981 Just looking for an update? | 15:39 |
ubot5 | Ubuntu bug 1313981 in linux (Ubuntu) "Kernel disabling serial port ttyS0 on boot" [Medium,Confirmed] | 15:39 |
apw | jw12000, i've not had a chance to chase up on my chain today | 19:00 |
apw | it is on my todo list, and is already red from inaction | 19:01 |
jw12000 | apw: Thanks much. I'll stop bugging you for a while. | 19:13 |
=== trippeh_ is now known as trippeh |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!