/srv/irclogs.ubuntu.com/2014/12/05/#ubuntu-kernel.txt

manjokamal__, looks like you backported ARM: fix alignment of keystone page table fixup do you recall what issue this fixed ?16:29
apwmanjo, from the description i'd say it makes sure the end of the kernel data space is mapped properly, which i would to mean random builds working and randoms ones not16:33
manjoapw, ok I have a similar situation ... so was trying to understand that patch16:34
manjoapw, was looking for any bug report so that I can compare the trace 16:35
manjoapw, the bug that it ref to is of no help 16:35
apwthe bug would be a stable being applied en-toto bug i assume16:35
apwthe original is no more verbose, and has no bug associated16:35
manjobah16:36
apwbut as it is random end of data space alignment issues, it woud literally be anything that happens to be linked there which would be missing16:36
kamal__manjo, yeah, that commit was just "cc: stable", hence I merged it...  there is/was no bug reference for it.16:36
apwi doubt it is constrained to any particular thing16:36
manjoapw, so in my case a dkms module does a get_user_pages() but it is unable to pin it because *pmd = 0000000016:36
manjokamal__, ack I feard that might be the case16:37
=== kamal__ is now known as kamal
manjobut the code worked in a previous build but no in the current build 16:37
apwmanjo, have you a crash stack for it?16:39
manjopmed you the bug 16:40
apwthat stack could just be saying you asked it to map something from userspace which does not exist16:48
manjoright so it seems like there is nothing wrong kernel wise ... but the user tells me that they did not see failures like this before 16:49
apwthat tells you nothing other than they used to be luckier, in reality.  code which should and indeed seems impossible to have worked ever16:50
apwoften works for years before exploding and showing you they are passing the wrong thing16:50
manjodid you see my comment #2 ? that is what I was trying to understand as to why their module is trying to pin invalid page table16:51
apwwell that is simply defined by the address you pass in, it is saying "you asked me to pin a page in this range, but there isn't even a pmd for it, so there is no page EFAULT"16:52
manjoI want to completely rule out that any merge from ubuntu to this flavor kernel did not intro any regressions16:52
apwfrom that trace, i would say the driver reported that the get_user_pages failed, and then went on to use the address anyhow as if it did not16:53
manjo:) yeah it looks messed up ... trying to untangle the spaghetti so that I can put the ball on their court 16:55

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