/srv/irclogs.ubuntu.com/2016/01/22/#ubuntu-kernel.txt

emmteeHi, I managed to rebuild a patched module by issuing sudo make drivers/net/ethernet/atheros/alx/alx.ko from the kernel source root, and it built alx.ko fine.  A reboot doesn't seem to pick it up though.  What I can't understand is that even if I move the original alx.ko out of its home in /lib/modules/.... , the alx module is still loading at boot???  Where is it reading alx.ko from if it is no longer in /lib/modules?  00:18
emmteeIs there a cache?  00:18
=== yuning_ is now known as yuning
apwemmtee (N,BFTL), there is not a cache no, but there is an updates directory in lib/modules09:15
decoderhey15:24
decoderi wanted to report a strange issue we've been seeing with the 14.04 kernel lately15:24
decoderwe're doing extensive fuzzing on the mozilla JS engine both on 14.04 and some old machines on 12.0415:24
decoderrecently, the developers turned on w^x, a feature to mark jit pages either as writable or executable (for security reasons)15:25
decodersince then we've been seeing unexplained crashes on one machine+kernel combination where hardware failure is highly unlikely15:25
decoderthe crashes seem to be due to instruction pointer pointing at non-executable memory (I see kernel: [8453579.233671] js[23624]: segfault at f76c6000 ip 00000000f76c6000 sp 00000000ffffbfcc error 15) in dmesg and error 15 indicates typically an NX bit error15:26
decoderwhen we inspect core dumps, the memory pointed to is marked executable though15:26
Odd_BlokeAre release kernels and HWE kernels handled on the same SRU cadence?15:27
Odd_Blokebjf: (^)15:27
bjfOdd_Bloke, yes15:27
decoderwe hit this kind of bug only on one combination of hardware: an AMD opteron 6272 (32 core) machine with 14.0415:27
decodersame hardware with 12.04 is fine15:27
decoderother hardware with 14.04 is fine15:27
decoderthe hardware has ECC memory and doesnt show any errors, nor any other weird crashes indicating hardware failure15:28
decoderjust nx problems15:28
decodernot necessarily related to ubuntu kernel changes, but i dont know where to start :)15:28
apwdecoder, well if the page is correctly marked, that kind of implies the change in type was not migrated correctly to the CPU itself, those crashes are application level crashes right not the kernel exploding15:37
apwdecoder, so i'd say its likley a lack of correct tlb flushing, which could easily be kernel and amd/intel specific15:38
decoderapw: yes, application level crash. though from the crash information it is then unexplainable why it crashed (instructions that cannot crash + instruction is on executable page according to coredump)16:07
decodersounds reasonable16:07
decoderthe page not being properly unmarked in the CPU would cause such a symptom16:07
decoderapw: do you think I should send this to lkml or is there anything we could try?16:07
apwdecoder, well if you can figure out what the app is doing to change the permissions (mprotect perhaps) you may have some luck comparing the code that triggers for intel and amd16:18
apwdecoder, though if it is a single AMD cpu (and other amd are not affected) it may be very hard to work out what semantic need we are not fulfilling16:19
apwafter that a full specified report with as small as possibl reproduce by to upstream sounds appropriate16:19
decoderokay. that might get really hard. the JS engine is such a complex beast16:23
decoderand it's the JITs that use this feature16:23
decoderill try to talk to the JS devs and see what we can come up with16:23
=== beisner- is now known as beisner
=== `jpg_ is now known as `jpg
peacefulhi cking, any news about kernel? :)19:44
ckingpeaceful, it needs to go through the SRU process, get built, regression tested and then releases, so it's another week or so at least19:45
cking*released19:45
peacefulcking, ah so next week the fix will be in the newest kernel?19:47
ckingpeaceful, perhaps week + a few days19:48
peacefulDoes it pertain only ubuntu kernels or mainlain kernels?19:48
ckingubuntu kernels, and mainline if my fix gets pulled in, but maybe not until 4.6, it depends19:49
peacefulcking, ah ok19:49
peacefulpretty slow process19:49
ckingpeaceful,  merging in thousands of patches per release takes effort19:50
peacefulcking, does it mean downloading ubuntu 15.10 and booting it will have my kernel fix? or not?19:50
peacefulcking, i wonder is there a way to download ubuntu 15.10 with older kernel, a kernel that works with my hardware?19:52
ckingpeaceful, no, because the CD image has to be respun for that, which we do for LTS releases only19:52
peacefulcking, okay19:52
ckingas a "point release"19:52
peacefulcking, is there a way to replace ubuntu 15.10 iso kernel with other one of my preferance?19:52
peacefulSo it's possible for me to boot it, install it and use older but working kernel like 3.13 for example19:53
ckingpeaceful, it's only 0's and 1's, so all is possible, but I don't know how19:53
peacefuli guess thats a no :)19:54
ckingif you were to install vivid now, it would work because the ISO does not have the bug in the kernel, then wait for the fix to roll out, and pull in the new fixed kernel 19:54
peacefulyeah trust 14.04 works19:55
peacefulcking, ok thanks for info :) Im leaving :)19:57
* cking too it's way past my end of week (again)19:57

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