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

CIA-33ubiquity: cjwatson * r3538 ubiquity/ (debian/changelog partman/check.d/partition_too_small):00:55
CIA-33ubiquity: Skip partition_too_small check during Wubi installs, as Wubi does some00:55
CIA-33ubiquity: of its own checks and the delay imposed by this check looks particularly00:55
CIA-33ubiquity: weird in Wubi. This may or may not be the cause of apparent hangs00:55
CIA-33ubiquity: towards the end of partitioning, but I suspect that it will at least get00:55
CIA-33ubiquity: rid of some conflated reports and make testing quicker.00:55
CIA-33ubiquity: cjwatson * r3539 ubiquity/ (155 files in 3 dirs): Update translations from Launchpad.01:07
CIA-33ubiquity: cjwatson * r3540 ubiquity/ (d-i/manifest debian/changelog):01:20
CIA-33ubiquity: Automatic update of included source packages: clock-setup 0.98ubuntu3,01:20
CIA-33ubiquity: flash-kernel 2.13ubuntu13, grub-installer 1.43ubuntu6, partman-auto01:20
CIA-33ubiquity: 89ubuntu2, partman-target 64ubuntu4.01:20
CIA-33ubiquity: cjwatson * r3541 ubiquity/debian/changelog: releasing version 2.0.101:43
=== NCommander is now known as NC|Mobile
=== NC|Mobile is now known as NCommander
ogracjwatson, for your entertainment :) https://wiki.ubuntu.com/ARM/BabbageHeadlessKarmicDesktopInstall10:08
cjwatsonnice10:12
xivuloncjwatson in /bin/partman I have that PARTMAN_NO_COMMIT=110:21
xivulonnot sure where that is set, but that makes partman exit, is that normal?10:21
xivulonps mounting /host probably is orthogonal, was some spurious reboot-makes-it-work thing10:22
xivulonhave to go, hope the above helps10:23
xivulonevand ^10:24
cjwatsonsigh, I can't conduct a conversation when people join and quit like that :-/10:25
ogracjwatson, i see bug 360925 returning on the imx51 vfat alternate images, intrestingly i can rename the file on the mounted vfat image from d-i's shell10:33
ubottuLaunchpad bug 360925 in mobile-meta "md5sum check of UNR image fails in one file" [Undecided,Invalid] https://launchpad.net/bugs/36092510:33
ogracjwatson, which makes me think we miss something at image build time here10:35
TheMusocjwatson: Looks like the hang with formatting filesystems using parted_server is another weird powerpc gcc bug. I am just double checking, but it seems if I build parted_server/partman-base with -O2 for powerpc instead of -Os, thigns work fine.10:52
cjwatsonaha10:53
cjwatsonI'd never have found that, glad you did10:53
cjwatsonhappy to change that for post-RC, I think10:53
TheMusoRight. I am checking with a live CD, but want to check with alternates as well.10:53
TheMusos/alternates/altnerate10:53
cjwatsonremind me of the bug number?10:54
TheMusoone sec10:54
cjwatsonif you can make sure a gcc bug is filed as well, I'd appreciate it10:55
cjwatsonwith preprocessed source10:55
TheMusoOk, against which source gcc package?10:55
TheMusoits bug 45021410:55
ubottuLaunchpad bug 450214 in parted "Parted server appears to hang when attempting to format a swap partition on powerpc." [Undecided,New] https://launchpad.net/bugs/45021410:55
cjwatsongcc-4.410:55
TheMusoOk./ Whats the easiest way to get pre-processed source?10:56
cjwatsonbuild the package, copy and paste the gcc line that builds the relevant program, delete -c and -o parted_server, add -E10:56
cjwatsonthe gcc people will need to know where the hang is though ...10:57
TheMusoOk, will confirm everything, and fix up bugs. Shall I open a task against gcc-4.4 on the same bug, or should I open a fresh bug?10:57
cjwatsonso it's just partman-base that needs to be rebuilt, not parted as well?10:57
TheMusoI would think another task is ok10:57
cjwatsonopening a task is fine, I think10:57
TheMusoThis is what I am checking. I am booting avanilla live CD, copying rebuilt partman-base binaries in, and seeing what happens.10:58
cjwatsonit could of course still be a parted_server bug that optimisation changes just happen to trigger10:58
TheMusoRight.10:58
CIA-33partman-base: cjwatson * r170 ubuntu/ (Makefile debian/changelog):10:59
CIA-33partman-base: Build with -O2 on powerpc to avoid a suspected toolchain bug10:59
CIA-33partman-base: (LP: #450214).10:59
cjwatsonBTW timer "exceptions" aren't really exceptions, they're just the way parted progress information is propagated up10:59
TheMusoRight10:59
TheMusoLooking at the build logs, libparted is built with -O2 anyway.11:08
TheMusoOk, with ubiquity/live CD with rebuilt partman-base binaries copied in, -O2 is allowing things to function as normal. I think we can go on this, but I'm going to check with the alternate just to be safe, since libparted is in udeb form and built differently.11:13
TheMusoI think I already mentioned in the bug where the hang occurred. If built with -Os, the hang occurs when calling ped_timer_new from a parted_server function, can't remember which one from the top of my head.11:16
cjwatsonok, won't upload straight away anyway, and I think there may be one more partman-base change we need11:25
cjwatsonevand: did you get anywhere with that parted_server syslogging work?11:25
TheMusoYeah of course.11:26
evandcjwatson: no, I was having some trouble with it and temporarily moved on to other bugs.11:26
TheMusore not uploading, due to RC and its ports after all.11:27
cjwatsonevand: shout if you need a hand ...11:28
cjwatsonxivulon: PARTMAN_NO_COMMIT=1 is entirely normal11:28
cjwatsonpartman is divided into two phases in ubiquity; parted_server stays running between them11:29
evandwill do; I'll have another look as soon as I've got these kde issues sorted out11:29
cjwatsonevand: I was wondering if there's an outside chance that it's causing occasional wubi hangs, you see11:29
evandah, noted.  Priority bumped.11:30
cjwatsonsince at least some of those have been in the partman-commit phase too11:30
xivulonwell the first stage completes successfully I have no tracback on stage 211:30
xivulonwill try to get something tonight11:31
xivulonNo partman or any other shell script in /lib/partman is called after that as far as I can see11:33
ogracjwatson, bah, my funny remote install fails in UserSetupApply11:36
cjwatsonogra: you might need to take some care with the user id11:37
ograwell11:37
cjwatsonogra: note that casper is very deliberately created at uid 99911:37
ograits not actually a supported way of installation anyway11:37
cjwatsonuse 998 :)11:37
ograhmm11:37
cjwatsonor actually, why not just set a password for the ubuntu user?11:38
cjwatsonand ssh in as that11:38
ograoh, right11:38
* ogra tries that 11:38
TheMusocjwatson: Ok parted_server manages to format a swap partition, however I think mke2fs is choaking in a similar way to parted_server, which makes me think that, once again, the e2fsprogs udeb is built with -Os for powerpc.11:41
TheMusothis is on the alternate11:41
cjwatsonyes, see BF_CCOPTS in e2fsprogs/debian/rules11:44
TheMusoyep just found that myself11:47
* TheMuso rebuilds with -O2 to see if there is a difference.11:49
CIA-33ubiquity: evand * r3542 ubiquity/ (2 files in 2 dirs):12:04
CIA-33ubiquity: Properly set the size of the partition to be created upon resizing12:04
CIA-33ubiquity: in the KDE frontend (LP: #455580).12:04
TheMusocjwatson: ok rebuilding e2fsckprogs-udeb with -O2 has things working12:09
cjwatsonok, I'll add an e2fsprogs task to that bug12:13
TheMusoOk. I'll get some pre-processes source for parted_server.c at least.12:21
evanddavmor2: updated bug 455653 requesting some details from you.12:23
ubottuLaunchpad bug 455653 in ubiquity "kubuntu unable to check format checkboxes in manual partitioning" [High,Incomplete] https://launchpad.net/bugs/45565312:23
davmor2evand: both but I'll be running checks on kubuntu shortly so I'll double check on that one for you12:24
evandokay12:24
evandfor what it's worth, I cannot reproduce it in 20091019.212:25
TheMusocjwatson: Ok I'll do other alternate tests tomorrow night for a few other common install cases, just to ensure we catch as much as possible. I suspect this happens with anything dealin with disks, so lvm, cryptsetup etc probably need checking.12:32
cjwatsonok, thanks12:34
CIA-33ubiquity: evand * r3543 ubiquity/ (debian/changelog ubiquity/frontend/kde_ui.py):12:38
CIA-33ubiquity: Hide the encrypt home radio button in the KDE frontend when in oem-config12:38
CIA-33ubiquity: mode (LP: #455479).12:38
CIA-33ubiquity: cjwatson * r3544 ubiquity/ (debian/changelog ubiquity/frontend/kde_ui.py):14:24
CIA-33ubiquity: KDE frontend: Fix incorrect error message when the slideshow doesn't14:24
CIA-33ubiquity: exist.14:24
evandcjwatson: anything else you want to land in trunk before I do an upload?14:51
cjwatsonevand: go for it, anything I discover with wubi is going to take a while14:54
evandincidentally, I've run headfirst into the "Try (hd0,0): NTFS5:" issue on the test install I've been running in the background.14:55
evandperhaps I'm forgetting a bit of history, but it seems odd that we set ubiquity/reboot to true in wubi.  Of course usability issues are for a different time in the cycle. :)14:57
cjwatsontry finding the top-level grub config file in the ntfs filesystem and putting 'set debug=all' at the top of it14:57
evandwill do14:58
evandcjwatson: for what it's worth, http://people.canonical.com/~evand/tmp/wubi-failure-2.png15:35
ograwow, my remote install which i started 6h ago on my babbage board finbally finished ...15:49
ograpackage removal did crawl ... took several hours15:49
evandinteresting.  Wait long enough and it boots, which I think is in line with what davmor2 was experiencing.15:53
evandand it boots fine every time now.  argh.15:54
CIA-33ubiquity: evand * r3545 ubiquity/debian/changelog: releasing version 2.0.216:25
=== bdmurray_ is now known as bdmurray
davmor2evand: we went out for 2 hours the last time I had that issue and it hadn't started how long is a long time?16:45
evandten minutes or so16:46
evandperhaps it was just a sufficient number of reboots / mounts16:46
cjwatsondavmor2: reproduced this under strace, digging ...16:46
cjwatson(not that it's immediately illuminating, but)16:47
cjwatsonwithout a doubt, something else is asynchronously opening stopfifo, and I'm pretty sure it isn't ubiquity16:55
cjwatsonmy suspicions are drifting back in the direction of sreadahead, so I'm going to give that a try16:56
evandnot sure if it's just as a result of me rebooting a third time, but diverting /sbin/readahead fixed the hangs I was getting in partman.17:09
cjwatsonit's working well for me, though I removed /etc/init/sreadahead.conf17:12
cjwatsonso far, anyway17:12
cjwatsonKeybuk's comments on #ubuntu-release filled in the gaps of understanding I had on how sreadahead might be breaking it17:13
cjwatson(you mean /sbin/sreadahead?)17:13
evanderr yes17:14
* evand reads up17:14
cjwatson4/4 successful so far (I rebooted once it got to "Calculating files to skip copying")17:15
cjwatsonnow to try without strace, which will be faster17:16
cjwatsonoh, and FWIW, ghastly rune for arranging to strace both parted_server and partman-commit was to put this in /scripts/casper-bottom/25configure_init in the initrd:17:20
cjwatsonsed -i "s/return ('\/bin\/partman-commit'/import subprocess; subprocess.Popen(['strace', '-f', '-o', '\/tmp\/parted_server.trace', '-s', '1024', '-tt', '-p', subprocess.Popen(['pidof', 'parted_server'], stdout=subprocess.PIPE).communicate()[0].strip()]); return (['strace', '-f', '-o', '\/tmp\/partman-commit.trace', '-s', '1024', '-tt', '\/bin\/partman-commit']/" /root/usr/lib/ubiquity/ubiquity/components/partman_commit.py17:20
CIA-33casper: cjwatson * r720 trunk/ (debian/changelog scripts/casper-bottom/25configure_init):17:32
CIA-33casper: scripts/casper-bottom/25configure_init: Disable sreadahead on live CD17:32
CIA-33casper: boot. Not only does it profile the live CD boot to no benefit, but it17:32
CIA-33casper: also looks as if it may be responsible for breaking Wubi installs by17:32
CIA-33casper: reading from partman's synchronisation FIFOs (LP: #439279).17:32
CIA-33casper: cjwatson * r721 trunk/debian/changelog: releasing version 1.20517:33
davmor2cjwatson: will you back online latter I'll let you know how I get on with the new cds17:36
cjwatsonI'll be off IRC for a couple of hours, then probably back later in the evening ('cos my life is so exciting)17:38
davmor2I don't know what you mean I'll be burning and testing cd's till midnightish17:39
cjwatsonhah17:40
cjwatsonhopefully this lot will be a bit more rewarding, wubi-wise17:40
davmor2\o/17:42
cjwatsonand there we go, rebooted fine for me17:45
xivulon_Hi colin, noticed you fixed 439279 thanks a lot21:29
davmor2xivulon_: Just got to wait for the iso's to test it out fully now :)21:30
xivulon_yep!21:30
* davmor2 is looking forward to a fully functioning wubi :)21:31
xivulon_Well actually I can test now with break=init + sed21:31
xivulon_I do think I tried to kill sreadahead in the past (as per colin suggestion), hmm21:33
xivulon_but that was definitely after chroot...21:34
davmor2xivulon_: yeah so did I but it was also held up by something just before it.21:34
davmor2xivulon_: cjwatson solved that one and this one was left21:35
xivulon_ah cool21:36
davmor2xivulon_: he tried it about 8 times before he had to shoot off.  So he is hoping that that it is now :)21:38
davmor2xivulon_: I think evand had a success doing the same thing too (but I could be wrong)21:39
xivulon_my karmic kvm jams randomly by the way21:48
xivulon_sedded 25configure_init, and did a full installation, the installer is way beyond the point where it usually jams22:03
xivulon_fingers crossed22:04
xivulon_of course I used break=mount not break=init22:08
xivulon_:) works here22:30
xivulon_cjwatson you get a bottle of champagne or a box of coffee at your choice22:31
xivulon_^ that is real coffee, not the dark stuff I see you guys drinking...22:31
cjwatsonxivulon_: hooray for workingness. I think this was probably the core of the problem all along, but there were some other random problems as well that were masking it23:19
xivulon_was a close one... fantastic job, as usual23:21
xivulon_well at least I know a bit more about partman :P23:22
cjwatsonhard work tracking it down today, was still a guess in the end23:22
cjwatsoncouldn't actually catch the whole thing in the act except by stracing the *entire system* somehow ;-)23:22
cjwatsonwhich didn't sound like much fun23:22
xivulon_guess have to top up my offer23:23
cjwatsonhmm, thinking about it I suppose I could have inserted an lsof call into parted_server or similar, but meh23:23
cjwatsonmeh, it's my job :)23:23
cjwatsonwill you be at the release party?23:23
xivulon_most likely yes23:23
cjwatsonI think I will be - have to take the dog to be neutered the next morning, but can probably stay for a short while23:24
xivulon_hope to see you there!23:24
davmor2cjwatson: bug 45677623:44
ubottuLaunchpad bug 456776 in os-prober "No second os showing up in d-i auto resize" [Undecided,New] https://launchpad.net/bugs/45677623:44
davmor2cjwatson: I've asked fader_ to confirm asap23:45
davmor2cjwatson: anything else you want on that bug before I sod off to bed?23:49
davmor2this is an install against karmic, I don't know if that is relevant23:50
cjwatsonso you did one install on sda1 (/) sda5 (swap), then another install on sda6 (/) sda7 (swap), and only the second showed up in grub.cfg?23:51
cjwatsonos-prober found it, at least, I can see that much in the log23:51
davmor2cjwatson: looks that way yes unless I'm completely mis-reading it23:51
cjwatsonI wonder if it then completely failed to parse grub.cfg23:52
cjwatson... no, it's producing result: lines there23:53
davmor2cjwatson: there are only 4 lines showing up on the menu.  Current kernel, current kernel rescue and the 2 memtests23:54
cjwatsonyeah, can see that in the generated grub.cfg23:56
cjwatsonnothing obviously wrong, guess I'll have to try to reproduce this - shouldn't need anything else from you right now, thanks23:56
davmor2cjwatson: Cool nn23:56

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