/srv/irclogs.ubuntu.com/2012/03/06/#ubuntu-installer.txt

CIA-32ubiquity: cjwatson * r5233 trunk/gui/gtk/ (4 files): Fix whitespace on accessibility properties00:04
CIA-32ubiquity: cjwatson * r5234 trunk/ (3 files in 3 dirs): Make the migration-assistant tree view expand again (LP: #946123).00:28
tokarbolI tried the ubuntu-installer GTK mini-iso for precise, but this fails to start Xorg fbdev.09:31
tokarbolCan you give me a hand on this?09:31
tokarbolfbdev xorg video driver seems to be in place09:38
tokarbolhttps://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/93927809:41
ubot2`Launchpad bug 939278 in debian-installer "GTK mini-iso can't start X" [Undecided,New]09:41
tokarboloh, thank you, ubot209:41
tokarbolthat's the one.09:41
tokarbol:p09:41
ogra_tokarbol, i dont think anyone ever tests that installer ... we either test the pure text version or ubiquity09:44
tokarbolI thought so, I don't mind that much09:45
tokarbolthat's why I wanted to investigate it further as I guess you may not have time to spend on this09:45
tokarbolbut I don't know where/how to look for it09:46
tokarbolit's either Xorg driver problem (crash) or the scripts fail to display anything and the X shuts down09:46
tokarbolthen it's restarted by the /lib... something script09:47
ogra_well, first of all you should check if the driver is there at all09:47
tokarbolit is09:47
ogra_(is there a udeb installed carrying it)09:47
tokarbolfbdev driver is in place, and that one should suffice09:48
ogra_all dependencies too ?09:48
ogra_do you have an xorg log by chance ?09:48
tokarbolgive me a second, I can get you that09:49
tokarbolpastebin or the bug report?09:49
ogra_i think the latter (mind you, i'm busy with other stuff, but such info should indeed be on the bug)09:49
tokarbolok, it's there09:53
* cjwatson has a look09:54
tokarbolI think this is either some crash that's not much verbose10:01
tokarbolor this is a log from a correctly-started-and-stopped X10:02
cjwatsonit's certainly not the latter10:02
tokarbolbut it doesn't say why the X client running stopeed...10:02
tokarbolno?10:02
cjwatsonEINVAL from FBIOBLANK suggests that it's being run on an incorrectly configured framebuffer10:02
cjwatsonI suppose that isn't necessarily the problem even though it's the last error message in the log10:03
cjwatsonmm, looking at the source, that error doesn't seem to be fatal10:04
tokarbolI tested this on vbox and an intel gpu10:05
tokarbolthe framebuffer seems to be initialized correctly by the kernel10:06
cjwatsonthe server does start up correctly10:07
cjwatsonso yeah, you're right, sorry, it is a log from a correctly-started-and-stopped X10:07
tokarbolok - so where should I look for installer error messages?10:07
tokarbolwhen I scroll-lock the first console it says10:09
tokarbolFatal... server is already active for display 010:09
tokarbol...ddxSigGiveUp: Closing log10:10
tokarbolGtk-WARNING **: cannot open display: :010:10
tokarbolis it possible that it runs on :0 but cannot access it?10:10
cjwatsonstarting the client up by hand seems to work10:11
cjwatsoninstaller errors should be in /var/log/syslog10:11
tokarbolwhich client did you start?10:12
cjwatsonuh, it involves a zillion environment variables :)10:12
cjwatsonDEBIAN_FRONTEND=gtk LANG=C.UTF-8 DISPLAY=:0 MENU=/usr/bin/main-menu /lib/debian-installer/menu10:12
tokarbolnot that bad10:12
sorenAm I supposed to do something special for netcfg to pick up the BOOTIF parameter from the kernel command line when I'm PXE booting? I see it in /proc/cmdline, but I'm still prompted for which interface to use.10:14
sorenThis is on precise, btw.10:14
tokarbolsorry, my proxy connection is just useless10:15
tokarbolunfortunately, the command gave me an error as well10:16
tokarbol(tried from second console10:16
tokarbol)10:16
cjwatsonsoren: have a look in syslog, it's kind of picky about the format10:16
cjwatsontokarbol: I'm trying to build a test image for myself so that I can get a more accurate idea of what's going on10:17
tokarbolI tried compiling this from the source debian-installer package as well, same results10:18
cjwatsonsure, that wouldn't make the slightest difference10:18
tokarbolso either something is missing from udeb pkgs10:18
tokarbolthat shouldn't make, but things tend to happen during a build in a dev env10:19
tokarbol(not this time though)10:19
sorencjwatson: Will do that, thanks.10:19
sorencjwatson: Ok, looking at the syslog now... What am I looking for?10:23
cjwatsondoes it say "Could not find invalid BOOTIF= entry in /proc/cmdline"?10:24
sorencjwatson: Should I enable more debugging somehow, perhaps? It doesn't even say BOOTIF anywhere at all.10:24
cjwatsoncan I just see the syslog?10:24
sorencjwatson: Nope. "grep BOOTIF /var/log/syslog" comes up empty.10:24
cjwatsonalso can I see your /proc/cmdline?10:24
sorencjwatson: Let me see if I can extract them somehow.10:25
sorencjwatson: Before I do this.. Is there more logging I can enable so we have as much to work with as possible?10:26
cjwatsonno10:26
cjwatsonwell, in general with installer debugging it's a good idea to add the boot parameter DEBCONF_DEBUG=developer, but I doubt it'll help here10:27
sorenAlright.10:27
* cjwatson throws strace into this GTK image in order to try to get some actual *information*10:29
sorencjwatson: http://paste.ubuntu.com/871261/ and http://paste.ubuntu.com/871262/10:34
sorencjwatson: Oh, and the preseed file:10:35
sorencjwatson: http://paste.ubuntu.com/871263/10:36
cjwatsonWell, that thinks it parsed BOOTIF successfully10:38
cjwatsonMar  6 10:28:03 netcfg[2449]: INFO: Found interface eth0 with link-layer address 00:25:b5:0b:0c:be10:38
sorencjwatson: Ok..10:39
cjwatsonoh, wait, try netcfg/choose_interface=auto10:41
cjwatsonthat'll make it actually bypass that question based on BOOTIF10:41
cjwatsonby default it only changes the default answer but still asks the question10:42
sorenAh, yeah, just spotted that, too.10:42
sorenDidn't make it that far down netcfg_get_interface before. :)10:42
sorenI kept assuming it didn't find the right interface of whatever.10:43
* soren never really understood the proportional relationship between the price of a server and the time it takes to boot10:46
sorencjwatson: Awesome. Seems to have worked like a charm.10:49
sorencjwatson: Thanks!10:50
cjwatsontokarbol: hm, I don't think it's even starting the menu10:58
tokarbolok...10:59
tokarbolI manually started Xorg from the second console and I got the menu11:00
sorencjwatson: Oh, one more thing... With that preseed ( http://paste.ubuntu.com/871263/ ) wouldn't I be getting a statically configured eth0?11:00
cjwatsonhow do you mean11:01
cjwatson?11:01
tokarbolwho?11:02
soren/etc/network/interfaces in the installed system is set to configure eth0 using dhcp.11:02
sorentokarbol: Oh, excellent question :)11:02
cjwatsonI meant soren11:02
sorenOh, good.11:02
sorenThen I stand by my answer.11:02
cjwatsonsoren: mm, possibly, there isn't much provision for making that dynamic save for using either network-manager or biosdevname11:03
cjwatsonyou can try biosdevname=1 if it supports your hardware11:03
sorenSorry, "making that dynamic"?11:03
sorenLet me start over :)11:03
sorenSo, BOOTIF chooses the interface.11:03
sorenI want to statically configure that interface.11:04
sorenI thought that preseed file would do that.11:04
soren...but for some reason it's choosing dhcp.11:05
soren..and I can't work out why.11:05
cjwatsonoh sorry11:06
cjwatsonthe preseed file isn't read until after network configuration11:07
sorenOh, of course.11:07
cjwatsonanything you need to apply before the preseed file is read needs to go on the kernel command line11:07
soren*headdesk*11:07
sorenI forget the protocol for loading kernels.. What's the limit on kernel command line length?  Will all that stuff fit?11:08
cjwatsonI think you can drop some of it, one moment11:08
tokarbolweird, when I run Xorg from the 2nd console, the installer shows the Gtk language selection menu, but my keyboard&mouse are unresponsive, can't even change vt-s11:09
cjwatsonsoren: I think you can drop netcfg/dhcp_failed and netcfg/dhcp_options11:09
cjwatsonthe rest should fit I think11:10
cjwatsontokarbol: strace indicates that the shell that's waiting for the X server to finish starting up isn't responding to the SIGUSR1 it gets sent11:10
cjwatsonwell, unless strace is lying to me :)11:11
StevenKstrace lying is an interesting concept.11:12
cjwatsonmind you strace is known to affect signal delivery in some cases11:13
cjwatsonso maybe that's bogus11:14
cjwatsonI wonder if this is kickseed's fault, after a fashion11:22
cjwatsonyes!11:24
tokarbolwhat?!11:24
cjwatsonrootskel-gtk recently started passing -terminate to the X server, for other reasons11:24
cjwatsonthis means that it exits after the first client exits11:24
cjwatsonbut kickseed is a client that runs before the main menu does ...11:25
tokarboloh11:25
cjwatsonhmm, tricky11:26
tokarbolok, I'd never find that11:26
tokarbolactually, I still can't find it - where is it started from?11:28
cjwatson/lib/debian-installer.d/S65kickseed11:30
tokarbolI was looking at the file before... it starts ..../initrd-kickseed which doesn't seem to invoke Xorg, but...11:34
cjwatsonit does via debconf11:34
tokarbolI'm not that good in this, it seems :)11:34
tokarbolsome db_ command runs Xorg?!?11:34
cjwatsonin order to run debconf you need a debconf frontend; the GTK image is (necessarily) configured for the debconf frontend to be an X client11:35
sorencjwatson: It seems the kernel command line these days can be up to 2k.11:35
cjwatsonnice11:35
sorencjwatson: Just FYI.11:35
tokarbolso a chicken-and-egg problem11:35
cjwatsonnope11:36
cjwatsonX has already been started, it's not chicken-and-egg, but a proper fix would involve moving kickseed to be started from within /lib/debian-installer/menu11:37
cjwatsonhowever that will take a while so I'm just going to disable kickseed when using the GTK frontend, for now11:37
cjwatsonand leave a TODO comment11:37
CIA-32kickseed: cjwatson * r286 ubuntu/ (debian-installer.d/S65kickseed debian/changelog): merge from Debian 0.5711:40
tokarbolit'll do for me, I'm using regular preseed anyway.11:40
CIA-32kickseed: cjwatson * r287 ubuntu/debian/changelog: releasing version 0.57ubuntu111:41
cjwatsontokarbol: ok, will be fixed the next time debian-installer is rebuilt (which happens frequently), thanks11:41
tokarbolThank YOU!11:41
cjwatsonthat was tricky after only 1.5 cups of coffee :-P11:43
cyphermoxstgraber: back at the office looking at the /e/n/i file that d-i creates; it indeed looks like ifblacklist_migrate.sh just isn't intelligent enough to deal with wifi14:26
stgrabercyphermox: did you figure which part is failing?14:29
stgraberquickly looking through the script it's not obvious what part wouldn't match wireless14:29
cyphermoxcjwatson: fyi, when installing with alternate, d-i appears to create /etc/network/interfaces and if you configure wifi; that configuration is left on the installed system and causes NetworkManager to ignore the interface. I'll file the bug now, and I'm looking into fixing ifblacklist_migrate.sh (which is shipped by n-m) to take that into account14:29
cyphermoxstgraber: yeah, found it14:29
cjwatsonOK, thanks14:29
cyphermoxthe script only expects no extra lines under iface <iface> inet dhcp, really.14:29
cyphermoxin the case of wireless you'll have at the very least wpa-ssid; then perhaps wpa-psk14:30
cyphermox(or some wep values too... perhaps I'll need to look at netcfg to figure out exactly which ones)14:30
stgraberdo we have cases where we have "dhcp" and something useful added by netcfg we actually want to kepp?14:30
stgraber*keep14:30
cyphermoxI don't know14:31
cyphermoxI'd be tempted to say that on a "desktop" install, you'd almost never want to keep the config14:31
stgrabermy guess is that we only really care about static and so just checking for dhcp should be enough to know we should drop the interface from /e/n/i14:31
cyphermoxbut of course I have a vested interest in NetworkManager ;)14:31
cyphermoxpossibly14:31
stgraberideally we'd have a interfaces-to-nm script that'd take care of generating a profile but that can be 12.10 work14:32
cyphermoxstgraber: however in that case we still need to fix the grep/sed magic to remove all the lines under that iface line; up until the next iface14:32
stgraberfor 12.04 I think it's safe to say that any automatically configured interface (so in our case, .*dhcp) gets dropped14:32
cyphermoxguess so14:32
cyphermoxI'm fully behind that, any reason why that might not be a good idea?14:33
stgraberfrom what I know of netcfg I think it's safe14:33
cyphermoxI mean... other cases are already taken care of by the preseed yes14:33
stgraberright and we have the netcfg/network-manager preseed variable to turn off the script anyway14:34
cyphermoxthat's what I meant :)14:34
jibelbug 947738 seems new and reported twice today17:33
ubot2`Launchpad bug 947738 in ubiquity "precise failed to install: unable to initialize policy plugin" [High,Confirmed] https://launchpad.net/bugs/94773817:33
stgraberunable to open /etc/sudoers??? that seems weird17:56
stgrabercould be that sudo isn't setuid for some reason17:57
cjwatsonsudo hasn't changed recently ...17:57
stgraberyeah but neither did that part of ubiquity...17:58
* stgraber grabs today's daily17:58
cjwatsondoing a test run now17:59
cjwatsonoverlayfs bug maybe?  but just guessing17:59
cjwatsonactually overlayfs shouldn't be involved, should it17:59
cjwatsonlooks setuid at least after the initial copy18:00
* cjwatson leaves all this running and goes for dinner18:01
cyphermoxcjwatson: (I'm leaving for lunch now) when you have time, I'd like your opinion on https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/948217; I'm trying to fix these reported cases of NetworkManager not managing connections after an alternate install; seems like ifblacklist_migrate.sh was missing something18:35
ubot2`Launchpad bug 948217 in network-manager "wireless devices are not managed when installing from alternate" [High,In progress]18:35
CIA-32ubiquity: stgraber * r5235 ubiquity/ (debian/changelog ubiquity/frontend/gtk_ui.py): Fix bug 830946 by setting the Vte font to Ubuntu Mono 819:07
ubot2`Launchpad bug 830946 in ubiquity "Nothing displayed on embedded terminal." [Medium,Triaged] https://launchpad.net/bugs/83094619:07
CIA-32ubiquity: stgraber * r5236 ubiquity/debian/ (76 files in 2 dirs): Change ubiquity/text/webcam_heading based on suggestion from bug 946123. Run debconf-updatepo to refresh all the .po files.19:41
ubot2`Launchpad bug 946123 in ubiquity "Text Box space inadequate in 'Import Accounts' page." [Medium,Fix committed] https://launchpad.net/bugs/94612319:41
stgraberoops, wrong bug number ... should have been bug 92649319:42
ubot2`Launchpad bug 926493 in ubiquity "[UIFe] The installer still says your picture will be used on the login screen" [Low,Fix committed] https://launchpad.net/bugs/92649319:42
stgraberat least debian/changelog is right (commit message was caused by copy/paste from the wrong paragraph of the changelog)19:43
stgraberouch, it took 15min for dmraid to scan all my SAN volumes before starting partman ;)22:22
stgraberat least fiber-channel and multipath seem to still work in d-i22:24

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