/srv/irclogs.ubuntu.com/2016/10/06/#ubuntu-kernel.txt

phillwhi kernel team. I know that me and others will complain so fast about things. However, I'd like to give kudos where it is due. 4.8 kernel has behaved perfectly on my 'production' machine, even though you guys and gals are pushing new releases out as fast as possible to hit 16.10. You can quote me on this, I'd like to put on record that I am deeply impressed with the team getting 4.8 into 16.10 as it is an important hardware update for new kit arr12:42
apwphillw, hey thanks, it has been a rockey-road the last couple of weeks, but the current state is looking pretty good.  It will only improve as we get stables coming in.12:43
LocutusOfBorgtorvalds has a different opinion, but I'm happy to see 4.8 landing12:43
LocutusOfBorghttps://linux.slashdot.org/story/16/10/05/210227/linus-torvalds-says-buggy-crap-made-it-into-linux-4812:44
apwheh that is somewaht over blown, a new bugon blew his box.  that happens a lot :)12:44
jtaylorI'd like to try 4.8 but it still wont boot my lvm raid1 :(13:25
smbjtaylor, is that pure lvm raid or fakeraid via dmraid?13:36
apw(and is there a bug with the details yet?)13:37
smbapw, I know of one bug related to the kernel now presenting more disks as removable (if the controller claims to support hot-plug) but dmraid currently ignoring those13:38
apwsmb, ugg i feel ill13:38
smbA bug report about that would be most helpful since there are many ways things could be arranged. dmraid, lvm raided lv, mdraid... /boot on the raid or not...13:44
jtaylorI can create one later today13:50
jtaylorlet me know what I should put in, its a lvm raid1 array, not just mirror13:52
jtaylorboot is in a normal linear lv13:53
apwall background and symptoms you have13:56
om26erjsalisbury, the latest kernel is bad.14:31
* om26er thinks we are closing in on the regression.14:31
thierryphey there; I'd need to run kernel 4.7 on top of ubuntu-14.0414:32
thierrypthe naive method of installing .deb packages from e.g. http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/ won't work14:33
jsalisburyom26er, ack, thanks14:33
thierrypafter some googling it appears that it only misses one configuration option about CONFIG_UEVENT_HELPER14:33
om26erjsalisbury, curious how big is the number of commits between the two kernels14:34
thierrypis there any plan to provide binary debs that have that setting ?14:34
thierrypotherwise, what is the simplest angle that I should pursue to go about building this correction ?14:35
jsalisburyom26er, 1242314:35
jsalisburyom26er, but we are narrowing it down 14:35
om26erjsalisbury, hmm, ok. btw pitti is also affected by that bug and I assume lots others too14:35
thierrypor where should I asj if here is not the place ?14:35
thierryps,asj,ask14:35
apwthierryp, no specific plans no -- that is however set in the yakkety 4.8 kernels so i would expect mainline builds later than 4.7 to have it set14:35
jsalisburyom26er, yes, I saw his comment.  We have only 226 commits left to bisect through, so maybe 7 or 8 more test kernels.14:36
thierrypjsalisbury: where can i find this yakkety thing ? is this avail. as a binary deb as well ?14:36
thierrypI can probably go what that as well14:36
thierryps,what,with14:36
om26erapw, hello. re: bug 1622655 I couldn't get a reply from you yesterday, you probably signed off. Any chance we can get that enabled ?14:37
ubot5bug 1622655 in linux-raspi2 (Ubuntu) "Enable CPUset and pids CGroup controllers for RPi kernel" [Undecided,New] https://launchpad.net/bugs/162265514:37
thierrypoh I get it14:37
apwppisati, ^14:37
thierrypdidn't know the codename for 16.10 14:37
jsalisburythierryp, do you need a link to the 16.10(Yakkety) kernel?14:38
thierrypjsalisbury: thanks I will manage14:42
ppisatiom26er: xenial? yakkety?14:48
om26erppisati, xenial, would be good to have on yakkety but I haven't found a yakkety based RPi image anywhere.14:48
ppisatiom26er: which image are you using now? kernel version?14:49
om26erppisati, its linux 4.4, downloaded from http://cdimage.ubuntu.com/ubuntu/releases/16.04/release/14:50
om26erppisati, but ofcourse it will be usable on all-snap as well when we finally have lxd running on it.14:50
ppisatiom26er: hold on14:52
ppisatiom26er: http://pastebin.ubuntu.com/23284837/14:55
ppisatiom26er: whart's the missing option?14:55
om26erppisati, not sure about that, I came from https://github.com/lxc/lxd/issues/2361 where stgraber suggested to have CPUSet and PIDs controllers enabled. Maybe he can answer better14:58
ppisatiom26er: add the exact option that you want to the LP bug and we'll make it happen14:59
thierrypjsalisbury: thanks a lot - that was really helpful :)14:59
om26erstgraber, Can you tell here or comment on bug 1622655 on what kernel options need to be enabled in linux-raspi2 for lxd limits to work15:00
ubot5bug 1622655 in linux-raspi2 (Ubuntu) "Enable CPUset and pids CGroup controllers for RPi kernel" [Undecided,New] https://launchpad.net/bugs/162265515:00
om26erstgraber, ref: https://github.com/lxc/lxd/issues/236115:01
om26erppisati, I presume its CONFIG_CPUSETS and CONFIG_CGROUP_PIDS but stgraber may confirm.15:03
ppisatiom26er: just add all the options that you want to the lp bug and we'll modify the config15:04
om26erppisati, ok thanks. Curious can you trigger a build with those two configs enabled, so I can test. Its totally fine if you cant :) 15:06
ppisatiom26er: sorry, i'm  really busy ATM15:06
om26erI will update the bug report once I hear from Stephane.15:06
ppisatiom26er: but you can download the xenial git tree and do it by yourself15:07
om26erppisati, no problem at all. Building for arm is a challenge for me.15:07
om26er...and slow15:07
ppisatiom26er: can't you cross compile locally?15:09
om26erppisati, I can try, seems a found a somewhat old guide from you https://wiki.ubuntu.com/KernelTeam/ARMKernelCrossCompile15:10
ppisatiom26er: download the xenial git tree15:11
ppisatiom26er: export ARCH=arm; export $(dpkg-architecture -aarmhf); export CROSS_COMPILE=arm-linu15:11
ppisatix-gnueabihf-15:11
ppisatiom26er: fdr clean && debian/rules build && fdr binary-raspi215:11
ppisatidone15:11
ppisatifdr=fakeroot debian/rules15:12
ppisatiand once you have downloaded the xenial tree, you need to switch to the raspi2 branch15:12
ppisatigit clone $XENIAL-TREE15:12
ppisatigit checkout linux-raspi215:12
ppisatiexport ARCH=arm; export $(dpkg-architecture -aarmhf); export CROSS_COMPILE=arm-linux-gnueabihf-15:13
om26erppisati, where is the xenial tree hosted ?15:13
ppisatifdr clean && debian/rules build && fdr binary-raspi215:13
ppisatidone15:13
ppisatiom26er: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial/15:13
om26erThanks, will follow that, first need to reboot to test a kernel bisect.15:19
om26erjsalisbury, that's a good build.15:24
KidCharlemagneHello Ubuntu Kernel team, on Ubuntu Xenial i installed kernel 4.8 from PPA and now proprietary broadcom WLAN driver is not working. How do i fix it?15:24
apwKidCharlemagne, which driver is failing?  is that in the ubuntu archive?15:27
jsalisburyom26er, ack15:27
KidCharlemagneapw: yes, broadcom-sta-common & broadcom-sta-dkms. It seems Linux 4.8 & 4.7 have this problem but not default Xenial kernel and 4.6.715:28
apwKidCharlemagne, you may find the version from yakkety works, it claims to support 4.7 at least15:31
KidCharlemagneapw: this one? http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc6-yakkety/15:33
stgraberom26er, ppisati: you should just make sure that it matches the cgroup configuration of all the other Ubuntu kernels. lxc-checkconfig from the lxc1 package may be useful to test some of this, but I'd really just grep for the cgroup keys in both kernel configs and compare.15:40
hallynsforshee: (not sure you're the right person, but) do you know why on 4.4.0-38-generic #57-Ubuntu all the blkio.* files under /sys/fs/cgroup/blkio would be empty?15:56
hallyn(i haven't tested any other kernels, but have to assume they were non-empty at some point in the past :)15:57
elmoapw, rtg: honestly not nagging, but what's the timeline for hwe-y?16:12
apwelmo, it is mostly there, there are some naming issues the air, but i'd expect there to be early access versions "soon"16:13
elmoapw: super, thanks16:13
rtgelmo, there is an lts-yakkety in ppa:canonical-kernel-team/ppa. We release it usually soon after final (Oct 13 in this case)16:14
elmortg: yep, testing that now - thanks for the info16:14
rtgelmo, I just noticed that the one we'll most likely release with is in ppa:canonical-kernel-team/unstable16:15
rtgbut there is little difference between -20 and -2116:15
elmortg: OK16:19
om26erjsalisbury: that kernel does not boot. does not go past loading ramdisk message after grub.16:31
sforsheehallyn: no not sure, let me look16:48
jsalisburyom26er, ok, I'll skip that one in the bisect and build the next16:54
sforsheehallyn: for me the files aren't empty16:57
hallynsforshee: what do you see?  not just "Total: 0" ?17:05
sforsheehallyn: http://paste.ubuntu.com/23285454/17:20
sforsheethat's cat /sys/.../blkio.*17:21
hallynsforshee: hm.  in 4.4?17:40
sforsheehallyn: 4.4.0-38-generic #57-Ubuntu17:46
hallynok thx.  i'll just have to find time to look int oit17:49
jtaylorwhere should bugs for the lts-yakkety from the ppa br filed?17:50
om26erjsalisbury: that's a bad kernel.17:55
jsalisburyom26er, ack, next one coming17:55
svilicHi everyone, 19:14
svilicI have very strange deadlock situation, that I don't understand quite well, because it goes into libc and possible a kernel. Here is a backtrace19:14
svilic#0  0x00007ffff3629e03 in futex_wait (private=0, expected=15, futex_word=0x7fffffffda00) at ../sysdeps/unix/sysv/linux/futex-internal.h:61 19:14
svilic#1  futex_wait_simple (private=0, expected=15, futex_word=0x7fffffffda00) at ../sysdeps/nptl/futex-internal.h:135 19:14
svilic#2  __nptl_setxid (cmdp=0x7fffffffd9e0) at allocatestack.c:1163 19:14
svilic#3  0x00007ffff112ca35 in __GI_seteuid (uid=uid@entry=0) at ../sysdeps/unix/sysv/linux/seteuid.c:37 19:14
svilic#4  0x00007ffff2a4a382 in pion::PionAdminRights::PionAdminRights (this=0x7fffffffdc00, use_log=<optimized out>) at PionAdminRights.cpp:35 19:14
svilic#5  0x00007ffff2c9dfe3 in pion::net::TCPServer::start (this=0x3417180) at TCPServer.cpp:8619:14
svilicMy question is, could this be introduced by application bug, by overwriting some part of memory or this is a kernel/libc bug?19:14
jtaylorvery likely an application bug, all locks end up in the kernel at some point19:16
svilicthat is what I assume. If I understand correctly, all this from #0 to #3 is still user space,right?19:18
svilicisn't #2 or #3 actually a SYSCALL19:19
apwfutex_wait() is a library call calling futex() the system call19:24
svilicok. last question: are futex structues stored in kernel or in user space? is it possible for application to corrupt futex? I assume yes, but I am not sure ...19:26
om26erjsalisbury: that's a bad kernel.19:28
jsalisburyom26er, thanks, I'll spin the next one.  Only 3 more to go19:29
om26erseems we are close now :)19:30
jtaylorsvilic: you shouldn't be able to screw up a futex, but you for sure can mess up the userspace part of a lock19:34
jtaylorthough its more likely its just a regular deadlock, does valgrind show any corruption?19:35
svilicjtaylor: This is a project being ported from precise to xenial. It used to work and what you see in backtrace are very first steps doing start of server. But since we had to change a few things during porting, I guess there has be an application bug. Now, this shouldn't be a deadlock, because it happens when libpion tries to changes effective user id, which leaves me to conclusion, that this has to be corruption. I was just confuse19:40
svilicjtaylor: but you guys helped me a lot. Knowing that is not a kernel bug, I know where to look for it :)19:40
svilicthank you very much19:40
jsalisburyom26er, I think I pointed you at the wrong directory in the bug report for the last kernel. I should have asked you to test: http://kernel.ubuntu.com/~jsalisbury/lp1627108/55e16d30bd99510900caec913c90f53bc2b35cba/20:03
jsalisburyom26er, if you see comment #26, the SHA1 I mention does not match up with the URL I gave you.20:04
=== rcj` is now known as rcj
=== rcj is now known as Guest46240
=== Guest46240 is now known as rcj
=== mamarley is now known as Guest70811
=== mamarley_ is now known as mamarley

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