/srv/irclogs.ubuntu.com/2009/12/01/#ubuntu-installer.txt

=== robbiew is now known as robbiew_
=== jtisme is now known as jtholmes
evsuperm1: sorry about that (execute_root).  Thanks for the quick fix.09:42
CIA-15ubiquity: evand * r3602 trunk/ (11 files in 6 dirs): Additional code cleanup from pycheck findings.09:46
=== cjwatson_ is now known as cjwatson
* ev discovers http://people.canonical.com/~scott/daily-installer/, bounces10:18
=== ev changed the topic of #ubuntu-installer to: Don't ask to ask, just ask (and stick around, we aren't all here 24/7) | http://wiki.ubuntu.com/Installer/FAQ | Development of d-i and ubiquity in Ubuntu | http://wiki.ubuntu.com/Installer/Development | If nobody answers, try ubuntu-installer@lists.ubuntu.com | http://people.canonical.com/~scott/daily-installer/
cjwatsonhmm, I don't see what broke from the last couple of entries in daily-installer10:41
evhrm, I had assumed Mario's fix landed after that, but apparently not.  Not sure either.10:45
* ev digs10:45
cjwatsonthe install seems to have completed, from the logs10:48
evreading the logs of the meeting last week.  Did Scott ever share the code for the installer automation with you?11:07
cjwatsondon't think so though I imagine it's mostly glue11:12
cjwatsonnot really needed for partitioner work anyway ..11:12
evah, I figured his preseed file would be useful for cases like this where the cause of the failure isn't obvious.11:20
cjwatsonoh, for the partitioner I wouldn't be using automated bootcharting anyway, since the stuff I most want to analyse is manual bootcharting11:21
cjwatsoner manual partitioning11:21
evgotcha11:21
cjwatsonev: administrivia on work item formats: each line needs to end with ": TODO" or ": DONE" or ": INPROGRESS"11:47
evah, I thought empty sting would work, given the comments on the wiki page, but I haven't poked at the code.  Noted, will fix.11:48
cjwatsonhm, don't think so, normally I get a mail whining about the work item format :)11:52
cjwatson(although in this case I haven't yet)11:52
evheh12:09
evequally curious is why the daily-live build didn't run today12:31
cjwatsoncdimage has been souped up not to bother running the CD build if all the livefs builds failed12:40
evah, cool12:41
cjwatsonthe gnome-games and libdns50 problems should be fixed now, but I wonder what's going on with libesd ...12:43
=== persia` is now known as persia
cjwatsonhmm, the region of light spreading out from the Ubuntu logo in the usplash image is wide enough to overlap the text in the CD bootloader image, although only at a very low intensity13:06
* cjwatson prepares for some careful GIMP work ...13:06
cjwatsonactually, I'm not sure this is my forte13:07
cjwatsonmichaelforrest: if I gave you guys pointers to each of the images I needed glued together, could you take care of it? I don't spend very much time with image editing normally13:07
cjwatsonI don't mind about the colour depth or format or whatever of what I get back; I can take care of simple things like cropping and reformatting13:08
michaelforrestcjwatson: yeah you shouldn't need to get image editing13:15
michaelforrestcjwatson: can you send me a couple of screenshots so I can see the problem clearly?13:15
xivuloncjwatson, untangling 477169 which is a bit of a mess as there are probably different issues13:17
xivulonone is that lupin>grub-mkimage writes wubildr onto the wrong devices in some cases13:17
xivulonmany claim that initscripts update breaks the toy (this is the fix for the umount -f issue), but I fail to see how13:18
xivulonwould not think that triggers a grub-update and/or initrd rebuild at all...13:19
cjwatsonmichaelforrest: I can just send you the image files ...13:20
xivulonothers claim that grub cannot access files within the loop image, once those files are re-written13:22
cjwatsonxivulon: I didn't think we wrote wubildr to anything other than the filesystem?13:22
michaelforrestcjwatson: yeah that's fine13:22
xivuloncjwatson, we write wubildr to the device containing root.disk, which might not be the boot device...13:23
cjwatsonwhen you say "device" can you be more clear?13:23
cjwatsonas far as I'm aware we only ever write it to a filesystem13:23
cjwatsonas opposed to the raw disk device13:23
xivulonif a user installs wubi onto D:\\ubuntu, wubildr will still be on C:\\wubildr, we will try to put wubildr onto D:\\wubildr or exit13:24
xivulonon the linux side D:\\ will be mounted as /host, and C: will not be mounted at all13:25
cjwatsonoh, really? hmm. Is C:\wubildr just completely hardcoded then?13:25
xivulonnot hardcoded, I save wubildr where there is boot.ini13:25
cjwatsonthat's going to be almost impossible for lupin's grub-install to discover :(13:25
xivulonand if more than one device could potentially be a boot device I put it there too13:26
cjwatsonI don't think I have any idea how to soup up our grub-mkimage substitute to handle that ...13:26
xivulonin boot.ini you always have to call it "C:" but taht is a bug, as that will actually point to the correct windows boot device, whatever letter that has to be13:26
cjwatsoninitscripts update> maybe they got a kernel update at the same time or something13:27
xivulonwell we could replace wubildr on all fat/ntfs partitions that contain one to begin with13:27
cjwatsonI don't see why an updated initrd would cause a problem at all here13:27
xivulonbut I do not think that explains the bug13:27
xivulonyes even if we fail to upgrade wubildr, that should not cause reboot problems, assuming you could boot beforehand13:28
xivulon... unless the insmod in grub.cfg overrides the built-in module ...13:28
cjwatsonshould only matter if they're actually different13:29
xivulonwouldn't that be the case in a grub upgrade?13:30
cjwatsonthe only post-release change to grub2 was in shell scripts distributed along with grub213:31
* cjwatson looks over Mark Abene's patches13:36
xivulonwent there, he basically creates a separate /boot.disk13:38
cjwatsonyeah, no reason not to at least support that even if we don't use it by default, AFAICS13:38
xivulonso I assumed that it might be an issue with grub ntfs module, due to file size and/or fragmentation13:38
xivulontrue13:39
cjwatsonxivulon: are you ok with http://paste.ubuntu.com/332346/ ?13:39
cjwatsonit's almost certainly an issue with either ntfs or loopback, more likely ntfs13:39
cjwatsongoing to be a right pain to track down though13:39
xivuloncjwatson, patch seems good, do you also need to change grub.d scripts? (GRUB_DEVICE_BOOT)13:45
cjwatsonalready done13:45
xivulonev got you finally, you changed your nick!13:46
xivuloncjwatson, another theory is that initscripts introduces a regression that casuses fs corruption, which grub cannot sort out13:46
evah, indeed.  Apologies for the lack of notice.13:46
xivulonhow is wubi-r170 doing?13:47
cjwatsonxivulon: I'm not sure I'd go so far as to say fs corruption, but maybe the filesystem is marked dirty13:47
xivulonyes that is what I meant13:47
cjwatsonand e.g. journal not replayed or something, if it's not being unmounted properly13:47
cjwatsongrub obviously doesn't know how to replay the journal13:48
xivulonthe ntfs driver proper, can mount it anyway13:48
xivulonbut probably the ntfs inside grub can't13:48
xivulonyet you can access some files inside of the ntfs partition13:48
xivulonit is files inside of the loopfile that create problems13:48
cjwatsonthat does set off faint improper-unmount bells, I must say13:50
xivulonis there a sort of dirty-flag per file?13:50
cjwatsonnot to my knowledge13:50
cjwatsonbut if the changes to some particular file are only in the journal, and not written properly to the filesystem ...13:50
xivulonwell root.disk would be that one file, most likely, which would explain why you can see it but not access content in there13:50
cjwatsonshould be straightforward to tell whether the filesystem is marked dirty by rebooting from wubi, booting into ordinary Linux, and asking ntfsinfo or whatever it is13:51
xivuloncan't do that now, ev, davmor2 ^13:52
cjwatsonswitching over to using a small boot.disk by default is kind of appealing, but we'd have to decide on sizing for it which is always a pain in the arse13:53
evxivulon: I've just asked the IS team for an update13:55
xivuloncjwatson, the separate boot disk seems to confirm theory of dirty flag, it probably works because that partition is not being written to, as opposed to size issues14:03
xivulonev thanks14:05
xivuloncould it be that those guys do not have syncio activated for some reason?14:16
cjwatsonisn't the most likely answer that the initscripts lazy unmount stuff really is broken?14:18
cjwatsonsince that's the most recent relevant change, it seems to me that it would be better to focus on that ...14:19
xivuloncjwatson, yes that is the most likely reason14:19
davmor2xivulon: not sure what you want doing exactly plus need to shoot of for a bit14:20
xivulonI am a bit surprised though that there are unwritten journal items with syncio14:20
xivulondavmor2, install wubi and do a full upgrade, in post-install check that you have rootflags=syncio in cat /proc/cmdline14:21
cjwatsonmaybe depends just how unceremoniously we're ripping the device out from under ntfs-3g's feet ...14:21
xivulonthen shutdown, and check whether ntfs is corrupted by booting off a live CD and running ntfs-3g.probe14:22
xivuloncjwatson, the shutdown process is quite lengthy and there is no write operation, so I would expect there is plenty of time for ntfs to be synced out to disk14:23
xivulonwith the syncio patch we tried really bad things (such as pulling the power) and it hold quite well14:25
CIA-15tasksel: cjwatson * r1426 ubuntu/ (10 files in 3 dirs):14:38
CIA-15tasksel: * Point Ubuntu task update script at lucid.14:38
CIA-15tasksel: * Update Ubuntu tasks from seeds:14:38
CIA-15tasksel:  - Add new finer-grained eucalyptus-* tasks.14:38
CIA-15tasksel:  - Fix description of edubuntu-dvd-live.14:38
CIA-15tasksel:  - Rename Kubuntu Netbook Edition to Kubuntu Netbook Remix.14:38
CIA-15tasksel: cjwatson * r1427 ubuntu/debian/changelog: releasing version 2.73ubuntu2414:41
superm1ev, no problem. i just happened to be testing a lucid run at the time and it was a pretty ovb fix.15:07
superm1something weird is going on with the current dailies i think though.  i've been seeing them hang at 95 percent15:08
evyeah, me too.  I thought it was just me accidentally using ctrl-alt-left to move away from the window (causes KVM to have a bad time), but I guess not15:18
CIA-15ubiquity: superm1 * r3603 ubiquity/ (debian/changelog scripts/install.py):15:30
CIA-15ubiquity: Don't run run_target_config_hooks for OEM config mode. It's15:30
CIA-15ubiquity: already ran during actual installation and can cause problems15:30
CIA-15ubiquity: during the OEM config run. (LP: #473241)15:30
superm1^that needs to be backported to karmic.  it's causing karmic systems to fail unfortunately. i can get the SRU for it ready15:32
cjwatsondo we have a karmic branch already?15:32
cjwatsonwe should check whether there's anything else that needs to go out as well15:32
cjwatsonalso that bug is unreadable by me15:33
superm1i just added a ubiquity task for it, it should be readable now hopefully15:33
superm1there is a karmic branch already. there were two other things that were causing issues for some systems that ev did an SRU for15:34
CIA-15ubiquity: superm1 * r3579 karmic/ (debian/changelog scripts/install.py):15:38
CIA-15ubiquity: Don't run run_target_config_hooks for OEM config mode. It's15:38
CIA-15ubiquity: already ran during actual installation and can cause problems15:38
CIA-15ubiquity: during the OEM config run. (LP: #473241)15:38
superm1If there aren't any other fixes that need to be backported, i'd like to get this SRU uploaded in a few hours15:41
markhi15:58
markI'm updating our preseeding setup for 9.10, and have a little issue with grub2 in /etc/default/grub15:58
markdoes the installer modify that file?15:58
markit has:15:58
markGRUB_SERIAL_COMMAND="serial --unit= --speed=9600 --stop=1"15:58
markthat should be --unit=0 I guess15:58
CIA-15ubiquity: cjwatson * r3604 ubiquity/scripts/install.py: grammar16:12
CIA-15ubiquity: cjwatson * r3580 karmic/scripts/install.py: grammar16:12
cjwatsonsuperm1: I'm fine with that change, target-config was never intended for use in oem-config16:13
cjwatsonmark: it does, in grub-installer16:13
markok16:13
markany idea why it might do that?16:13
cjwatsonmark: what's your console=?16:14
markotherwise I'll check the source16:14
cjwatson        local serconsole=${1##console=}16:14
cjwatson        local device=${serconsole%%,*}16:14
cjwatson        local unit=${device##ttyS}16:14
cjwatson...16:14
cjwatson        echo serial --unit=$unit --speed=$speed $word $parity --stop=116:14
markconsole=ttyS1,57600n816:14
mark(or ttyS0 on others)16:14
markperhaps I should check it from within the installer16:14
cjwatsonI see the bug16:14
cjwatson(but not yet the fix)16:14
cjwatsongrub_serial_console is being called without arguments in the grub2 case16:15
markthe strange thing is, I think it worked a few installs ago16:15
marknot sure what changed :)16:15
markwhile we're at it, is there a good way to not have "quiet splash" added to GRUB_CMDLINE_LINUX_DEFAULT in that file?16:16
markcurrently I'm doing a sed in late_command16:16
cjwatsonthis code has never worked16:16
markodd then16:16
cjwatsonsed in late_command is probably best unfortunately16:17
cjwatson(and update-grub)16:17
markok16:17
markit works, it's fine ;)16:17
cjwatsonhttp://paste.ubuntu.com/332431/ is the fix for the sercon bug16:20
cjwatsonmaybe sed /usr/bin/grub-installer in early_command or something, to include that fix?16:20
markyeah :)16:20
markthanks!16:20
cjwatsonI've committed that upstream16:20
markyou're always so quick with fixes16:21
cjwatsoneither very quick or very slow ;-)16:21
cjwatsonERROR: foundations-lucid-jockey-support-in-ubiquity: invalid work item format: [pitti] Modify jockey to run apt-get update if the package cache is out of date.16:23
cjwatsonev: ^- yup, it complains :) fixed that lot16:23
evah, sorry about that.  Muscle memory is killing me here.16:23
evI'll endeavor to pay closer attention.16:23
markhmm, grub_install not present yet during early_command16:38
markI guess I'll have to fudge /etc/default/grub again during late_command16:38
cjwatsonit's not "grub_install" ...?16:38
cjwatsonis this a netboot installation?16:38
markyes16:38
markcan I pull it in?16:38
cjwatsontry partman/early_command instead (a hack, but should work)16:38
markhmm ok16:38
markall of early_command/late_command are hacks in our case, so one more won't hurt ;)16:39
markok, now that is correct, but grub complains during boot that it doesn't recognize the 'terminal' commands from grub.cfg16:58
markerror:rbad:unit.number.. 1416:58
markerror:kunknown5command0`terminal'16:58
markerror:ounknown1command1`terminal'16:58
markbad unit number is odd too16:59
mark--unit=1 should be fine for ttyS1 I'd think16:59
cjwatsonmark: this is one of those points where I might not be quite so quick - could you file a bug on grub-installer, please?17:06
cjwatsonand I'll look into it from there17:06
markof course :)17:06
markcould it be btw, that grub_installer looks at any existing (grub 1?) configuration in any way?17:13
markbecause I'm sure it worked before, probably only during the first 9.10 install that exceeded17:13
CIA-15debian-installer: cjwatson * r1209 ubuntu/ (16 files in 14 dirs):17:17
CIA-15debian-installer: Remove all traces of lpia, which is being decommissioned (see17:17
CIA-15debian-installer: https://blueprints.launchpad.net/ubuntu/+spec/mobile-lucid-lpia-future).17:17
cjwatsonmark: the grub-legacy code should be fine; if you did an installation that used grub legacy ...17:18
marknot knowingly, but it was an installation on a system which previously had 8.04 installed17:18
cjwatsonI don't *think* it should matter. TBH I think it's probably less interesting to analyse why it used to work than to fix the bug though :)17:19
markagreed ;)17:19
CIA-15debian-installer: cjwatson * r1210 ubuntu/ (9 files in 3 dirs): Move to 2.6.32-6 kernels.17:21
CIA-15ubiquity: superm1 * r3581 karmic/debian/changelog: release 2.0.10 into karmic-proposed17:26
cjwatsonsuperm1: (debcommit -r, please?)17:29
superm1oh neat, i didn't actually know about that.  i just manually tag usually17:30
superm1(so the tag is there at least)17:31
=== robbiew_ is now known as robbiew-afk

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