/srv/irclogs.ubuntu.com/2008/04/16/#ubuntu-installer.txt

cjwatsongreearb: udebs should come out in ../, not in debian/00:10
greearbI wasn't building correctly, it seems...trying to build with debian/rules now..but first to port my patches to the official .24 ubuntu kernel....00:21
CIA-19oem-config: cjwatson * r453 oem-config/debian/changelog: fix bug number typo01:14
CIA-19ubiquity: cjwatson * r2663 ubiquity/ (configure configure.ac): bump to 1.8.601:35
TheMusocjwatson: I'll be committing my fixes as soon as I've found the least amount of time things can wait before orca can load. I'm doing various test runs on different machines, either from CD, or via wubi, and getting different results. At this point, it looks like 20 seconds is the best bet.01:40
TheMusoFor intrepid, I'd like to see if the sleep can't be changed to something that can detect when things are ready enough for orca to load.01:41
cjwatsonsleeps are certainly usually a problem01:43
cjwatsonbut ok, as a workaround01:43
cjwatsonif we can find something better, perhaps it can qualify for 8.04.101:44
cjwatsonhow are things going for release otherwise? Have you been picking things up off the milestone/hardy lists?01:44
cjwatsonthere are a bunch of build failures and things that it would be good to polish off (they'll just bite us later in security updates if we don't)01:45
TheMusoYes, although I'm stumped with that openssl upgrade bug. Other than dropping the priority of the restart question, I've no idea as to how that can be solved... bug 9181401:46
ubotuLaunchpad bug 91814 in openssl "libssl0.9.8 config asking me 'which services should be restarted to make them use the new lbraries?'" [Medium,Confirmed] https://launchpad.net/bugs/9181401:46
TheMusoAnd I am guessing that dropping the priority below what is set for Ubuntu, i.e high is not a good idea...01:46
cjwatsonhave you talked with mvo about it? one option would be to preseed that in the dist-upgrader01:47
TheMusoI'll do that tonight.01:47
cjwatson(as a possibility)01:48
TheMusoHowever I can also reproduce it using apt-get dist-upgrade on the console.01:48
cjwatsonright, but console users can expect a little more interactivity01:48
TheMusoYep, fair call.01:48
cjwatsonwe don't actually know that people are doing a full OS upgrade, rather than just dist-upgrade within a release or even for security updates, unless they're using the update-manager01:49
TheMusoRight.01:49
cjwatsonand for dist-upgrade people aren't (and shouldn't be) told to shut down all running programs01:49
cjwatsonthat's my reasoning, anyway01:49
* TheMuso nods.01:49
cjwatsonin 182446, Kees says "I ran into this as well. update manager did not notice the prompt (it was only visible in the "Terminal" output). In the past, we'd altered openssl's prompting levels to auto-restart when running within update-manager. Perhaps that patch was accidentally dropped?"01:50
cjwatsonI'm not sure what that alleged patch might have been, but perhaps worth looking into01:50
TheMusoYes indeed.01:51
cjwatsonTheMuso: bug 198453 is on the milestoned list, in case you haven't seen it02:04
ubotuLaunchpad bug 198453 in pulseaudio "Default ALSA device must use PulseAudio, otherwise ALSA applications may fail" [High,Confirmed] https://launchpad.net/bugs/19845302:04
TheMusoYes I've seen it, I'll take a closer look.02:08
greearb_Well, I got the udebs to be created, seemingly proper.  I copied them into the debian-installer localdebs and ran 'make build_cdrom_isolinux'07:44
greearb_I then coppied the dest/cdrom/initrd.gz and vmlinuz to the livecd/cd/casper/ directory07:45
greearb_I installed the matching kernel in the livecd filesystem chroot and rebuilt the iso07:45
greearb_the iso boots in qemu, but the installer goes to text mode and eventually fails to make progress because it cannot find the cdrom07:46
greearb_from the busybox shell, it seems like things are ok..the proper kernel is loaded, there are lots of modules loaded, etc.07:47
greearb_but, it certainly isn't like the official livecd experience.07:47
_rubenhmm .. development chan, also the right place for asking d-i related questions? (how to setup raid10 in particular, mdadm in shell only allows for raid0 and linear, d-i doesnt cover raid10 either)09:37
cjwatsonit's the right place in theory, but since as you say d-i doesn't have raid10 support, it's hard for us to help ...09:39
_rubenseems to be a slightly different issue in fact .. it keeps reverting to my old raid layout .. guess i'll have to zero out some (super)blocks or smth09:40
cjwatsonyou sure mdadm only allows for raid0 and linear? d-i expects it to support -l raid1 and -l raid509:40
_rubencjwatson: that was my bad, used build instead of create, but now im getting device in use because it somehow picked up my old configuration again09:41
cjwatsonsuperblock zeroing sounds plausible, though also if you're running d-i make sure to exit the partitioner first!09:42
_rubenmy mdadm skills seems a bit rusty .. kept using wrong commands .. got me a raid10 now :) .. lets see if d-i picks up on it09:43
cjwatsond-i's own raid integration definitely doesn't support *building* raid10 arraying09:44
cjwatsoner, arrays09:44
cjwatsonbut if you hit "Configure software RAID" in the partitioner and then immediately back out again, that should be enough to prod it into activating the devices09:45
_rubencjwatson: indeed, that's how im doing it now09:46
_rubenseems to work sofar09:47
_rubenanother annoying thing btw (havent checked if there's a bug for it already) .. say you create a /dev/md0 for /boot and a /dev/md1 for lvm .. format /dev/md0 as ext2 and assign to /boot .. then go setup your lvm .. the reference to /boot will be gone afterwards09:50
cjwatsonhmm, that's curious, I don't see why it should be doing that09:54
cjwatsonlet me see if I can construct a reproduction for that in kvm09:54
_rubensimilar behaviour on both physical and vmware installs, so i guess it should be easy to reproduce for you09:55
cjwatsonnot sure if I have time to fix it for hardy now even if I can reproduce it, but let's see09:56
_rubencjwatson: its not really a big issue, more a (small) annoyance ;)09:57
cjwatsonok, let's see, md0 and md110:19
* cjwatson randomly opts for raid110:19
_rubenraid10 install successful btw10:20
xivuloncjwatson, reopened bug #188492 because of last user feedback (I did not test it myself yesterday, as was doing windows side tests)10:22
ubotuLaunchpad bug 188492 in ubiquity "console-setup/layoutcode settings are ignored" [Medium,In progress] https://launchpad.net/bugs/18849210:22
xivulonmight also be that the wubi preseed is not adequate at this point10:23
cjwatsonurgh10:46
cjwatsonneed a copy of the wubi preseed that's actually active (rather than a sample one)10:46
xivulonyeah asked the chap to post all possible logs, as mentioned might be wubi side10:49
xivulonthe fact that he changed language, does not affect the keyboard layout for instance, since that depends only on the registry entry10:49
xivulonwhich for germany is mapped to "de"10:49
cjwatsonwell, it could also be that preseeding is working just fine but ubiquity isn't propagating it to the installed system properly10:55
tjaaltonany idea when the hardy installation guide is on help/doc.ubuntu.com?10:56
cjwatsonI haven't prodded mdke about it yet10:57
cjwatsonI can ask about that after RC10:57
tjaaltonok thanks10:57
cjwatson(remind me then?)10:58
tjaaltonsure :)10:58
cjwatson_ruben: gosh, reproducible11:00
_rubencjwatson: as to be expected11:12
cjwatsonwell, you might be surprised about partitioner bugs11:13
cjwatson_ruben: hmm, it isn't specifically LVM, it's the process of restarting the partitioner that loses it11:37
cjwatsonBLINK11:40
cjwatsonpartman-md/init.d/md-devices is HORRIBLE11:40
cjwatsonso the problem is that when the partitioner restarts, partman-md sets up all the RAID devices from scratch11:44
cjwatsonthis is probably so that things work right first time round, but of course when you're using RAID+LVM the RAID device is already set up and this has the effect of trashing it11:44
cjwatson_ruben: would you file a bug on partman-md about this? Just copying and pasting this IRC discussion would be fine11:45
_rubencjwatson: figured as much11:50
_rubeni'll file a bug in a bit11:51
cjwatson_ruben: link it to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398668 in Debian partman-md11:52
ubotuDebian bug 398668 in partman-md "partman-md: should not recreated device dirs at each partman restart" [Normal,Open]11:52
_rubenguess its ok to reuse that summary ?11:56
cjwatsonsure, except recreated => recreate11:58
_rubeni quoted you instead "partman-md sets up all the RAID devices from scratch" .. btw, it *might* be that partman-lvm has a similar bug .. would have to test that11:59
_rubencrap .. forgot to link it to debian, lets find the button for that12:00
_rubencjwatson: i must be blind, cant see how to link against the debian bug :(12:02
cjwatsonAlso affects: Distribution/Package...12:03
cjwatsonselect Debian and partman-md, paste in URL above12:03
_rubenah12:03
cjwatsonpartman-lvm works a bit differently (it checks whether the LV is non-empty before initialising it), so I don't think it has the same problem12:04
_rubendone .. bug #21814112:04
ubotuLaunchpad bug 218141 in partman-md "partman-md sets up all the RAID devices from scratch" [Undecided,New] https://launchpad.net/bugs/21814112:04
_rubencjwatson: ah, could be12:04
cjwatsonobviously I might be misreading the code, but it looks OK12:05
_rubenis there any way to automate an installtion based on lvm on top of raid .. neither sw raid and lvm seem supported in the various automation methods12:32
cjwatsonerr, there are specialised autopartitioning methods for both raid and lvm12:36
cjwatsonI don't think it's possible to do the combination at present though, sorry :(12:36
cjwatson(which I regard as a major omission)12:36
_rubenic, guess i'll focus on automating the rest of the installation then (which isnt all that much for a server install, spending most my time in the partioner :P)12:39
greearb_cjwatson, any idea on my lack-of-graphical installer problem with the respun live cd?16:22
cjwatsonerr, I didn't read closely before16:23
cjwatsonyou said you dropped a d-i initrd in and tried to use it with casper16:23
cjwatsonI'm afraid that's totally wrong, sorry if I misled you - you can't use casper that way16:23
greearb_yes, I think that's what I did16:23
greearb_heh, oh16:23
cjwatsoncasper initrds are built on a regular system with the casper package installed, by running update-initramfs -u and fishing them out of /boot16:24
cjwatsonhave a look at the livecd-rootfs package16:24
cjwatsonsorry if I wasted your time, looking back you did say that you were working on a live CD but then you mentioned udebs and I fixated on that16:24
greearb_hrm, that is what I was doing at the very beginning..but I had troubles then too...maybe I should try again16:24
cjwatsonthose will be soluble troubles though :)16:25
greearb_well, since I went through the trouble..what use is the udeb initrd & vmlinuz?16:25
greearb_just in case I accidentally did something useful :P16:26
cjwatsonit's for the alternate/server CDs16:26
greearb_oh, ok16:27
cjwatsontraditional installer rather than live CD-style16:27
greearb_that makes sense, that seemed to be what it was trying for16:27
greearb_is there any benefit of those over a live cd though?  I can't think of any offhand...16:27
greearb_sorry, afk for a few min...getting kid ready for school16:28
cjwatsonseveral pros and cons16:29
cjwatsonmuch lighter on memory, more flexible partitioning, much more flexible package installation16:29
cjwatsonbut more complex and you can't try it out before installing16:30
cjwatsonso, we still ship both, and I expect will continue to do so16:30
evandand slower16:31
greearb_ok, I built the kernel with the debian/rules, which does the mkinitrd automatically when you apt-get install it (in the squashfs chroot file-system in my case)17:06
greearb_It gets to the part where the slider bounces back and forth, and then it abruptly puts me into a (initramfs) prompt17:07
greearb_Maybe I need to hand-build the initrd special?17:08
cjwatsongreearb_: have a look in /casper.log to see what broke17:15
cjwatsongreearb_: did you have the casper package installed in the chroot when you built the initramfs?17:16
evandcjwatson: FYI: I'm running into a bug wherein partman fails on the latest daily live CDs on account of something locking /dev/sda.17:19
cjwatsonnot fixed by seb's gvfs upload by any chance?17:19
cjwatsonthanks for the information though; let me know if you need help17:19
evandwas that post-20080416?17:19
evandin my case I manually partitioned, created a new partition table and a single partition, but it fails as it cannot stat /dev/sda1.17:20
evandrunning hdparm -z /dev/sda says that it's busy, so I killed all the user processes except bash, but still no dice.17:21
cjwatsonit was today17:21
greearb_cannot mount the //filesystem.squashfs:  no such device17:22
evandah17:22
cjwatsonhmm, ok, that doesn't sounds like a race17:22
greearb_but, dev/loop0 exists (it seems), and so does the filesystem.squashfs17:22
cjwatsongreearb_: it ought to be /casper/filesystem.squashfs, normally17:22
greearb_er, filesystem.squashfs a directory17:22
cjwatson!17:22
greearb_and empty one at that :P17:23
cjwatsonthat sounds perhaps suboptimal17:23
greearb_no casper/ dir at all17:23
cjwatsonright, your ISO's a bit toasted then17:23
cjwatsonhave a look at how Ubuntu desktop CDs are laid out, is probably the easiest way17:23
cjwatsonor use a hacked version of livecd-rootfs to build it (that's probably what I'd do; a little more capital outlay in setup, but much easier long-term)17:24
greearb_funny though, the exact same iso image will boot fine if I just copy over the initrd and vmlinuz from an official kernel build17:24
cjwatsonwell, I don't know what it's booting if filesystem.squashfs is empty17:24
cjwatsonprobably your normal system17:24
cjwatson(at best)17:25
greearb_can't be...I'm running it on a fedora 8 machine inside of qemu17:25
cjwatsonas in, the CD is acting as a complicated chain-loader for the nearest operating system it can find17:25
cjwatsonif there's no squashfs, then it doesn't have anything else it can reasonably boot ...?17:25
cjwatsonso if that's not it then there is something weirder going on17:26
greearb_cdrom/casper/ has the real thing it seems17:26
greearb_615MB squashfs file17:27
cjwatsonerr, right, I meant /casper within the ISO9660 filesystem17:31
cjwatsonsorry for being unclear17:31
greearb_I tried:  mount /cdrom/casper/filesystem.squashfs /filesystem.squashfs17:31
greearb_it gives:  Mounting /dev/loop0 on /filesystem.squashfs failed:  Invalid argument17:31
cjwatsoncasper should do that (better) itself17:32
greearb_before it, it says 3 times: /dev/loop0 is write-protected, mounting read-only17:32
cjwatsonyou didn't forget to build loop into your kernel, did you?17:32
cjwatsonor squashfs?17:32
greearb_loop is definately there...maybe missing squashfs17:32
cjwatson(they can be modules)17:33
greearb_does that require an outside patch, or is it there by default in 2.6.24?17:33
cjwatsonexternal17:33
cjwatsonit's in linux-ubuntu-modules-2.6.24 in Ubuntu17:33
greearb_ahhh, bummer..that would explain it17:33
greearb_I'll figure out how to patch that in17:34
=== evand_ is now known as evand
evandyeah, it's definitely not fixed by that gvfs upload :/.  I chrooted into /root and upgraded and it's still saying that /dev/sda is busy once I get to the desktop. Still looking.18:31
evandactually, I can reproduce this reliably on the Kubuntu live CD as well.18:37
evandah, it's not swapoff'ing the swap partitions before trying to re-read the partition table.18:53
evanderr rather, swapoff'ing the partitions first allows it to proceed without issue18:55
mathiazIs there a maxmium limit on the length of the late_command in a d-i preseed ?20:16
xivuloncjwatson, evand, I have also reopened #195905 (http://ubuntuforums.org/showthread.php?t=757040) :(20:24
evandughhh, hopefully they can get those logs to us in a timely fashion.20:28
xivulonany news on 188492?20:31
evandstill trying to trace the cause of another bug at the moment20:32
xivulonI'll be home in a couple of h and give it a shot20:32
evandmuch appreciated20:34
evandcjwatson: whenever you have a moment, can you please take a look at bug 218394?22:03
ubotuLaunchpad bug 218394 in partman-base "partman fails to swapoff all swap partitions on the target device" [Undecided,New] https://launchpad.net/bugs/21839422:03
xivulonevand small one, progressbar still reaches 128% in ubiquity22:04
* xivulon testing layoutcode22:05
xivulonconsole setup is not correct while ubiquity runs...22:09
xivulonnot sure if it has to be set then22:09
xivulonpostinstall layout is also wrong22:19
xivulonwill reinstall in verbose mode to get better log22:20
xivuloncjwatson pls let me know if you need any special info22:20
cjwatsonevand: oh, meh, I see - the idea's definitely correct, let me recaffeinate and digest the patch22:22
cjwatsonxivulon: I desperately need the preseeded information that's actually being set22:38
cjwatsonxivulon: because I did test my fixes (admittedly before upload) and they were working for me22:38
xivulonone sec22:38
cjwatsonso you must be doing something subtly different, and I need to know what22:38
xivulonhttp://paste.ubuntu.com/7232/22:39
cjwatsonand what's happening with that preseed file?22:40
cjwatsonis it leaving the layout at us or something?22:40
xivulonI think it is us yes22:40
cjwatson(bizarre in itself, even if it screws up the preseeding it should take the default for en_GB.UTF-8 surely, which is gb)22:40
cjwatsonwhat does shift-3 give you?22:41
xivulon#22:41
cjwatsonok, so not gb at any rate22:44
cjwatsonwhat kernel parameters are you using?22:44
xivulonkernel /ubuntu/install/boot/vmlinuz boot=casper debian-installer/custom-installation=/ubuntu/install/custom-installation iso-scan/filename=/ubuntu/install/hardy-desktop-i386.iso quiet splash ro automatic-ubiquity locale=en_GB.UTF-8 noprompt --22:46
xivuloni22:46
xivulonthis is my vm rig, this is slightly different from the real iron test (no locale in there)22:47
cjwatsonok, let's see22:52
cjwatsonI'll leave off all the custom-installation stuff; I assume it isn't relevant here22:52
cjwatsonso you said it was definitely broken while ubiquity was running too? that will make it easier to attack22:52
cjwatsonoh heck, custom-installation is where the preseeding is done, ok22:54
cjwatsonbut it just shoves it into the initramfs22:55
cjwatsonhmm, casper preseeding is really a bit broken as far as the special cases are concerned22:56
xivulonI can use kernel boot args if that helps22:57
cjwatsonI was about to ask, yes22:57
cjwatsonI think it's likely to help, but I'll just do a bit of testing22:57
xivulonI'll try to install then with locale=en_GB.UTF-8 layoutcode=gb22:58
cjwatson(that will need to be console-setup/layoutcode=gb of course)22:58
xivulonyep22:59
cjwatsonunfortunately a proper fix is either (a) big pile of ugly special-case hacks or (b) restructure casper's argument parsing22:59
cjwatsonneither of which fill me with love and sparkles at T-8 days :-/22:59
xivulonI could use some of my hooks to hack it in via wubi/custom-installation too...23:01
cjwatsonplease don't :)23:01
cjwatsonkernel args> much easier and simpler23:01
xivulonif that is not enough of course23:02
cjwatsonoh, god, my system is absolutely crawling while this DVD downloads, I'm going to go and do something else for a little bit23:03
xivulonone sec23:03
xivulonat break=bottom layout is wrong23:05
xivulonalso after run-init23:05
xivulonkernel /ubuntu/install/boot/vmlinuz boot=casper debian-installer/custom-installation=/ubuntu/install/custom-installation iso-scan/filename=/ubuntu/install/hardy-desktop-i386.iso quiet splash ro automatic-ubiquity debian-installer/locale=en_GB.UTF-8 console-setup/layoutcode=gb noprompt --23:06
xivuloni23:06
cjwatsonit's right in debconf but not applied. hmm23:17
cjwatsonthis is with a preseed file though23:18
cjwatsonusing a preseed file for locale and keymap is definitely busted and not easily reparable for hardy23:18
cjwatsonso let's ditch that plan for now23:19
xivulonin config.dat layoucode has value us23:19
cjwatsondid you remove the bits from the preseed file?23:19
cjwatsonif not I suggest you do so - this code is convoluted enough that I wouldn't want to guarantee that it behaves in a way you might expect23:20
cjwatsonsaying locale= rather than debian-installer/locale= should be fine for shortening purposes though23:20
xivulonno will do so now23:22
xivulonalso locale?23:23
cjwatsonhmm?23:25
cjwatsonwith kernel parameters, keymap is wrong in the console (and to be honest I'm not surprised, very tricky to fix that one because it's hard to switch the keymap while usplash is running), but correct in X23:26
cjwatsondid you mean "also layoutcode?"? No, leave that as console-setup/layoutcode=23:27
xivulonI normally preseed locale, layoutcode, variantcode, will comment all 323:27
cjwatsonmove all to the command line, and remove/comment them from the preseed file23:27
cjwatsonthe keyboard test box does the right thing in ubiquity when I set it up this way too23:28
agobattery run out...23:34
agoone sec23:34
agohmm ubiquity is still with wrong layout23:37
agowill try to boot into Live Desktop skipping preseeding23:42
agoah wait I tested in console only in the last run...23:43
cjwatsonright, the console is going to be wrong23:44
agoin fact in the last 2 runs... missed your comment23:44
cjwatsonthe problem is that in order to set the keyboard layout you have to do so before usplash starts23:45
cjwatsonwhich is ridiculously early in the boot process, well before casper starts23:45
cjwatsonwe do this for regular systems with a working /etc/default/console-setup, but not for the live CD23:46
cjwatsonnow, it would be possible to just special-case /proc/cmdline in the console-setup initramfs-top script23:46
cjwatsonthat might be the best answer23:46
cjwatsonstill wouldn't (and couldn't possibly) deal with preseed files for it, but actually I think that's ok23:46
cjwatsonjust like d-i, there are certain things you can't do in preseed files and that have to go on the kernel command line23:47
agohmm launching gedit during ubiquity and typing gives me wrong chars23:48
cjwatsonwhat does XkbLayout in /etc/X11/xorg.conf say?23:49
agois that already in initramfs-top?23:49
cjwatsonnever mind initramfs-top for now23:49
cjwatsonI was thinking out loud23:49
agous23:49
cjwatsonmeh23:50
cjwatsoncat /proc/cmdline (just so I am sure)?23:50
cjwatsondebconf-get console-setup/layoutcode 2>/dev/null23:50
agokernel /ubuntu/install/boot/vmlinuz boot=casper debian-installer/custom-installation=/ubuntu/install/custom-installation iso-scan/filename=/ubuntu/install/hardy-desktop-i386.iso quiet splash ro automatic-ubiquity debian-installer/locale=en_GB.UTF-8 console-setup/layoutcode=gb noprompt --23:51
cjwatsonalso, is this before or after you reach the keyboard step? what exact point during ubiquity is this?23:51
cjwatsonplease confirm that you have removed debian-installer/locale and console-setup/* from the preseed file23:51
agoconfig.dat is locked because ubiquity is running23:52
agoyep no locale in preseed (unless it sourcing it from somewhere else)23:53
agoI let ubiquity automatic run23:53
agoit was in the copying files stage23:53
cjwatsonok23:53
agoin config.dat locale is set correctly, but layoutcode have value us23:56
cjwatsonnot reliable if debconf is running of course, could be only in memory23:56
cjwatsonI wonder if this is the fault of the timezone page23:56
cjwatsonI noticed it incorrectly defaulted to New York even after preseeding locale=en_GB.UTF-8 (this is an old problem, been around in one form or another since dapper)23:57
agotimezone appears correct in config.dat23:58
agolet me try in the live cd environment23:59

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