/srv/irclogs.ubuntu.com/2013/03/11/#ubuntu-kernel.txt

=== stgraber_ is now known as stgraber
ohsixso, i have a problem i'm trying to find in a program; it seems to happen when only certain pages need to be faulted in, i can sort of provoke it by setting vm.swappiness=100 and doing echo 1 > /proc/pid/clear_refs and waiting an arbitrary amount of time, what i need is something that can evict a page to swap with high likelyhood, is there something in /sys or /proc i can poke to do that?02:25
ohsixthe program can be modified if madvise or something can be close to forceful (like with DONTNEED) but basically invoking the path taken for the process for hibernate would be perfect02:28
ppisatimoin07:37
=== smb` is now known as smb
=== directhe` is now known as directhex
smbmorning08:44
=== yofel_ is now known as yofel
smbapw, -ENOHEAR09:43
ppisatibrb10:08
apwtseliot, i had a long chat with the rcu maintainers about the issue we worked on in the binary shim10:19
apwtseliot, it does seem like there should be some kind of locking accessor for those10:19
tseliotapw: do you mean additional locks?10:19
apwtseliot, no i mean some kind of wrappers which expose that functionality, so more like a _get _put pair for the iee data which does the right thing10:20
apwtseliot, i am thinking about how they might look at the moment10:20
apwtseliot, for now i would advise ignoring it for us, and lets see if we can fix this upstream for everyone else10:21
tseliotapw: ok but it's not really a lot of work to workaround locally. I'll also have to fix a few more things for 3.8 in the broadcom driver anyway10:22
apwtseliot, ok cool10:23
* ppisati hopes for a 'changeset' feature in git, sooner or later...10:55
apwppisati, meaning ?10:55
apwbjf, we still have tips which have the wrong series in them, i've just fixes quantal-signed, but this is a timebomb waiting to bite someone10:57
ppisatiapw: 'changeset' a way to group together bunch of related patches10:58
apwppisati, in a way to email them?10:58
ppisatiapw: i'm backporting overlayfs to nexus7, picking stuff from 3.2, and i noticed after the 3rd try10:58
ppisatiapw: that i actually needed 8/9 patches10:59
ppisatiapw: with a 'changeset' we could group together all those patches under the same sha10:59
ppisatiapw: and say 'pick the overlayfs changeset'10:59
ppisatiapw: fixes could go in later, but when yo cherrypick the changeset, you get all the stuff10:59
ppisatiapw: perfore has it10:59
ppisati*perforce10:59
apwppisati, that is called a branch10:59
apwppisati, you put all the fixes etc on the branch11:00
apwan then you merge the branch repeatedly into 'master'11:00
ppisatiapw: yep, but when you feature enter master, how do you extract it?11:00
apwyou never do, you always have the original branch to refer to to find teh patches11:00
xnoxrebase.11:00
ppisatiapw: but we don't have topic branches many times11:01
apwppisati, we never do11:01
ppisatiapw: that was my point11:01
xnoxalso git merge-base, can later find the merge commits and sub-branches. to see what got merge into where/when.11:02
apwppisati, no our desire to maintain a simple history does not make it easy11:08
apwppisati, we have proposed it, but it would make maintenance a lot higher for everything else11:08
ppisatiapw: i see11:09
* ppisati notes it doesn't compile yet...11:09
ppisatiapw: anyway, git lg | grep overlayfs was enough to get all the dependencies11:09
apwok11:09
ppisatiapw: so adding "$feature" to the subject is a good thing IMO11:10
apwppisati, we deffo try to do that for anything we count as an 'ubuntu' drvier11:10
ppisatiapw: that's good11:10
apwppisati, mostly to stop tim from losing the patches when he rebases us :)11:11
ppisatiapw: yeah, let's put all the blame on rtg :)11:13
xnoxppisati: if you have overlayfs capable nexus7 kernel, I'd be happy to be an early tester. I know how to use abootimg and flash custom kernels onto my nexus7 ;-)11:40
ppisatixnox: i'll ping you later11:43
xnox=)11:43
* rtg_ grumbles about daylight savings time11:58
apwrtg_, you guys fiddling with your clocks at the wrong time agian ?11:59
rtg_it always seems to be the wrong time of year  for messing with the clocks11:59
apwthere is that12:00
rtg_apw, aren't you guys this coming weekend ?12:00
apwrtg_, i think we are a couple of weeks behind, having aligned with your old dates12:00
apwrtg_, i think it was two weeks either end you lot added12:01
ogra_yeah, will be a few weeks of gcal fun again12:01
rtg_I read that DST is basically useless now12:01
ogra_was it *ever* useful ?12:01
rtg_not in my opinion12:01
apwthere are lots of claims it saves oil, seems unlikely12:02
rtg_it causes jet lag for sure12:02
* ogra_ thinks it was just a bad joke of george washington when he had too much weed one night 12:02
ogra_(iirc he invented it, didnt he ?)12:03
rtg_seems a bit before his time. we didn't start it in the states until the fifties12:03
apwogra_, wikipedia says it was a george, but not that one12:03
rtg_http://en.wikipedia.org/wiki/Daylight_saving_time12:04
ogra_heh, k12:04
apwseemingly the first people to do it were the germans :)12:07
ogra_but an new zealander invented it ... 12:07
ogra_probanly to be closer to the rest of the world for a few days :)12:07
apwindepenandanly invented it, it seems, before the interwebs12:07
ogra_*probably12:07
ppisatiogra_: after i dpkg -i a new kernel on the nexus7, what do i need to run to "flash it" on the boot partition?12:11
rtg_ppisati, is this the desktop image ?12:12
ppisatirtg_: phablet12:12
rtg_ppisati, hmm, dunno about that one. flash-kernel runs on the desktop image and DTRT12:13
ppisatirtg_: i guess i'll have to reflash it then...12:13
ogra_ppisati, phablet has nothing implemented to handle kernels, it uses androids update.zip method (or is supposed to)12:13
* ppisati goes reflashing...12:13
ogra_technically you should be able to just use abootimg though12:14
ogra_since that works on n7 (just not in the other pagblet setups)12:14
ogra_*phablet12:14
ppisatiogra_: can you reflash the desktop img over the phablet? or do i need to go back to android first?12:16
ppisatiogra_: *can i12:16
ogra_you can, just go into fastboot and flash it 12:17
ppisatiogra_: using today's daily, screen is REALLY dark12:39
ppisatiogra_: but i can see the normal installation process going on12:40
ogra_k12:40
ppisatiogra_: isn't is supposed to be a preinstalled img?12:40
ogra_yes12:40
ogra_it uses oem=config to do the initial configuration 12:40
ogra_*oem-config 12:40
ppisatiogra_: but it's unusable12:41
ppisatiogra_: it's uninstallable actually12:41
ppisatii'ts *not* installable12:41
ogra_i had several positive reports for the last image12:41
ppisatiogra_: do you connect it to an external screen?12:41
ogra_how exactly is it not installlable ... does it unpack the tarball and you get into X/oem-config ?12:42
ppisatiogra_: i can't see what's going on the screen12:42
ppisatiogra_: it's so dark, i can barely see some shadow12:42
ogra_you use landscape mode, right ?12:42
ogra_hmm12:42
ogra_not for me 12:42
ogra_are you sure your backlight isnt broken ?12:42
* ogra_ starts a download of todays image12:43
ppisatiogra_: it was working wit the phablet img12:43
ppisatii can try to reflash it12:43
ogra_i wonder if the android kernel caused that 12:43
ogra_s/android/cyanogenmod/12:43
ogra_i.e. setting soem HW register that makes it go darker than usual12:43
ppisatiogra_: i rebooted it12:44
ogra_i havent tried phablet on a tablet, only ported it to my galaxy S2 and run it there so far12:44
ppisatiogra_: ok so12:46
ppisatiogra_: during boot, i see the "google" logo and plymouth "ubuntu" is ok12:46
ppisatiogra_: bright as always12:46
ogra_ok12:46
ppisatiogra_: but when the installation starts, it goes in TOTALLY power save mode12:47
ogra_but you can still see something through that ?12:47
ppisatiogra_: today's daily is unusable for me12:47
ppisatiogra_: nope12:47
ppisatiogra_: only a very very very pallig img12:48
ppisati*pallid12:48
ogra_that doesnt sound like power save mode but like ubiquity having a start up issue ... is that todays image ?12:48
ogra_so it *is* showing something, just not with bright enough backlight ?12:48
ppisatiogra_: right12:49
ppisatiogra_: i see the installer12:49
ogra_do you have a lamp near you ? 12:49
ppisatiogra_: choose language, timezone, etcetc12:49
ppisatiogra_: uhm12:49
ogra_can you hold it with the top part of the display directly under the lamp ?12:49
ppisatiogra_: no :)12:49
ppisatiogra_: let me first reflash it, just in case...12:50
ogra_it looks to me like the phablet kernel redefined the minimal brightness 12:50
ogra_so that the luxd script (which just shorcuts the ambient sensor to the brightness control) gets you a too dark setting12:51
ppisatirebooting after reflash...12:52
ogra_to check the luxd script you would need a lamp and hold it close to the ambient sensor12:54
ogra_the display should adjust automatically 12:54
ppisatiogra_: again, night mode...13:00
* ppisati goes trying the "last-good-image'13:02
ogra_that one definitely works, i tested it myself 13:04
ogra_(but then i didnt have phablet installed ever on my n7 ... i really think its something with the pahblet kernel)13:04
ppisatiogra_: let's see13:05
ogra_yeah13:05
ogra_download will still take 20/30min here 13:05
* ppisati goes for an apple...13:06
ogra_ppisati, pad or book ?13:06
ppisatiogra_: fruit :)13:07
ogra_... so nostalgic :)13:08
ppisatiogra_: even with the good img i had the same problem, i'm back to android now13:33
ppisatiogra_: and it's ok13:33
smbogra_, I suppose not too many will note the fun double meaning of the "pahblet" image... ;-P13:35
rtg_sforshee, I don't think the efivarfs fixes you were anticipating made it into -rc213:44
sforsheertg_, I think 123abd76edf56c02a76b46d3d673897177ef067b is the one we're looking for13:48
sforsheegit describe --contains 123abd76edf56c02a76b46d3d673897177ef067b13:48
sforsheev3.9-rc2~14^2^2~113:48
rtg_sforshee, doh, of course.13:49
rtg_sforshee, prolly need that in raring as well13:49
rtg_it is marked stable13:50
sforsheertg_, yep, the bug came into raring via the stable updates13:50
ogra_smb, lol13:59
ogra_ppisati, so there is definitely something wrong with our kernel or userspace wrt backlight handling 13:59
ppisatiogra_: dunno14:00
ogra_ppisati, and since i dont see it here its is also definitely caused buy the phablet android kernel14:00
ppisatiogra_: now it seems i can't even get to the installer :(14:00
ppisatiogra_: i'm back to android for the secondo time14:00
ogra_(and you are actually the first one to report it at all)14:00
ppisatiogra_: and it's ok, again14:00
ogra_yes, i got that14:00
ogra_so our nx7 kernel does something weird 14:01
ppisatiogra_: http://askubuntu.com/questions/259369/ubuntutouch-mako-nexus-4-black-screen-after-install14:01
ogra_(whatever that is)14:01
ogra_thats totally unrelated 14:01
ogra_it happens on phablet if the userspace unpacking failed 14:01
ogra_not related 14:02
ckinghrm, does that mean we now have askubuntu.com + LaunchPad to check for bugs?14:02
* jsalisbury reboots14:02
ogra_cking, since a while already ... though the ask moderators are usually clever enough to point people to LP for real bugs14:03
=== kentb-out is now known as kentb
ogra_cking, its kind of supposed to replace the LP questions api that nobody really uses14:03
ckingogra_, yup, it's just *another* thing to scan for "the world is on fire" bugs14:04
ogra_yeah 14:04
ppisatiogra_: ok, i officially give up with the desktop img14:17
ppisatiogra_: if anyone feels brave enough, here is a kernel with overlayfs14:18
ppisatihttp://people.canonical.com/~ppisati/linux-image-3.1.10-9-nexus7_3.1.10-9.27~overlayfs_armhf.deb14:18
apwcking, na another thing to ignore until ogra_ tells you the world is on fire :)14:18
apwppisati, i have desktop on mine ... i can try later14:18
ogra_xnox, ^^^14:18
ogra_he wanted to be beta tester for it :)14:19
xnox=)))))14:19
xnox\o/ awesome14:19
* ogasawara back in 2014:37
ppisatiogra_: and for the records, i'm back to the phablet img and it works fine14:38
ogra_ppisati, yes, i belive you 14:38
ogra_ppisati, so our nexus7 kernel has a bug 14:39
ogra_which i cant trigger here at all14:39
ppisatiogra_: is there an old img somewhere?14:39
rtg_ogra_, I'd guess its more likely a difference in config options14:40
ogra_rtg_, or that, yeah14:40
ogra_ppisati, just FYI, todays desktop image works absolutely flawless here 14:48
ppisatiogra_: :(14:48
ogra_so i suspect android sets some HW register or so that causes the brightness lowlevel to be lower than usual14:49
ppisatiogra_: that is weird14:49
ppisatiogra_: after so many reflashes, it shouldn't bother anymore14:49
ogra_ppisati, well, if we dont set that same register back it indeed wont work14:50
ogra_ppisati, i think the actual darkening happens through our luxd script though .... i'll drop that from the settings package and the next image will then just rely on kernel stuff for brightness14:51
ogra_so i would ask you to try that one (once it is out) to see if the issue is gone 14:51
ppisatiogra_: if i press the volume down button, i see all the services starting14:51
ppisatiogra_: but after apparmor14:52
ppisatiogra_: the screen goes black, and never resumes14:52
ogra_how long did you leave it sitting like that ?14:52
ogra_ubiquity is *very* slow starting14:52
ogra_can take a minute or a bit more14:52
ppisatiogra_: some minutes14:53
=== kentb is now known as kentb-afk
ogra_k14:53
ogra_then its not ubiquity14:53
ppisatistill black14:53
ogra_and you tried that with todays image ? 14:53
ppisatiyes14:53
ogra_100% sure ?14:53
ogra_we had a bug about a week ago where whoopsie would cause a black screen after plymouth14:53
* xnox will be trying soon with my automatic preseeding of wifi & user config, but with added custom kernel as well ;-)14:53
ppisati[flag@luxor ~]$ md5sum ~/Downloads/UbuntuNexus7/raring-preinstalled-desktop-armhf+nexus7.bootimg 14:54
ppisatif68e802b866f2b73b54c0890a8138005  /home/flag/Downloads/UbuntuNexus7/raring-preinstalled-desktop-armhf+nexus7.bootimg14:54
* ogra_ is in the last stages here ... oem-config-remove already running 14:54
ppisati[flag@luxor ~]$ md5sum ~/Downloads/UbuntuNexus7/raring-preinstalled-desktop-armhf+nexus7.img.gz 14:54
ppisati4f6f33be6ef8671f1b5a45ab3e467c6d  /home/flag/Downloads/UbuntuNexus7/raring-preinstalled-desktop-armhf+nexus7.img.gz14:54
ogra_lets compare the unzipped image 14:54
ogra_ogra@anubis:~/Desktop/images/raring/20130311$ md5sum raring-preinstalled-desktop-armhf+nexus7.img14:55
ogra_5b5e69daa5c2238cc2c8221483d8eb50  raring-preinstalled-desktop-armhf+nexus7.img14:55
ogra_(i never keep the gz around ... pointless :) )14:55
ppisatiMar 10 16:13?14:55
ogra_yep14:55
ogra_does your unzipped image match mine ? 14:56
ogra_probably your gzip is screwed ?14:56
ogra_:P14:56
ogra_(unlikely indeed :) )14:56
* ogra_ is at the freshly installed desktop14:56
ppisati[flag@luxor ~]$ md5sum Downloads/UbuntuNexus7/raring-preinstalled-desktop-armhf+nexus7.img 14:57
ppisati5b5e69daa5c2238cc2c8221483d8eb50  Downloads/UbuntuNexus7/raring-preinstalled-desktop-armhf+nexus7.img14:57
ogra_hmm, yeah, its the same14:57
ppisatiogra_: mine is a...14:57
ogra_weird that mine works flawless then14:57
ppisatiogra_: 8G nexus7 FWIW14:57
ogra_same here14:57
ogra_first model goodle sold14:57
ogra_*google14:57
ppisatiogra_: did you upgrade android to the latest version?14:58
ppisatiogra_: i didn't14:58
ogra_i didnt14:58
ppisati:(14:58
ogra_my device only had android on it for some hours14:58
ogra_never seen it again14:58
ogra_you flashed the .img, not the .img.gz, right ?14:58
ppisatiogra_: the installer did for me14:59
ogra_i never used the installer :)14:59
ogra_so much overhead for two commands14:59
ogra_yay, and the nautilus bug is fixed14:59
ogra_fastboot flash boot raring-preinstalled-desktop-armhf+nexus7.bootimg15:00
ogra_fastboot flash userdata raring-preinstalled-desktop-armhf+nexus7.img15:00
ogra_fastboot reboot15:00
ogra_thats what i use15:00
ogra_to be on the safe side i often also do: fastboot erase boot ; fastboot erase userdata ... before running that though15:01
ppisatiogra_: what's different between erase and format?15:04
ppisatiogra_: "******** Did you mean to fastboot format this partition?"15:04
ogra_dunno if there is one :)15:04
ogra_its moot anyway, since we flash a new filesystem 15:04
ogra_i just like to be sure its empty before flashing ... but theoretically fastboot flash does it already15:05
brendandbjf, henrix - if someone is running the 3.5 kernel in precise (i.e. they installed 12.04.2), does that mean that they get -proposed kernels from quantal?15:21
rtg_brendand, no, they get official LTS kernels from the precise archive15:22
rtg_from -updates15:22
apwwhich in theory are identicle, but not quite15:22
bjfbrendand, works like all the rest. we produce a lts-hwe-quantal kernel, run it through -proposed etc. if they enable proposed they would get that15:22
brendandbjf, - but it follows this tracking bug, right? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/113342915:23
ubot2`Launchpad bug 1133429 in kernel-sru-workflow/verification-testing "linux: 3.5.0-26.40 -proposed tracker" [Medium,In progress]15:23
bjfbrendand, look at comment #115:23
bjfbrendand, "linux-lts-quantal (precise) - bug 1133589"15:24
ubot2`Launchpad bug 1133589 in Kernel SRU Workflow prepare-package "linux-lts-quantal: 3.5.0-26.40~precise1 -proposed tracker" [Medium,In progress] https://launchpad.net/bugs/113358915:24
brendandbjf - does that kernel follow the same SRU process as the other ones?15:25
bjfbrendand, yes, haven't you been testing it?15:25
brendandbjf - it seems to be marked invalid for us15:26
bjfbrendand, i think that is correct15:26
brendandbjf, we've been testing the 3.5 kernel, but with quantal userspace15:27
brendandbjf, on systems that we certified with quantal15:27
bjfbrendand, that makes sense15:27
brendandbjf, we want to start testing systems we certified with 12.04.215:27
bjfbrendand, that's fine, but you also have to keep testing Precise15:28
brendandbjf, and we will15:28
brendandbjf, we'd kind of like to not test quantal either, since we aren't certifying systems with quantal15:29
bjfbrendand, you must test the previous release and all LTS releases15:30
brendandbjf - ok, well assuming we continue to test quantal. how do we go about getting in the loop for the backports kernels such that we know when they're ready and can start testing them with 12.04.2?15:32
bjfbrendand, the process should work exactly the same. we can fix the tracking bugs so that cert. testing is no longer invalid15:33
brendandbjf - but is the backports kernel following a different cadence then? at the moment the one you linked to is in 'prepare-package'15:34
bjfbrendand, same cadence. i'm looking at why that bug is stuck in "prepare-package"15:35
bjfbrendand, however, please note that we are respinning that kernel due to a regression15:36
brendandbjf, ok15:37
bjfbrendand, that was not the correct tracking bug. bug 1135219 is the correct one15:38
ubot2`Launchpad bug 1135219 in Kernel SRU Workflow verification-testing "linux-lts-quantal: 3.5.0-26.40~precise1 -proposed tracker" [Medium,In progress] https://launchpad.net/bugs/113521915:38
=== kentb-afk is now known as kentb
rtg_apw, do you have time to look at overlayfs in 3.9 ? looks like the dentry_open function has morphed into atomic_open with way different parameters.15:58
apwrtg_, yeah will do, i think we was expecting something like that15:58
rtg_apw, I updated aufs 15:59
apwrtg_, great, does it still work :)15:59
apw(now work)15:59
rtg_apw, dunno. you have a test for it IIRC ?15:59
apwi would rather say i know how to basically touch test it15:59
rtg_apw, well, I know basically how to compile it :)15:59
ckingkirkland, test results in your inbox16:02
rtg_cking, aes-ni ?16:08
ckingrtg_, yep, wanna  copy of them?16:08
rtg_cking, please16:08
ckingrtg_, bottom line,  if you have a fast device (SSD) you will see some excellent improvements, HDD probably not (depends on usecase)16:10
ppisaticking: how long does it take before it blows up?16:55
ppisaticking: anyhow, i'll leave it running16:59
* ppisati -> workout16:59
ppisaticking: anyhow17:00
ppisatiTest Summary:17:00
ppisati23 passed17:00
ppisati1 failed17:00
ppisatienospc                  FAIL17:00
ppisatiall the rest was ok17:00
ppisaticking: tell what i need to do after17:00
* ppisati is out for real now17:01
* cking ponders why all the tests fail in the QA lab17:11
infinityapw: *poke*17:19
apwinfinity, hi17:19
infinityapw: Your linux-signed upload to quantal is crufty.17:19
apwoh what did i knob on that17:19
infinityHad a local tree with junk in it?17:20
infinityhttps://launchpadlibrarian.net/133709453/linux-signed_3.5.0-26.40_3.5.0-26.42.diff.gz17:20
infinityapw: To avoid having to do weird version number bumps, if you want to fix that and upload directly to the archive instead of the PPA...17:21
infinityapw: (And make sure it was just your local system with junk, not git)17:21
apwinfinity, toss ... ok17:22
bjfapw, are you doing the signed pkgs or is the stabel folks?17:34
apwbjf, i was doing it originally because steve didn't do it17:34
apwand i was asked for it over the weekend17:34
apwi don't want to do it :)17:34
apwbut as i ballsed it up, i should clean up my own mess17:35
bjfi think it could have waited til today17:35
apwperhaps so17:35
bjfsconklin, ^ don't do the quantal signed pkgs, it seems that apw is doing it17:35
sconklinbjf: ack17:36
tseliotapw: can you think of any reasons why I'm getting a warning about "rcu_read_unlock_special" being undefined even though I included <linux/rcupdate.h>?17:38
apwtseliot, isn't that RCU TINY only ?17:39
tseliotapw: __rcu_read_unlock uses that in rcupdate.c17:40
tseliotapw: and I can see this in linux/rcupdate.h : extern void rcu_read_unlock_special(struct task_struct *t);17:47
apwthe code there is only included if CONFIG_PREEMPT_RCU is enabled17:51
apwin both header and main .c file17:52
tseliotapw: right, and that's enabled in our lowlatency flavour17:52
* rtg_ -> lunch17:59
infinityapw: Want to nudge me when that fixed linux-signed is uploaded?18:16
infinityapw: Or I can do it myself and get you to double-check git later.18:17
infinityapw: Either works for me.18:17
apwinfinity, will do it shortly just on the phone trying (trying trying) to order broadband18:18
infinityHeh.18:18
apwinfinity, ok in the pipe, hopefully right this time, direct to quantal-proposed19:00
infinityapw: That looks much cleaner, thanks.19:06
apwinfinity, phew i did one thing right today20:28
apwthe second time ... :(20:28
infinityapw: Heh.20:35
=== kloeri_ is now known as kloeri
* rtg_ -> EOD21:16
=== jdstrand_ is now known as jdstrand
=== kentb is now known as kentb-out
=== lifeless_ is now known as lifeless

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