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

=== AceLan_ is now known as AceLan
apwdmsmr_, that lists the exact file and line #, 6508:44
=== Guest75017 is now known as fmasi
=== dhkl is now known as fruitloop
=== fruitloop is now known as dhkl
apwxnox, hey ... would you expect me to be able to upgrade running systemd at all ?11:19
xnoxapw: mostly yes. Some packages may fail in post-inst. E.g. those that try to do "invoke-rc.d start foo" where "foo" is only an upstart job, without systemd unit / init-script.11:20
apwxnox, yeah that has just happened, in the stop for the existing installed one in fact11:20
apwof course i am only doing that because of debhelpers heplfulness not directly11:21
xnoxapw: you can add a symlink of that name to /dev/null11:21
xnox(locally)11:21
apwi clearly need to get these work units in pronto11:21
apwxnox, where do they live the work units ?11:21
xnoxapw: packages install units into /lib/systemd/system/. local administrator into /etc/systemd/system11:22
apwas right now i cannot reboot, because my kernel is half installed :/11:22
xnoxapw: $ sudo ln -s /dev/null /etc/systemd/system/foo.service11:23
xnoxwhere foo is the service that postinsts try to start/stop/whatever11:23
xnoxand $ systemctl reload11:24
xnoxthen try to dpkg --configure -a, or whatever11:24
apwok that worked, just adding the links and doing the upgrade again11:24
xnox\o/11:24
apwi'll get some work load units in here double quick, so i don't have this issue next time11:24
apwthey shold be about 3 lines11:25
=== ara is now known as Guest77001
=== fmasi is now known as Guest61073
=== Guest61073 is now known as fmasi
rtgbjf, gimme some love: https://lists.ubuntu.com/archives/kernel-team/2014-June/043914.html14:57
bjfrtg, looking14:59
psivaatyhicks: hello, i noticed that you worked on bug 1296459, which is fix released. I'm on apparmor version 2.8.95~2430-0ubuntu5 on trusty and seeing similar behaviour15:27
ubot5bug 1296459 in apparmor (Ubuntu) "Upgrade from 2.8.0-0ubuntu38 to 2.8.95~2430-0ubuntu2 breaks LXC containers" [Critical,Fix released] https://launchpad.net/bugs/129645915:27
jjohansen1psivaa: can you paste the results of15:29
jjohansen1  dmesg | grep DENEIED15:29
tyhickspsivaa: that should be DENIED15:29
jjohansen1yeah15:30
psivaatyhicks: jjohansen1: oops sorry, that gives me empty list15:30
tyhickspsivaa: what is the similar behavior that you're seeing?15:30
jjohansen1psivaa: okay do that on syslog15:31
jjohansen1  grep DENIED /var/log/syslog15:31
jjohansen1I would assume that the container is failing to start15:31
psivaatyhicks: "lxc-start: command get_cgroup failed to receive response" when i run "sudo lxc-start -d -f /etc/lxc/default.conf --name juju-precise-template"15:31
jjohansen1psivaa: on the grep did you fix my typo?15:32
psivaajjohansen1: yea i did and there is nothing on dmesg, but on syslog:15:32
psivaaJun 12 14:25:36 parapuva kernel: [415185.749263] type=1400 audit(1402579536.554:201): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="/usr/bin/lxc-start" name="/" pid=4172 comm="lxc-start" flags="rw, rslave"15:32
psivaaJun 12 16:07:42 parapuva kernel: [421316.922238] type=1400 audit(1402585662.502:218): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="/usr/bin/lxc-start" name="/" pid=8191 comm="lxc-start" flags="rw, rslave"15:32
psivaathough the timings are not matching when i ran the lxc-start last though15:33
psivaaand i did a restart at 16:10, so these errors are before the restart15:34
psivaashould i ping stgraber then for a workaround?15:36
tyhickspsivaa: you weren't running with pre-release packages by any chance, were you? (someone recently hit a similar bug but was using the buggy apparmor package from the devel cycle)15:37
tyhicksjjohansen1: as a side note, it would be good to add the fstype to that audit message15:38
jjohansen1psivaa: what is your uptime like?15:38
stgraberpsivaa: can you run lxc-start without the -d so you can actually see what's the error message?15:38
jjohansen1tyhicks: indeed15:38
psivaatyhicks: i'm not running pre-release apparmor. the lxc is also from stable release (1.0.3-0ubuntu3)15:39
psivaajjohansen1: "16:39:58 up 28 min,  2 users,  load average: 0.27, 0.28, 0.31" is the uptime15:40
tyhickspsivaa: so apparmor is 2.8.95~2430-0ubuntu5 ?15:40
psivaatyhicks: yes15:41
jjohansen1psivaa: okay, that rules out stale policy in the kernel but not the cache15:41
psivaastgraber: the first line is "lxc-start: failed to attach 'vethU534EI' to the bridge 'lxcbr0' : No such device"15:42
jjohansen1psivaa: can you do15:42
jjohansen1  sudo /etc/init.d/apparmor restart15:42
jjohansen1to make sure that the policy is recompiled with the most recent apparmor15:42
stgraberpsivaa: ok, do you have a lxcbr0 device on that host?15:42
psivaastgraber: checking15:42
psivaastgraber: "sudo brctl show" shows nothing15:45
psivaashould *I do anything about it :)15:45
psivaa?15:45
stgraberpsivaa: sudo status lxc-net15:46
psivaastgraber: lxc-net start/running15:46
stgraberweird... can you pastebin /var/log/upstart/lxc-net.log?15:47
psivaastgraber: "dnsmasq: failed to create listening socket for 10.0.3.1: Address already in use" is the only line.15:48
psivaaplease bear in mind, this is the first time i am starting to use lxc so, i could be doing something silly15:48
tyhickspsivaa: this isn't feeling like bug #1296459, so I'm going to let you chase down the bridge device issue and then you can ping me if apparmor is still causing problems15:48
ubot5bug 1296459 in apparmor (Ubuntu) "Upgrade from 2.8.0-0ubuntu38 to 2.8.95~2430-0ubuntu2 breaks LXC containers" [Critical,Fix released] https://launchpad.net/bugs/129645915:48
psivaatyhicks: ack, thanks and sorry for the noice15:49
tyhicksnp15:49
stgraberpsivaa: hmm, do you have bind9, dnsmasq or some other dns servers running on that box?15:53
psivaastgraber: no http://paste.ubuntu.com/7634310/ is the grep '10.0.3.1' /var/log/syslog output15:55
rtgsforshee, are we ready for '-9.ucode for 3160, 7260 and 7265.' in Trusty ?15:58
rtgI think we're carrying the beacon filter patch in 3.1315:58
stgraberpsivaa: you've got bind installed on that system15:59
stgraberpsivaa: (named)15:59
sforsheertg: not sure that trusty will even use it, but there's a patch coming down from 3.13 stable that we should get before we update from -7 I think16:00
sforsheeit's what Emmanuel thinks will get around the problems people saw with -8 on 726016:00
rtgsforshee, the Utopic LTS kernel will use it, right ?16:00
sforsheertg: yeah, but let me double check trusty too16:01
stgraberpsivaa: so I'd suggest you remove the bind9 package from your system then reboot, that should do it16:01
stgraberpsivaa: unless you actually need named for some reason, but if that's a standard desktop or server system, you don't. You pretty much only do if you are running a DNS server on there.16:02
rtgsforshee, if that patch is already in stable, then I can cherry-pick it and add the buglink16:02
sforsheertg: it was in the most recent set that kamal sent out for review16:03
rtgsforshee, do you recall the commit subject ?16:03
kamalsforshee, rtg which patch?16:03
sforsheertg: so trusty kernel will only use -8 right now, so I guess no harm in adding -916:03
sforsheertg: one sec16:03
psivaastgraber: ack, will remove it and rerun. thanks for the help16:04
sforsheertg: iwlwifi: mvm: disable beacon filtering16:04
rtg7bacc782270ff7db3b9f29fa5d24ad2ee1e8e81d16:05
kamalsforshee, rtg: yup, that'll be in the 3.13.11.3 that I will release tomorrow16:05
sforsheertg: after that we _should_ be able to move back to -8 ucode, but we've actually only had one tester confirm that it helped16:06
kamalrtg, fyi, the sha in the 3.13-stable branch for that is   f30f889c iwlwifi: mvm: disable beacon filtering16:06
rtgkamal, I'm gonna cherry-pick it in advance and add a buglink16:07
kamalrtg, wfm16:07
sforsheertg: bug number is 1293569 in case you don't have it16:08
rtgsforshee, thanks16:08
sforsheertg: there's another patch there that emmanuel suggested adding to 3.13, but I haven't had time to follow up yet16:09
sforsheertg: 12d423e816c69b0b4457bc047dda9a0a1c1a53c1 iwlwifi: mvm: Add a missed beacons threshold16:09
sforsheekamal: ^16:09
rtgsforshee, not marked for stable16:10
kamalsforshee, I'll stand by on that one until somebody (you, or him) to ask me to stuff it into 3.1316:11
kamals/to ask me/asks me/16:11
sforsheekamal: ack16:12
kamalsforshee, it does apply fine, btw16:12
sforsheekamal: cool, thanks. My hesitation is that it seems to be more of a "this might help too" than a "this will definitely help" kind of suggestion16:13
psivaastgraber: tyhicks: now, after removing bind9, i see the apparmor DENIED message:16:14
psivaa[  274.185989] type=1400 audit(1402589384.417:111): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="/usr/bin/lxc-start" name="/" pid=3388 comm="lxc-start" flags="rw, rslave"16:14
kamalsforshee, yeah, I'm happy to wait for you to feel less hesitant about it :-)16:14
psivaaand the lxc-start command throws 'lxc-start: Permission denied - Failed to make / rslave'16:14
stgraberpsivaa: odd, can you paste /proc/self/mountinfo?16:14
psivaastgraber: http://paste.ubuntu.com/7634401/16:15
stgraberok, what kernel and apparmor do you have on that machine?16:16
psivaastgraber: apparmor: 2.8.95~2430-0ubuntu5 and kernel: 3.13.0-29-generic #53-16:17
stgraberhmm, that's pretty weird because you're not supposed to hit that code path on Ubuntu...16:19
stgrabercan you start the container with -o debug -l debug and pastebin the debug file?16:19
psivaastgraber: http://paste.ubuntu.com/7634437/ a  question: do i not have to run lxc-create before ? :)16:25
stgraberpsivaa: ok, let's try a new clean simple container for now :)16:26
stgraberpsivaa: lxc-create -t download -n test -- -d ubuntu -r trusty -a amd64 && lxc-start -n test16:26
psivaastgraber: so the creating went fine, but "sudo lxc-start -f /etc/lxc/default.conf -n test" outputs "lxc-start: Permission denied - Failed to make / rslave"16:30
psivaawith similar apparmor DENIED message in dmesg16:32
=== psivaa is now known as psivaa-afk
=== ayan_ is now known as ayan
=== ayan is now known as Guest78419
ha1dfoHi all. I am using an USB3 attached SSD, and for TRIM support, I'm looking for UAS driver. But it seems that it was removed somewhere between quantal and raring. Can you advise me what is the nicest way to get it for myself19:13
bjfha1dfo, http://pastebin.ubuntu.com/7635162/19:25
ha1dfobjf, Thank you!19:36
bjfha1dfo, nothing to really thank be for, it's busted and we're not going to enable it. you'll have to build your own kernel to do so19:37
ha1dfowell, you saved me a couple of hours of searching for the reason, for sure!19:37
bjfha1dfo, heh, well your welcome for that :-)19:37
ha1dfook, so if uas is broken, then is there any other way to get TRIM working via usb3?19:37
bjfha1dfo, that i don't know. cking? ^19:38
ckingthat I don't know about :-/19:43
bjfwas worth a shot19:44

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