/srv/irclogs.ubuntu.com/2008/09/11/#ubuntu-installer.txt

=== superm1|away is now known as superm1
evandmpt: Still working on it, but how is this so far? (http://evalicious.com/tmp/usb-creator.png)09:29
evandthe slider will definitely get a human readable value on the right09:29
mptevand, wow, nice work09:31
mptThe listboxes should have a border09:31
mpt"Other…" probably should be on the left rather than the right (if only to reduce the odd gap above the "USB disk to use:" label)09:32
evandnoted.  Yeah, the gap is a bug in gtk, unfortunately.09:33
evandhttp://bugzilla.gnome.org/show_bug.cgi?id=10196809:33
mptah, yes, that famous bug09:34
mptbut no, I meant above the "USB disk to use:" label, not above the source listbox09:34
evandah, whoops09:34
mpt"Other…" should have 12px inside horizontal padding (i.e. between the left/right of the label and the left/right edge of the button)09:36
mpt(and Glade should do that by default, dagnammit)09:36
evandheh09:38
mptIdeally "How" should be aligned exactly with "Stored", but that's currently practically impossible in GTK <http://bugzilla.gnome.org/show_bug.cgi?id=454248>09:41
evandyeah, I tried to do that as best I could09:41
mptbut "How" should at least not be to the *left* of "Stored" in Ubuntu's default theme09:41
evandbut packing it into the option button posed two problems09:42
evandone, it doesn't fully fill the remaining space to the right (which I ran into with another spec in the previous cycle)09:42
evandand two, the button then becomes centered on the combined label ("Stored in reserved") and slider09:42
xivuloncjwatson, evand, please have a look at 26812309:43
mptyeah, ugly09:43
xivulonit's a blocker for wubi and cking is out of ideas09:43
mptevand, System > Preferences > Appearance > Visual Effects has the same problem09:43
mptevand, looks like "Make Startup Disk" has more margin to its right than the rest of the window does09:45
evandhrm, well spotted09:46
mptAnd finally, "Size" and "Free Space" should be the same width (though I guess that's probably also really difficult)09:46
evandI can always give it a shot and make a note of it if I don't find a solution for that in time09:47
evandthanks for the pointers.  I'm going to take a short nap then get back to finishing these hopefully before the UI freeze cut off time, whenever that may be.09:48
evanddo let me know if anything else comes to mind09:48
evandeither here or in email09:48
evandxivulon: no idea without digging deeply into it, and I unfortunately don't have the time for that right now with the impending freeze09:49
mptevand, what happens when either of those lists has more than one item?09:49
persiaevand: I'm preseeding ubiquity, and am encountering a loop when partitioning.  Would you have time to review/troubleshoot a preseed file?  http://paste.ubuntu.com/45684/09:49
mptevand, does the window resize, or does the list get a teeny tiny scrollbar?09:50
cjwatsonxivulon: OK, I think I've got it09:50
xivuloncjwatson you are a *09:50
evandmpt: I was going to pack a scrollbar around them.  Thoughts?09:50
mptI don't understand this GTK idea of a scrollbar being an independent entity09:51
mptmakes my brain hurt09:51
evandpersia: select_disk looks wrong, but don't quote me on that.  Unfortunately I quite need to get to bed.09:51
mptbut yes, they should have vertical scrollbars :-)09:51
evandheh09:52
evandpersia: if cjwatson doesn't reply before I come back I'll take a closer look then09:52
persiaevand: OK.  Thanks.  select_disk came from debconf-get-selections on the livecd, but that doesn't make it right :)09:52
cjwatsonyou should never preseed partman-auto/select_disk09:52
cjwatsonstart out with the installation guide rather than with debconf-get-selections09:52
persiaOK.09:53
cjwatsond-i partman-auto/init_automatically_partition select some_device09:53
cjwatsond-i partman-auto/disk string /dev/sdb09:53
cjwatsond-i partman-auto/method string regular09:54
cjwatsond-i partman-auto/choose_recipe select atomic09:54
cjwatsonand in general everything else should have d-i in the first field rather than console-setup or ubiquity (subtle debconf ownership stuff)09:54
persiaOops :)09:55
cjwatsonone of these days I'll write some kind of Pure Magic heuristic tool that figures out the preseed file you actually wanted to write09:56
evandoh, mpt before I depart.  Is disabling rows (which I need to figure out how exactly to do in a treeview) where the CD will never fit and adding a warning icon to rows where it might sufficiently self-explanitory, or should I add (dare I suggest) a tooltip or some other aid?09:56
persiacjwatson: Thank you.09:57
cjwatsonxivulon: uploaded; *should* work ...09:57
evandcjwatson: kickstart ;)09:57
cjwatsonheh09:58
cjwatsondoesnae work with ubiquity though09:58
xivuloncjwatson thanks, cannot test now though, davmor2 can you please regenerate the initrd and see if it works?09:58
mptevand, ah, I didn't make a complete suggestion for that, did I09:58
cjwatsondavmor2: err, wait a couple of hours for the new busybox-initramfs to arrive09:59
mpthmm09:59
mptevand, I think a line of text underneath the USB disk list, describing the situation for the selected disk:10:01
mpt"<disk name> has enough free space for <OS version>."10:02
mpt"<disk name> contains too many files to fit <OS version> alongside."10:02
mpt"<disk name> is too small for <OS version>."10:02
mptActually, better for the second case:10:05
mpt"<disk name> is too full to fit <OS version> (N MB more needed).     ( Open )"10:06
davmor2Hi guys not going to be around much today I can probably test it tonight or tomorrow at some point10:06
mpt(where "Open" opens the disk in Nautilus)10:06
xivulon#ubuntu-testing10:07
cjwatsonmpt: on bug 254652, would "Installation Failed (Faulty CD)" work?10:07
cjwatsonmpt: I'd like to put the "damnit it wasn't the installer's fault" up top, if possible10:08
mptcjwatson, as long as the reason is prominent in the window, I don't think it needs to be wedged into the title too10:09
cjwatsonhm, ok, I was just concerned that people wouldn't bother reading the more verbose text10:09
cjwatsonbut if you're sure, ok10:10
mptIn alerts I think people are more likely to read the primary text than the window title10:10
mpt(to the point where most alerts shouldn't bother with titles, unless they have no parent window)10:10
cjwatsonI'll make the primary text a little more verbose as well; "This particular error is due to" -> "This is due to"10:11
cjwatsonlittle LESS verbose10:11
mptgreat10:12
CIA-46ubiquity: cjwatson * r2809 ubiquity/debian/ (81 files in 2 dirs):10:16
CIA-46ubiquity: Fix window title of bulk copy failure alerts, and remove a bit of10:16
CIA-46ubiquity: unnecessary verbosity from the primary text (LP: #254652).10:16
persiaI have a two-line patch for partman-partitioning/lib/disk-label.sh  Where's the best place to try to push it for review?10:58
cjwatsonbranch of lp:~ubuntu-core-dev/partman-partitioning/ubuntu, or attached to a bug if you can't be bothered :)11:01
persiaI don't mind branching.11:01
persiaI'm also getting a repeatable crash of partman, even with the now fixed preseed.  I'm not finding anything informative in /var/log/installer/debug, /var/log/partman or /var/log/syslog.  When running ubiquity under strace -f, I am unable to find the reported exit value of 10.11:12
persiaBranch with 2-line patch for review is lp:~persia/partman-partitioning/ubuntu11:13
cjwatsonpartman behaves oddly if partially preseeded. Are you using ubiquity --debug? (/var/log/installer/debug isn't much use without that.)11:21
cjwatsonthat partman-partitioning branch is fine; I'll merge it11:22
persiaI was using just "-d".  Does it need the entire word?11:22
cjwatson-d is fine too11:23
cjwatsoncan I see the debug file?11:23
persiaYeah, I was afraid my problem was with preseeding :(11:23
cjwatsonthough cf. bug 268593, there might be a more recently-introduced bug than the one I'm thinking of11:24
persiaTake me a bit to pull it out: it's on a KVM instance with no functional mouse :)11:24
cjwatsonscp to the host?11:24
persiaActually, bug 268593 looks exactly like what I'm finding.11:25
cjwatsonyou might try not preseeding partman-auto/init_automatically_partition11:26
cjwatsonit shouldn't be needed if you've preseeded partman-auto/disk and partman-auto/method11:26
cjwatson(I don't think ...)11:26
cjwatsonpartman-partitioning uploaded, though CIA is sulking and refuses to report it11:26
persiaI'll give that a shot when I've extracted the log.11:26
persiaThanks.  The next alternate CD might actually work (assuming it builds today)11:27
persia/var/log/installer/debug is http://paste.ubuntu.com/45721/11:31
CIA-46partman-partitioning: cjwatson * r683 ubuntu/debian/changelog: releasing version 59ubuntu511:31
CIA-46partman-partitioning: cjwatson * r682 ubuntu/ (debian/changelog lib/disk-label.sh): merge from lp:~persia/partman-partitioning/ubuntu11:31
persiahttp://paste.ubuntu.com/45723/ is the associated /var/log/partman11:32
cjwatsonoh, not quite the same thing11:33
cjwatsonbasically the problem is that ubiquity's state machine drove partman the wrong way and ended up backing up all the way out11:34
cjwatsondid you interact with partman at all, or was it entirely automatic?11:34
cjwatsonfrom the timestamps I'm guessing the latter unless you were super-quick11:34
persiaentirely automatic: X doesn't recognise the KVM keyboard or mouse on the image I'm using.11:34
persia(which makes it a little tricky to "Try Again")11:35
cjwatsonusually the process for debugging this kind of thing is to bring up two windows, one with partman and one with ubiquity's partman state machine, and do a tedious manual trace11:35
persiaOh well.  I was hoping for a silver bullet.11:37
persiaI'll dig through by hand then.  Running `sudo partman` generates some errors that udpkg isn't found, and one that apt-install isn't found, but formats the disk as requested and mounts it to both swap and /target11:38
cjwatsonoh, yeah, you can't realistically run partman from a shell11:40
cjwatsonI wouldn't bother with that, it'll be too different11:40
persiaI was just happy it worked : it confirmed for me that the patch you recently merged was sufficient.11:40
persiaBut yes, it doesn't really help debug ubiquity.11:41
cjwatsonHm. OK, the problem is that when ubiquity is in automatic mode it immediately responds to all debconf INPUT commands for questions that are marked as seen with 30 question skipped.11:47
cjwatsonThis is done at a very low level, and is across the board.11:47
cjwatsonHowever, ubiquity's partman state machine relies on being able to go back and forward a lot, which involves it being informed about INPUT commands for questions that are marked as seen.11:48
cjwatson--automatic defeats this right now and so everything breaks.11:49
persiaEssentially, partman doesn't work with --automatic then?11:49
cjwatsonRight. This might not be too hard to fix, though; all ubiquity should need to do is explicitly mark questions as unseen when it wants to be notified of them again.11:50
persiaWhat if I preseeded *every* internal value set during the desktop install?11:50
cjwatsonYou can't do that with partman11:51
persiaOh, that doesn't sound so bad.  Is that intrusive enough to warrant delay, or something that could be done sooner?11:51
persiaI was afraid of that.  Perhaps the best solution is to go fix X :)11:51
cjwatsonPreseeding only works with straight-through paths, and partman repeatedly asks the same questions with different parameters11:52
cjwatsonThat's why there's this completely separate partman-auto/{disk,method} approach for preseeding11:52
persiaOh, so partman-auto is intended to inform partman without blocking the queries?11:52
cjwatsonIsh11:53
cjwatsonIt bypasses all the interactive stuff11:53
cjwatsonBut ubiquity does its own scanning in order to be able to build a UI11:54
cjwatsonOf course, that isn't necessary if partman is preseeded, so we could also make ubiquity check for that ...11:54
cjwatsonI have to go and do some other things, but I'm happy to work on this. It's a generic bug, not lpia-specific or anything11:54
persiaOK.  No rush, as I only encounter it trying to work around something else :)11:55
persiaPlease let me know if I can help test, but I'll admit to only limited understanding of the ubiquity and d-i code.11:55
cjwatsonAll this ubiquity/partman state machine stuff is my fault anyway11:55
persiaWell, you're also the person to thank for heaps of it working as well :)11:58
cjwatsonHmm, of course part of the problem here is that questions are getting marked as seen even though they were purely internal and never shown to the user12:10
cjwatsonthat really can't be helping12:10
persiaOK.  With X hacked to work a bit better, I can now reliably reproduce something more akin to bug 268593, at least for /var/log/installer/debug and /var/log/partman12:39
saispocjwatson1: do you think it's possible to build an i386 and an amd64 cd with extra repository where packages are in the same directory ? must tweak apt-ftparchive no ?15:07
saispocjwatson1: you use dak or reprepro for building archives ?15:22
cjwatson1should be perfectly possible15:25
=== cjwatson1 is now known as cjwatson
cjwatsonUbuntu as a whole uses Soyuz; cdimage uses apt-ftparchive15:25
saispocjwatson: ok, thanks, will search how... :)15:30
=== superm1 is now known as superm1|away
=== superm1|away is now known as superm1
davmor2cjwatson: right I'm back home now is it possible to test wubi now?16:34
cjwatsonyou'd need a CD for an actual wubi test, but it ought to be possible to upgrade busybox-initramfs, run 'sudo update-initramfs -u', and see if it's possible to mount an ntfs partition from the initramfs16:35
cjwatsonI can't help you with the procedure right now though16:35
cjwatsonif you need a CD, that should happen tomorrow16:35
davmor2cjwatson: cool does that mean the landscape issue is resolved now?16:37
cjwatsonby means of removing landscape-client from ubuntu-desktop for the moment, yes16:43
davmor2cjwatson: Ah cool.  I'll leave for in the morning then I think as I believe it will dl the iso if the cd isn't available anway16:51
cjwatsonevand: you have a pile of new bugs from me; 269044, 269048, and 269050 should be low-hanging fruit17:44
cjwatson(at least)17:44
evandcjwatson: much appreciated.  Gave a quick look over and I'll implement/integrate fixes once I'm done working in mpt's suggestions.17:48
cjwatsonI'm just trying to get to the point where successful runs are actually possible17:48
evandweird, it's been working fine for me.17:48
evandbut that's probably to be expected17:48
cjwatsonI don't see how install.py could possibly work17:49
evandindeed, I'm quite surprised given your bug report, but I've seen it happen.17:50
cjwatsonyou aren't being fooled due to bug 269035?17:50
evandhrm, possibly.  Still, I've watched it fill the disk.17:51
cjwatsonoh, it fills the disk OK17:52
cjwatsonthe failures in install.py are after bulk copying17:52
evandahhh17:53
kirklandhey guys, what's the traditional way of getting important early boot messages to either a) be splash-printed, or b) kill splash so that the console shows?18:51
kirklandcf: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/26887318:51
kirklandjust a pointer to some other code would suffice.....18:52
cjwatsonusplash has a TEXT-URGENT message type; see usplash_write(8)18:54
kirklandcjwatson: thanks18:55
kirklandcjwatson: it's not immediately obvious to me as to how I might "usplash_read()", in that I have a question which asks, "Do you wish to start the degraded RAID?" which times out after 15 seconds19:13
kirklandcjwatson: if usplash is enabled, that's not shown, and the timeout happens19:13
kirklandcjwatson: i see how I could use usplash_write()... but not how I might grab that y/n input19:14
kirklandcjwatson: would it be reasonable for me to just kill usplash if running before displaying that text and prompting?19:14
cjwatsonthere's an INPUTTIMEOUT command19:17
cjwatsonscripts/casper-functions in casper has an example of how to use the INPUT* family19:18
cjwatsonplease don't kill usplash19:18
cjwatson        if [ -x /sbin/usplash_write ]; then19:19
cjwatson                /sbin/usplash_write "INPUTENTER $@"19:19
cjwatson                read nunya < /dev/.initramfs/usplash_outfifo19:19
cjwatson        fi19:19
cjwatsonthough with a different command and actually doing something with the input19:19
kirklandcjwatson: thanks!19:27
* evand thinks he's going to go blind staring at d-feet's supposedly pretty printed output.19:34
cjwatsonpersia: I'm fixing the lpia CD build failure; it's because the kernel team yet again forgot to tell me about an ABI bump.21:38
cjwatsonI have complained about this before21:38
superm1cjwatson, perhaps make it the the responsibility of whomever uploads an ABI bump to update platform.intrepid in the future?22:02
kirklandcjwatson: solved the usplash problem, with a pointer from kees...  there was a missing chvt(1) call in initramfs-tools when calling the failure hooks22:03
kirklandcjwatson: one-line patch attached to https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/268873 ...  kees may sponsor for me22:04
xivuloncjwatson, re 268123 partial progress:23:57
xivulonmount -t ntfs -> no such device23:57
xivulonmount.ntfs -> OK23:57

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