/srv/irclogs.ubuntu.com/2014/02/18/#ubuntu-kernel.txt

=== gerald is now known as Guest90138
=== zz_mwhudson is now known as mwhudson
miseria"ajedrez batalla entre negros y blancos, al final del final el blanco no tendra peones y el negro prevalecera" bienvenidos: http://castroruben.com *temo_a_un_ser_sin_rival*02:44
=== BruceMa is now known as BruceMa-afk
=== BruceMa-afk is now known as BruceMa
ppisatimoin07:38
=== lag` is now known as lag
xnoxsmb: i'll be uploading dmraid/mdadm into the archive today, blocked in proposed. I didn't manage to get migration from dmraid -> mdadm smooth yesterday.08:19
xnox(a) kpartx is not executed on mdadm assembled arrays, like it was on dmraid -> thus one doesn't get all partitions present. (and adding a kpartx run to udev rule, didn't do it for me =( )08:20
xnox(b) and i didn't get compat symlinks for kpartx generated devices in above.08:21
xnoxat least we'll drop dmraid45 dependency, and one can test mdadm assembly from the archive.08:22
xnox(i'll disable imsm and ddf assembly by mdadm with a config file)08:22
smbxnox, ok, I can check it out pulling the proposed versions. partitions... weird I have partitions on my test raid5 and beside of the downside of mdadm thinking the array is degraded I at least believe to have had partitions with mdadm08:36
xnoxsmb: i only get a device for container (/dev/md/imsm0 or /dev/md127) & the array (/dev/md/Volume1 or /dev/md126), but not partitions in the array.08:41
xnoxsmb: mdadm does think the array is degraded, even though that is a lie =) as containers never leave inactive state... and our check believed it was.08:42
xnox(or e.g. the array can be in-progress rebuilding)08:42
smbxnox, Hm, I have to check with the version you uploaded, but I got md127px devs, too08:42
xnoxsmb: interesting.08:44
smbxnox, Ok, so just to confirm, with the dmraid which has no support for ism at all plus old mdadm (+udev rule addition to act on isw_members), I currently get /dev/md126p? (not 127) and even /dev/md/Volume0p? symlinks.09:00
xnoxsmb: ok. I am using dmraid with ism support compiled, but disabled to not activate the devices, plus mdadm with rules to assemble isw_members, i only get naked devices/symlinks without partitions.09:02
xnoxi wonder if i really should not compile isw in dmraid.09:03
smbxnox, odd... Well I will replace my versions with your uploaded ones and check whether this happens to me, too.09:03
smbI guess (iirc) if the script called by udev does not act on isw it should not matter whether dmraid supports things or not09:04
smbAnd I would guess that is where you handle the config setting09:05
* apw hates rebasing...09:40
apwmorning09:40
smbapw, Morning, as long as its only a git tree and not yourself you rebase...09:41
apwyeah at least i can reset my tree on error09:45
apwsounds like fun is being had with mdraid09:46
smbapw, Software is always fun... changing software doubly so... :-P09:54
psivaasbeattie: bjf: we have this failure in armadaxp SRU, with precise kernel: https://jenkins.qa.ubuntu.com/view/SRU%20Kernel/job/sru_kernel-precise-generic-armhf_omap4_armada1-serial/97/testReport/autotest/ubuntu_qrt_kernel_security/test_kernel_security_py/?09:58
psivaai reran the test to confirm if it's persistent and it occurred during both runs.09:59
ckingapw, do you mind syncing packages thermald and health-check some time today for me?10:08
infinitycking: sync from Debian?  I can do that.10:13
infinitycking: Done.10:14
infinitycking: Hrm, powerpc, but no ppc64 or ppc64el?10:14
* cking slaps himself, bad me10:15
infinitycking: Do you have reason to believe it won't work with 64-bit userspace?10:15
infinitycking: (I assume with "powerpc", you're already assuming it works with 64-bit kernels...)10:16
ckinginfinity, no, I forgot to put those arches in, nnggg10:16
ckingi guess another tweak and upload is now required...10:16
infinitycking: Well, I can fix it in Ubuntu right now for you, and you can fix it in Debian whenever.10:17
infinitycking: ppc64 is an unofficial arch in Debian, and ppc64el doesn't exist yet at all, so...10:17
ckinginfinity, if you can, that would be awesome, and I can fix it for the next time I do any other bug fixes10:17
ckingcan't believe I did the tricky part and screwed up the easy bit10:19
infinitycking: No arm64 yet?10:19
ckinginfinity, if I get access to H/W I can try it out.. and then add that too ;-)10:19
infinityHeh.10:19
infinitycking: Oh, also, you don't need all the "linux-" prefixes, it just clutters up the control file.10:19
infinitycking: "amd64" *is* "linux-amd64", there's no ambiguity.10:20
ckingah, ok10:20
infinityany-i386 == i386, hurd-i386, kfreebsd-i386, but i386 on its own is just i386, which is the Linux port.10:21
infinitySo, I'll fix that up too while I'm in here, and you can sync it back when you care.10:21
ckingok, thanks, I remember that for next time I do anything so arch specific, like never I hope10:21
infinityWell, it would be perfectly reasonable, IMO, to just have it be "any" as well, if it'll FTBFS on unsupported arches.10:22
infinityIt's only bad if it builds but is completely broken subsequently.10:22
infinity(or linux-any, if it's linux-specific)10:22
ckingok, but I hate seeing FTBFS on other arches when I know it won't work..10:23
infinityHeh, fair enough.  To each their own.10:23
infinityI like the red FTBFS items as a subtle reminder that I have things to fix. :)10:23
ckingvery true10:23
infinitycking: Uploading this: http://paste.ubuntu.com/6953727/10:25
xnoxnow i'm enjoying UEFI which selects the wrong hard-drive to boot off...10:25
infinitycking: unless you have reason to believe x32 wouldn't work.10:25
ckinginfinity, well, I'm not 100% sure, it may just go horribly wrong, I can't recall what's required for x32 special cases10:27
ckinglet's see if it breaks, I can always fix it later :-)10:27
apwheh10:27
infinitycking: There's some syscall duplication, and, of course, not effing up your pointer sizes, but otherwise I expect anything that works on amd64 to Just Work on x32.10:27
infinitycking: Should be testable with gcc-multilib installed and gcc -mx3210:28
infinityAnyhow, uploading for kicks.10:28
ckingok, I can give it a spin later today :-)10:28
infinityWe don't build for x32 in Ubuntu anyway, this is more for the benefit of the unofficial Debian x32 port when you go and merge this back.10:29
ckingyup, i've tinkered with that a while ago10:29
infinitycking: As for arm64 hardware, do you have access to batuan?10:30
* cking checks, yep10:31
infinitycking: ubuntu@10.229.32.99 from batuan, then.10:31
ckingack10:31
infinitycking: Password as insecure as you suspect it.  Full sudo.  Please make a user and work in your ~10:32
ckingshiney10:32
infinityErr, and there's a whopping 1.7G free.  Let me see who needs slapping.10:32
xnoxsmb: i believe i had invalid half of GPT partition table (either primary or backup) recreating the array and recreating partition table, now results in proper md126p? and md/Volume1p? devices to appear.11:04
smbxnox, Errm, I hate to say I think you forgot a little "exit 0" in the dmraid-activate script as well11:04
smbGiven that after install there is no (dm) raid for me and in the check for nomdmonddf looks odd too11:05
smbOh its negated...11:06
smbbut anyway exit 0 is just wrong11:06
smbxnox, Though maybe phrasing both as "mdadm xxx assembly disabled by boot option" would be less hm... strange?11:07
xnoxsmb: yeah missing exit 0.11:12
xnoxcorrecting text.11:13
smbxnox, I guess it should be about what is default. But I catch myself going something disabled ... something enabled... wait were those options not both nomd...bla...? :)11:15
xnox=)))11:15
xnoxsmb: also the /etc/default/grub.d/dmraid2mdadm.cfg11:16
smbOh, _there_ those come form11:16
smbI was already wondering... did we have a grub.d there ever before?11:17
xnoxsmb: that's fairly new. we have /etc/grub.d/ for template generators, /etc/default/grub for default "settings" and /etc/default/grub.d/ for sourced settings....11:17
xnoxe.g. kexec-tools uses the last one as well to set crashkernel= line11:18
smbxnox, Neat to know for me ... There might be some use for that for Xen...11:18
smbxnox, Ok, so the switch to md works for me and has partitions, too.11:29
smbSo the only problem I saw was the "exit 0"11:30
smbAnd maybe but thats RTFRN the surprising source of the nomd* grub cmdline args11:31
jsalisburyapw, It looks like the amd64 kernel is missing for the 3.14-rc3 mainline build:14:19
jsalisburyhttp://kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc3-trusty/14:19
pkernIs there an relatively easy way to add a suffix to the Ubuntu kernel version when compiling it? "DEB_BUILD_OPTIONS=parallel=14 AUTOBUILD=1 NOEXTRAS=1 /usr/bin/time fakeroot debian/rules binary-generic" is the current build command I use. |:14:44
argesjsalisbury: I was going to mention the same thing. : ) was just going to test with latest14:51
jsalisburyarges, I haven't tried to build manually yet, or search upstream to see if its a known issue.14:52
arges/bin/bash: line 0: cd: /home/apw/COD/linux/debian/build/tools-perarch/tools/hv: No such file or directory14:53
argesfrom http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/BUILD.LOG14:53
argesapw: ^^^ might want to look14:54
=== JanC_ is now known as JanC
apwjsalisbury, yep upstream does not build on that arch.... sucks to be it15:03
jsalisburyapw, whoops15:03
apwpkern, add your suffix to debian.master/changelog, to the first version entry there15:03
apwarges, meh mainline smainline15:03
hallynsmb: so I'm not sure if you were waiting for more info from me about the overlayfs-whiteout patch...  pls ping me if you are15:08
apwhallyn, for me, i have not yet had a chance to think about why that one bit differs from the rest; why it is able to take the privs it needs elsewhere to copy up for instance, and yet does not do the trusted.* bit under the same elevatio15:13
smbhallyn, No, after realizing that the first part describes how whiteout is done right now, I understood the patch. Hm, oh just to make sure: this was targeted for some upstream. Or were you asking us (kernel-team) to apply it to Trusty?15:13
rtgapw, pushed 'UBUNTU: [Config] CONFIG_CGROUP_SCHED=y for ppc64el' after test build. There are a couple of other cgroup related configs that I'll make consistent as well.15:25
pkernapw: I wonder if AUTOBUILD=1 NOEXTRAS=1 does the ABI checks. So I tried -17gg.31 as a version but it did not pick 17gg as the ABI identifier. ;) I think I do want to diverge in the package name. So I'm not sure where to place the suffix. |:15:26
ppisatiapw: what was the name of the pastebin cli tool?15:36
apwppisati, pastebinit15:36
ppisatiah15:36
ppisati10x15:36
apwpkern, no the abi on disk is always just the numeric prefix15:37
hallynsmb: there is no 'upstream' right now AFAIUI.  I cc:d Miklos, but overlayfs is not upstream so...15:41
hallynapw: the copy-up only requires write access to the writeable layer.  That requires either uid equivalence, or *targeted* capabilities to the user namespace owning the inode15:41
hallynapw: writing to trusted.* xattrs requires capabilities targeted to the *initial* user namespace15:42
hallynthat's the bit I'm changing, poking a hole just for trusted.overlay*15:43
apwhallyn, i mean to say overlayfs is already raiding its creds beyond the caller to do the copy15:52
apwhallyn, why is it not raising them to what it needs15:52
jsalisbury##15:52
jsalisbury## Kernel team meeting today @ 17:00 UTC in #ubuntu-meeting15:52
jsalisbury##15:52
hallynapw: it raises all creds.  But the creds are targeted to cred->userns.  Now I suppose we could look into changing the userns there.  That may be deemed a 'correct' fix.  not quite sure15:54
=== vmesons is now known as vmeson
bjfarges, you around?16:23
argesbjf: yes16:23
bjfarges, did you SRU a netfilter: nf_conntrack commit for Precise ?16:23
argesbjf: yes16:23
bjfarges, it doesn't build :-(16:24
argeshmm...16:24
bjfarges, yeah, that's what i say16:24
argesbjf: so assuming by precise you mean 3.216:24
rtgamb, apw, are you both happy with '[PATCH 1/1] overlayfs, xattr: allow unprivileged users to whiteout' ?16:25
bjfarges, i can fix it but i'm grumpy. yes 3.216:25
rtgsmb^^16:25
argesbjf: i'll fix it. re-building/testing it now16:25
apwrtg, i am still thinking about it16:25
rtgapw, frankly, I don't know how to think about it. too inexperienced in that subsystem.16:26
apwrtg, i need to sit down and look at it and not had any "uninterrupted time" to think on it16:27
rtgapw, log off of IRC, that'll help :)16:27
bjfarges, /tmp/kernel-bradf-RBDocT6R/build.log on tangerine16:27
hallynapw: override_creds vs. userns will probably need to be addressed more fully at some point, but it's not entirely clear how to best do that.16:34
hallyni.e. if a thread is running as root and wants to switch to some uid or subuid, there is no good way for it to get a good userns16:35
hallynnow i guess in those cases it doesn't matter as much.  the case where we care is override_creds to root16:35
hallynso maybe an 'override_creds_to_init_root()' would be useful as a new helper;  for nfs and overlayfs.  but i'm guessing there'll be bikeshedding on that till summertime16:36
psivaabjf: curious if you saw my previous message to you and sbeattie about the precise armadaxp test failure on the SRU.16:42
psivaahttps://jenkins.qa.ubuntu.com/view/SRU%20Kernel/job/sru_kernel-precise-generic-armhf_omap4_armada1-serial/97/testReport/autotest/ubuntu_qrt_kernel_security/test_kernel_security_py/?16:42
bjfpsivaa, i had not seen it16:42
psivaabjf: ack, this is holding the release of the armadaxp precise kernel16:42
psivaabjf: i've run twice just to confirm if this is reproducible and it is16:43
bjfppisati, do you have access to one of these armadaxp boards ?16:43
ppisatibjf: uhm no, i may ask on #hwe if needed16:44
bjfppisati, is that ike's baby?16:44
ppisatibjf: hold on16:44
ppisatibjf: yep16:44
ppisatiweird16:45
ppisatithat's a compile time opt16:45
ppisatieither it was changed in the last upload16:45
ppisatior i don't know16:45
bjfyeah16:46
* apw finds it a little off that he can build "unstable" ok but the mainline 3.14-rc3 doesn't build ...16:55
apwrtg, you didn't add any local patches did you ... hmmm16:55
jsalisbury##16:56
jsalisbury## Kernel team meeting in 5 minutes in #ubuntu-meeting16:56
jsalisbury##16:56
rtgapw, other then the usual SAUCE and other ubuntization, I can't recall...16:57
ppisatipsivaa: uhm17:05
ppisati[flag@luxor ubuntu-precise]$ git grep "config DEBUG_RODATA"17:05
ppisatiarch/parisc/Kconfig.debug:config DEBUG_RODATA17:05
ppisatiarch/x86/Kconfig.debug:config DEBUG_RODATA17:05
ppisatiarch/x86/Kconfig.debug:config DEBUG_RODATA_TEST17:05
ppisati[flag@luxor ubuntu-precise]$17:05
ppisatipsivaa: and indeed, it's off in my omap4 branch17:05
ppisatipsivaa: what do you do wrt omap4 for that test? does it run? or do you skip it?17:06
ppisatipsivaa: i guess the second17:06
ppisatipsivaa: and when the last time that test was run on the armadaxp kernel?17:06
ppisati*when was17:06
psivaappisati: so for omap4 with precise we run it manually, and i think it's skipped. but let me confirm it in a bit17:07
psivaafor armadaxp this was run yesterday17:08
ppisatipsivaa: and it failed, right?17:08
psivaappisati: yes17:08
ppisatipsivaa: i mean, last time it was run and it passed17:08
ppisatipsivaa: because IMO, that test should never run for arm17:08
ppisatipsivaa: at least in precise, maybe newer kernel have that17:09
psivaappisati: ack, let me check17:09
psivaappisati: https://jenkins.qa.ubuntu.com/view/SRU%20Kernel/job/sru_kernel-precise-generic-armhf_omap4_armada1-serial/90/consoleText has that test passing17:11
=== jsalisbury changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Ubuntu Kernel Team Meeting - Tues February 25th, 2014 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!
psivaappisati: the kernel tested was 3.2.0-1630.4217:11
ppisatipsivaa: that's impossible17:12
ppisatipsivaa: [flag@luxor ubuntu-precise]$ grep RODATA debian/build/build-omap4/.config 17:13
ppisati[flag@luxor ubuntu-precise]$17:13
ppisatipsivaa: that option is off in precise/omap4, so how can the test pass?17:13
psivaappisati: no idea but assume you've seen the above link :)17:15
ppisatipsivaa: where is the code for the test suite?17:15
psivaappisati: we pull the code from git://kernel.ubuntu.com/ubuntu/autotest-client-tests17:16
ppisatipsivaa: are you sure those are the test that you are running?17:21
ppisatipsivaa: [flag@luxor autotest-client-tests]$ grep -Ri config_debug_rodata *17:22
ppisatikernbench/config:CONFIG_DEBUG_RODATA=y17:22
ppisatikernbench/config:# CONFIG_DEBUG_RODATA_TEST is not set17:22
ppisati[flag@luxor autotest-client-tests]$17:22
ppisatipsivaa: [flag@luxor autotest-client-tests]$ git grep KernelSecurityTest17:22
ppisati[flag@luxor autotest-client-tests]$17:22
ppisatipsivaa: bzr+ssh://bazaar.launchpad.net/%2Bbranch/qa-regression-testing/17:27
argesapw: well 3.13.0-8-lowlatency locks up my laptop : )17:28
argestime for -917:28
psivaappisati: i'm pretty sure we run the tests that's in the git repo. and i see exactly same output:17:28
psivaausit@morgan:~/kernel-sru/branches/autotest-client-tests$ grep -Ri config_debug_rodata *17:29
psivaakernbench/config:CONFIG_DEBUG_RODATA=y17:29
psivaakernbench/config:# CONFIG_DEBUG_RODATA_TEST is not set17:29
psivaausit@morgan:~/kernel-sru/branches/autotest-client-tests$ git grep KernelSecurityTest17:29
psivaausit@morgan:~/kernel-sru/branches/autotest-client-tests$17:29
psivaappisati: and that's what we run the test on.. not sure how/why the tests are not skipped17:29
zequencearges: Try using nothreadirqs boot parameter17:29
zequencearges: Also, try linux-generic with threadirqs boot parameter, to see if it freezes too17:30
argeszequence: ok. is there already a bug # for this issue?17:30
zequencearges: I myself have a problem only when having a wifi driver loaded, with threadirqs. That makes the kernel freeze17:30
zequencearges: Yes. A few bugs, that may be related17:30
zequencearges: bug: 127908117:31
ubot2`Launchpad bug 1279081 in linux (Ubuntu) "linux freezes with threadirqs parameter when rt73usb is loaded" [High,Confirmed] https://launchpad.net/bugs/127908117:31
argescool subscribing17:31
ppisatipsivaa: the actual test is not there, how can the test be there if grepping for any string doesn't return anything?17:34
ppisatipsivaa: File "./test-kernel-security.py", line 672, in test_072_config_debug_rodata17:34
ppisatipsivaa: can you find that file? no17:34
psivaappisati: let me see17:34
ppisatipsivaa: the actual test is here: bzr+ssh://bazaar.launchpad.net/%2Bbranch/qa-regression-testing/17:35
ppisatipsivaa: flag@luxor qa-regression-testing]$ ls -la scripts/test-kernel-security.py 17:35
ppisati-rwxrwxr-x 1 flag flag 63535 Feb 18 18:26 scripts/test-kernel-security.py17:35
psivaappisati: we dont use the qrt from bzr directly.. bjf may be able to give a better explanation for that17:36
ppisatipsivaa: do you have a log from an omap4 kernel testing?17:37
psivaappisati: i dont see scripts/test-kernel-security.py in our test code.  yes let me find the omap4 logs17:38
henrixppisati: psivaa: iirc, those tests are actually inside a bz2 archive in the source tree. but it's been a while since last time i looked17:40
psivaappisati: https://jenkins.qa.ubuntu.com/view/SRU%20Kernel/job/sru_kernel-quantal-generic-armhf_omap4_panda_ES-serial/163/consoleFull is the omap4 logs17:40
ppisati21:39:16 ERROR| [stderr] test_072_config_debug_rodata (__main__.KernelSecurityTest)17:41
ppisati21:39:16 ERROR| [stderr] CONFIG_DEBUG_RODATA enabled ... FAIL17:41
ppisatiindeed that options is off17:41
argesbjf: hey, sent an updated patch. it builds and boottest works17:41
psivaappisati: this log has that test 'FAIL' although jenkins report at the end as no test failures. this has now been fixed17:41
bjfarges, thanks17:42
ppisatipsivaa: as i said, DEBUG_RODATA is not available on arm in that kernel, so it's normal that the test fails17:44
psivaappisati: sorry i am confused. do you mean to say that it's expected that the test fails on omap4 *and on armadaxp boards since the kernel does not have DEBUG_RODATA?17:49
bjfarges, did you send that me directly? i'm not seeing it17:50
argesbjf: sent it to kteam ml17:51
ppisatipsivaa: yes, either that test was skipped or no one noticed it since now17:51
psivaappisati: ok, the test is not skipped in our setup as we could see. right ( sorry i am trying to understand as we are going.. so bear with me :))17:51
argesbjf: i just fwd it directly to you as well17:52
bjfthanks17:52
bjfarges, got it17:54
* ppisati -> EOD17:58
keeshenrix, sbeattie: odd, ARM should not be testing for CONFIG_DEBUG_RODATA. that option doesn't exist yet there.18:04
keesthe test should be skipping that check.18:04
keesalso, how come jenkins output doesn't log correctly? the notes on tests (the stuff in ()s) isn't logged in the correct place.18:05
henrixpsivaa: ^^18:05
psivaakees: i dont understand your comment. where is it wrong. 18:08
gQuigskernel 3.14 landing in 14.04 is not possible anymore?18:11
keespsivaa: the test itself should be detecting that it is an ARM kernel and not requiring the CONFIG_DEBUG_RODATA option. the test appear broken, but it's a harmless failure condition.18:17
keespsivaa: or did you mean the jenkins output?18:17
manjortg, what is the final kernel version for trusty? 18:18
psivaakees: i'm not really bothered about jenkins output issue if that failure is harmless :)18:18
rtgmanjo, 3.13.x18:18
psivaakees: just was talking to plars and there was already a bug opened for this:  https://bugs.launchpad.net/qa-regression-testing/+bug/119066818:18
ubot2`Launchpad bug 1190668 in QA Regression Testing "FAIL: test_072_config_debug_rodata (__main__.KernelSecurityTest) on SRU kernel 3.5.0-226.39 omap4" [Undecided,New]18:18
plarsyeah, we get the same failure on omap418:19
plarsfor a while now, and were told that the option needs to be disabled in the kernel iirc18:19
manjortg, thanks... is it too late to request a pull  from 3.14-RCX? possibly one or 2 patches 18:19
rtgmanjo, not too late, but its obviously dependent on the content of the patch. send it on the list.18:20
manjortg, will do when it lands there 18:20
keesplars: the option doesn't exist on ARM kernels. it's the test that needs to be fixed to not expect it18:21
manjortg, atm there was a one liner hack that was put into saucy to get guest kernels to boot and use serial ... hopefully ppisati carried that fwd. The real fix is landing upstream somewhere in 3.14.rc1 according to linaro ... so just checking when it lands we could replace the hack with real fix18:25
rtgmanjo, 3.14 is already at -rc318:25
manjortg, right ... checking on it and will let ppisati know 18:26
=== mwhudson is now known as zz_mwhudson
miseria"cuantos millones de humanos perderian su trabajo si un miserable salario minimo fuera mandatorio en el planeta?" bienvenidos: http://castroruben.com *temo_a_un_ser_sin_rival*20:36
=== zz_mwhudson is now known as mwhudson
nickezanybody knows what is going on with the 64bit dailies?21:46
=== mwhudson is now known as zz_mwhudson
=== zz_mwhudson is now known as mwhudson

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