/srv/irclogs.ubuntu.com/2009/07/14/#ubuntu-installer.txt

isamarhi folks00:39
isamarusing jaunty 9.04.. my installer is freezing while load bash package...00:39
isamarthis is my first try making a custom cd install..00:39
isamaranyone can give a hand here ?00:40
isamarhi folks01:31
isamarI need a hand with jaunty installer.. crashing with me...02:17
davmor2evand: umenu works now :)09:34
evandfantastic09:34
kim0Hi there, I'm trying to preseed a partition that extends till the end of the disk11:18
kim0Isn't that the correct syntax: 1000 500 15000000 raid $primary{ } method{ raid } .11:19
cjwatsonkim0: as of jaunty you can just use -1 instead of 15000000; but I don't think that's your question really11:21
cjwatsonyes, that should work fine on reasonably-sized disks11:22
cjwatsonwhere reasonable < 15TB11:23
kim0cjwatson: well the thing is that that partition was created only 1G (ie the minimum) .. and I'm on hardy12:16
cjwatsonkim0: you might want to make the second number (500) much bigger; that's a weight12:16
kim0cjwatson: the middle number (500) is how likely that partition is to be resized wrt to others ?12:16
cjwatsonif it's << the other weights in your preseed file then it probably won't get a very big share of any leftover space12:16
kim0ah .. so it should be relatively huge12:17
cjwatsonyes, basically the algorithm assigns the minimum sizes to everything, then takes the remaining space and tries to share it out according to the weights12:17
kim0ok then .. will try thanks12:17
kim0I see .. thanks12:17
kim0cjwatson: I'm sorry man, can you please take a look at http://paste.ubuntu.com/217841/12:40
kim0I keep getting this error: "Can't have a partition outside the disk!""12:40
cjwatsonI need the ENTIRE syslog12:41
cjwatsonI think there may be a bug about this though, which I haven't looked into yet12:41
kim0cjwatson: ok will12:41
kim0cjwatson: here's the full syslog http://paste.ubuntu.com/217849/12:44
kim0cjwatson: do you need it with debconf_debug=developer ?12:45
CIA-8partman-md: cjwatson * r932 mdcfg-merge/choose_partition/md/do_option: typo that broke RAID0 creation12:46
cjwatsonkim0: I'm not sure if that will help (BTW the name is case-sensitive, DEBCONF_DEBUG=developer); /var/log/partman might help though12:47
kim0cjwatson: Here it is http://paste.ubuntu.com/217867/12:49
njueythttp://tinyurl.com/nkypfa12:51
cjwatsonkim0: some kind of rounding error :-( I think you may need to specify an exact size unfortunately12:58
cjwatsonparted_server: add_primary_partition(disk(41943040),29431080-41950611)12:58
cjwatsonnote specified upper limit suspiciously close to maximum12:58
kim0cjwatson: although I am specifiying 1.5T12:59
kim0which is NOT equal to the disk size12:59
kim0so it did shrink it .. but not enough it seems ?!12:59
kim0that's too bad .. coz I don't want to embed the disk size in there12:59
kim0disks can vary in size12:59
kim0I just want a partition extended till the end12:59
cjwatson21467980799-15068712960 == 639926783913:00
cjwatsonbut it seems to have rounded it UP to 641000000113:00
cjwatsonkim0: yes I realise that - it's clearly an installer bug13:00
cjwatsonabsolutely no argument there, but presumably you have to work with what you've got, i.e. hardy13:00
kim0if the partition is 99% of the disk .. that would be acceptable to13:00
kim0anyway to get that13:00
cjwatsonnot really13:01
cjwatsonplease give me a little while to look at this13:01
kim0ok man .. thanks13:01
cjwatsonkim0: you can work around the bug by not unnecessarily forcing all of your partitions to be primary13:10
cjwatsonjust remove all the "$primary{ } " bits - the partitioner will automatically make the first one primary and leave the rest as logical13:11
cjwatsonand this happens to work around the broken code path13:11
cjwatsonthis is bug 287571 and friends13:17
ubottuLaunchpad bug 287571 in partman-auto "create_primary_partitions sometimes attempts to create last partition larger than free space" [Undecided,Confirmed] https://launchpad.net/bugs/28757113:17
rgreeningevand: ping13:46
evandrgreening: pong13:47
rgreeningevand: how is the new backend progressing? Should we upload the HAL backend in the meantime?13:47
rgreeningwe really want to get something up for alpha 3... :)13:47
rgreeningIm guessinbg by the silence not so good huh evand...13:49
evandjust busy in the immediate moment...13:49
rgreening:)13:49
rgreeningevand: when you have a moment then, can you let me know where we stand... :)13:51
evandabsolutely13:51
rgreeningkk13:51
mterryevand, goodness, I should have been asking all my questions here, instead of #ubuntu-devel.  :-/13:53
evandmterry: Regarding your questions in #ubuntu-devel on test cases, I sent this to you a few weeks back:13:53
evandUbiquity and oem-config could really use a unit test framework.  Colin13:53
evandand I spoke about this at UDS and the plan we came up with is to test13:53
evandon both ends.  That is, assuming I remember this correctly, we test13:53
evandthat given a certain set of inputs, the d-i component hands exactly13:53
evandwhat we expect to get in ubiquity, and the other end we test that13:53
evandgiven said expected input in the ubiquity code, it doesn't explode.13:53
evandObviously, this can be further refined :).13:53
evandmterry: no worries13:53
mterryevand, yeah, I remember you mentioning it13:53
mterryevand, I also value things like actually driving the UI with ldtp13:54
mterryevand, as kind of a 'story' or 'use case' test13:54
mterryevand, helps catch stuff like missing summary pages.  /.\13:55
evandheh13:55
evandabsolutely13:56
evandrgreening: I've been jumping from area to area as of the immediate past and have been focusing my usb-creator time on the windows backend.  I'm weary of releasing the HAL backend.  Given the bugs on the GTK side, I'm worried about getting bogged down in HAL bugs, when we're moving to DeviceKit in the short term.13:57
evandmterry: I'm not sure if we've pointed you at this yet, but https://wiki.ubuntu.com/Installer/Development is a good read.  We keep track of what each other are up to by registering branches with CIA, which reports changes in this channel.13:58
mterryevand, do we have easy access to a group of people with vested interests in testing oem-config?  Like, mention that some architectural changes went in and they might want to make sure it still works for them?13:58
mterryevand, ok13:59
evandmterry: perhaps the ubuntu-installer mailing list.  superm1 might be interested in giving it a test as well.13:59
mterryevand, OK.  I'll sign up for that and give a help-wanted email, then?14:00
evandsure14:00
mterrydeal14:00
mterryevand, once the merge settles and everything is hunky-dory, I suppose we ought to phase out the oem-config code/port bugs to ubiquity component?  I don't have experience with phasing out an LP project14:01
evandmterry: ah, good point.  Indeed, I have no experience with that either.  cjwatson, any idea or should we talk to gmb to see if there's a way of automating that?14:02
cjwatsononce the new ubiquity is uploaded, get the oem-config source package and any remnants removed from Ubuntu, and then just reassign all the bugs over using a launchpadlib script14:02
cjwatsonshould be straightforward14:02
evandcool, thanks14:02
cjwatsonof course this won't make the bug list any easier to manage, but hey ...14:03
evandto the interested> After moving the install progress dialog into the main window in support of the slideshow work, I no longer think it makes sense.  We need the maximum amount of screen space for the slideshow, which means removing the superfluous heading, and we'd be removing the back, forward, and quit buttons as they don't make sense in this context.  So I'm going to continue with the slideshow as part of the old, separate, progress window.14:03
evandindeed, that's going to get even messier14:04
* evand really needs to lock himself in a room over a long weekend and pear that down14:04
evandrgreening: I think if we don't finish the devicekit work by the end of the week, we should release from trunk, as you suggest14:08
rgreeningok, I'm all for that.14:09
cjwatsongah. I KNOW bug 287571 exists. I even have the fix for it in my tree. I just can't reproduce it in a VM so that I can commit the fix14:09
ubottuLaunchpad bug 287571 in partman-auto "create_primary_partitions sometimes attempts to create last partition larger than free space" [High,In progress] https://launchpad.net/bugs/28757114:09
cjwatsonsilly rounding errors14:09
rgreeningevand: want to take a snapshot of the trunk and mark the current as a new branch - 2.0.0 beta or something. then merge your changes (cleanup) into trunk?14:10
rgreeningor leave it for now...?14:10
evandokay, lets just release 0.2.0 from trunk.  I can always deal with the HAL bugs by asking people to try the devicekit backend when it's released.14:11
rgreeningevand: hehe. sounds good. At least it will aloow users to test Kubuntu Netbook easier via install of usb-creator-kde :)14:12
evandI'll upload it today, barring finding any problems with a transition from 0.2.0 to what we have in cleanup14:12
rgreeningty. at least it will be in in some shape for alpha3. better than none at all.14:13
rgreeningevand: if you let me know what bits you need help with, I can try and see if I can figure them out. Im not familiar with devidekit, but some small bits I can probably figure out if you like...14:14
evandrgreening: there's a link to the API in the devicekit backend code.  Any help on finishing that would be much appreciated.14:15
evandthe devicekit backend, that is.  It should just be a matter of following the hal backend and writing the necessary methods using devicekit dbus calls instead of hal ones.14:16
evandwe can refine from there14:16
rgreeningI'll see what I can do...14:18
evandthanks.  I'll keep working at it as well14:18
rgreeningty evand14:25
rgreeningevand: have you pushed the latest from cleanup branch?14:26
rgreeningif not, can you?14:26
rgreeningty14:26
CIA-8ubiquity: mterry * r3308 prettier-gtk/ (159 files in 19 dirs): merge with trunk14:44
rgreeningevand: looking at the backend.. I have no idea where to start .. hahaha14:47
CIA-8ubiquity: mterry * r3320 translated-timezones/ (159 files in 19 dirs): merge with trunk14:48
kim0cjwatson: Thanks a million man .. skipping that code path did help14:57
kim0cjwatson: d-i is a bit too buggy though :D14:57
cjwatsongood14:57
cjwatsonI just fixed that bug upstream14:57
evand1rgreening: latest code is already there.15:01
evand1cjwatson: do we have a hard minimum screen resolution requirement?  The CD sleeve for 9.04 doesn't list one and https://help.ubuntu.com/community/Installation/SystemRequirements seems to suggest 640x480, which I think is a little too aspirational.  I'm trying to determine the size we should aim for slides in the slideshow.  I expect the slides to scale, but we'll want to set a minimum bound.16:29
cjwatsonI'm not sure. I think of late it's been 800x600. I suggest that anything smaller than that simply doesn't get a slideshow16:32
evand1okay, works for me16:38
evand1thanks16:38
CIA-8ubiquity: mterry * r3314 modelines/ (54 files in 6 dirs): add more complete modelines16:43
CIA-8partman-lvm: cjwatson * r1220 ubuntu/choose_partition/lvm/do_option: only need to invoke sed once here17:44
=== Nicke_ is now known as Nicke
=== dpm is now known as dpm-afk
=== robbiew is now known as robbiew-afk
=== robbiew-afk is now known as robbiew
persiaFor slideshow, might I suggest 800x576?  There's a few devices that only have 576 vertical, with significantly wider horizontal resolutions.21:15
=== cody-somerville_ is now known as cody-somerville
CIA-8partman-auto: cjwatson * r297 ubuntu/ (4 files in 3 dirs): merge from Debian 8723:08
eeejaypreseed/early_command is not working in ubiquity preseed, is this known? is it being run from inside initrd?23:10
CIA-8partman-auto: cjwatson * r298 ubuntu/debian/changelog: releasing version 87ubuntu123:11
cjwatsoneeejay: it is called, but I think it's (possibly mistakenly?) executed in the initramfs23:13
cjwatsoneeejay: you might try putting 'chroot /root' at the front of your early_command23:13
cjwatson(e.g. 'd-i preseed/early_command string foo bar baz' => 'd-i preseed/early_command string chroot /root foo bar baz'23:13
cjwatson)23:14
cjwatsoneeejay: it's also the responsibility of casper, not ubiquity23:14
eeejaycjwatson: ah, cool. thanks. would have taken me ages to figure that out myself23:14
cjwatsonI'm not 100% sure why we did it that way; I'm slightly concerned that changing it now would cause compatibility problems though :-/23:14
cjwatsonfeel free to file a bug on casper about it though ...23:15
eeejaycjwatson, so casper is responsible for preseed/*, that is what you mean?23:17
cjwatsonno, just that casper implements that particular one23:18
cjwatsonthough as it happens preseed/late_command isn't implemented at all in the live CD; https://wiki.ubuntu.com/UbiquityAutomation offers some replacements23:19
eeejaycjwatson: another question, does specifying the preseed file with dhcp work with the live CD, couldn't get that to work either23:21
cjwatsonI strongly suspect not; that's implemented by network-preseed in d-i and I imagine casper would have to duplicate that23:23
eeejaycjwatson: so your chroot suggestion didn't work23:24
cjwatsonassuming that the network is being brought up at the casper stage at least ... hmm, pretty tricky23:24
eeejaycjwatson: i also tried "touch /root/tmp/test". that didn't work either23:24
cjwatsoneeejay: exactly what is your preseed/early_command?23:24
eeejaycjwatson: a simple wget, just to so i could see it in the apache log on the other end23:25
cjwatson(also, it's after 11pm here, sorry but you might be better off filing a bug which I can deal with when more awake :-) )23:25
eeejaycjwatson: but touch does not work either23:25
eeejaycjwatson: no prob, thanks for the help23:25
cjwatsonplease attach /var/log/casper.log to any bug report23:25
cjwatsonwith any luck the problem will show up there23:25
eeejaycjwatson: thanks, i'll look at that file myself23:26
davmor2xivulon: how's things23:26
cjwatsoneeejay: you can compare with scripts/casper-bottom/24preseed in the casper source package23:27
cjwatsonreply="$(echo "GET preseed/early_command" | chroot /root debconf-communicate -fnoninteractive casper)"23:27
cjwatsonif [ "${reply#0 }" != "$reply" ]; then23:27
cjwatson(pass the sickbag)23:27
cjwatson        reply="${reply#0 }"23:27
cjwatson        sh -c "$reply"23:27
cjwatsonfi23:27
cjwatson(hmm, that really ought to check for the value being non-empty too ...)23:28
xivulonhi davmor223:33
xivulonall good thanks23:33
davmor2xivulon: hardy.3 finally tested now so yes :)23:34
xivulongood, new version are less stringent on point releases and should not create such trouble23:35
davmor2xivulon: I'm glad to hear that23:43

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