/srv/irclogs.ubuntu.com/2014/01/03/#ubuntu-kernel.txt

=== lfaraone_ is now known as lfaraone
* apw yawns09:13
=== gfrog_afk is now known as gfrog
xnoxapw: cking: do you by any chance know how to setup  Qemu + NVMe + OVMF vm for testing?09:31
ckingxnox, no idea about emulating NVMe in Qemu09:32
xnoxsomebody in 2013-02-25 was installing testing it like that.09:32
xnoxhttps://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/113268109:32
ubot2Launchpad bug 1132681 in ubiquity (Ubuntu) "U 12.10 LiveCD installer crashing during boot loader configuration on NVMe storage( QEMU + NVMe +OVMF )" [Undecided,New]09:32
xnoxcking: otherwise i can propose some patches for you to try.09:33
ckingxnox, that's a better plan, I can give them a spin on the H/W I have09:33
xnoxcking: cool.09:34
apwxnox, not ever done that here eitehr09:45
xnoxrbasak: what do you say on upgrading libvirt to 1.2 release?09:46
ckinglast time I tried QEMU was with OVMF I built from scratch from the tianocore sources09:51
apwif you read the description of this Qemu bug, it blows chunks in grub.  didn't you have a similar issue cking?09:52
ckingapw, yup, bug 126548309:53
ubot2Launchpad bug 1265483 in grub-installer (Ubuntu Trusty) "Installer crashed when installing to an Intel NVMe SSD" [High,New] https://launchpad.net/bugs/126548309:53
ckingapw, also my firmware can't boot off this device either, so that's another issue I face09:54
apwcking, i am somewhat expecting the next bug from this person to be that09:54
apwgiven they are using ovmf, it may only just have support for them much as your box does09:55
ckingxnox, http://smackerelofopinion.blogspot.co.uk/2011/10/uefi-edk-ii-revised.html,  although I guess the notes may be old now09:55
ckingbah, the links are stake09:56
cking*stale09:56
apw'stale' i thought those were 'pementant' links09:56
ckinghttps://wiki.ubuntu.com/UEFI/EDK209:56
ckingapw, somebody kindly redirected them09:57
apwxnox, ckings bug above also talks about grub failing during grub-install onto this type of device died09:57
apw(as does this new bug)09:57
xnoxcking: well OVMF is packaged and it's simply -bios /usr/share/ovmf/OVMF.fd.09:57
ckingxnox, that's way too easy ;-)09:57
xnoxapw: sure. quite similar to the most recent patch to enable FusioIO devices.09:58
xnoxcking: so you could try http://paste.ubuntu.com/6683593/   but that one assumes that /dev/nmve0n1 is device name and /dev/nmve0n1pX are partitions of thereof. But that's me guessing =/ ideally there would be some more precise way to know how nmve devices and partitions are numbered.10:00
xnoxcking: in the mean time, i'll try to make this qemu-system to give me a nmve device.10:00
ckingxnox, if you can figure out how to do that, then please let me know10:01
xnoxcking: of course =)10:01
xnoxcking: well, i booted something which does have nvme devices, they are numbered differently from what your device was however.10:13
xnoxcking: qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -m 1024 -cdrom /var/cache/utah/iso/ubuntu/trusty-desktop-amd64.iso -drive file=nvme.img,if=none,id=D22 -device nvme,drive=D22,serial=1234 --enable-kvm10:13
xnoxadjust memory, path to .iso, path to a device-drive image "nvme.img", no clue about the nvme parameters i copied them from blogger.10:14
ckingxnox, that patch make grub install correctly10:14
xnoxthat does boot in EFI mode.10:14
xnoxcking: \o/ excellent. Does it boot?10:14
xnoxcking: cause grub2 might need patches to actually recognise the device =/ if that is the case it would be passing the ping-pong to cjwatson.10:14
ckingxnox, I can't boot it 'cos the  firmware does not support that device10:15
ckingi.e. it can't find it, I need newer firmware I believe10:15
xnoxcking: people on the forums patch stock motherboard firmwares with updated drivers all the time. E.g. i got "unofficial" firmware for my motherboard with updated intel drivers et.al. =) granted it may have come with extra NSA modules =) i got it off the forum post attachment over http ;-)10:17
xnoxcking: so what do you want me to do? upload that patch into archive & respin ubiquity such that at least you will have daily desktop/server images tomorrow with it?10:18
xnoxcking: and do we need this for 12.04.4?10:19
ckingxnox, gimme a sec, I will just boot the box up from another image and see if the nvme grub  looks sane10:19
ckingxnox, it looks sane to me, so lets update it for the daily images10:21
apwxnox, have we asked the OR for their qemu command line etc, ask them when you ask them to test tommorows images10:21
xnoxapw: >~cking ?10:21
ckingapw, that makes sense10:22
xnoxapw: i don't think i get to them at all. slangasek simply asked me to look into cking's bug report.10:22
xnoxto talk that is.10:22
xnoxcking: apw: https://bugs.launchpad.net/bugs/+bugs?field.searchtext=NVMe&search=Search+Bug+Reports&field.scope=all&field.scope.target= gives nice output, at least to me =)10:24
ckingxnox, well, I'm OK with the fix, it installs grub correctly, I just need to talk to intel to get my firmware sorted to try a boot test10:25
ckingso pop it in to the archive and respin is good for me.  any objections apw?10:26
xnox   * Handle NVMe devices, based on the debug logs from Colin10:26
xnox     King. Preliminary support (LP: #1265483)10:26
ubot2Launchpad bug 1265483 in grub-installer (Ubuntu Trusty) "Installer crashed when installing to an Intel NVMe SSD" [High,New] https://launchpad.net/bugs/126548310:26
xnoxsounds good? as in conveying that it's not fully tested yet?!10:27
ckingyep10:28
ckingit may be a while before I can properly test this, I need to chat to various bods in intel10:29
apwcking, shove it in ;)10:58
cking+110:58
rbasakxnox: zul and hallyn look after libvirt usually. zul uploaded 1.2.0-0ubuntu1 yesterday.10:58
xnoxrbasak: excellent. didn't notice.10:59
ckingthanks xnox11:01
rtgcking, just going back through my pre-holiday emails. For Trusty unstable (v3.13) I have set CONFIG_X86_INTEL_PSTATE=y. Is that OK without the thermal daemon ?13:18
ckingrtg, well, yes and no13:20
infinityIs INTEL_PSTATE still a laughing stock of fan-spinning hilarity?13:33
infinityIt's been shit for so many releases, I'll be amazed if it's finally fixed.13:33
=== gfrog is now known as gfrog_afk
rtgapw, still working on getting lttng to compile on all arches for unstable. seems it doesn't like gcc 4.8 on armhf14:05
apwrtg, ack, i had noted it was off14:06
eagles0513875hey apw14:14
apwhi14:24
eagles0513875apw: still no response on https://bugs.launchpad.net/ubuntu/+source/linux/+bug/967399 :( im not sure what to do in terms of getting it upstreamed 14:39
ubot2Launchpad bug 967399 in linux (Ubuntu) "[11.10] Elantech trackpoint does not work Lenovo " [High,In progress]14:39
Kanohi, has somebody a patch for nvidia + 3.13?14:41
tseliotKano: it's in 14.0414:49
Kanotseliot: i dont see it in the changelog14:49
tseliotlet me check14:49
tseliotKano: ok, maybe I confused it with 3.11 and 3.12. Do you have a dkms log for nvidia showing the failure?14:52
Kanotseliot: it builds,but i get: nvidia: Unknown symbol acpi_os_wait_events_complete (err 0)14:53
tseliotKano: apparently they removed a symbol. I'll work around that next week14:56
Kanotseliot: well the patch in the nv forum seems to use >= instead of <14:58
apwtseliot, does that imply that the nvidia dkms is not working with 3.13 ?15:11
tseliotapw: I guess so, I haven't checked15:12
tseliothttps://devtalk.nvidia.com/default/topic/644906/331-20-on-3-13-rc1-kernel/15:12
apwtseliot, ok sounds like there are a couple of issues, but sounds like you are on the case15:14
tseliotapw: yes, whatever that is, I'll fix it. BTW where are we going to get 3.13 in 14.04?15:16
apwwell ... "now" if the dkms packages we care about arn't borked15:16
apwi suspect "early next week" is most likely now15:17
rtgI'm thinking Monday15:18
tseliotI'll probably fix my packages next week15:19
rtgapw, did a practice rebase on unstable against current Linus tip and had aufs3 conflict. I resolved by dropping the conflicting chunk (i.e. the code the patch wanted to add), but could use a second set of eyeballs. perhaps you could take a quick pass at rebasing as well?16:12
rtgtseliot, fglrx isn't installing. you should get that on your todo list as well.16:16
rtgSetting up fglrx (2:13.101-0ubuntu5) ...16:16
rtgupdate-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode16:16
rtgupdate-alternatives: error: error creating symbolic link `/usr/lib/x86_64-linux-gnu/xorg/extra-modules.dpkg-tmp': No such file or directory16:16
rtgdpkg: error processing fglrx (--configure):16:16
tseliotrtg: that's what I meant when I said that I would fix my packages ;)16:17
apwrtg,  will do16:18
apwrtg, so its not a "just drop that hunk job"16:30
rtgapw, ok. looks like upstream changed some macros though.16:30
apwrtg, this is aufs3 introducing a macro intersecting with upstream adding the 'get flags first' to avoid a use-after-free16:33
apwi'll build test my merge and see16:33
rtgapw, cool. I figured you would be able to spot it right away having done this before16:34
apwrtg, seems to work, i guess it makes sense for me to push this rebase so we don't have to do it again16:54
rtgapw, ack, thanks16:54
apwrtg, done16:54
rtgapw, I was thinking about uploading to the PPA so I could get some mileage on the IMA stuff16:54
apwi assume we'll get an -rc7 like tommorrow ?16:55
Kanoi fixed the nvidia binary,but you should update the firmware package for 3.13 as well as files like /lib/firmware/radeon/HAWAII_pfp.bin are missing16:55
rtgapw, likely, but I'll be off skiing16:55
Kanomaybe radeon dpm could be activated by default16:59
apwradeon dpm ?  17:03
apwnvidia binary> patch?17:03
Kanoapw: http://kanotix.com/files/fix/nvidia.wheezy/update/nvidia-graphics-drivers-331.20-2kanotix1/nvidia-graphics-drivers_331.20-2kanotix1.debian.tar.gz17:04
Kanolook into debian/patches17:04
rtgit is tseliot that needs that info17:06
Kanoand if somebody from X is looking, why dont you add libvdpau-dev for mesa17:06
Kanoand package the vdpau /xvmc things17:06
tseliotthese are questions you might want to ask in #ubuntu-x17:07
Kanowell i dont use mesa from ubuntu, just as hint17:07
tseliot radeon dpm should be on by default in 3.1417:07
Kanowell why not with 3.1317:08
tseliotadditional fixes in 3.14, I guess17:08
Kanoi used it with 3.12 too17:08
tseliotwell, I use it here with 3.1117:10
keescking: so... your memory benchmark of IMA was for IMA built in, but not enabled?17:55
ckingkees, I compared it with it build in and enabled vs not enabled with some simple instrumentation17:55
keescking: the report in the bug was for which situation?17:57
ckingbuilt in and enabled17:57
keesI'm curious if just the CONFIG_IMA built in (but not enabled with policy) incurs a cost?17:57
ckingwith it built in and not enabled we see an atomic_t per inode17:57
ckingextra17:57
keesah, so the math following that was not the result of just the atomic_t?17:58
keesif it's just 8 bytes per inode when disabled, that seems like a reasonable cost to add CONFIG_IMA17:59
ckingkees, yep, with it enabled there are some 72 byte slab allocations and misc meta data which again isn't too large 17:59
ckingper file17:59
keescool. what's needed to enable it? (i.e. and how can we check if a system has it enabled or disabled?)18:00
* cking rummages around for a suitable quickstart guide..18:00
keesI just want to make sure we don't regress -- CONFIG_IMA caused soooo much trouble for big file servers. :P18:01
ckingkees, http://sourceforge.net/p/linux-ima/wiki/Home/18:01
cking^ i think that's more reasonable source of info rather than me regurgitating it all 18:02
keescking: sounds good.18:02
keescking: thanks for doing all this!18:03
ckingno probs, thank apw for asking me to look into it ;-)18:04
keeshehe18:06
eagles0513875apw: are you around?18:11
antaruskees: cking thanks for that ;)18:24
mjg59Now if you could just sign all userspace binaries, that'd be great18:31
antarusmjg59: haha18:32
* rtg -> lunch18:34
antaruscking: is there a link to the commit enabling IMA?18:52
* antarus isn't finding it on the lp bug18:52
ckingantarus, http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-trusty.git;a=commit;h=72bb20892cddc00b0d47d987f929017390fa39c918:54
=== jpds_ is now known as jpds
antarushrm20:10
antaruslaunchpad continues to elude me20:10
antarusHow do I made it clear on https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1244627 that I would like the change also in Saucy?20:10
ubot2Launchpad bug 1244627 in linux (Ubuntu Trusty) "Please enable CONFIG_IMA in the ubuntu kernel" [Medium,Fix committed]20:10
antaruswhenever I futz with the Affects stuff, it won't let me add another copy of 'linux' and I can't find a linux (Ubuntu Saucy) package..20:10
sbeattieantarus: nominate for series, then mark saucy20:24
antarussbeattie: don't I have to be on a specific team to nominate for a series?20:29
sbeattieto nominate, no, to accept the nomination, yes20:30
antarusit appears apw did the needful for me20:42
antarusapw: thanks ;)20:42
* rtg -> EOD21:07
antarusdownloading the kernel debug syms21:23
antarushuge mistake21:23
antarusheh21:23

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