/srv/irclogs.ubuntu.com/2013/07/10/#ubuntu-installer.txt

=== FourDoll1rs is now known as FourDollars
* apw is doing a d-i server install and hitting 'Installation step failed' from 'Select and install software' ... where might i look for a log with what actually failed ?08:56
infinityapw: syslog09:01
cjwatsonand nano is the best viewer available, so 'nano -v /var/log/syslog'09:03
apwinfinity, ta ... 'pkgsel' failed with error code 109:04
apwoh joy09:04
cjwatsonno that's a consequential error, go up09:04
cjwatsonit's no doubt some package or other failing to install09:04
apwlooks like we also have a find before that, 'find: unrecongnised: -printf09:04
cjwatsoncan you copy out the full log for me?09:04
cjwatson'anna-install openssh-client-udeb' gets you scp09:04
apwcjwatson, nice ... had to do that a few 1000 times i assume :)09:05
infinityI feel like I might be somewhat spoiled when I was about to complain that I was "only" getting 5MiB/s from github.09:06
* apw slaps infinity ... somewhat09:06
cjwatsonapw: and implemented support for it ;-)09:06
apwcjwatson, for full disclosure i am tracking a bug here in the kernel, which i believe to be fixed which was blowing up the install before here.  but it is possible i didn't do it right09:07
apwcjwatson, and this boot is of a09:07
apwcjwatson, and this boot is of an ISO that i have replaced the kernel in09:07
infinityapw: S'ok, all is right in the world, it scaled up to 9MiB/s now.09:07
infinityapw: You can stop feeling sorry for me.09:07
apwcjwatson, http://paste.ubuntu.com/5861037/09:07
apwinfinity, ok :)09:07
apwcjwatson, and in that log i would have hit 'return' to make it try again as well09:09
apwnot deliberatly, but you know how focus grabby virtmanager is09:09
cjwatsonwhat an interesting error09:11
apwcjwatson, i don't like the sounds of that ... :)09:12
infinitySince when does busybox provide dpkg?09:12
cjwatsonwe don't build that module09:12
infinityIt thinks we do...09:13
apwJul 10 08:52:49 in-target: dpkg: invalid option -- 'a'09:13
apwJul 10 08:52:49 in-target: BusyBox v1.20.2 (Ubuntu 1:1.20.0-8ubuntu1)09:13
apwinfinity, i assume that is what you are referring to09:14
infinityIndeed.09:14
cjwatsonoh, only in static09:14
cjwatsonwtf09:14
apwcjwatson, as this is a VM and the issue reproducible i can redo and get a cleaner log if that is any help09:14
cjwatsonapw: I'm deeply confused, I think I need to see this in action - syncing an image for myself09:15
cjwatsonbusybox-static has been in installs for ages imo, dunno why this only just started breaking09:15
cjwatsonbusybox hasn't been changed for months09:15
apwcjwatson, ok now i am unsure if you can reproduce this or not at the moment as i have ended up here trying to find an issue which only hits with multi-lvm.preseed from the QA tests, and only then with 512M VMs09:16
apwcjwatson, and i have only seen this failure mode with the 'fixed' kernel as well, as without it oops in ext409:16
apwcjwatson, so i am somewhat worried i have made this happen and i am wasting your time09:16
* apw fires up another VM with the original image09:17
cjwatsonso, busybox-static doesn't actually install the dpkg or find or whatever links09:18
cjwatsonapw: do you still have the original vm running?09:18
apwcjwatson, sure do09:18
cjwatsonthe paths that might cause this kind of thing are in busybox's slightly tortuous "do I launch an applet or an external program" code09:18
cjwatsonthis is chrooted so that *should* be moot09:19
cjwatson'chroot /target find --help'09:19
cjwatsondoes that give you the GNU findutils help, or something from busybox?09:19
apwbusybox09:19
apwand /target is mounted off of --vg-root ...09:20
cjwatsonapw: could you install strace in the installer environment ('udpkg -i /cdrom/pool/main/s/strace/strace_*.deb') and try stracing that?09:24
cjwatsonand then copy out the strace for me09:24
apwstracing the chroot ?09:25
cjwatsonYeah09:25
cjwatsonIt's almost as if PREFER_APPLETS has got turned on09:25
cjwatsonBut I don't understand how that could have happened without changing busybox :)09:25
cjwatsonIs this a self-built d-i initrd?09:26
apwcjwatson, it is hacked indeed, i have in theory only replaced the kernel and modules in it09:26
apwcjwatson, but i have opened and closed it, so i could easily be to blame09:26
cjwatsonSo I suspect you might have accidentally hacked a bit more than that09:26
cjwatsonLet's see09:26
cjwatsonWhat's the size of /bin/sh?09:26
cjwatsonin the installer env09:26
apw38992809:27
apwhttp://paste.ubuntu.com/5861092/09:28
apwcjwatson, ^^09:28
cjwatsonLooking09:32
cjwatsonIs /bin/sh a symlink to /bin/busybox/09:33
cjwatson?09:33
cjwatsonActually maybe you could just put the initrd somewhere for me rather than me playing twenty-questions :)09:33
cjwatsonbusybox is following the ENABLE_FEATURE_PREFER_APPLETS path here, but I can't see why, since that's meant to be compiled out09:34
apwcjwatson, uploading now09:35
apwit is a big big, for various foolish error reasons on my behalf :)09:36
apwthough for cirtain i am not replacing busybox or anything, deliberatly anyhow09:36
apwany my proceedure for replacement is cpio not using any tools09:37
apwcjwatson, http://people.canonical.com/~apw/misc/initrd.gz09:38
cjwatsoncpio with what arguments?09:41
apwcpio --quiet --dereference -o -H newc09:42
apwstolen from mkinitramfs-tools sometime back09:42
cjwatsonkill --dereference09:42
cjwatsonthat's almost certainly your problem09:42
cjwatsond-i does not build with that - it doesn't use initramfs-tools09:42
apwahh ... great.  i'll retest with that and let you kn09:42
apwknow09:42
apwi knew it had to be me09:43
cjwatsonnot totally obvious why that broke it but it's the sort of thing that messes with busybox's delicate head :)09:43
apwheh ... that i can believe, thanks for all your help, infinity informs me i am doing this the hard way and is going to educate me09:44
=== ev_ is now known as ev
=== balloons_ is now known as balloons
apwcjwatson, hmmm if i did it right, that didn't help10:03
cjwatsonOK, stick the new initrd up for me and I'll grab it10:04
apwi wonder if i extracted it in a way which already lost the links ...10:04
cjwatsonThat's possible.  How did you extract it?10:05
cjwatsonYou might be better off building it using the proper d-i build system, assuming you already have the udebs.10:05
cjwatsonI never unpack/rebuild d-i initrds by hand.10:05
apwzcat "$iso/install/initrd.gz" | ( cd initrd && sudo cpio -i )10:06
apwcjwatson, i got into this because the isos i was originally changing were special ones used in QA and normal ones weren't triggering the error so i needed to debug that actual iso10:06
apw(this time round it is just how i am used to doing it now)10:07
cjwatsonMight need --link, not sure.  Like I say I don't normally do it that way10:08
apwcjwatson, yeah, i'll play some, now i know its likely my fault and compare the two10:09
cjwatsonNormally I take debian-installer, make sure its kernel versions in build/config/ are right, put the modified udebs I'm using in build/localudebs/, and run 'fakeroot make -C rebuild_cdrom_isolinux'10:09
cjwatsoner10:09
cjwatson'fakeroot make -C build rebuild_cdrom_isolinux'10:09
cjwatsonOther build targets are available - 'make -C build' on its own lists them10:09
apwyeah ... i'll also have that a spin10:10
apwit is about time i became more ohfay (sp?) with that10:10
infinityThat would be the easier method I was suggesting. :)10:10
infinityOr, at least, more foolproof.10:10
infinityapw: And I have no idea what an ohfay is...10:11
cjwatsonau fait10:15
infinityOh.  It's so cute when the English try to speak French.10:16
infinityOr, at least, spell it.10:16
apwi am renouned for my grasp of both spelling and foreign languages10:20
apwcjwatson, i am struggling to maek this di build (via make -C build) to use the localudebs, is there some magic i should be aware of12:10
cjwatsonit should do it automatically12:11
cjwatsonat least in cases where the same package name would have been used12:11
cjwatsonis it a case of using the same package name but from the archive instead, or a case of trying to add an extra package?12:12
apwi am replacing all of the kernel udebs, it is building a Packages file12:13
apwwhich seems to list 'em just fine12:13
apwPackage: kernel-image-3.10.0-2-generic-di12:14
apwVersion: 3.10.0-2.10lp1195710v20130710113812:14
apwand at versions above the archive12:14
cjwatsonand does build/config/amd64.cfg have the right version?12:18
cjwatson(have to go out now)12:18
apwcjwatson, i'll check and hastle infinity :)12:19
Riddellcjwatson: could you verify this fix is done right? http://bazaar.launchpad.net/~ubuntu-core-dev/grub-installer/ubuntu/revision/123512:36
apwcjwatson, looking at the build logs it seems to be installing mine _and_ the ones from the archive, the latter last13:10
=== zoktar_ is now known as zoktar
=== Riddelll is now known as Riddell
cjwatsonRiddell: Er, functions and variables are in different namespaces and don't need to avoid sharing names13:56
cjwatsonAFAIK13:56
cjwatsonhttp://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_05  "The implementation shall maintain separate name spaces for functions and variables"13:57
cjwatsonRiddell: So nack without a better explanation of what's going on ...13:57
=== balloons_ is now known as balloons
=== zoktar_ is now known as zoktar
=== psivaa-afk is now known as psivaa
=== shadeslayer_ is now known as shadeslayer
=== shadeslayer is now known as Guest33135
=== Guest33135 is now known as shadeslayer
=== mattcen_ is now known as mattcen
=== ashams is now known as Guest64962
=== stgraber_ is now known as stgraber
=== kentb is now known as kentb-out

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