/srv/irclogs.ubuntu.com/2014/04/30/#ubuntu-kernel.txt

BenCapw: Two patches sent to mailing list00:22
apwBenC, thanks07:55
AceLanapw: Hi, is there a wiki page describes the SRU kernel release schedule? I would like to know when I'll have a fixed (proposed) kernel if I submit a SRU now.08:33
apwAceLan yeah there is, hang on08:33
* AceLan is trying to find the reset button on apw, looks like he hangs08:52
apwAceLan, i am more going a bit mad trying to find it :)08:52
apwhttp://people.canonical.com/~kernel/reports/sru-report.html08:52
apwthat is part of the story, what is currently where and verified08:53
apwplus ...08:53
AceLanhmm08:54
apwAceLan, the other part i get as email and in the IRC report, but i suspect it is also out there somewhere too08:56
apwthough this cycle does not appear to have beeen announced08:57
AceLanapw: are there dates about the SRU freeze, testing, and release?08:59
apwAceLan, yes there are09:00
AceLanapw: on wiki? or only in email?09:00
apwi am sure it is in the wiki, i cannot find it right now there, the latest dates were in the transcript of yesterdays meeting which is on email09:01
apwand normally he emails them to kernel-sru-announce but does nto appear to have done so this cycle09:01
apwbjf, ^09:01
AceLanapw: ok, please keep an eye on it, if you found the wiki, please let me know, thanks09:03
apwhttps://lists.ubuntu.com/archives/kernel-sru-announce/2014-April/000015.html09:04
apwso that was the announce for the previosu cycle09:04
AceLanapw: cool, I'll keep an eye on that list, thanks09:05
apwhttps://lists.ubuntu.com/archives/ubuntu-devel/2014-April/038262.html09:05
apwthat second one has the announced dates per our meeting yesterday09:05
AceLanapw: thanks a lot09:06
apwBenC, that makes things much happier ... thanks09:07
BenCapw: Excellent11:12
ppisatihttps://launchpad.net/ubuntu/+source/u-boot-linaro12:18
ppisatiit's in main and it's available for T12:18
ppisati_but_12:18
ppisatiwget http://ports.ubuntu.com/dists/trusty/main/binary-armhf/Packages.gz12:19
ppisatizgrep "Package: u-boot" Packages.gz12:19
ppisatiPackage: u-boot12:19
ppisatiPackage: u-boot-tools12:19
ppisatino u-boot-linaro there12:19
ppisatiwhy?12:19
ppisatiand indeed, mt lb build complains:12:19
ppisatie.g. E: Unable to locate package u-boot-linaro-omap3-beagle12:20
ppisati*my12:20
ppisatiprobably #ubuntu-devel was more appropriate, but anyway12:20
ppisatiinfinity: can you help me here? ^12:21
apwthe binaries are all called u-boot-linaro-* ... hmmm12:24
apwwhat section are they in though12:25
apw u-boot-linaro                    | 2012.08.2-ubuntu1 | trusty/universe  | source12:25
apwok this is all in component universe, so you have the wrong Packages.bz file12:25
ppisatidoh12:26
ppisatiComponent:*12:26
ppisatimain12:26
apwapw@bark:~/plusone$ zgrep "Package: u-boot" Packages.gz12:27
apwPackage: u-boot-linaro-ca9x4-ct-vxp12:27
ppisatihttps://launchpad.net/ubuntu/+source/u-boot-linaro12:27
apwPackage: u-boot-linaro-efikamx12:27
apwPackage: u-boot-linaro-highbank12:27
apw[...]12:27
ppisati*actual publishing details may vary in this distribution, these are just the package defaults.12:27
ppisatiah12:27
ppisatibloddy asterisk :)12:28
ppisati*bloody12:28
ppisatiwell, in saucy was in main12:28
ppisatiit was moved to universe in T12:28
ppisati(/me is blackbelt in finding excuses...)12:29
apwyep, rmadison is your friend there12:29
ogra_you are italian ... 12:29
ppisatisoooo12:31
ppisatilb needs a fix12:31
ppisatiubuntu-server)12:31
ppisati...12:32
ppisatiCOMPONENTS='main'12:32
ppisatithat's why it was working before12:32
ppisatiok12:32
ppisatiogra_: shhht... i'm "fixing" your rootstock-ng12:37
ogra_heh12:37
* ppisati go grab a kebab...12:43
ppisatiuhm13:12
ppisatiE: Handler silently failed13:12
ppisatiE: config/hooks/100-preinstall-pool.chroot failed (exit non-zero). You should check for errors.13:12
infinityppisati: Oh dear, are you trying to resurrect the icky server preinstalled images?13:18
ppisatiinfinity: yes and no - i'm trying to teach rootstock-ng to build ubuntu images for arm boards but in the mean time i need a woarking target for lb thus i'm picking ubuntu-server13:22
sconklinso apw I should be able to run the latest 'current' image on trusty?14:49
apwyes, it is built with utopic's config but i am running that here15:34
ppisatiroot@luxor:/build# cd chroot16:01
ppisatiroot@luxor:/build/chroot# cat etc/apt/sources.list16:01
ppisatiroot@luxor:/build/chroot# ls -la etc/apt/sources.list.d/16:01
ppisatitotal 816:01
ppisatidrwxr-xr-x 2 root root 4096 Apr 10 13:10 .16:01
ppisatidrwxr-xr-x 6 root root 4096 Apr 30 12:43 ..16:01
ppisatiroot@luxor:/build/chroot# 16:01
ppisatithat might be a problem...16:01
rtgapw, shall I grab the powerpc64-emb patches ?16:08
apwi have applied them ?16:26
apwrtg, 16:26
apwunless that doesn't mean the 2 benc sent this morning16:26
apwand they work too16:26
apwrtg, and i switched the base version to 3.15 cause we were still making binary packages with 3.14 as the name16:28
rtgapw, nm re: powerpc. I just forgot to update.16:28
apwahh16:28
nilujewhere and when the /run is mounted?16:31
ogra_in the initrd 16:31
rtgcking, uploaded sysvinit_2.88dsf-41ubuntu716:31
ogra_first thing it does16:31
ckingrtg, /me tries it16:32
rtgcking, it'll take a bit to percolate into the archive16:32
ckingdoh, too eager is me16:32
ogra_niluje, /usr/share/initramfs-tools/init16:33
nilujehm16:33
nilujethansk ogra_ 16:36
nilujeogra_: are you sure?16:51
nilujeisn't it mounted by init?16:51
nilujemy problem: I create a process in the initramfs that I want to exclude from the killing process of init when the system reboots or shutdowns16:51
nilujeI need to write the PID of the process in /run/sendsigs.omit.d/16:52
apwso can't that process put itself in there ?16:52
nilujenope16:52
apwwhy so16:53
nilujethe process is nbd-client and is used to mount the rootfs16:53
nilujeat the time the process is created /run doesn't exist yet16:53
apwwhy not?16:53
niluje?16:53
apwi thought we mounted /run on the initramfs /16:53
nilujebecause init hasn't been called?16:53
apwand real / on /root16:53
apwand then move mounted /run into /root before pivoting into it16:54
apwso if you are staring it before mounting real / you must have it in the initramfs and thus after the /run is made16:54
nilujehm16:55
nilujecalling "mount" after the rootfs is mounted doesn't list the /run16:55
niluje(in the initramfs)16:55
apwcheck out cat /proc/mounts, i'd not trust mtab16:56
nilujemtab?16:56
apwmount just tells you what mtab the userspace copy of the mount table says16:56
apwand that is often a lie in this two roots sceario16:57
nilujeok16:57
* niluje still has a lot to learn :p16:57
apwbut if you look at the initrd /init which is just a shell script, it mounts /run16:57
nilujehttp://pastebin.com/W6jij8dD16:58
apwand then we do this to move it into the real root before pivot16:58
apw        mount -n -o move /run ${rootmnt}/run16:58
nilujeseem to be the same16:58
apwwhere in the initramfs handling are you doing this16:58
apwand actually what release16:59
nilujescripts/init-bottom16:59
nilujeubuntu 14.0416:59
apwas we mount /sys /proc /dev/pts and then /run16:59
apwand during init-bottom it is mounted still and not yet moved17:00
nilujewait17:01
nilujeI think I just understood something I should have known :p17:01
nilujewhere is the move from /root/run to /run and from /root to / ?17:01
apw/run is on /run in the initramfs and your root is /root17:02
apwlast thing we do is move mount /run to /root/run (so the files stay in there)17:03
apwand chroot into /root (approximatly)17:03
nilujehm ok17:03
nilujeso in what hook should I put the nbd-client pid in /root/run/sendsigs.omit.d/ ?17:04
apwyou hsould put it in /run/sendsigs.omit.d/ in init-bottom17:04
apwand that will be /run on the real root "later"17:04
apwin theory17:04
nilujeok17:04
nilujecannot it be done sooner than init-bottom?17:05
apwi thought that was where you started the thing17:05
nilujesorry, we misunderstood17:05
nilujeI start the process in scripts/local-top17:05
apw/run should be there for all of the hooks by the looks of it17:05
apwniluje, i am confused if i boot this machine here and 'break=bottom' i can see /run mounted in /proc/mounts17:08
niluje:/17:15
xnoxcking: got down to the installer issues - efibootmgr upstream are working on supporting/generating entries for 1.1a devices, and i've sent patch for grub-mkdevicemap to colin which makes ubiquity/d-i just work with current efibootmanager and 1.0 devices.17:17
apwrtg, just pushed and aufs update, seems to work again17:17
ckingxnox, cool, and I now have some working H/W again 17:17
xnoxcking: grub fix is not in utopic/trusty yet, but once it's in utopic i'll Shepard it for SRU to trusty.17:17
xnoxcking: oh, excellent =)17:18
ckingxnox, ping me when it's ready to test and I'll get around to it17:18
ckingAsap17:18
xnoxcking: cool!17:18
ckingxnox, I spent most of this afternoon breathing life back into my setup,  had various firmware issues and a dead box that wouldn't boot, so this is quite timely :-)17:18
xnoxcking: since grub is actually part of life-fs / debian-installer, and is executed from /target, i have no easy way for you test this until we spin an image with fixed up grub.17:32
infinity... why do I seem to need to pass "nolapic" on my kernel cmdline to boot a trusty kernel in qemu/kvm?  I must be doing something wrong.18:46
infinityCause otherwise everyone would be complaining.18:46
rtginfinity, hmm, I run trusty kernels all the time using virt-manager on a trusty host (though I'd better re-check that just to be sure)18:48
rtgyup, works fine18:50
infinityrtg: I wonder if maybe grub2 pulls some magic here.  I needed "nolapic" to boot it raw with -kernel and to boot it from grub1 (don't ask).18:50
infinityrtg: Can you confirm that a raw boot with -kernel vmlinuz-3.13.0-24 also fails for you?18:50
infinityrtg: Cause if not, I'm doing something odd.18:50
infinity(Also -enable-kvm -cpu host)18:50
rtgI've just got grub-pc18:50
infinityMaybe setting the CPU emulation lower would also "fix" it.18:51
rtgcopy host CPU configuration ?18:51
infinityrtg: "-cpu host" is that, yes.18:57
infinityrtg: http://lucifer.0c3.net/~adconrad/Screenshot%20from%202014-04-30%2012:59:35.png <-- That's what I see if I boot without nolapic.19:00
infinityrtg: (Well, what I really see is that it reboot there and loops, but the tail end of my qemu commandline prevents that)19:01
rtginfinity, is this a new qemu in utopic ? looks like slightly different versions between trusty and utopic. I assume trusty _used_ to boot without the APIC setting ?19:04
infinityrtg: This is the trusty one.19:05
infinityWell, trusty-updates/uptopic-release, same version.19:05
infinityMaybe the one in -proposed fixes this. :P19:06
* infinity upgrades to see.19:06
rtgI'm just running tip of trusty -updates19:06
infinityRight, so same version as me.19:06
infinityI'm on utopic, but that shouldn't matter here.19:07
apwrtg, are you running a 3.13 kernel, or some home brew19:08
rtgapw, stock trusty19:09
rtg3.13.0-24-generic19:10
apwnot that then19:11
infinityVery confusing, this is.19:13
infinityI'd like to at least see if someone else can reproduce it so I know I'm not crazy. :P19:13
infinityI suppose it may be specific to my hardware.19:13
apwas you are passing through your cpu, yes19:13
infinityBut weird that I can boot my actual laptop fine without nolapic, and then the KVM-emulated version of same doesn't work.19:13
infinityapw: Yeah, I tried with a more generic -cpu and same issue, though.19:14
infinity(But -enable-kvm in both cases)19:14
infinity... and if I disable KVM, and feed it a -cpu that should be 64-bit, it tells me it's not.  Man, I love qemu.19:17
infinityOh, FFS>19:18
infinitylrwxrwxrwx 1 root root 25 Feb  9  2013 /etc/alternatives/qemu -> /usr/bin/qemu-system-i38619:19
infinityTHANKS HALLYN.19:19
infinityrtg: Fixed by running qemu-system-x86_6419:19
* infinity sighs.19:19
infinityHow the heck -i386 "works" when I pass through my host CPU and turn off local APIC, I don't know.19:19
infinityBut x86_64 works better. :P19:19
infinityhallyn: Why is the default qemu alternative on amd64 pointing to i386?19:20
rtginfinity, i386 likely doesn't have an APIC. I wonder how you got linked to the wrong binary ?19:20
infinity  4            /usr/bin/qemu-system-i386           20        manual mode19:21
infinity  24           /usr/bin/qemu-system-x86_64         10        manual mode19:21
apwhow the heck did we manage that19:21
infinityBecause i386 has a higher prio.19:21
apwyeah but how the heck did they not have the same... sigh19:22
rtgrtg@gbyte:~/linux/linux-firmware$ ls -l /etc/alternatives/q*19:22
rtglrwxrwxrwx 1 root root 25 Mar  3 17:26 /etc/alternatives/qemu -> /usr/bin/qemu-system-i38619:22
infinityThey shouldn't be the same, x86_64 should be 20 on amd64 and 10 on i386, and vice versa on the other.19:22
infinityBut they sure aren't.19:22
infinityhallyn: Plsfix.  I just wasted precious time thinking I was crazy.19:22
rtginfinity, note that I _only_ have i386, which doesn't make sense19:23
infinityrtg: Hrm?  You have both installed, surely, and your fancy virt-manager is calling qemu-system-x86_64 directly, not "qemu".19:23
infinityrtg: I call "qemu" cause I'm a lazy typist, which led me to this pain. :P19:24
rtginfinity, that is possible. I never use qemu from the CLI19:24
rtg(too lazy)19:24
rtgqemu-system-x86 must have both arches ?19:25
infinityIt does, yes.19:26
infinityWhich means its postinst needs to be more clever about the alternatives.19:26
infinityCause the "qemu" binary is effectively useless.19:27
infinityThough, fun to see that a 686-class motherboard with my i7 CPU jammed in "works" with nolapic. :P19:27
infinity      # Set i386 as highest priority,19:29
infinity      # as it has been the default qemu for quite some time.19:29
infinity      case $arch in i386) prio=20;; *) prio=10;; esac19:29
infinityAnd evidently, this is intentional.19:29
infinity</319:30
rtgseems like most folks using qemu are also likely to be running a 64bit host19:30
rtgthese days19:31
infinityWell, I'd contend that the priority should just be set to match userspace.19:31
infinitySo, people like Colin would get the wrong one.19:31
infinityBut everyone else would get what they expect.19:31
infinity(Colin runs i386 userspace on amd64 kernels)19:31
rtgseems reasonable19:31
=== ChickenCutlass_ is now known as ChickenCutlass
hallyninfinity: mjt feels pretty strongly about noth aving that be doen as an atlernative19:51
infinityhallyn: Bleh.19:52
hallynnot sure if there is a better way to get waht we really want...19:52
infinityhallyn: That makes /usr/bin/qemu pretty much useless to most 64-bit users.19:52
infinityhallyn: And certainly surprisingly confusing.19:52
infinityhallyn: Having /usr/bin/qemu be a wrapper that checks the running kernel (not userspace) and picks the most appropriate emulator as default would probably actually be the best.19:53
hallyni thought /usr/bin/qemu hadn't existed for awhile already.  i dont' have it in precise19:53
infinityhallyn: I have it in trusty/utopic...19:53
hallyn/usr/bin/kvm is arlready a wrapper, though not as smart as thought19:53
hallynas that*19:53
hallyninfinity: shall i revert the removal oft the alternative?19:56
infinityhallyn: Err, it wasn't removed?19:56
hallyni think actuall colin's case might be an example of where it *is* an alternative,19:56
infinityhallyn: I've done nothing special here, your postinst sets up this alternative.19:56
sconklinstgraber, arges that kernel crash in conntrack is also reproduceable on Linus's tip19:56
argessconklin: cool did you get a reliable reproducer and/or crashdump?19:57
hallyninfinity: aiui the whole point is that the alternatives are *removed* in utopic;  19:57
hallynor, did i not take that change?  i thought i rejected it for trusty, and i haven't knowingly taken it for u19:57
infinityhallyn: utopic and trusty are the same version...19:58
infinityhallyn: And in both cases, the alternative is there.19:58
infinityhallyn: And pointing to i386 on my amd64 system.19:58
hallynwell, there's a one-lien change in utopic, probably still in -proposed19:58
infinityhallyn: Hence my incredible confusion.19:58
hallynhm19:58
hallynthen i don't know whence the change19:58
sconklinarges: we have a reliable reproducer but it's not very portable outside our environment. I pasted all the stack traces into both the Ubuntu and kernel.org bug reports. If you have anything you want us to try, we can probably do it19:59
hallyn(meaning it's inadvertant) 19:59
hallynok, so postinst-in has20:01
hallyn      # Set i386 as highest priority,20:01
hallyn      # as it has been the default qemu for quite some time.20:01
hallynwhich i seem to recall being the case even prior to precise...20:01
infinityhallyn: Sure, it's entirely possible I've never run "qemu" on this machine before now. :)20:02
infinityhallyn: Doesn't change that the default being something that can't boot my arch is rather surprisingly confusing.20:02
hallynok - sorry i thought you were saying something had changed20:03
infinityhallyn: No.  I don't think anything's changed, I just think it's wrong.20:03
hallynso it soudns like the best way forward is in fact to proceed with dropping the /usr/bin/qemu alternative, andwrite an intelligent wrapper20:03
hallynmjt agrees with you :) 20:03
hallynheck i dno't knwo when it was introduced, bc indeed precise does nto have it (which is why my box doesn't have /usr/bin/qemu)20:04

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