/srv/irclogs.ubuntu.com/2007/09/25/#ubuntu-installer.txt

cjwatsonevand: err, no it's not (waiting for approval)12:12
cjwatsonhttps://launchpad.net/ubuntu/+source/ubiquity12:12
evandas I'm getting kubuntu in the list, despite having the latest daily live in the drive12:13
cjwatsonevand: that was the Alpha vs. Beta thing12:13
cjwatson(AIUI)12:13
cjwatsontry wubi --debug12:13
evandcjwatson: odd on the waiting for approval, my mail server must just be horribly behind12:13
evandwill do12:13
cjwatsonmichael_e_brown: the preseed file is read by casper; you should be able to see evidence of that in /var/cache/debconf/config.dat before starting ubiquity12:14
cjwatson(if you omit automatic-ubiquity)12:14
xivulonare you using rev 301?12:14
michael_e_brownok, yay. It is going now. (fails on partman, but that is where I have commented everything out)12:14
cjwatsonmichael_e_brown: yes, you need preseed/file= not preseed=; the latter is not valid12:14
evandah, so my cd is probably before the switch to beta12:14
evandmy mistake12:14
michael_e_browncjwatson, since automatic-ubiquity is just being committed for this release, is it going to be stable enough for use in the Dell install?12:16
michael_e_brownAnd, since I just started looking at it, is there tiem enough to fix any bugs I might find?12:16
cjwatsonmichael_e_brown: it had better be, we're relying on it for other things12:18
cjwatsonmichael_e_brown: not for beta, but for final there ought to be12:18
cjwatsonstarting to use it now is the perfect way to get it stabilised12:18
michael_e_browncjwatson, thanks.12:19
xivuloncjwatson shall I disable wubi loopinstalltions for beta?12:19
michael_e_brownI'll probably be bugging you some more later, cjwatson. For now, I have it going to where I know it is looking at my stuff.12:19
michael_e_brownnow I just have to sort out partitioning.12:19
xivulonuse a recipe for that12:20
michael_e_brownSo, quick question:12:21
michael_e_brownOne of the requests we have for the next version is for people to be able to keep their /home partition data.12:21
cjwatsonxivulon: huh? no12:21
michael_e_brownBut it is optional. I'll need to ask them.12:22
cjwatsonmichael_e_brown: we may well look into restructuring partitioning / ubiquity for that for hardy but it's unlikely to change for gutsy at this point12:22
michael_e_brownAre the debian docs on partitioning relevant, or where should I look?12:22
michael_e_brownWhat I was thinking of doing: partition myself in the pre scriptlet, and then just tell ubiquity to use the preconfigured partitions12:23
cjwatsonhttps://help.ubuntu.com/7.04/installation-guide/i386/appendix-preseed.html12:23
cjwatsonas a general rule (though not universally) we aim to be compatible with d-i preseeding12:23
michael_e_brownah. I've been looking for something like that.12:23
cjwatsonof course there are areas where it doesn't make sense12:24
michael_e_brownhasnt come up in any of my google searches.12:24
cjwatsonI recommend strongly against doing partitioning yourself, unless you absolutely have to12:24
cjwatsonat most, delete partitions you don't want and then tell ubiquity to partition the free space12:24
michael_e_brownWell, since we are running from /dev/sda2, I'll see what I can come up with.12:25
michael_e_brownfree space might work.12:25
michael_e_brownBut I'm trying to work in this requirement that they've given me that people would like to (optionally) re-use /home.12:25
cjwatsonassuming, presumably, that it's a separate partition?12:25
michael_e_brownSo, I need to come up with a way to ask the user, and so switch around.12:25
michael_e_browncjwatson, not necessarily. With our current feisty install,12:26
michael_e_brownI was planning on just doing an 'rm' of everything except /home12:26
cjwatsonyou'd also have to disable sanity checks in the installer12:26
xivuloncjwatson talking about /home, that's also a wubi requirement at this point12:26
cjwatsonxivulon: not for gutsy it can't be12:26
xivulonI'll need to disable /home backups then12:26
cjwatsonmichael_e_brown: it's hard to do this with unmodified Ubuntu I'm afraid12:27
cjwatsonit's a bug we recognise, but is complicated to fix properly12:27
cjwatsonto what extent are your requirements modified by being possible within Ubuntu?12:27
michael_e_brownCan I simply tell the installer to use an existing partition for certain mountpoints?12:27
cjwatsonnot with the current automatic partitioning recipe format, no12:28
michael_e_brownbut if I dont care about automatic partitioning?12:28
michael_e_brownI saw in the docs that it is possible to specify partitioning12:28
cjwatsonthat's the only way to tell the installer to do anything with partitioning in a preseedable way12:28
michael_e_brownbut havent read them enough yet12:28
cjwatsonwithout writing code12:28
michael_e_brownI can write code12:28
michael_e_brownthats my job.12:28
michael_e_brown:)12:28
cjwatsonI know, but it starts deviating from Ubuntu at that point12:28
xivuloncjwatson, what I meant earlier is that if there is no code for skipping mounted partitions in mount.d hence loopinstallations should not work at the moment12:28
cjwatsonwe would greatly prefer Dell's changes to Ubuntu to be rolled into Ubuntu12:29
michael_e_brownyes.12:29
michael_e_brownAgreed.12:29
michael_e_brownbut, the debian preseed example file (http://www.debian.org/releases/etch/example-preseed.txt)12:29
michael_e_brownhas manual partitioning.12:29
cjwatsonxivulon: please leave it switched on. if it doesn't work we fix it.12:30
michael_e_brownIs that not applicable to ubunut?12:30
michael_e_brownlook under d-i partman-auto/expert_recipe string12:30
cjwatsonthat's automatic partitioning, not manual partitioning12:30
cjwatsonmanual partitioning is where you have user interaction at run-time12:30
xivuloncjwatson, that's the fix you sent me from your local branch12:30
cjwatsonit's manually-configured automatic partitioning, but it's still automatic :)12:31
michael_e_brownYes, that is what I want to do.12:31
cjwatsonand yes, expert recipes are supported in Ubuntu12:31
cjwatsonhowever there is no way to say in an expert recipe "use this partition that already exists"12:31
michael_e_brownCan I have a script in the preseed/early_command that pops up a GUI dialog12:31
cjwatsonthe syntax has not yet been established12:31
michael_e_brownah.12:31
michael_e_brownhmm.12:31
michael_e_brown:(12:31
cjwatsonpreseed/early_command is d-i only12:32
michael_e_brownouch.12:32
michael_e_brownok. So I have one more question, then. not partitioning related.12:32
michael_e_brownI have to have a way to put up a BIG FAT WARNING (TM) that the user has to acknowledge before it continues.12:32
michael_e_brownRight now, the way it works is that there is a GRUB menu entry for reinstalling the system12:33
xivuloncjwatson is there something equivalent to early_command hooks in the live CD?12:33
michael_e_brownand they choose that, and there is a script that displays the BFW and asks them to type "REINSTALL SYSTEM" or some such12:33
cjwatsonthere's no preseeding facility to do that, but you could modify any number of different places to do that - the boot loader, casper (via usplash and TEXT-URGENT and the like), ubiquity12:33
cjwatsonxivulon: not at present12:34
michael_e_brownI need something equivalent for us12:34
michael_e_brownok. Well, I'll dive into that tomorrow, then.12:34
superm1_cjwatson, TheMuso had said to double check with you with what needs to be done beyond adding a task to mythbuntu.gutsy seeds branch, to make it an available task (eg so it shows up in synaptic as an option etc).  What more needs to be done?12:34
cjwatsonI'd be inclined to modify the ubiquity welcome screen12:34
xivuloncjwatson, then I have some useless code in lupin, shouldn't do much harm anyway12:34
michael_e_brownThanks for all the help, guys. I am certainly *MUCH* more happy now than three hours ago.12:34
cjwatsonmichael_e_brown: there's an intro.txt file that is displayed on ubiquity's first screen12:34
cjwatson/usr/share/ubiquity/intro.txt12:34
cjwatsonI'd modify that and put your BFW there12:34
cjwatsonthough the automation facility might need to be changed to ensure that that is displayed12:35
michael_e_brownOk.12:35
cjwatsonevand's your man for figuring that out12:35
michael_e_browntime for me to go for today. I'll get partitioning sorted out, and then come back after I have more stuff working.12:35
michael_e_brownbut... my aim here is to be able to burn /dev/sda2 onto a CD and drop on the desktop as the last step in the install process. :)12:36
michael_e_brownso, we boot in the factory with one set of kernel parameters which do a fully automatic install12:37
cjwatsonxivulon: it's valid for d-i, but overkill - I've fixed it to use anna/choose_modules12:37
michael_e_brownand the user can either A) boot off their CD copy for a fully automatic install (except for BFW, of course)12:37
michael_e_brownor B) they can use the Live CD12:37
michael_e_brownanyways, thanks for the help. I'll talk later.12:38
=== michael_e_brown [n=michael_@adsl-67-65-14-121.dsl.austtx.swbell.net] has left #ubuntu-installer ["Leaving"]
cjwatsonright, I do think ubiquity is a sane option for recovery CDs12:38
cjwatsonargh12:38
xivuloncjwatson, I was thinking (post beta) to support a live hook like "find_override_script" and "find_override_folder" the fist finds and run a shell scripts after squashfs is ready, the second makes the special folder specified available (so that the script can use the files in there).12:39
cjwatsonI'd like to have a chance to influence the naming of such options. I accepted find_preseed and find_iso because you'd already done them, but they're not really in the standard style12:40
cjwatson"folder" is a very non-Unix term too :)12:41
xivulonstat rosa pristina... you know that one already...12:42
cjwatsonthey're directories in Unix, though if I understand you correctly you're talking more about mountpoints12:42
cjwatson(they used to be directories in Windows too until Microsoft decided for some reason that that was a scary term)12:42
cjwatsonsuperm1_: I need to roll it into tasksel post-beta12:43
superm1_cjwatson, okay i assumed it was something like that.12:43
superm1_cjwatson, i'll add the task early next week and we can discuss after beta then12:43
cjwatsonsuperm1_: depending on how the seed is written (I haven't looked yet), it may need small syntactic changes there)12:44
cjwatsons/)$//12:44
xivulonfind_override_files12:49
xivulonparted_server doesn't want to die12:50
cjwatsonit only dies if partman is shut down properly12:51
cjwatsonif not, kill it and rm -rf /var/lib/partman /var/run/parted_server.pid so that it's reinitialised properly on the next run12:51
cjwatsonand remember to losetup -d any loop-mounted devices and umount /host12:51
xivulonhmm partman is ignoring kill -9 (not to mention 15)12:52
xivulonand as mentioned tabcompletion freezes the shell12:56
cjwatsonlook in dmesg for unionfs bugs12:56
cjwatsonlooks like your kernel has fallen over12:56
xivulonthere are plenty of unionfs stuff in there12:56
xivulonnot sure whether they turned up debugging messages or if those are errors12:57
xivulonbut thing seem quite hosed, so I'd go for the second one12:57
cjwatsondmesg | grep BUG12:58
cjwatsonif that matches then you're hosed, reboot12:58
xivulonnothing12:58
cjwatsondmesg | grep -i oops12:58
xivulonnope12:58
cjwatsondunno then12:58
cjwatsonshell hanging on tab-completion sounds like it's bust anyway12:59
xivulonI am sooo lucky12:59
cjwatsonso even if it's unlogged I'd give it up12:59
xivuloncjwatson going to reboot and try again, what's the plan with autopartition-loop, I don't think it's of much use without the patch we discussed last time01:00
cjwatsonit works fine in the mode I care about :)01:01
cjwatson(IME)01:01
cjwatsonhttp://www.fsl.cs.sunysb.edu/pipermail/unionfs/2007-September/005490.html01:02
xivulonhmm jwatson, I don't preseed loop files in Use-CD mode or Read-Only mode01:05
xivuloncjwatson01:05
xivulonshall I change that?01:06
xivulonalso there is no "automatic-ubiquity" in either mode01:07
xivulonthat's great news!01:07
cjwatson./wubi/installer/make_menu_lst.nsh:11:        strcpy $automatic "automatic-ubiquity"01:08
cjwatsonoh, that's if not read-only01:08
cjwatsonautomatic-ubiquity should be used in use-cd mode but not in read-only mode01:09
cjwatsonread-only is just "boot into CD without having to reconfigure BIOS", right?01:09
cjwatsonthe name is confusing01:09
xivulonby "use cd" I mean boot using the cd01:10
xivulonby "read only" I mean boot from hd "installation" (but in read only mode).01:10
cjwatsonerr01:10
xivulonI guess what you want is "install from CD"01:11
cjwatsonI'm sorry, but I find these names incomprehensible01:11
cjwatsonperhaps we can find better names for them :)01:11
xivulonopen to suggestions01:11
cjwatsoneven after you've explained them I'm not confident I know what they do01:11
xivulonbasically though the options are:01:11
xivulon1. Install using preseeding using physical CD01:11
xivulon2. Boot physical CD without running Ubiquity (no preseeding also)01:12
cjwatson2 is "read-only mode"?01:12
xivulon3. Do a frugal installation (copy the CD to HD) and boot that01:12
xivulon(3 is read only mode)01:12
cjwatsonwhich one is "use cd"?01:12
xivulon2. is "use cd"01:13
xivulon1. is missing01:13
cjwatsonok01:13
xivulonall others "4GB+" are loopinstallations using HD01:13
cjwatson1 and 3 should have automatic-ubiquity set01:13
cjwatson2 should not, and it shouldn't have the preseeding arguments either01:14
xivulonHmm 3 is not so much for installing, but for actually using when you only have 1GB01:14
cjwatsonah01:14
xivulonIf you set automatic ubiquity in 3. it becomes the same as 4GB+01:14
cjwatsonok, then I guess only 1 should have automatic-ubiquity set01:14
xivulon1. is not there yet, also because with current interface you cannot choose the loopinstallation size, and the installation type01:16
cjwatson1 needs to be the default we present on Ubuntu CDs01:16
xivulonBut does the user have to select the installation size?01:18
cjwatsonI'm fine with the thing that defaults to some proportion of the available free space01:18
xivulonBasically the difference would be that if you now use "4GB" I extract the ISO to HD, and use find_preseed. And you do not want that01:21
xivulonwhen a CD is detected01:21
cjwatsonfind_preseed is fine, find_iso isn't01:21
xivulonI meant find_iso01:21
cjwatsonparticularly since extracting the ISO to the hard disk doesn't work at the moment when the CD's locked :)01:21
xivulontrue01:22
xivulonshall we keep "read only" mode if a CD is detected?01:22
xivulonThere is little point IMO01:22
cjwatson2 seems more useful than 3, and again has the advantage of working while the CD is locked01:23
xivulonDoes ejecting the physical CD work by the way?01:23
cjwatsonI haven't noticed it working01:23
cjwatsonbut I haven't tested today01:23
xivulonI didn't touched so if  it didn't work yesterday it wouldn't work today either, will need to burn a CD to play with01:24
xivulonOk I am going to submit the required changes01:24
xivulonhave to log off01:25
cjwatsonthanks01:25
xivulonnp01:25
xivulonI'll do a build tonight, I'll wait for your feedback01:25
xivulonnot sure I'll be able to look at eject01:25
=== xivulon [n=ubuntu@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
cjwatsonevand: do you have a system known to exhibit unionfs problems?01:45
evandcjwatson: yes01:46
evandneed logs?01:46
cjwatsonevand: could you pipe up on #ubuntu-devel?01:46
evandcjwatson: surely01:47
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer
xivuloncjwatson I pushed the required changes02:16
xivulonand uploaded rev 304 binary02:17
xivulonbut did not test it yet02:17
cjwatsonok, I'm trying to get testing of a possible unionfs fix at the moment02:17
xivulonbasically now cd2iso is never called, so if a CD is detected, and you select say 4GB you have to remove the CD, reboot, then reinsert the CD02:18
xivulonwhen requested to do so02:18
cjwatsonprobably ok for beta02:18
xivuloneject should be fixed though, otherwise many people will boot off CD and will be quite confused02:18
cjwatsonargh, I need about a week's sleep when this is done02:18
xivulonsame here02:19
cjwatsoneject probably isn't working because wubi is running off the CD02:19
cjwatsonand thus it's locked02:19
cjwatsonI'm inclined to release-note it for beta if nobody can think of a good workaround02:19
cjwatsonmy suggestion for post-beta is to figure out a way for the CD bootloader to detect that we're in the middle of a wubi installation and boot straight through to the hard disk02:20
cjwatsonwe should have the technology to do that02:20
xivulonsimple workaround is to write "Please remove any CD/DVD and reboot to complete the installation"02:20
cjwatsonthat works too02:20
xivuloncjwatson, for that you'd simply have to set find_preseed=XYZ02:21
xivulonif it fails, you go on with normal boot02:21
xivulonif it doesn't fail, it means you are in a wubi installation02:22
cjwatsonthat doesn't work, find_preseed isn't passed to the CD bootloader02:22
cjwatsonand it isn't acceptable just to try it - we don't know what to try02:22
xivulonhmm to see if we are in the middle of a loopinstallation you will have to scan the HD for some file02:22
cjwatsonyep02:23
cjwatsonthat's what I meant02:23
xivulonwhich is what find_preseed does02:23
cjwatsonbut it's in the wrong place02:23
cjwatsonwe need to know this in the CD bootloader before even showing the menu02:23
xivulonI see02:23
xivulondon't know much about isolinux workings02:23
xivulonbut IMO the code should replicate find_preseed02:24
xivulonor better: it should try to find ubuntu/install/boot/grub/menu.lst and use the boot options in there02:24
evanddoes the initrd take a decade to load for anyone else?02:26
cjwatsonI don't want to design it now, it's just a thought02:26
xivulonrev 305, changed the reboot message to mention ejecting CD/DVD02:30
xivulongoing to reboot to test02:30
xivuloncjwatson, to be clear, "Use CD" works as before, "Read Only" works as before, 4GB+ whith CD inserted does not use find_iso, 4GB+ without CD uses find_iso02:32
cjwatsonthat sounds good to me02:32
xivulonrebooting02:32
=== xivulon need an XP VM image
cjwatsonxivulon: wait02:33
cjwatsonxivulon: could you put a build of that up on /devel/minefields/ ?02:33
cjwatsonwe have an updated ubiquity in the archive now, so I'd like to roll updated CD images02:34
xivulonthe build 305 is up02:34
xivulonbut I have not tested it02:34
cjwatsonoh, the apache directory listing is just lying to me about the timestamp02:35
cjwatsonok02:35
xivulongonna upload again just in case02:35
cjwatsonevand: rebuilding images now02:36
xivulondone02:36
cjwatsonthanks02:36
evandcjwatson: ok02:36
xivulongoing to reboot will let you know if anything went sour02:36
evandI'm still trying to get unionfs to hate me02:36
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
cjwatsonnormally it is so easy ...02:36
evandit apparently has to be difficult, right up to the end02:37
evandwe should just go back to one of those really old COW filesystems, the kind that only work with 2.402:37
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer
xivulonhmm trying to download the file02:41
xivulonI have 1 thing to fix02:41
xivulonit's gonna be quick02:42
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer
xivuloncjwatson, evand, uploaded rev 306 please use that02:47
xivulongoing to reboot to test again (it's becoming a pain)02:48
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer
cjwatsonxivulon: the build hasn't got that far yet, so it'll use r30602:52
CIA-18ubiquity: superm1 * r2157 mythbuntu-ubiquity/ (185 files in 15 dirs):02:52
CIA-18ubiquity: add old pending merges, and temporary changes that will be merged back02:52
CIA-18ubiquity: to main branch soon02:52
superm1whoops didn't realize bzr-cia was still enabled for that branch.  not really necessary anymore i guess.02:53
cjwatsonit's not a problem02:54
xivuloncjwatson current build on website seems fine02:56
xivulonin the rush I might have forgotten to up the revision02:57
cjwatsoncool02:57
cjwatsonno worries02:57
cjwatsoncan't that be generated automatically from bzr revno?02:57
cjwatsonseems a hassle to have to bump it all the time02:57
xivulonno rev 306 is fine02:57
xivulonYeah I should have a small script to automate that, not sure whether that should be part of make02:58
evandcuriously that vmware machine isn't hard locking, the mouse just doesn't work and if you try to read syslog the VT locks02:59
evandcjwatson: getting an invalid module format on that unionfs.ko.  Do I need a specific kernel version?03:09
evandI'll continue investigating after I go grab something to eat.  Back later tonight.03:09
CIA-18ubiquity: superm1 * r2158 mythbuntu-ubiquity/ (11 files in 7 dirs): add support for xmltv during installation03:11
cjwatsonevand: are you on amd64?03:11
cjwatsonthat's built for i38603:12
evandoh, wow.03:12
evandI'll start pulling down an i386 CD03:12
cjwatsonnew daily-live CDs up03:12
cjwatsonevand: it might be quicker if I gave you the diff to apply to l-u-m03:12
cjwatsonand you can do 'debian/rules build flavours=generic' yourself03:13
evandwell, I've gotta go get something to eat anyway.  So I might as well have the computer do something in my absence03:13
xivulonwill grab that and resume testing tomorrow03:13
cjwatsonevand: http://people.ubuntu.com/~cjwatson/tmp/unionfs-2.1.3-2.1.4.diff03:13
xivulongoing to sleep, anything you need?03:14
cjwatsonneed? sleep03:14
xivulon:P03:15
xivulonnight03:15
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
evandcjwatson: it seems to work here, but I wasn't able to reproduce the unionfs bugs to have something to test against03:27
evandno unionfs bugs thusfar03:27
=== evand <- dinner
evandwith further testing it still appears to be stable, but I haven't tried a remastered cd with wubi install yet, which I'll do now.05:23
cjwatsonI had success reports from mjg59 and amitk05:28
cjwatsonkyle has uploaded it05:28
evandoh, great!05:28
cjwatsonI'm working on unbreaking bits of wubi now05:28
evandanything I can do to help at the moment?05:28
cjwatsonbeat me to it :-)05:28
cjwatsonit's grotty partman stuff05:28
evandheh, ok05:28
cjwatsonI committed a lupin fix earlier05:29
evandwhere is the install stopping for you currently?  I don't get past 5% on the install itself, curious if you're running into the same issue.05:29
evandok05:29
cjwatsonI think partman-basicfilesystems needs to be changed to redirect mount 3<&-05:30
cjwatsonwhich is why log-output is hanging I believe05:30
cjwatsonneed to verify that though05:30
evandok05:30
cjwatsonand partman-auto-loop needs to be changed to autoaccept the partitioning05:30
cjwatsonhmm, or maybe not05:32
cjwatsonevand: hmm, same thing for me now06:18
cjwatsonand I switched to vt1 and now can't switch back to vt706:18
cjwatsonI think it was a valiant attempt but maybe it's time to give up on wubi for beta06:19
cjwatsonwhat do you think?06:19
evandarr, I'm not sure.  I want to fight to the end, but we're getting quite close.06:20
evandhah, that made no sense06:20
cjwatsonthat hang we're both seeing seems pretty hard to tackle at short notice06:21
evandwell, at least someone may benefit from the automation work06:21
cjwatsonoh, that will be generally applicable06:21
evandbut I have the feeling that if we don't get wubi in, someone will clearly beat us to the same feature before we have another release in 6 months06:22
cjwatsonit just takes a while for the people using it to show up, because the people who care about that sort of thing tend to be more conservative06:22
evandindeed06:22
cjwatsonI just don't think we can do it for beta. If we can figure it out immediately post-beta, I'd be willing to consider it ...06:22
cjwatsonI think it will take too much of our energy and consume extra testing resources that we don't have at this point06:23
evandindeed06:23
evandI think you're right06:23
cjwatsonI'm not thrilled since we've put so much effort into it, but sunk costs06:24
cjwatsonI suppose one way to tackle the hang would be to install openssh-server first, ssh in from another host, and strace the whole thing with output going to the terminal06:25
cjwatsonthen it *might* be possible to see what kills it06:25
evandthe hang locks up everything for you?06:26
evandfor me it's just the mouse and syslog06:26
cjwatsonlocked vt-switching which made it hard to tell about anything else06:26
evandhuh, I could switch VTs06:27
cjwatsonyou may stand a chance of debugging it then :)06:27
evandwhat do I need to strace?06:27
cjwatsoncheck the process listing first06:28
cjwatsonfor me it looked like mkfs.ext3 was running - does that match you?06:28
cjwatsoncheck free memory, see if it's very low06:28
cjwatsonthen strace whatever the deepest process is06:28
evandwill do06:28
cjwatsonI'll leave you to it, I think I need to fall over now06:29
evandyeah, I was going to suggest it but 32,000 people already have.06:29
evandI must say, I am quite impressed with your determination06:29
superm1cjwatson, 32,001 people have now, get some rest, i remember seeing you on when i first signed on earlier today :)06:34
cjwatsonheh06:35
cjwatsonevand: just committing the various things I've got so far from wubi testing06:35
evandcjwatson: thanks, very much appreciated06:35
cjwatsonevand: I won't upload them (at least for now), but you should find changes to lupin, wubi, and partman-basicfilesystems in their respective bzr branches06:43
cjwatsonevand: the partman-basicfilesystems change, and indeed our problem, seems related to bug 13471006:43
cjwatsonevand: as a parting thought, I wonder if you might be able to work around it by blatting /bin/log-output and making it a symlink to true06:44
cjwatsoner, except not a symlink to true, that won't work06:44
cjwatsonbut something that ignores its options and execs the command it's given, anyway06:44
cjwatsonjust a thought, may be wildly inaccurate06:45
evandI follow your thought process.  I'll give that a shot.06:46
cjwatsonalternatively change ntfs-3g to close all its file descriptors when daemonisin06:46
cjwatsong06:46
cjwatsonthat might also help matters06:47
cjwatsondefinitely seems to be related to ntfs-3g one way or the other06:47
=== evand shakes fist at nvidia VT bug
evandcjwatson: I don't think log-output is the issue.  I just replaced calls to it in 50format_ext3 with just the commands and it's still getting caught up in the same place.07:48
evandstill investigating07:48
evandoh wait, I didn't go high enough up.  Hrmm, ignore what I said for right now.07:49
=== superm1 [n=superm1@ubuntu/member/superm1] has joined #ubuntu-installer
evandok yeah, it doesn't appear to be log-output.  I replaced it with a script that stripped -t and it's argument and --pass-stdout, then ran the rest, and it's still locking in the same place08:20
evandI can't call strace on mkfs.ext3 quick enough.  It locks as I'm calling strace.08:45
superm1even via ssh?08:47
evandsuperm1: indeed08:47
evandI'm going to give it another go with a while [ true] ; do; strace -p$(pidof mkfs.ext3); done08:48
superm1evand, perhaps can you inject your call to strace into the source where mkfs.ext3 is called?08:48
superm1so that its immediately straced08:49
evandhrmm08:49
superm1and then from your ssh session keep a tail -f on the log files08:49
evandthat's the problem though, I'd need to quickly tail the files08:49
evandmy window is very small08:49
evandonly a few seconds at best08:49
superm1oh yikes.08:50
superm1well however08:50
superm1when you are launching with strace, the process does take a bit longer to run08:50
superm1so your window will lengthen a bit08:50
superm1you can also consider injecting a sleep 10 or so into the source before mkfs.ext3 actually gets called08:51
evandand I could create the log file beforehand and just tail it then.  Hrm.08:51
superm1to lengthen that window08:51
evandindeed08:51
CIA-18ubiquity: superm1 * r2159 mythbuntu-ubiquity/debian/ (81 files in 2 dirs): update text for myth_button09:00
CIA-18ubiquity: superm1 * r2160 mythbuntu-ubiquity/debian/ (80 files in 2 dirs): update text for mythweb_button09:04
evandugh, compiz is starting to become more trouble than it's worth.  I got all the way to where I would run strace and compiz locked up on me.09:08
sorenWhich part of d-i writes the template bits of grub's menu.lst?09:17
evandgrub-installer, I believe09:19
sorenI would have thought so to, but I can't find anything that looks like that template in it.09:20
evandI believe it calls update-grub09:21
evandwhich would write the file09:21
=== soren slaps his forehead
sorenYes, found it.09:22
sorenThanks.09:22
evandanytime09:22
sorenI've managed to implement grub's boot loader installation voodoo in posix shell now :)09:23
evandawesome!09:23
evandI'll have to pull from your branch after I wake up09:23
soren:) Man, grub's code was difficult to figure out.09:25
evandgah, I can imagine09:28
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer
=== superm1 [n=superm1@ubuntu/member/superm1] has joined #ubuntu-installer
xivuloncjwatson, uploaded rev 30809:48
xivuloncjwatson, evand, unless I noticed that the ISO includes and old version of wubi (rev291)09:49
xivulonunless I got confused with the isos09:49
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
CIA-18ubiquity: superm1 * r2161 mythbuntu-ubiquity/ (debian/changelog scripts/mythbuntu/mythbuntu_install.py): explicitly install all libvia* when setting up openchrome09:59
=== xivulon [i=c2325681@gateway/web/cgi-irc/ircatwork.com/x-9a63cfe9e67f9124] has joined #ubuntu-installer
cjwatsonxivulon: ok, we've arrived at the end of the line for beta and it doesn't work yet, so I'm afraid I have to remove wubi from the daily builds01:11
cjwatsonxivulon: we did our best01:11
cjwatsonxivulon: we'll put it back in again after beta and see what we can do to fix it up01:11
cjwatsonand maybe we can make a decision for final in case it lands early enough01:11
xivulonsorry cjwatson, what does not work?01:18
=== cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
xivulonis it rev308?01:20
cjwatsonit doesn't matter, the breakage is on the installer side01:24
cjwatsonbut unfortunately we do not at present have a clear idea of how to fi xit01:24
cjwatsonfix it01:25
cjwatsonwe got through several of the problems, but at the moment it's hanging on mkfs.ext201:26
xivuloncan it be because the images are sparse?01:26
xivulonyou may want to try with zeroed images01:26
cjwatsonit's possible and worth a try01:27
cjwatsonbut the beta images are being prepared NOW01:27
cjwatsonwe simply ran out of time, I'm afraid01:27
cjwatsondespite our best efforts01:27
xivulonI understand. But can we leave the autopartition/lupin stuff in the there anyway?01:27
cjwatsonoh, sure, it's much too painful to rip it out01:29
xivulongood01:29
cjwatsonobviously I want to try to support wubi in the final release regardless of whether we end up shipping it01:29
xivulonthat's very nice to hear01:29
xivulonIdeally we need to make sure that autorpartition works off HD ISO01:30
xivulonAnd that initramfs-tools behaves proeprly01:30
xivulonI will add the find_override_script code to lupin today/tomorrow01:31
cjwatsonplease don't, I was thinking of adding that to ubiquity01:31
cjwatsonor something similar01:31
cjwatsonbut I want to have it designed first :)01:31
cjwatsonubiquity> well, maybe casper01:31
xivuloni.e. lupin-casper ;)01:32
cjwatsonit's not loop-installation-specific AIUI01:32
cjwatsonlupin is not intended to be a playground for stuff that should be in casper but we couldn't be bothered :)01:32
xivulonTrue, it might require the find_path code though, but we might move that into casper if you want01:33
cjwatsonplease can we discuss this after beta01:33
xivulonsure01:33
cjwatsonthen I will have slept etc. :)01:33
xivulonI won't let you sleep that much until the ca01:33
xivulonchanges above are in :P01:33
xivulonAnything you need on my side for beta?01:34
cjwatsonno01:35
xivulonno is good01:35
xivulonthanks for all the trouble01:35
=== cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
=== jetsaredi1 [n=jgreenwa@pool-141-149-173-208.bos.east.verizon.net] has joined #ubuntu-installer
=== jetsaredi1 [n=jgreenwa@pool-141-149-173-208.bos.east.verizon.net] has left #ubuntu-installer []
=== cr3 [n=cr3@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-installer
=== michael_e_brown [n=michael_@adsl-67-65-14-121.dsl.austtx.swbell.net] has joined #ubuntu-installer
xivuloncjwatson, fyi apparently dd is 8x slower when using bs != 4k04:16
=== xivulon [i=c2325681@gateway/web/cgi-irc/ircatwork.com/x-11963b62eba6f620] has joined #ubuntu-installer
xivulonI guess it's to late now, but apparently ntfs-3g 1.913 is quite faster04:21
cjwatsonwe can consider it after beta04:21
cjwatsonthanks for the dd tip; could you please file it as a bug on /ubuntu/+source/partman-auto-loop?04:21
xivulonsure, I have not tried it myself it was a suggestion from szaka04:23
xivulonHe also mentioned we should use v1.913, but don't think it's going to happen04:23
cjwatsonit's not out of the question04:23
cjwatsonthough of course every upstream always thinks we should use their most current releases :)04:23
xivulongood04:24
xivulonI have also prepared a plan for integrating lupin into casper + adding external hooks04:24
xivulonhttps://bugs.launchpad.net/ubuntu/+source/partman-auto-loop/+bug/14479304:32
michael_e_browncjwatson, I found a small bug.04:38
michael_e_brownIf you copy the installation media to HDD, it boots from hdd just fine.04:38
michael_e_brownBut if you then try to boot from CDROM (newer media)04:39
michael_e_brownthe CDROM mounts the hdd image04:39
michael_e_browninstead of the cdrom04:39
michael_e_brownIn the past (another project), I had fixed this by embedding a serial # in the initrd that had to match the CDROM media04:40
michael_e_brownthat way it wouldnt be fooled by older media copied to the hdd04:40
michael_e_brownThis will bite Dell customers if they put in a gutsy install media and expect it to use that rather than our hdd copy04:41
cjwatsonmichael_e_brown: could you file it on casper, please?04:42
cjwatsonhttps://bugs.launchpad.net/ubuntu/+source/casper/+filebug04:42
xivulonhttps://bugs.launchpad.net/ubuntu/+source/casper/+bug/14479804:43
xivulonyou      shall        not      sleep!04:43
cjwatsonok, guys, I don't need the bug URLs pasted here :)04:43
xivulonlotr citation04:43
cjwatsonthat's what bugmail's for04:43
cjwatsonwe'll get to post-beta things after the beta04:44
xivulonjust in case cjwatson...04:44
michael_e_brownhttps://bugs.launchpad.net/ubuntu/+source/casper/+bug/14480004:46
xivulonout of curiosity what file contains the serial numbers of ISOs?04:48
xivulonmichael_e_brown, when you boot from HDD, do you also use d-i/ubiquity for partitioning?04:49
michael_e_brownI'm working on it. Havent gotten it working yet04:50
xivulonWhat I mean is that I may have the same issue, I need to resize/modify partitions when one of the devices is mounted to use the ISO04:52
xivulonIf you find a solution to that, I'd be more than interested04:52
xivulonBut I guess cjwatson will chip in to slash my hopes04:53
=== avoine [n=avoine@modemcable003.251-59-74.mc.videotron.ca] has joined #ubuntu-installer
michael_e_browncjwatson, ping.05:04
michael_e_brownok. have installer installing now05:04
michael_e_brownNow, I absolutely must have a way to add pre/post scripting.05:04
cjwatsonmichael_e_brown: this is a really bad day for me - I'm totally blasted with beta things05:05
cjwatsonis it life-threatening? :)05:05
michael_e_brownactually, yes.05:05
xivulonmichael_e_brown is that the live iso you are using?05:05
michael_e_brownyes05:05
michael_e_brownI have to have it by friday.05:05
xivulonhttps://bugs.launchpad.net/ubuntu/+source/casper/+bug/14479805:05
cjwatsonI'm afraid you're going to have to add that yourself, and we can worry about integrating later05:05
michael_e_brownif today isnt good, as long as I can get an answer tuesday or wed would be ok, but pushing things.05:05
cjwatsonwe have a beta in two days which is our highest priority05:06
michael_e_brownOk. so if I get a method for adding pre-scripts/post-scripts, we can integrate it after the next beta?05:06
michael_e_brownah, I see xivulon's stuff...05:07
cjwatsonyes (though I won't guarantee we won't want to change it in the process of integration of course!)05:07
xivulonmichael_e_brown if the spec above is ok and cjwatson agrees, I may add it today/tomorrow in a separate branch05:07
michael_e_browndoes xivulon's stuff have a patch?05:07
cjwatsonmichael_e_brown: no05:07
cjwatsonxivulon: decouple it from find_preseed and find_iso; it's separate work05:07
cjwatsondon't file single bugs with five separate bullet points in them, they're too hard to manage05:08
xivulonmichael_e_brown you can have a look at find_preseed in https://code.launchpad.net/~ubuntu-installer/lupin/gutsy, the hook would be similar code05:08
xivulonsorry cjwatson05:08
cjwatsonxivulon: please hold on05:08
cjwatsonxivulon: as I understand it, find_preseed is not right05:08
xivulonI filed it together because all of them are depending on get_file/find_file (find_path in lupin)05:09
xivuloncjwatson look at the syntax proposal for paths05:10
cjwatsonmichael_e_brown: could you please explain exactly what pre and post are in your context? i.e. before and after what? How much of the operating system, graphical environment, etc. needs to be up?05:10
xivulonthat would apply to ISO, preseed, and override05:10
cjwatsonxivulon: not today05:10
michael_e_browndo you need a bug for this?05:10
michael_e_brownor just irc?05:10
xivulonmichael_e_brown, my proposal is simply to make a bunch of file on HD available and a script is executed when the ISO squashfs is mounted05:11
xivulonso for instance, if you need to replace /bin/autopartition-loop, you can add that to override_files, and have a simple script to replace the file in override_script05:12
evandcjwatson: Does 144857 look to you like being caused by the ntfs-3g issues we've been seeing?07:31
cjwatsonevand: hmm, could be but it's pretty hard to say. It's certainly different from the problems we saw07:40
cjwatsonit's while partman is starting up and parted_server is scanning disks07:41
evandnot really sure how we can get more information out of them for that one, given the way it crashes.07:41
=== cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
evandcjwatson_: Looking at bug 107686, I've noticed that closing the install progress window has the same effect.  How would you like to see this handled?  The two options I can think of is to prompt the user to cancel the install or to block closing (but then we should probably tell the wm to not create a close button.08:35
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer
evandcjwatson_: Also, can bug #42202 be closed?  This seems to have been resolved for a very long time.09:54
=== CIA-18 [n=CIA@208.69.182.149] has joined #ubuntu-installer
cjwatsonevand: the progress window's delete method or whatever it is should be bound to the same thing that that method of the main window is bound to11:11
cjwatsonif that sentence made any sense11:11
cjwatsonit may be that the KDE frontend is particularly dodgy here11:12
cjwatsonevand: 42202> hmm, is it? try selecting say English language with a German keyboard in gfxboot11:13
cjwatsonthough if that works, then I guess it was fixed by console-setup and I've just forgotten about it11:13
evandcjwatson: it does, and I will test the latter further11:14
evandit does make sense, that is11:14
=== superm1 [n=superm1@ubuntu/member/superm1] has joined #ubuntu-installer
evandcjwatson: german keyboard> works for me11:45
cjwatsonoh, cool, feel free to close then11:47
evandthanks11:50
evandahhh, it was closed in casper already, just not ubiquity11:51
evandoh nevermind11:52

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