[00:00] <benh> cjwatson: I think best at this point is I setup an env., to build the installer myself so I can investigate
[00:01] <benh> cjwatson: oh and the live option doesn't boot all the way to X, but I'll look at that later
[00:01] <benh> cjwatson: could be X busted
[00:02] <cjwatson> sounds like a kernelspace bug to me, TBH
[00:02] <benh> could well be
[00:02] <benh> either that or something wrong with setfont
[00:02] <cjwatson> I can't see how the installer would even have any control over that
[00:02] <cjwatson> setfont isn't called on VT switch
[00:02] <cjwatson> so still a kernel bug :)
[00:02] <benh> yeah
[00:02] <benh> possibly
[00:02] <cjwatson> mjg59 adjusted font restoration on VT switch handling in the Ubuntu kernel recently
[00:02] <benh> could be specific to fbcon
[00:02] <cjwatson> that could be busted
[00:02] <benh> ok
[00:03] <benh> I can try using a different kernel see if it makes a difference
[00:03] <cjwatson> I've noticed something similar in kvm, FWIW
[00:03] <benh> ok
[00:03] <cjwatson> but I had put it down to kvm damage of some kind
[00:03] <benh> I haven't reproduced with real VGA text mode
[00:03] <benh> but I haven't tried hard on the x86
[00:03] <cjwatson> in the kvm case, I don't see brokenness on vt1
[00:03] <cjwatson> only on the non-newt vts
[00:03] <benh> kvm uses fbcon too ?
[00:03] <benh> yeah, that's what I see on the G5 too
[00:04] <benh> but I wonder if the ps3 is just showing a variant of that problem that happens to affect the newt vt
[00:04] <cjwatson> d-i uses vga16fb+fbcon
[00:05] <cjwatson> I'd been meaning to try out http://paste.ubuntu.com/6540/ at some point, having noticed that mjg59's patch leaks memory
[00:06] <cjwatson> could conceivably have something to do with it
[00:35] <benh> I'll have a look
[00:35] <benh> the console code is ugly as hell but heh
[00:39] <cjwatson> thanks. nothing new there :)
[00:46] <benh> cjwatson: ok
[00:46] <benh> so
[00:46] <benh> http://www.codon.org.uk/~mjg59/tmp/fix_fonts.diff
[00:46] <benh> it's a bug
[00:46] <benh> the ifdef VGA CON makes the font save/restore code be always called when vgacon doesn't exist
[00:47] <benh> instead of the other way around
[00:47] <benh> which breaks fbcon
[00:47] <benh> matthew mailed the kernel team, it should be fixed soon hopefully
[00:52] <cjwatson> ah! thanks
[00:52] <cjwatson> I'll chase that and make sure it gets in
[00:59] <benh> ok
[08:33] <Silicium> hi all
[08:33] <Silicium> iam try to add more than one Repos into the preseed file, can i do this or is better to create a post install script for this?
[11:07] <Mirv> if you plan to fix some of the remaining i18n bugs (https://lists.ubuntu.com/archives/ubuntu-installer/2008-April/000180.html), remember that Thursday is theoretically NonLanguagePackTranslationDeadline. of course, in the installer's case it just depends on a) when you do the last translation template upload to Rosetta and b) when you do the last translations download from Rosetta, so it's adjustable if you want I guess
[11:11] <grrrreg> Silicium: hi
[11:11] <grrrreg> Silicium: you can
[11:12] <grrrreg> d-i apt-setup/local0/repository string ftp://your.local.repo
[11:12] <grrrreg> and
[11:12] <cjwatson> err, no
[11:12] <grrrreg> d-i apt-setup/local0/comment string This is my repo
[11:13] <grrrreg> no ?
[11:13] <cjwatson> the value of apt-setup/local0/repository needs to be a valid sources.list line, minus the leading "deb "
[11:13] <grrrreg> oh yes
[11:13] <cjwatson> so you probably need ftp://your.local.repo/ubuntu hardy main or similar
[11:13] <grrrreg> sorry I didn't paste correctly
[11:13] <cjwatson> (but otherwise yes, though I didn't see the question ...)
[11:13] <grrrreg> my local repo only ends with "/"
[11:14] <Silicium> grrrreg: tjamls
[11:15] <Silicium> thanks
[11:15] <Silicium> damn qwerty
[11:41] <cjwatson> Mirv: thanks. I'm all too aware of the deadline and had been largely avoiding those as a result, but I might hoover up some small things.
[11:41] <cjwatson> Mirv: I've had a fair few complaints about the automatic language prompt in the boot menu, I think mostly because it looks like an accident. I think maybe that adding "Select your language" or something at the top might help
[11:42] <cjwatson> I would definitely have to notify translators and documenters about that
[11:43] <Mirv> cjwatson: yes, I think so Select your language could help those people who are puzzled about it (though it might be mainly people who have used earlier versions of Ubuntu installers, not new people)
[11:43] <Mirv> but usually a selection has some kind of title so it makes sense
[11:43] <cjwatson> it's a little difficult to squeeze everything in, and of course I don't actually have a widget set at that point, it all has to be drawn by hand
[11:44] <cjwatson> I could just put the menu title at the top to avoid requiring translation changes
[11:44] <cjwatson> so the Language and Keymap menus would change
[11:45] <cjwatson> maybe only add the menu title if the menu is bigger than one column
[11:45] <cjwatson> since otherwise it's rendered fairly clearly as a pop-up from the menu bar
[11:50] <Mirv> the menu title at the top would work too, quite nicely even. and also "Select your language" in English wouldn't be too bad since most people use the language selection only once and it's English anyway then before another language is selected... but both solutions are probably fine for people
[11:51] <cjwatson> I'll try figuring that out today, but I need some more REALLY STRONG COFFEE before attacking that bit of gfxboot-theme-ubuntu
[11:53] <Silicium> how i can create a script running after installing ubuntu (on the fresh system)
[11:53] <Silicium> ?
[11:53] <Mirv> cjwatson: good luck :)
[11:56] <grrrreg> Silicium: you can download your script with wget from another server, during preseed/late_command
[12:01] <Silicium> grrrreg: yea, i try
[12:01] <Silicium> but does not work
[12:02] <Silicium> ah
[12:02] <Silicium> i used base-config/late-command
[12:02] <grrrreg> don't forget to chmod 755 your script before running it ;)
[12:03] <Silicium> i already done on the server :)
[12:03] <grrrreg> and if you want to run your script from inside the target, I have done this way:
[12:04] <Silicium> of course i want run inside
[12:04] <Silicium> i only done a apt-get install
[12:04] <grrrreg> d-i preseed/late_command string wget blah; . /lib/chroot-setup.sh; chmod 755 /target/tmp/postinstall.sh; chroot_setup; chroot /target /tmp/postinstall.sh; chroot_cleanup
[12:04] <Silicium> thanks
[12:04] <grrrreg> /lib/chroot-setup.sh is very useful
[12:05] <grrrreg> and is actually used by apt-setup
[12:05] <Silicium> ok :)
[12:06] <cjwatson> depending on the complexity of the script, you may not need chroot_setup/chroot_cleanup
[12:06] <cjwatson> but it's useful if you might care about e.g. /proc being mounted
[12:08] <Silicium> blah; . /lib/chr
[12:08] <Silicium> should be lah; ./lib/chr ?
[12:09] <cjwatson> no.
[12:09] <cjwatson> '.' is a command
[12:09] <Silicium> mhm ok :D
[12:10] <cjwatson> (it means "read and execute commands from this file, without starting a subprocess"
[12:10] <cjwatson> )
[12:13] <Silicium> ok thanks
[12:22] <Silicium> cjwatson: should the d-i late_command show anythin on the installer?
[12:22] <Silicium> so i cant see any reaction
[12:36] <cjwatson> Silicium: not unless you explicitly add user interaction (which is a bit non-trivial)
[12:36] <cjwatson> Mirv: how does http://people.ubuntu.com/~cjwatson/tmp/gfxboot-language.png look to you?
[12:37] <cjwatson> I might also arrange for the F4 text not to be displayed until after you exit the language menu
[12:37] <cjwatson> since it looks a bit funny there
[12:50] <Silicium> cjwatson: no problem
[12:50] <Silicium> cjwatson: but the script does not start
[12:50] <cjwatson> check syslog for errors
[12:52] <Mirv> cjwatson: looks very good. yes the F4 text looks a bit funny though not that big of a problem.
[12:54] <Silicium> cjwatson: no entrie in the logfile
[12:54] <Silicium> is this before or after install grub?
[12:57] <cjwatson> after
[13:00] <Silicium> and after user-setup?
[13:01] <cjwatson> yes
[13:01] <Silicium> and before what? :)
[13:02] <cjwatson> it would be easier if you just posted the syslog rather than going back and forth
[13:02] <Silicium> :D
[13:04] <Silicium> http://marco.2am.ch/syslog
[13:08] <cjwatson> Silicium: search for /usr/lib/finish-install.d/07preseed
[13:08] <cjwatson> Silicium: you need to change your wget to output to /target/tmp/postinstall.sh rather than /tmp/postinstall.sh
[13:08] <cjwatson> Apr  7 11:53:34 log-output: chmod: /target/tmp/postinstall.sh: No such file or directory
[13:08] <cjwatson> Apr  7 11:53:34 log-output: chroot: cannot execute /tmp/postinstall.sh: No such file or directory
[13:18] <Silicium> uuh
[13:18] <Silicium> sorry
[13:18] <Silicium> that i could find self :/
[13:54] <Silicium> cjwatson: the package postfix want a user interaction to select wun type "internet site"
[13:54] <Silicium> so can i automate this?
[13:54] <Silicium> is not in the preseed i think
[13:54] <Silicium> its runs from postinstall
[13:58] <grrrreg> Silicium: there's two preseed lines to add to pre-configure postfix's installation
[13:58] <grrrreg> postfix postfix/main_mailer_type        select  No configuration
[13:58] <grrrreg> ("No Configuration" is an example)
[13:58] <grrrreg> and:
[13:58] <grrrreg> postfix postfix/mailname        string yourhost
[13:59] <Silicium> hmm can i use this if i do apt-get install in a script, outside the installer?
[13:59] <Silicium> mhm or i install postfix with the installer
[13:59] <Silicium> maybe
[14:00] <grrrreg> I have a script that executes debconf-set-selection before the aptitude install
[14:00] <Silicium> oh
[14:00] <Silicium> can i see?
[14:01] <grrrreg> well, it's a cfengine module, but it's very simple
[14:01] <Silicium> yea great
[14:01] <grrrreg> put your debconf conf in a file
[14:01] <Silicium> can i see? :)
[14:01] <grrrreg> then download it
[14:01] <grrrreg> then run a shellcommand action like this:
[14:02] <grrrreg> /bin/cat /var/cfengine/inputs/debco
[14:02] <grrrreg> nf/* | /usr/bin/debconf-set-selections
[14:02] <grrrreg> oops
[14:02] <grrrreg> /bin/cat /var/cfengine/inputs/debconf/* | /usr/bin/debconf-set-selections
[14:02] <grrrreg> see what I mean ?
[14:02] <Silicium> yep
[14:02] <Silicium> can i see you debconf file?
[14:02] <Silicium> or is this a d-i like file?
[14:02] <grrrreg> it is
[14:03] <Silicium> ok great
[14:03] <Silicium> in will try :9
[14:03] <grrrreg> it's exactly the 2 lines I put before, beginning by "postfix"
[14:09] <Silicium> echo "d-i postfix postfix/main_mailer_type        select  internet site" >> /tmp/postfixconf
[14:09] <Silicium> echo "d-i postfix postfix/mailname        string localhost.localdomain.int" >> /tmp/postfixconf
[14:09] <Silicium> like this?
[14:13] <grrrreg> yup
[14:13] <grrrreg> hm
[14:13] <grrrreg> no
[14:13] <grrrreg> without "d-i"
[14:13] <Silicium> ok
[14:14] <cjwatson> why not just put the configuration in your preseed file?
[14:14] <cjwatson> there's no need to mess about with calling debconf-set-selections externally
[14:14] <Silicium> does this works?
[14:14] <cjwatson> yes
[14:14] <Silicium> ok great
[14:14] <cjwatson> I wouldn't suggest it if it didn't
[14:14] <Silicium> ok great
[14:15] <cjwatson> doesn't matter how you install postfix - any entry in the preseed file whose owner is not "d-i" automatically gets preseeded in the installed system's debconf database
[14:15] <Silicium> ah
[14:16] <Silicium> fist is the owner?
[14:16] <cjwatson> (the owner being the first field, "postfix" above)
[14:16] <Silicium> d-i is debian installer
[14:16] <cjwatson> yes
[14:16] <Silicium> cool :D
[14:16] <cjwatson> the format is "owner question_name type value"
[14:16] <Silicium> grat
[14:16] <Silicium> other question
[14:16] <Silicium> how i can get the "question_name"?
[14:16] <Silicium> if i dont have
[14:18] <cjwatson> most of the questions you care about will be documented in the installation guide
[14:18] <cjwatson> for other packages, if it isn't documented, try /var/lib/dpkg/info/<package>.templates
[14:18] <Silicium> ok thx
[14:18] <cjwatson> as a general rule, only preseed the ones you need, don't go preseeding everything just because it's there :)
[14:18] <Silicium> yep
[14:19] <Silicium> i only need a base system mostly unattanded (only ip adress and diskpart) and automatically install a self programmed application
[14:32] <grrrreg> ben suffisait de l'acheter ya jours
[14:32] <grrrreg> arg
[14:32] <grrrreg> oops.
[14:35] <cjwatson> Mirv: are you sure about bug 203909? debian/po/fi.po in current ubiquity has those strings marked as translatable - they just have empty msgstrs.
[14:35] <ubotu> Launchpad bug 203909 in ubiquity "Network Proxy settings in Advanced dialog lack translations/i18n" [Medium,Confirmed] https://launchpad.net/bugs/203909
[14:36] <cjwatson> Mirv: as a general rule, please don't file bugs when ubiquity simply isn't up to date with Launchpad translations; it's very likely that we'll miss those bugs when we do update ubiquity, and then the bugs end up lying around as cruft
[14:37] <Silicium> hmm
[14:38] <Silicium> all config files got the name *.dpkg-new after automated install
[14:38] <Silicium> strange
[14:41] <cjwatson> Silicium: sounds like some packages didn't get configured
[14:41] <cjwatson> check syslog (again)
[14:42] <Silicium> yes is it
[14:42] <Silicium> strange
[14:43] <cjwatson> I don't see anything problematic in that regard in your previous syslog
[14:43] <Silicium> yep
[14:44] <Silicium> i will check that all
[14:47] <Mirv> cjwatson: isn't it installer team's job to upload a new template to rosetta, still? the current template in rosetta does not have the proxy settings translatable, which is why I filed the bug.
[14:48] <cjwatson> Mirv: sure it is, but a bug report doesn't help
[14:48] <cjwatson> we do it semi-automatically every so often
[14:49] <cjwatson> actually, technically it's something Carlos has been doing
[14:50] <cjwatson> and if there's a problem with that process, there isn't really a good place for the bug report - better to talk to us directly
[14:52] <Mirv> ok, well, it's hard to know for most people if something's a i18n bug in the ubiquity code or if the translation template in Rosetta is not up-to-date (since it's being done manually, unlike with other packages where each upload updates the templates too)
[14:53] <cjwatson> I understand for most people, but you know more :-)
[14:53] <cjwatson> I've asked on #launchpad for an urgent update
[14:53] <cjwatson> since it does seem to be way out of date :-(
[14:56] <Mirv> ok, I will keep in mind to check the current bzr templates etc. before filing the bugs. also, I do keep my bugs systematically up-to-date enough so they don't get left as cruft
[14:56] <cjwatson> fair enough
[14:56] <cjwatson> carlos is going to update the template in LP
[14:56] <Mirv> it's actually surprisingly easy to forget that most ubuntu-specific packages have the bzr repository available for checking...
[14:57] <cjwatson> I think, actually, that you can't really be expected to do that; I had incorrectly assumed that the LP template would be up to date and had been surprised that you hadn't checked that
[15:57] <Silicium> aah
[15:57] <Silicium> :9
[15:58] <Silicium> cjwatson: all works now :)
[15:58] <cjwatson> good stuff
[15:58] <Silicium> yea
[15:58] <cjwatson> what was the problem?
[15:59] <Silicium> i dont know, i added the debconf settings into the preseed file and then works
[15:59] <Silicium> and removed the echo >>
[16:02] <Silicium> the software selection is named "tasksel" right?
[16:07] <cjwatson> yes, though why do you need to know?
[16:07] <Silicium> so i need to skip that
[16:10] <cjwatson> surely you need to know the individual questions to preseed, rather than what the software is called
[16:10] <Silicium> mhm?
[16:10] <Silicium> i cant only set to skip?
[16:12] <cjwatson> could you elaborate?
[16:13] <Silicium> https://help.ubuntu.com/community/Tasksel?action=AttachFile&do=get&target=tasksel.jpg
[16:13] <Silicium> i want to skip this dialog
[16:13] <Silicium> :D
[16:13] <Silicium> withot any selection
[16:13] <Silicium> without
[16:13] <cjwatson> you can't just "skip" installer components in general, but you can preseed any questions they ask
[16:13] <Silicium> and how i do that?
[16:13] <Silicium> ah
[16:13] <cjwatson> search for tasksel/first in the preseeding appendix to the installation guide
[16:13] <Silicium> i cant
[16:14] <Silicium> ok
[16:15] <cjwatson> https://help.ubuntu.com/7.04/installation-guide/i386/appendix-preseed.html (7.10 guide isn't on the web yet, but is in the installation-guide-i386 package in 7.10 itself)
[16:16] <Silicium> any i need for 8.04
[16:16] <Silicium> but its the same i think
[16:16] <cjwatson> it's the same
[16:16] <cjwatson> you can look at the installation-guide-i386 package in hardy too
[16:17] <Silicium> where is located the guide aftern install?
[16:18] <cjwatson> it's not installed by default, but you can install the installation-guide-i386 package
[16:18] <Silicium> i have it
[16:18] <cjwatson> then it is in /usr/share/doc/installation-guide-i386/
[16:18] <Silicium> thx
[16:28] <Silicium> ok fixed
[16:28] <Silicium> and the "download language support" only can be skipped with boot options, right?
[16:28] <Silicium> pkgsel/language-pack-patterns= pkgsel/install-language-support=false
[16:34] <cjwatson> you can use the equivalent preseed file entries too ('d-i pkgsel/language-pack-patterns string', 'd-i pkgsel/install-language-support boolean false')
[16:34] <Silicium> ok
[16:35] <Silicium> thanks for your help mate
[16:35] <Silicium> so, i know i can use other ressources but this take a lot of time, and its not normal to get help like this :)
[17:01] <CIA-1> ubiquity: cjwatson * r2603 ubiquity/ (6 files in 5 dirs):
[17:01] <CIA-1> ubiquity: * Add a "Format the partition?" checkbox to the partition edit dialog
[17:01] <CIA-1> ubiquity:  (LP: #184838).
[17:12] <mario_limonciell> cjwatson, i didn't see it merged or any comments from you, so i just wanted to remind you I updated that branch for partman-auto's EDD improvement at http://bazaar.launchpad.net/~superm1/partman-auto/edd-improvements .  I tested it on a two drive system this time around and made sure that it was still picking the right drive.
[17:12] <cjwatson> oh, right, thanks for the reminder
[17:18] <mario_limonciell> once that is merged, would you or evan be able to do a ubiquity release and DVD generation sometime before RC to make sure there is still time before the big rush at RC time to catch last pending issues?
[17:19] <cjwatson> we definitely have to do that anyway
[17:19] <mario_limonciell> okay great
[17:20] <cjwatson> ok, that partman-auto branch looks fine
[17:21] <cjwatson> merging
[17:22] <evand> Is FinalFreeze tomorrow or Thursday?  I was under the impression it was Tuesday, but the MOTU announcement of it on ubuntu-devel@l.u.c has me confused.
[17:22] <CIA-1> partman-auto: cjwatson * r263 ubuntu/ (2 files in 2 dirs): merge Mario's edd-improvements branch
[17:23] <cjwatson> evand: Thu, afaik
[17:23] <evand> cjwatson: thanks for clairfying
[17:23] <cjwatson> still, no time to lose
[17:23] <evand> indeed
[17:23] <mario_limonciell> whenever these freezes happen there is always the confusion of which time zone they are referring to as well
[17:23] <mario_limonciell> and what time on that "day"
[17:24] <evand> (Just waiting on the new m-a to hit the archive before I start a new ubiquity release)
[17:25] <evand> indeed
[17:25] <cjwatson> mario_limonciell: it's always been kind of deliberate, to try to discourage people from pushing deadlines too tightly
[17:27] <CIA-1> partman-auto: cjwatson * r264 ubuntu/debian/changelog: releasing version 73ubuntu7
[17:33] <cjwatson> evand: I want to get my fix for the usplash fiasco in before the next release if possible; in progress on that
[17:33] <cjwatson> (you have to copy .Xauthority into /target somewhere, set XAUTHORITY to point to it, and bind-mount /tmp/.X11-unix. Ugh.)
[17:34] <evand> cjwatson: ack'ed
[17:34] <evand> heh
[17:35] <mario_limonciell> cjwatson, you can't just xhost + local:"" for the time being?
[17:35] <mario_limonciell> and bind mount .X11-unix
[17:36] <mario_limonciell> I had to do a similarish hack on when we launch setup inside the chroot for mythbuntu: http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/annotate/cjwatson%40canonical.com-20080407160143-xh1hutjtdhainnod?file_id=mythbuntusetup-20070702142439-ttoc7269gdy3xks7-5
[17:36] <cjwatson> I suppose I could but I have religious objections to that
[17:36] <cjwatson> and seeing as it isn't that hard to do it properly :)
[17:37] <mario_limonciell> right
[17:37] <mario_limonciell> it was more difficult to do it properly on the mythbuntu stuff because the new hostname had to take effect immediately
[17:38] <mario_limonciell> otherwise the launched app would fail to store settings properly
[20:39] <xivulon> bdmurry, when you have a few mins, can we resume on bug 204133?
[20:39] <ubotu> Launchpad bug 204133 in wubi "wubi install unusable - Buffer I/O error on device loop0" [High,Confirmed] https://launchpad.net/bugs/204133
[20:40] <xivulon> cjwatson, I suspect I will need some help on that...
[20:41] <evand> xivulon: already took it to the kernel team, see my PM
[20:41] <evand> oh, I'm not idenitified
[20:41] <evand> odd
[20:46] <xivulon> ah great
[20:47] <xivulon> bdmurray, as mentioned last time it would be useful if you could boot with init=/bin/sh and run a few tests
[20:47] <xivulon> evand re segfaults
[20:47] <bdmurray> xivulon: Is serial access necessary for that?
[20:47] <xivulon> I will try to make a build with (nsis) debugging symbols
[20:48] <xivulon> bdmurray no
[20:48] <xivulon> when you boot, press esc and use "e" to edit the kernel line in menu.lst
[20:48] <xivulon> append init=/bin/sh
[20:49] <xivulon> that should bring you to a console after run-init (~chroot)
[20:49] <xivulon> assuming you can get that far...
[20:50] <bdmurray> This is still a 2.6.24.12 kernel
[20:51] <xivulon> not sure if it is worth reintstalling with a recent build, just in case the issue was addressed
[20:51] <bdmurray> What did the other commenters say regarding media?
[20:53] <xivulon> Other than the ones that commented on the bug a few others commented on the forum, but do not know much other than the last 1 or 2 error lines: either buffer I/O or "respawning to fast" (which I assume is related)
[20:53] <bdmurray> okay, I'm at the init prompt fwiw
[20:54] <xivulon> can you check the r/w status of /host and /
[20:56] <bdmurray>  /host is 777 and . is 755 - is that what you are looking for?
[20:57] <xivulon> if you can try to write a few files
[20:57] <xivulon> touch /host.trash
[20:57] <xivulon> touch /host/trash
[20:59] <bdmurray> I used 'dd if=dev/urandom of=/host/trash bs=512 count=20' w/o any problem
[21:00] <xivulon> and on / as well?
[21:01] <xivulon> next is to run ntfs-3g.probe on the /host device
[21:04] <xivulon> and if that works I'd try to run manually the scripts in rcS.d
[21:04] <bdmurray> hmm, I'm not having any luck writing to /
[21:08] <xivulon> hmm what do you have in /proc/mounts
[21:09] <bdmurray>  /dev/loop0 is mounted at / and is whoing ro
[21:10] <bdmurray> showing that is
[21:10] <xivulon> can you pls reboot with break=init?
[21:13] <bdmurray> done
[21:19] <xivulon> bdmurray, lost connection, not sure if you posted any msg after my last reply
[21:19] <bdmurray> I've rebooted with break=init
[21:19] <xivulon> can you do the same exercise with /root ?
[21:20] <xivulon> should also be the mountpoint of /dev/loop0
[21:22] <bdmurray> there is no /dev or /proc mounted now but I was able to touch and edit a file on /
[21:22] <xivulon> the relevant mountpoint in this case is  /root
[21:22] <xivulon> which will then be chrooted to /
[21:23] <bdmurray> ah, with /root I see now
[21:24] <bdmurray> The filesystem is read-only
[21:24] <xivulon> umount /root
[21:24] <xivulon> losetup -d /dev/loop0
[21:25] <bdmurray> I can't unmount it because the device is busy
[21:25] <xivulon> ah sorry
[21:25] <xivulon> mount -o move /root/host /host
[21:26] <xivulon> then umount and remove loop device
[21:26] <xivulon> brb
[21:31] <bdmurray> xivulon: there is more than just host mounted under /root do they are need to be moved?
[21:36] <xivulon> bdmurray let me see what other breakpoint we can use, one sec
[21:39] <xivulon> break=bottom should do
[21:44] <bdmurray> rebooting again ;)
[21:46] <xivulon> thx for that
[21:47] <bdmurray> its weird going through 3 boot loaders. ;)
[21:49] <bdmurray> xivulon: you are looking for the results of losetup correct?
[21:50] <xivulon> losetup -d is to undo the loop device,
[21:51] <xivulon> I'd like to redo the operations one by one to see if there is any relevant message (syslog)
[21:51] <bdmurray> okay, I've done mount -o move and umount /root so far
[21:51] <xivulon> losetup -d /dev/loop0
[21:51] <bdmurray> losetup -d /dev/loop0 reports "ioctl: LOOP_CLR_FD: No such device or address"
[21:53] <xivulon> losetup /dev/loop0 /host/ubuntu/disks/root.disk
[21:54] <xivulon> mount -tv ext3 -o rw /dev/loop0 /root
[21:57] <bdmurray> it has mounted fine
[21:57] <bdmurray> and I can write to it now
[22:00] <xivulon> hmm
[22:01]  * xivulon wonders if there is any reason why roflag might have been set -r  
[22:02] <xivulon> shouldn't make any difference but we might try to do in one go
[22:02] <xivulon> umount /root
[22:02] <xivulon> losetup -d /dev/loop0
[22:03] <xivulon> mount -w  -o loop -t ext3 /host/ubuntu/disks/root.disk /root
[22:06] <bdmurray> What are you looking now?
[22:06] <xivulon> if /root is rw
[22:06] <xivulon> the above line is the same as used in initramfs
[22:07] <bdmurray> yes, it is rw
[22:09] <xivulon> did you test for rw after break=bottom
[22:10] <bdmurray> hmm, I'll test again just to be sure
[22:10] <CIA-1> ubiquity: evand * r2604 ubiquity/ (debian/changelog partman/check.d/03partition_too_small):
[22:10] <CIA-1> ubiquity: * Don't miscalculate with nested partitions in 03partition_too_small (LP:
[22:10] <CIA-1> ubiquity:  #198039).
[22:12] <bdmurray> after rebooting with break=bottom /root is ro
[22:12] <xivulon> hmm the only thing I can think of is that roflag is set to -r but I do not see how
[22:13] <xivulon> can you boot with: DEBUG=1 break=bottom
[22:14] <xivulon> ehm no
[22:14] <xivulon> debug break=bottom
[22:15] <xivulon> and look for roflag in /tmp/initramfs.debug (when /host/ubuntu/disks/root.disk gets mounted)
[22:15] <bdmurray> looking at dmesg it says recovery required ... recovery complete
[22:16] <xivulon> hmm can it be that if we have a sleep=nsecs before mounting the loop device it will work?
[22:16] <xivulon> because some fs operation does not have time to complete?
[22:17] <xivulon> you may try to boot with break=mount
[22:17] <xivulon> wait a few secs and type exit
[22:17] <bdmurray> sounds good
[22:20] <bdmurray> no change
[22:21] <xivulon> Then I'd boot with: debug break=bottom
[22:21] <xivulon> and look into syslog and dmesg
[22:21] <xivulon> and /tmp/initramfs.debug
[22:24] <joshk> xivulon: have you asked evand to do a sync for the is_supported_fs fix?
[22:24] <xivulon> yes
[22:25] <xivulon> and it has been released
[22:25] <xivulon> not sure though if it is already on the ISO
[22:25] <evand> it isn't yet
[22:26] <evand> I released it this morning
[22:26] <xivulon> not yet on iso
[22:29] <bdmurray> xivulon: Is this important? '+ mount -r -o loop -t ext3 /host/ubuntu/disks/root.disk /root'
[22:29] <xivulon> bdmurray yes very
[22:29] <xivulon> -r
[22:29] <xivulon> not sure how it did get there
[22:30] <xivulon> can you post the relevant lines that makeup roflag?
[22:30] <xivulon> should be -w
[22:31] <xivulon> should be -r only if [ -z "$LOOP" ], but $LOOP should be != ""
[22:34] <bdmurray> xivulon: http://pastebin.com/f732280bc
[22:35] <xivulon> ah no roflag is reset,
[22:36] <xivulon> there is another if block
[22:37] <xivulon> then it must be mounthost failing after init
[22:37] <xivulon> can you boot with break=bottom again?
[22:38] <xivulon> then run: mount -o remount,rw /root
[22:38] <xivulon> and see if the remount works (there is some tricky bits involving loop devices)
[22:38] <xivulon> in any case I do not think that resetting roflag is necessary...
[22:40] <xivulon> hmm no it is necessary...
[22:41] <bdmurray> remount'ing worked
[22:41] <xivulon> and /root is rw?
[22:41] <bdmurray> yes, I was able to touch a file on it
[22:42] <xivulon> then either there is an error in mounthost (after init) or mounthost is run too late!
[22:43] <CIA-1> choose-mirror: cjwatson * r587 ubuntu/ (Mirrors.masterlist.ubuntu debian/changelog):
[22:43] <CIA-1> choose-mirror: * Move sparc to ports.ubuntu.com, per
[22:43] <CIA-1> choose-mirror:  https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-March/000400.html.
[22:43] <CIA-1> choose-mirror:  (The actual packages have yet to be moved there, but that will happen
[22:43] <CIA-1> choose-mirror:  soon.)
[22:44] <xivulon> we have some new mounthost code by the way
[22:45] <bdmurray> could I boot and then update?
[22:47] <xivulon> yes boot and remount /root rw, then continue
[22:47] <xivulon> new code for /etc/init.d/mounthost is here: http://bazaar.launchpad.net/~ubuntu-installer/lupin/hardy/annotate/evan.dandrea%40canonical.com-20080407154533-rztovcdf8foxctkt?file_id=lupinsupport.mountho-20071025014343-c5dddjlu6r8jume9-1
[22:47] <xivulon> you might want to add some set -x, logging, breakpoint
[22:49] <xivulon> hmm sorry, I am talking crap. Mounthost should not have much to do with it, since it's role is to remount /host which should already be rw
[22:50] <CIA-1> choose-mirror: cjwatson * r588 ubuntu/debian/changelog: releasing version 2.19ubuntu5
[22:51] <CIA-1> ubiquity: cjwatson * r2605 ubiquity/ (debian/changelog scripts/install.py):
[22:51] <CIA-1> ubiquity: * Give reconfigured packages access to our X display, so that
[22:51] <CIA-1> ubiquity:  usplash.postinst can check its dimensions (LP: #188764).
[22:51] <xivulon> in fact checkroot.sh is the script that might be interesting
[22:57] <xivulon> bdmurray, if you break=bottom and remount rw, then enter exit, can you boot?
[23:00] <bdmurray> I got tty respawning too fast when i tried that
[23:00] <xivulon> then boot with init=/bin/sh
[23:02] <xivulon> and run manually the commands in /etc/rcS.d/
[23:05] <xivulon> maintaining the same order
[23:07] <xivulon> S10udev might be interesting
[23:11] <cjwatson> evand: might be an idea to practice doing a translation update with the instructions I sent a while back, for this upload
[23:12] <cjwatson> if it's the first time you've done one, I suggest reading the diff quite carefully for sanity-checking
[23:12] <cjwatson> evand: I'm done with everything I urgently want in this upload, BTW
[23:29] <evand> ok
[23:29] <evand> I'm actually on my way out the door to go grocery shopping, but I'll take care of the upload when I return.
[23:30] <evand> (with a carefully-checked translation update)
[23:34] <xivulon> bdmurray, have to reboot to do some testing in windows, let me know how it goes