/srv/irclogs.ubuntu.com/2009/10/15/#ubuntu-installer.txt

CIA-33ubiquity: cjwatson * r3525 ubiquity/debian/changelog: releasing version 2.0.000:07
=== robbiew is now known as robbiew-afk
NCommanderhey cjwatson I'm working with partman-uboot, and it doesn't seem to let me specify the mountpoint of that partition in ubiquity (the box is greyed out). Any ideas?02:06
NCommanders/greyed out/greyed out showing /boot in it/g02:06
cjwatsonNCommander: perhaps you need to add cases for partman-uboot/mountpoint wherever you see cases for partman-basicfilesystems/fat_mountpoint07:15
cjwatsonNCommander: also note some unfortunate hardcoding of known filesystem types in the frontends07:16
cjwatsonsearch for fat16 or something07:16
NCommandercjwatson, well, its doing the right thing07:18
NCommandercjwatson, it always makes the mountpoint /boot so ...07:18
NCommanderI'm kinda inclined to leave it07:18
NCommandercjwatson, who can give me an exception to the translation string freeze. I'd like to improve the message in partman-uboot when it doesn't like the partition layout; obviously not critical, but it would be nice07:20
cjwatsoneh, it's not like anyone had translated that07:20
cjwatson"kinda inclined to leave it" - I'm only really prepared to merge a patch for this if it actually handles the partman interaction properly :)07:20
cjwatsonwhich I think does mean accounting for the different questions it asks07:21
NCommandercjwatson, come again?07:25
NCommandercjwatson, the messages about this layout not working shows up just file. Its just not clear on what the correct layout it07:26
NCommandercjwatson, anyway, just adding the package to the packaging lists did the trick. No special mucking around needed07:28
NCommandercjwatson, I'll cook up branches for you with the template change, the partman-auto change to go from ext2 -> uboot, and for ubiquity07:59
cjwatsonNCommander: handling for partman-uboot/mountpoint needs to be added or else ubiquity won't offer the correct set of choices for it08:21
cjwatsonat least not in all cases08:21
cjwatsonI'm not just imposing random capricious requirements for no reason :)08:22
NCommandercjwatson, added where?08:28
* NCommander misread what you said earlier08:29
NCommandersorry, my brain is in neutral at the moment08:29
cjwatsonbest to search for anywhere in ubiquity that mentions partman-basicfilesystems/fat_mountpoint or fat1608:34
cjwatsonthose are handy markers for places you probably also need to handle uboot08:34
NCommandercjwatson, woo, fun :-/. *sigh*08:35
NCommandercjwatson, and we enter final freeze today08:36
evandcjwatson: you're a star.  Thanks for your help, the new Webkit appears to fix the bug: https://bugs.edge.launchpad.net/ubuntu/+source/ubiquity/+bug/445756/comments/5 https://bugs.edge.launchpad.net/ubuntu/+source/ubiquity/+bug/440922/comments/708:58
ubottuLaunchpad bug 445756 in ubiquity "installer exits abruptly when starting actual installation" [Undecided,Incomplete]08:58
cjwatsonevand: yay, sometimes hunches pay off09:19
xivulon1cjwatson, evand sent the strace logs via email09:41
xivulon1with strace on the jams happens somewhat earlier, not sure if I did anything wrong09:41
CIA-33ubiquity-slideshow-ubuntu: evand * r170 ubiquity-slideshow-ubuntu/debian/ (changelog copyright): Updated Ubuntu and Ubuntu One logo license (LP: #451263).11:15
CIA-33ubiquity-slideshow-ubuntu: evand * r171 ubiquity-slideshow-ubuntu/ (565 files in 13 dirs): Updated translations from Launchpad (source package).11:49
evandgah, I sure hope ubuntu-release arms themselves with filterdiff.11:49
cjwatsonxivulon: hmm, that's odd, this log seems to suggest that it gets successfully to the point where you've confirmed partitioning, but then simply does nothing else - does that match your observations?11:54
cjwatsonI'm wondering if we should stop sreadahead while starting ubiquity, to eliminate a source of random weirdness ...11:56
davmor2cjwatson: If it's alright to do so feel free to respin for tests ;)11:58
cjwatsonwell, it would be possible to test this without a respin11:59
cjwatsonboot with break=casper-bottom, rm /root/etc/init/sreadahead.conf11:59
davmor2cjwatson: I'll have a go at that after then12:02
CIA-33usb-creator: evand * r235 trunk/debian/changelog: releasing version 0.2.1112:04
CIA-33ubiquity-slideshow-ubuntu: evand * r172 ubiquity-slideshow-ubuntu/debian/changelog: releasing version 912:04
xivuloncjwatson, the behaviour is slightly different if I have strace on, without I get to see the slides12:08
xivulonalso as mentioned, I had this msg about sreadahead beign killed12:09
xivulonevand, by the way, small commit to enable ext4 by default12:09
evandxivulon: indeed, I saw that yesterday, just forgot to process it12:10
evandon it now12:10
cjwatsonxivulon: is that wise? do we know that ext4 behaves better?12:10
* evand stops :)12:10
xivulonwas hoping it would improve things, but since it didn't we can probably avoid the commit12:11
cjwatsonwe can try, I suppose12:11
cjwatsonwe just don't have a lot of iterations lefet12:11
xivulonwell not sure it didn't the partman jam is different from the filesystem hang (I assume)12:11
cjwatsonI suggest using $default_filesystem{ } rather than filesystem{ ext4 }12:12
cjwatsonthat way it can be controlled from the grub menu12:12
cjwatson(if necessary)12:12
cjwatsonxivulon: I'm not sure that assumption is warranted yet ...12:12
cjwatsonI've gone over the code in partman that's deadlocking very carefully, and can't see any intrinsic flaws in it assuming that other things are working correctly12:12
xivulonwill do more testing tonight, if you can think of anything I could do to help debugging send me an email12:14
xivulonevand please feel free to change wubi preseeding as suggested by colin12:15
=== mpt_ is now known as mpt
CIA-33wubi: evand * r158 trunk/ (debian/changelog src/wubi/backends/common/backend.py): Use $default_filesystem in place of ext4.12:38
evandxivulon: done, built with grub2 1.97~beta4-1ubuntu1 and uploaded12:54
CIA-33debian-installer: lool * r1196 ubuntu/ (5 files in 4 dirs): Drop dove-z0 armel flavour as we dropped the kernel flavour.13:06
loolcjwatson: Ok to upload? ^13:06
lool(I didn't test build it; I expect it's relatively safe)13:06
cjwatsonI'd like to check why powerpc is failing to build first13:08
loolOk13:08
cjwatsonoh my, genisoimage is segfaulting, that can't be goood13:09
cjwatsongood13:09
evandlool: *cough* https://edge.launchpad.net/~ubuntu-cowboy ;)13:11
tormodcjwatson, installing on dmraid now: looks great, except "GrubInstaller failed with code 10"13:19
tormodcjwatson, I filed bug 452118, but will leave it untouched for a while in case you'd like some investigation13:39
ubottuLaunchpad bug 452118 in ubiquity "install on dmraid: GrubInstaller failed with code 10" [Undecided,New] https://launchpad.net/bugs/45211813:39
evandhilarious.  On crash in only-ubiquity, ubiquity is running the noninteractive frontend, which happily plows through and installs to / on the liveCD, then gdm kicks in, and you're brought to a desktop with a full drive and half the contents missing.13:45
evandas far as I can tell, anyway13:45
* evand digs13:45
cjwatsontormod: hmm - don't suppose you can repeat the installation test, but running 'ubiquity -d' from a terminal to start the installer? (I'd recommend rebooting first)13:49
tormodcjwatson, I can repeat the whole thing if needed.13:50
cjwatsonwith -d, we should get a useful debconf trace in /var/log/installer/debug13:51
tormodthe whole install is rather quick now that partman has less to scan through13:51
tormodwhy is rebooting preferred? debconf cruft?13:51
cjwatsonerror code 10 means "bad parameters" to some debconf command, usually "question doesn't exist", but I don't know which question13:52
cjwatsones13:52
cjwatsonyes13:52
loolevand: Sounds cool; I applied even if I dont know quite why  :)13:55
tormodokdok, brb13:55
evand:)13:55
loolevand: Gosh you're not in https://launchpad.net/~we-love-pitti13:57
* evand joins13:57
tormodcjwatson, ok uploaded the debug log14:14
Nivexcjwatson: confirmed 441690 is fixed.  Thanks!14:27
cjwatsonexcellent14:27
evandcjwatson: just saw your changelog entry for 2.0.0.  Wonderfully put.  Thank you for all of your hard work in making that happen.14:35
CIA-33ubiquity: evand * r3526 ubiquity/debian/ (changelog ubiquity.ubiquity.upstart):14:37
CIA-33ubiquity: Check to see whether X crashed or ubiquity crashed before attempting14:37
CIA-33ubiquity: to bail into the noninteractive frontend from only-ubiquity mode14:37
CIA-33ubiquity: (LP: #444901).14:37
cjwatsonevand: I figured we'd better not forget to bump the version, and it seemed like a good opportunity for nostalgia. :-)14:38
evand:)14:38
tormodcjwatson, I have only 1+ h left on this machine today, so please tell if I can test something14:42
cjwatsonsorry, I was waiting for my browser to reboot ...14:50
cjwatsontormod: thanks, I have all I need now14:57
=== robbiew-afk is now known as robbiew
tormodcjwatson, great, should I try running grub-installer by hand?14:58
tormodor I can test again tomorrow (I keep Jaunty on this machine, so I can retest Karmic installations for some time)14:58
tormodbtw, has the broken "Examples" link icon been reported?14:59
cjwatsontormod: I'll have it fixed by tomorrow; just trying to figure out the best fix at the moment15:06
cjwatsonrunning grub-installer by hand is unlikely to be very useful ...15:06
tormodjust to get things booting, should I use install-grub then?15:07
tormoderr grub-install15:08
CIA-33grub-installer: cjwatson * r819 ubuntu/ (debian/changelog grub-installer): Always use GRUB Legacy when /boot is on a multipath device.15:10
cjwatsonthe installation will probably be broken if you do that15:10
cjwatsonubiquity hadn't finished yet15:10
cjwatsonlet me see if I can get you a patch15:10
CIA-33grub-installer: cjwatson * r820 ubuntu/ (debian/changelog grub-installer):15:14
CIA-33grub-installer: If /boot is on SATA RAID or multipath, don't ask a question to which15:14
CIA-33grub-installer: there's only one acceptable answer and the other causes grub-installer15:14
CIA-33grub-installer: to fall over (LP: #452118).15:14
cjwatsontormod: apply http://bazaar.launchpad.net/~ubuntu-core-dev/grub-installer/ubuntu/revision/820 to /usr/share/grub-installer/grub-installer before starting installation15:15
CIA-33grub-installer: cjwatson * r821 ubuntu/debian/changelog: releasing version 1.43ubuntu615:16
evand*sigh* bug 15617715:16
ubottuLaunchpad bug 156177 in ubiquity "offer to create a separate /home partition" [Undecided,New] https://launchpad.net/bugs/15617715:16
tormodcjwatson, ok I thought boot loader was the very last thing to do before umounting target15:18
tormodthanks will try patch15:18
cjwatsonit isn't - installing/removing extra packages comes after that, as well as copying log files over15:18
tormodcan I try it without rebooting?15:18
cjwatsonprobably15:19
tormodnice15:19
cjwatsonyou'll have to run the install itself from scratch though15:19
cjwatsonhmm, this d-i powerpc build failure is awkward15:20
cjwatsonit appears to be a near-the-fencepost condition in genisoimage15:20
cjwatsonI think if you're something like within five sectors of some boundary, it falls over15:21
cjwatsonbut I have no hardware to test a fix on15:21
cjwatsonworkaround: random padding file (ugh!)15:26
tormodcjwatson, "Unable to configure GRUB" Executing 'update-grub' failed. This is a fatal error15:34
tormoddevkit-disks-daemon also died, no idea if it's related15:35
cjwatsontormod: try reproducing after a reboot again?15:39
cjwatsonI don't know what might be wrong just from that error message alone15:39
cjwatsonactually, get me the log before you reboot?15:39
tormodI will upload the log to the bug15:39
tormoddone15:39
tormodthis made a good menu.lst: sudo chroot /target update-grub15:42
tormod(that is, ignoring my other OS'es though, same with Migration-assistant)15:43
cjwatsonurgh15:47
cjwatsondear me, that'll require some thought15:47
tormodI have a /target/var/lib/dpkg/info/grub.templates now though15:47
cjwatsonI think we need a special implementation of X_LOADTEMPLATEFILE in debconffilter to account for the chroot15:47
tormodcjwatson, ok I gonna reboot for smoketest now15:54
CIA-33ubiquity: cjwatson * r3527 ubiquity/ (debian/changelog ubiquity/debconffilter.py):15:56
CIA-33ubiquity: Rewrite X_LOADTEMPLATEFILE commands in case they refer to template files15:56
CIA-33ubiquity: in the /target chroot (LP: #452118).15:56
tormodcjwatson: failed to boot because dmraid was not installed. what you said about remove/add packages _after_ grub installation :)16:03
tormodalso it got the root wrong in menu.lst, hd0,0 instead of hd0,216:04
cjwatsonright, that's also due to your hacking16:12
cjwatsongrub-installer fixes that up16:12
cjwatsonwe'll do it properly when we get dmraid implemented in grub2 :)16:12
tormodfunny enough dmraid was installed according to apt-get, but e.g./sbin/dmraid was not there16:13
tormodI did a --reinstall in chroot, will try booting again16:14
davmor2cjwatson: tried your sreadahead line on kubuntu = fail.  Installer stopped at 100% Computing the new partitions16:18
cjwatsonok16:19
CIA-33debian-installer: cjwatson * r1197 ubuntu/ (5 files in 3 dirs):16:20
CIA-33debian-installer: Horrible workaround for LP #452212: add a 512*50-byte padding file to16:20
CIA-33debian-installer: the powerpc64_netboot mini.iso image tree, to avoid a genisoimage16:20
CIA-33debian-installer: segfault at certain tree sizes.16:20
ubottuLaunchpad bug 452212 in cdrkit "genisoimage: HFS generation crashes on certain tree sizes" [Undecided,New] https://launchpad.net/bugs/45221216:20
cjwatsonevand: have you got anywhere with that partman-target excessive-deletion bug?16:26
evandcjwatson: not yet, I'll try to sort out the blacklist generated from Contents tomorrow.  I'll make the whitelist for /usr/local, etc now.16:31
=== robbiew is now known as robbiew-afk
davmor2evand: so will that wubi change make it onto the iso tomorrow?16:42
evandyarp16:42
davmor2Okay cool I'll try it again with that in place :)16:42
tormodsports were canceled so I got to exercise dmraid and ubiquity some more...17:11
tormodcjwatson, I rebooted the live CD again, applied both the ubiquity 3527 and the grub-installer 820 and ... it just worked \o/17:13
cjwatsonperfect17:13
tormodyou rox17:13
cjwatson(phew)17:13
tormodthe only trouble (serious enough) is that the raw devices are not hidden (they are in the live session)17:14
tormodbut that must be a dmraid/udev issue and not the installer's fault17:14
CIA-33debian-installer: cjwatson * r1198 ubuntu/ (38 files in 2 dirs): Update help text translations from Launchpad.17:25
tormodthe "devices not hidden" thing is intermittent, good old bug 362768 I guess17:30
ubottuLaunchpad bug 362768 in dmraid "race condition leaves raid raw devices exposed" [Undecided,New] https://launchpad.net/bugs/36276817:30
CIA-33debian-installer: cjwatson * r1199 ubuntu/debian/changelog: releasing version 20081029ubuntu6917:31
=== dpm is now known as dpm-afk
LaserJockcjwatson: I've got a d-i related question for Edubuntu18:04
LaserJockcjwatson: the Edubuntu DVD doesn't have the LTSP option in the F4 boot menu18:04
LaserJockbut it seems that LTSP is always installed when using d-i18:04
LaserJockogra suggested we needed to have the ltsp.preseed18:04
LaserJockthat is the ltsp.preseed from the ubuntu preseeds folder18:06
=== robbiew-afk is now known as robbiew
cjwatsonLaserJock: that at least used to be included in the default installation option for Edubuntu19:49
cjwatsonLaserJock: which certainly still includes most of the LTSP preseeding; the only thing it doesn't do is add ltsp-server-standalone and openssh-server to pkgsel/include19:49
LaserJockcjwatson: so right now it seems that LTSP gets installed no matter what task you pick19:51
LaserJockbut there's no option either in the main boot selections or the F4 menu for it19:52
LaserJockso do the .preseed files determine that?19:52
LaserJockI'm sort of confused as to what the boot UI hooks up to19:53
cjwatsonI believe it depends on what *boot menu option* you pick, not what task19:56
cjwatsonthis is almost certainly carried over from pre-DVD days; I need you guys to maintain it by sending meus patches, really :)19:56
cjwatsons/meus/us/19:56
LaserJockcjwatson: right, I'm just trying to figure out what stuff to muck around with19:57
LaserJockI found the .preseed files, but I'm not sure where the actual menu items come from19:58
cjwatsonmenu items are written out by the files in tools/boot/karmic/, in code19:58
cjwatsonthey generally include preseed/file=<something> which links up to the .seed files19:59
cjwatsonthe menu items are translated in the gfxboot-theme-ubuntu package19:59
LaserJockok, that helps19:59
LaserJockcjwatson: do you know offhand what happens when the boot parameter line declares a preseed, but the preseed is not on the .iso?21:20
cjwatsonyou get an error screen in d-i, and otherwise it's as if you didn't preseed anything21:23
LaserJockok21:24
LaserJocklooks like that's happening on the Edubuntu DVD currently21:25
LaserJockwait, not it's not21:25
LaserJocknvm, looking at the wrong file listing21:25
LaserJockcjwatson: well, I figured out the problem with LTSP not showing up21:41
LaserJockcjwatson: does a merge request work OK?21:41
cjwatsonshould do21:42
bdmurraycjwatson: is bug 451872 in the right place?22:03
ubottuLaunchpad bug 451872 in linux "e100_request_firmware fails with Karmic alternate cd (20091014.2)." [Medium,Triaged] https://launchpad.net/bugs/45187222:03
cjwatsonbdmurray: same cause as bug 38103722:08
ubottuLaunchpad bug 381037 in udev "[karmic]Firmware for qla12160 failed to load in initrd" [High,Triaged] https://launchpad.net/bugs/38103722:08
bdmurraycjwatson: okay, that's why I asked!22:09
cjwatsonI checked, all the bits for e100 are in the initramfs already, so it's just a matter of adding the firmware loader22:09
LaserJockcjwatson: merge request sent, thanks for pointing the right direction.22:12
bdmurrayand bug 445522 is probably the same22:13
ubottuLaunchpad bug 445522 in linux "netboot image fails to start network in Karmic" [Undecided,New] https://launchpad.net/bugs/44552222:13
cjwatsonbefore duping, check whether the relevant module is actually in the initramfs22:13
cjwatsonzcat /boot/initrd.img-whatever | cpio -it | grep modulename22:14
cjwatsonactually, 445522 is clearly different22:14
cjwatsonoh, wait, LACK OF SLEEP22:14
cjwatson451872 is talking about the *installer*, not the installed-system initrd!22:15
cjwatsonso that's a separate bug - similar cause, and belongs on udev, but it needs to be fixed independently22:15
cjwatson445522 is the same as 45187222:15
bdmurrayokay, I hadn't thought there dups of the udev one but similar22:16
bdmurrayso I'll move them to udev and dup one to the other22:16
cjwatsondouble-wait22:16
cjwatsonargh, I am so crap today22:16
cjwatsonthird try: they're still dups, but they belong on linux22:18
cjwatsonon further investigation, udev-udeb *is* shipping the firmware loader as it should22:18
cjwatsonthe problem is that nothing is delivering those firmware blobs to the installer22:18
cjwatsonnot a general problem, as *some* of the e100 firmware is delivered22:19
cjwatsonbdmurray: can you please make sure it's tagged as a regression and the kernel team is informed? I'll get a patch to them22:20
cjwatsonbecause this can't feasibly be fixed post-release, and so we'll need to run it through post-hasste22:20
bdmurraycjwatson: yes, no problem22:21
cjwatsonI think qlogic may have a similar issue22:25
cjwatsonthough I can't find a report of that22:26
bdmurraybug 328550 is regarding qlogic and firmware loading22:29
ubottuLaunchpad bug 328550 in udev "qla2xxx takes ~one minute to initialize per device" [Medium,Won't fix] https://launchpad.net/bugs/32855022:29
cjwatsonsounds unrelated22:33
cjwatsonthat's post-install rather than in d-i22:33
cjwatsonkernel-team@ has a pair of patches now22:37

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