/srv/irclogs.ubuntu.com/2015/03/18/#ubuntu-kernel.txt

=== tmpRAOF is now known as RAOF
AfterDarknesshello i have a question: i want to apply pf patch and update my kernel to 3.19, how can i do that while ensuring the amd drivers still work? 01:19
AfterDarknesswhen i upgraded the kernel i had to purge fglrx in tty as my disktop will not load01:20
=== gerald is now known as Guest79364
ppisatikees: i'm a bit confused about ARM_KERNMEM_PERMS (and DEBUG_RODATA) vs DEBUG_SET_MODULE_RONX09:06
ppisatikees: if i read it correctly, they do the same thing (make all sections but text NX and RO)09:08
ppisatikees: but the second seem to be geared towards modules only (IOW it seems to to the same dinamically on module loading etc)09:09
ppisatikees: are these options complementary? can i turn on all of the or ARM_KERNMEM_PERMS (and DEBUG_RODATA) suffice to cover all the cases?09:09
ppisatikees: and, last question, what happens when some legit code try to patch a text section? (e.g. JUMPLABELs)? does it handle that case too?09:10
=== txspud|ORS is now known as txspud
=== work_alkisg is now known as alkisg
=== hallyn_ is now known as hallyn
ZhenechHeya, there is a bug in a DKMS package for Vivid: https://bugs.launchpad.net/ubuntu/+source/sysdig/+bug/1419402 - I proposed a patch, how do we get from there?16:43
ubot5Ubuntu bug 1419402 in sysdig (Ubuntu) "sysdig-dkms 0.1.87-1: sysdig kernel module failed to build" [High,Confirmed]16:43
apwZhenech, is that already uploaded to debian ?16:56
Zhenechapw, debian has no problem, as debian does not ship .19 in jessie16:57
Zhenech.19 is in experimental, and sysdig is fixed there too16:57
Zhenech(debian bug for experimental is linked in lp)16:57
apwbah, rmadison is hating me for debian17:00
apwZhenech, ok, using the right machine it works much better17:02
Zhenechbecome a DD and use dak on some debian.org host ;-)17:03
apwheh .. one day indeed17:03
apwZhenech, anyhow, first step is bringing it to my attention17:04
apwZhenech, and i'll have a look17:04
Zhenechcheck :)17:04
ZhenechI hoped subscribing kernel team would be good enough17:04
apwZhenech, we get a heck of a lot of bugs subbed to us, it is easy to miss them, cirtianly coming here gets our attentoin17:09
Odd_Blokebjf: I'm seeing a kernel test failure (when running in GCE): http://paste.ubuntu.com/10622256/  Is that an actual problem?17:52
bjfOdd_Bloke, which series?17:55
Odd_Blokebjf: trusty.17:56
bjfOdd_Bloke, i'm not seeing that particular error with my testing. sbeattie ^ ?17:59
* sbeattie looks18:00
sbeattieyeah, that's a problem if true. I've not seen it in my testing, either.18:01
sbeattieOdd_Bloke: can you verify that wine and qemu-kvm-extras-static are not installed?18:02
Odd_BlokeChecking.18:02
Odd_BlokeNeither is installed at instance spin-up, let me wait for the test script to finish and I'll check then as well.18:04
sbeattieDoes GCE run our kernel or google special sauce?18:06
* sbeattie hasn't looked at GCE before.18:06
Odd_BlokeOur kernel, I believe.18:06
Odd_BlokeNeither installed after the test has run.18:07
Odd_Blokesbeattie: You should be able to get to ubuntu@130.211.100.128, if you want to have a poke around.18:07
sbeattieOdd_Bloke: this looks to be the culprit:18:11
sbeattie /etc/sysctl.d/99-gce.conf:# randomizes addresses of mmap base, heap, stack and VDSO page18:11
sbeattie /etc/sysctl.d/99-gce.conf:vm.mmap_min_addr = 018:11
apwisn't that below the minimum we allow ?18:12
sbeattiekees: do you know why GCE would be doing that?18:12
Odd_BlokeThis is following the recommendation at https://cloud.google.com/compute/docs/tutorials/building-images#kernelbuild18:13
Odd_BlokeWhich has "CONFIG_DEFAULT_MMAP_MIN_ADDR=65536" and 'echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf' as equivalent recommendations.18:13
Odd_BlokeOr maybe not equivalent, I don't know enough about sysctl to make that statement.18:14
Odd_BlokeWould it make sense for that 0 to be a typo?18:14
sbeattieI would hope it's a typo. They're definitely not equivalent.18:15
Odd_BlokeOK, I'll run it past someone at Google to try and work out what they mean.18:16
sbeattieOr at least, if not a typo, an insufficient explanation of how to disable it for the very few applications that break because it's set to non-zero.18:17
sbeattieOdd_Bloke: I'm logged out of your instance.18:20
Odd_Blokesbeattie: Ack; thanks for taking a look.18:21
sbeattieOdd_Bloke: sure thing, thanks for raising the issue.18:22
Odd_Blokesbeattie: Have filed an internal issue for it, and subscribed you; should be fixed soon.18:38
sbeattieOdd_Bloke: thanks!18:39
keessbeattie: omg, wtf! no, it should NOT be doing that!18:46
keessbeattie: where is that sysctl coming from? did google build that?18:46
sbeattiekees: I think the thing to get fixed is the MMAP_MIN_ADDR section in https://cloud.google.com/compute/docs/tutorials/building-images#kernelbuild18:48
mterryHello!  I'm trying to boot an Ubuntu Snappy image off a thumb drive.  I seem to be getting some kernel panic and a reboot during boot.  How do I dig deeper / work around it?19:10
mterryI can't clearly see the panic because it reboots...19:10
mterryAnd there isn't a grub menu so I can modify kernel parameters19:10
mterryThough I can edit the thumb drive manually, I'm less familiar with that bit19:10
apwmterry, hmmm well i'd suggest taking pictures, and depending on the board does it have one of those header serial ports 19:11
apweither of those might get you the panic and a clue19:11
apwwhat are you booting it on as well ?19:11
mterryapw, I'm just trying to boot on my laptop19:11
apwhmmm19:12
mterryapw, I can't take a picture, because the screen disappears so quickly19:12
mterryI suppose I could take a movie and take a frame19:12
apwa video might get it if you are lucky19:12
apwdeperate times and all that19:12
* mterry tries out Ubuntu Touch's video capability19:12
apwhave you asked in #snappy in case someone else is seeing it ?19:12
mterryapw, I sent quick email to the snappy list, no replies yet19:12
mterryapw, I don't think this is commonly done yet in snappy world?  I think most people just use beagleboards or kvm19:13
apwmterry, right that would be my expectation too  ... so i am not supprised its not perfect19:14
mterryapw, asked on #snappy in case I get lucky.  Meanwhile will try to get a pic19:14
mterryapw, thanks for help so far!  :)19:14
mterryapw, https://chinstrap.canonical.com/~mterry/snappy-panic.png  -- snappy-devel just said "Aren't we using just the generic kernel pkg on x86? If so, you are missing all the modules from the generic-extra pkg, thus my bet is on a missing module"19:21
mterryDoes that panic look like that makes sense?  If so, I guess my next step is wondering how to get snappy to let me install those modules19:22
apwso that looks like systemd exited19:23
mterryapw, yeah, says "attempted to kill init"19:26
infinitymterry: That's failing to pivot out of the initrd.19:26
* mterry is super unfamiliar with debugging systemd19:26
infinitymterry: systemd isn't even in play yet.19:27
mterryok19:27
ppisatimterry: mount the img, download the linux-image-extra pkg corresponding to the kernel used in that img19:27
ppisatimterry: and install it19:27
infinitymterry: Where's the image you're booting?19:27
ppisatimterry: IOW, boot into ubuntu, plug the usb stick, chroot in it, install the pkg, etc19:28
infinityAlso, how on earth is that taking 3 seconds to get out of the initrd?  What evil is snappy perpetrating?19:28
mterryppisati, well installing on snappy via apt, even using /usr/bin/apt directly, has been unsuccessful for me.  read-only mounts and such.  I guess I can just remount them all rw19:28
ppisatimterry: yep, and apt is a symlink but you can find the original apt in /usr/local19:29
mterryinfinity, http://cdimage.ubuntu.com/ubuntu-core/preview/ubuntu-core-alpha-02_amd64-virt.img is a qcow2 file that I'm booting 19:29
mterryppisati, I think you have that reveresd19:29
mterryinfinity, I can't speak to the evils of snappy yet ;)19:32
* ppisati just bought an xps 1319:32
ppisatilovely19:32
mterryppisati, they are good laptops besides this oddity!  :)  I also tried booting on another Dell I have here, same result19:33
ppisatimterry: ping lool, i know he did some work for snappy and real x86 hw19:34
infinitymterry: Right, so that boots fine in kvm.  I'm sure it's failing to find your USB controller due to the fact that someone decided linux-image-virtual was good enough.19:34
infinitymterry: s/linux-image-virtual/linux-image-generic/ in the build scripts would likely make it happy for you.19:34
infinityThough the -virt in the filename sort if implies it's not meant for real hardware.19:35
infinityThe tarball builds have the full kernel in them.19:36
infinityI'm guessing this "preview" is old?19:36
mterryinfinity, maybe?  It's still the one the snappy site recommends19:36
infinityWell, it's 3.18.0-9, so it's not new.19:37
mterryinfinity, maybe I need to find out how to build my own new preview then, with -generic.  Thanks for the pointers!19:38
infinitymterry: FWIW, snappy switched from -virtual to -generic on Jan 28, and that kernel is from Jan 12.19:41
infinitymterry: So, the image is just old and predates the fix.19:41
infinitymterry: Sort out how to get someone to make a fresh one, and you'll likely be set (or find instructions on how to turn the daily tarball into a bootable image)19:41
* mterry hugs infinity for his detective work19:42
apwinfinity, nice thanks20:26
keessbeattie: yikes21:23
keessbeattie: I'll get them to fix that.21:23
keessbeattie: who did the sysctl file in the ubuntu image? was that someone else reading the "documentation" or was that generated by someone in google?21:23
sbeattieOdd_Bloke: do you know the answer to kees' question?21:24
=== FreezingAlt is now known as FreezingCold
keessbeattie: fire started, docs should be changing shortly, and when cansecwest is over, existing images will likely get reviewed.22:31
sbeattiekees: w00t, thanks!23:29

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