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

=== ricotz_ is now known as ricotz
ali1234i'm trying to build a kernel with mainline-build-one14:00
ali1234it fails with this error: trusty-amd64: chroot not found (::,)14:00
rtgcyphermox, everything appears to be correct in ppa:canonical-kernel-team/unstable 14:02
rtg(and built)14:02
cyphermoxok14:03
ali1234i am trying to bisect from v3.17-utopic to v3.18-rc1-utopic14:04
ali1234my build system is running trusty14:04
apwali1234, mainline-build-* all assume you have builder chroots available, they are not very smart14:05
ali1234okay. well i am trying to follow this wiki page: https://wiki.ubuntu.com/Kernel/KernelBisection14:08
ali1234none of the instructions there seem to work14:08
ali1234and indeed the links to other pages don't seem to make any sense14:08
ali1234it seems like this page is very very out of date14:09
ali1234for example "First, follow the KernelTeam/GitKernelBuild  guide to build a new kernel from git.  The step you will be doing the  most is #9. "--append-to-version=-custom" is very important to change to  help differeniate your kernels."14:09
apwali1234, hrm, that would not supprise me, the problem with documents is you stop using them once you know how to do something14:09
ali1234if you follow that link, step 9 is "cd .."14:09
apwjsalisbury, ^ this is right in your balywick ... you do a lot of bisections14:09
ali1234https://wiki.ubuntu.com/KernelTeam/KernelMaintenanceStarter seems to have instructions to create a builder chroot?14:16
ali1234seems a little outdated again... the script has a different name now14:19
ali1234Error: /usr3/chroots does not exist.14:19
ali1234apparently i have to make it... okay14:21
rtgali1234, just create it. 'sudo mkdir -p /usr3/chroots'14:21
kilbithhello, silly question : does the current ubuntu kernel (4.4) has backporting of upstream kernel patches (as both kernels are LTS) ?14:27
apwkilbith, i assume you are asking does the ubuntu 16.04 kernel recieve upstream stable updates ... to which the answer is yes14:33
jsalisburyali1234, apw, I'll add it to my list to go through those pages, test and update as nessessarry.  14:35
kilbithapw, hmmm ok but then the ubuntu kernel versioning ought not be stuck on 4.4.0, which is misleading14:37
apwkilbith, that is a complex thing to answer, but the short answer is that that part has to be 3 digit or userspace gets broken, but if we change that a lot it means we cannot hsare the same .orig blowing up the archive side storage requirements14:38
apwkilbith, i have a branch pending for Yakkety to drop that .0 from the versioning14:38
apwan LTS was not hte place to play with such things14:39
kilbithwell changing the minor versioning would inform the users at which point the ubuntu kernel is sync with upstream14:40
rtgkilbith, but that would be inaccurate since the Ubuntu kernel is never exactly in sync with upstream14:41
kilbith"never exactly" <- by how much usually ?14:41
rtgkilbith, feel free to do a comparison between Xenial and vanilla 4.414:42
kilbiththat's a bit pain with git14:42
kilbith#ubuntu-mesa14:43
kilbithoops, sorry14:44
apwkilbith, the minor version as reported by uname is that version14:45
apwkilbith, sorry in /proc/version_signature14:45
kilbithoh right - 4.4.814:46
kilbithwhile upstream is at 4.4.12 already, fyi14:46
apwkilbith, yep, though the next kernel which has been in testing for a couiple of weeks is at least 4.4.1114:50
rtgand master-next has 4.4.12 applied14:50
kilbithwell rushing onto new versions is not necessarily a good thing14:50
apwright we stage them in as we cut updates in each sru cycle, so whatever is available as we open the cycle is applied14:51
apwthen we test that for a couple of weeks and then release it14:51
kilbithbut i'm also surprised why some past ubuntu releases did not choose LTS kernels for example14:51
kilbiththat makes no sense14:51
kilbith*Ubuntu LTS releases, sorry14:51
apwkilbith, because we do not control which kernels upstream are LTS and sometimes we have had to chose a kernel and commit to it before upstream has made a choice14:52
apwthough this time we managed to have that conversation early enough to get the alignment we would desire14:52
kilbithi assume you're mainly constrained by the release schedule and you pick the latest kernel whenever a new release is imminent14:53
kilbithon the other hand Debian stable always pick a LTS kernel14:53
apwkilbith, not quite true, they are using a kernel we maintained stable on for a long time14:54
apwkilbith, for one of their releases14:54
apwbut in general we are not looking to be doing our own work if we can be aligned, sometimes that is not possible in an LTS, this time it was14:54
kilbithhmm, i just checked on distrowatch and indeed all debian stable and oldstable kernels are LTS14:55
kilbithhttp://distrowatch.com/table.php?distribution=debian14:56
apwkilbith, jessie is on 3.16 which was not an official LTS kernel, that we in ubuntu supported for several years, and now debian themselves are supporting it14:58
kilbithah ok, i get it14:58
apwkilbith, alignement is not always possible for them or us, though that time we were at least aligned between them and us14:58
kilbiththat's surprising since they have more developers for maintaining14:59
ali1234i think i'm getting a bit closer. now i get: trusty-amd64: chroot not found ( chroot:utopic-amd64 ::Available chroots: utopic-amd64,)15:04
ali1234hmm... it wants a trusty chroot?16:02
ali1234okay... whatevs16:02
ali1234now i get: I: You do not have permission to access the schroot service.17:41
ali1234am i supposed to run this with sudo or what?17:41
apwali1234, you prolly have to give yourslef permission, likely you got added to the schroot group but have not logged out/in since17:50
ali1234i wasn't added17:51
ali1234think it will help if i add myself?17:51
ali1234schroot isn't even a group17:51
rtgali1234, I think you need to be in the sbuild group18:04
ali1234nope, still doesn't work18:06
ali1234E: default: Chroot not found18:06
rtgali1234, ah, that is different. what is in /etc/schroot/chroot.d/ ?18:07
ali1234a file for each of the chroots i have made using make_chroot18:07
ali1234trusty-amd64, trusty-i386 and utopic-amd6418:08
ali1234so i tried to run "schroot trusty-amd64" and got that error18:08
rtgschroot -c trusty-amd64 ?18:08
ali1234ah there we go, it works!18:08
ali1234and it's building a kernel finally. thanks :)18:10

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