/srv/irclogs.ubuntu.com/2014/05/02/#ubuntu-kernel.txt

=== infinity3 is now known as infinity
=== halfie_ is now known as halfie
=== spossiba_ is now known as spossiba
=== fmasi is now known as Guest61135
=== davmor2_ is now known as davmor2
=== trevorjay is now known as trevorj
=== Guest61135 is now known as fmasi
argeshey. Wondering why the current linux-image-generic-lts-quantal shows 3.5.0.49.55 while the git tag shows Ubuntu-lts-3.5.0-49.73 ? Why the difference in build numbers?13:27
rtgarges, I wonder if that is the meta package tag ?13:30
argesrtg: so the meta package just has a different build number?13:31
rtgarges, of course. its actually the upload number  (and is completely arbitrary)13:31
argesrtg: ok so if I uname -a that particular kernel I should get #73 (which matches with the git tag)13:32
rtgthe tags in the kernel repo should be the same as the source package, e.g., Ubuntu-lts-3.5.0-49.73, Ubuntu-lts-3.5.0-50.74, etc13:33
rtgarges, the last 2 tags look right to me.13:34
arges$ rmadison linux-lts-quantal | grep updates13:34
arges linux-lts-quantal | 3.5.0-49.73~precise1 | precise-updates  | source13:34
argesrtg: yea I think I was just looking at the wrong source package.13:34
rtgarges, the meta package is gonna be different (except for the ABI number)13:35
argescool starting to make more sense now. thanks for clearing that up : )13:36
rtgarges, we use the upload number to distinguish interim versions within an ABI series.13:36
apwrtg, so ... why have you flippied the top of ubuntu-utopic from UNRELEASED to utopic, as it isn't done or uploaded that seems counter intuitive13:59
rtgapw, yup, so my local builds use the right chroot14:03
rtgwe still have to run insertchanges before its a complete changelog14:03
apwhmmm, perhaps shove a 3.14.0-0.0 in then ?14:03
apwunderneath14:04
rtgapw, is it breaking your PPA builds ?14:04
apwno it is breaking me :)  well actually it is mostly triggering confusing versioning14:04
apwas it is "released" i am appending post release versioning not ~ stuff14:04
apwrtg, now i am confused again, as you seem to have flipped it back to 3.14 and unreleased, or have i lost control of my trees14:05
rtgapw, well, go ahead and fix it as you like as long as the first changelog entry that is not 'UNRELEASED' says utopic.14:05
apwoh no, that was me being a spaz14:06
apwack14:06
=== yleger is now known as Yaann
YaannHi !14:53
YaannI'm looking for a way to generate a shutdown initramfs on ubuntu, does anybody know how to do that ? It needs to disconnect properly the nbd root device.14:55
=== mjg59` is now known as mjg59
apwYaann, hmmm, not sure if anyone here would know, you might try #ubuntu-server, they might15:16
Yaannapw: Ok, thanks !15:18
* ogra_ wonders why an initramfs would be involved in any shutdown bits 15:24
apwoddly this is not the first question we have had on this, i think the initramfs bits are involved as you15:25
apwhave to exclude yourself when starting in the initramfs, to prevent yourself being killed on the way down15:25
apwYaann, did you mean startup or shutdown here15:26
xnoxYaann: as far as I know, shutdown initramfs is a dracut/systemd features which is not yet used in neither debian nor ubuntu.15:26
xnoxYaann: in ubuntu we only have startup initramfs, which can be updated with $ update-initramfs -u15:27
xnox(and dropping in appropriate hooks/scripts in either /etc or /usr -> see initramfs-tools manpages)15:27
apwxnox, as in we go back to the original initramfs root ?15:27
apws/we/they15:27
xnoxapw: correct. On fedora: the originial initramfs is left in-tact, at shutdown one goes back into it and unmounts root. That way all network filesystems/mdadm/fakeraid etc. are never started from the mounted rootfs.15:28
ogra_like android ? 15:28
ogra_where your initrd becomes the top part of / ?15:28
xnoxapw: so no processes / daemons are allowed to "takeover" daemons started from the initramfs.15:29
apwso you have to rebuild that on any package install which is included, ugg15:30
xnoxogra_: yes and no. android shutdown is very simple - sync, killall, umount. -> it really does not care.15:30
ogra_yeah, but the boot-up sounds similar 15:30
apwthat is how all of them work on startup though15:30
ogra_(which is pretty awful if you want to have a generic OS instead of one thats bound to a specific device)15:30
xnoxyeah, startup is the same across all....15:30
apwwhere you mount /root in / (the initramfs one) and then get things ready and move into /root15:30
ogra_apw, no, on android your initrd *becomes* your root15:31
ogra_there is never any pivoting15:31
apwso stays your root15:31
ogra_right15:31
apwthey do know how to hurt my head15:31
* apw does wonder how any root which needs a daemon runnign is meant to work15:31
ogra_this is perfect if your OS is actually built for a specific device ... we will never be able to cope with their boot speed for example 15:32
ogra_but if you want a generic desktop OS thats just awful ... 15:32
xnoxthere is no "generic desktop os" =)))))))))))15:32
ogra_well, :) ubuntu :) 15:32
ogra_something that works with variung hardware 15:33
ogra_*varying15:33
xnoxjust a lot of desktop OSs highly optimised for a wide range of x86 machines with common configurations/firmware expectations =))))))15:33
ogra_yeah, that :) 15:33
Yaannxnox: Yep I already have a custum startup initramfs but I when to properly disconnect my root device before shuting down and the shutdown binary will not be available anymore after disconnecting the block device15:39
ogra_Yaann, talk to the guys in #ltsp ... they do that properly 15:39
ogra_(nbd is the default in ubuntus ltsp implementation)15:40
xnoxYaann: look at "/etc/init.d/sendsigs" if you drop a pidfile into /run/sendsigs.omit your process will not be killed on shutdown.15:40
ogra_i guess you only remount ro and leave the rest to the nbd-client 15:40
xnoxYaann: and your daemon should not hold any files open.15:40
xnoxYaann: the fact that the binary is "no longer available" is not actually a problem.15:41
ogra_(stgraber definitely knows the mechanics)15:41
Yaannxnox: I already added the right PID in /run/sendsigs.omit.d/nbd-client, the kernel doesn't panic anymore but the server never receives a proper disconnect15:41
Yaannogra_: I'm gonna try on #ltsp :)15:42
ogra_ask alkisg there 15:43
ogra_he also knows a lot about the nbd setup they use15:43
rtgapw, # first bad commit: [177cf92de4aa97ec1435987e91696ed8b5023130] drm/crtc-helpers: fix dpms on logic16:11
rtgI reverted that on top of utopic master-next and now everything resumes just fine16:11
argesapw: do you need to add my SOB line when I ACK patches?16:16
argeserr Do I rather.16:16
apwarges, people will convert an ACK to Acked-by: though i tend to include the Acked-by in mine16:17
apwrtg, that is worrying as the code is clearly spack before that fix16:18
argesapw: ok cool16:18
apwarges, oh an normally i add [ACK] or similar to teh subject to make it clear.16:25
apwsee my last couple :)16:28
=== zequence_ is now known as zequence
clopezOut of curiosity... why Ubuntu 14.04 comes with kernel 3.13 ?? That kernel version is not LTS (is already EOL, see https://www.kernel.org/). Wouldn't have made more sense to ship 3.12 instead?17:32
apwclopez, that is only not a gregkh LTS support kernel, the ubuntu kernel team is supporting the 3.13 kernel long term17:35
clopezNot only gregkh supports LTS kernels: https://www.kernel.org/category/releases.html For example debian kernel maintainer Ben Hutchings  supports the 3.2 LTS version17:36
clopezif you are going to do the effort of maintaining the 3.13 line on your own, I wonder why you don't do it upstream ?17:37
bjfclopez, yes, and we use ben's 3.2 stable patches for precise17:37
bjfclopez, we do "do it upstream"17:39
bjfclopez, you will see our announcements regularly on lkml17:39
clopezthen is that kernel page outdated?17:40
apwit only includes ones gregkh officially recognises17:40
mdeslaurhttp://lkml.iu.edu/hypermail/linux/kernel/1404.2/05016.html17:40
bjfclopez, sort of. those maintainers are "blessed" by gregkh17:40
antaruspolitics, yay!17:41
hallynstgraber: hm, trying to think... can it happen that there are cgroups in /proc/cgroups which do *not* show up in /proc/self/cgroup?17:42
hallynapw: ^ happen to know?17:42
hallyn i think not, but i'm not absolutely certain17:42
stgraberhallyn: should be easy enough to check17:43
apwi do not know to be hones17:43
stgraberhallyn: /proc/1/cgroup lists all of them so I don't think it's possible17:43
stgraberhallyn: pid 1 even lists the systemd one which was clearly setup long after pid 1 started17:44
clopezI guess gregkh only trusts kernel developers with a track of important contributions17:44
bjfclopez, you just trolling here or what?17:44
clopezNo17:45
apwclopez, you could have picked that phrase from his emails17:45
hallynstgraber: my concern is with the unified hierarchy crap...17:45
clopezis there any other reason why he won't allow you to maintain the 3.13 LTS "officially" ?17:45
apwyou'd have to ask him his reasons not us17:45
apwnor does it make any difference, we do the work, people other than us consume it, we are happy17:46
bjfclopez, what apw said ^17:46
stgraberhallyn: yeah, not sure how things would look like with the unified hierarchy17:48
clopezI understand that, but it seems a bit odd that you don't know why he won't allow you to maintain the branch on kernel.org17:48
hallynstgraber: just trying to decide whether i should parse both or not.  but i won't...  17:49
apwclopez, he has said basically what you said, that our maintainers have no track record.  that dispite maintaing various stable trees for extended periods17:50
apwclopez, but also it makes no difference to us, people consume the trees we produce, which is the aim17:51
ogasawarahttp://www.spinics.net/lists/stable/msg32034.html17:51
clopezyes, I found it: this http://article.gmane.org/gmane.linux.debian.devel.kernel/7917017:52
bjfclopez, and it really doesn't matter what greg says about it being "official" or not. we have to maintain the kernels we ship and that's what we do. (and i think we do it quite well)17:53
clopezI see17:53
clopezthanks for the explanation :)17:53
bjfclopez, for every LTS we reach out to greg and ask what he's thinking of picking for his LTS and he doesn't say until after we have picked ours and then he picks something else17:55
clopezI'm checking the amount of commits from canonical: 372 on 2013, not bad.17:59
clopezSo the initial reason (few contributions) seems that not longer holds... I wonder if there is something else :\18:02
clopezMaybe is because the specific canonical developer requesting to maintain the LTS branch has few contributions?18:27
clopezyeah, the link posted by ogasawara explains that... maybe you should consider putting a developer with a big enough track of contributions as the head of the stable branches in order to get greg blessing18:37
clopezsome suggestions: http://sprunge.us/jfII18:37
apwclopez, or maybe we should select the person we think most qualified to get the job done21:37
infinityapw: I'm too busy.21:44
=== tdmackey_ is now known as tdmackey

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