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

CIA-32preseed: cjwatson * r941 ubuntu/debian/ (71 files in 2 dirs): merge from Debian 1.5012:27
CIA-32preseed: cjwatson * r942 ubuntu/debian/ (changelog network-preseed.templates): Change default preseed root to "d-i/precise/./preseed.cfg".12:28
CIA-32preseed: cjwatson * r943 ubuntu/debian/changelog: releasing version 1.50ubuntu112:29
CIA-32iso-scan: cjwatson * r553 ubuntu/debian/ (31 files in 2 dirs): merge from Debian 1.3712:34
CIA-32iso-scan: cjwatson * r554 ubuntu/debian/changelog: releasing version 1.37ubuntu112:36
davmor2ev I think I have found the issue with my laptop and installing Ubuntu,  when the slide show starts does it refresh the frame buffer?15:09
evdavmor2: it's several layers removed from that.15:15
davmor2ev: are you back in London?15:17
evI am!15:17
evfinally15:17
evmuch as I enjoy the bay area, it was *cold*15:17
davmor2ev: Right I'm down tomorrow with the laptop,  so if you want to have a look you are more than welcome once I do my demos15:17
evdavmor2: indeed, I've been asked to attend the sprint tomorrow as well15:19
davmor2ev: I have a horrible feeling that it is basically down to the intel hw and the fact that it is an odd fb size ie none standard 1366x768 or something like and I think 1364 is the default off the top of my head15:20
davmor2ev: I want to see your ldtp script in full swing too cause techinically at the moment it should fail ;)15:24
evokay15:25
stgraberdavmor2: I'll have a look at the d-i code to see exactly what's going on there. For the scanning part, wlan0 seems to be down here so that'd explain it, for the skipping issue, that's likely just a wrong check in debconf16:43
davmor2stgraber: indeed I'm assuming it's something minor16:44
davmor2stgraber: the other nice flaw is if you put in a wireless point and continue with the install you then can't connect to any wireless points because it set a value in /etc/host/interfaces iirc16:50
davmor2stgraber: except obviously for the one you set which works flawlessly with no wifi connection according to nm16:51
stgraberyeah, I'd expect netcfg to configure /etc/network/interfaces which makes NM ignore the interface completely16:52
stgraberI guess we could try and generate the matching NM configuration file but that may get a bit tricky and I'm not sure we want to do that for 12.04 ;)16:52
davmor2stgraber: indeed something for the future maybe :)16:53
stgrabercjwatson: syslog: http://paste.ubuntu.com/870145/17:00
stgrabercjwatson: proposed fix for the scanning loop: http://paste.ubuntu.com/870146/17:00
cjwatsonlooks plausible ...17:02
cjwatsondoesn't look like the stuff that asks netcfg/wireless_security_type etc. has any idea what the answer to netcfg/wireless_essid_again was17:06
stgraberyeah, I think the issue is that netcfg_wireless_set_essid returns 0 in all cases17:09
stgraberso the rest of the code assumes everything went just fine and prompts for the security options17:09
* stgraber wonders if changing that "break" in from the wireless while loop to a "return GO_BACK" would do the trick17:10
stgrabers/in from/from/17:10
cjwatsonmaybe, though that doesn't feel like the right error code - it's not "go back", it's "skip forward further"17:12
stgraberyeah, GO_BACK seems a bit weird indeed but it's the only return value that netcfg seems to look for when calling netcfg_wireless_set_essid...17:13
cjwatsonright, but make it look for more things rather than abusing that return value :)17:14
cjwatsonit's OK to change the surrounding code ...17:14
stgrabercjwatson: diff looks something like http://paste.ubuntu.com/870203/ then17:38
stgraber(haven't tested yet)17:38
cjwatsonI'll take your word for it :)17:40
stgraberwaiting for an i386 chroot to be ready for a test build... for some reason I don't have any amd64 hardware with a wifi chip17:44
stgraberok, apparently moving the up code somewhere else isn't enough, I'm starting to suspect the essid listing code to be completely broken (at least on some hardware)18:35
stgraberrunning "iwlist wlan0" gives me the right results18:35
stgraberhmm, looks like I was wrongly assuming it was actually attempting to scan which it's not, it's simply setting an empty essid and hoping it'll select an open one18:41
stgraberwhich might actually work in some cases, so I guess that part wasn't a bug at all, just me not reading properly18:41
stgraberso will restrict the fix to just the debconf part which currently kind of works (brings the user back to the main d-i menu instead of the netcfg menu, will have to fix that bit)18:42
stgrabercjwatson: http://paste.ubuntu.com/870305/ seems to work here. Basically if the user doesn't enter an essid it's going to exit netcfg (return 0) and continue the installation without networking18:54
stgrabermy initial idea of going back to the network card selection list wouldn't match the label that says "To skip wireless and continue, leave this field blank."18:55
stgraberoh, I probably should use GET_HOSTNAME_ONLY instead of QUIT though, otherwise we end up without an hostname18:57
stgraberdavmor2: just to confirm, you expect netcfg to just prompt for your hostname and continue with networking in cases where you don't enter an essid, right?19:18
davmor2stgraber: Like it does if you select the ethernet port but don't have a cable connected19:19
stgraberwell, showing that screen would be a bit weird as you'd essentially end up entering static config for a wireless network without an ssid... I think it makes more sense to jump directly to the "Do not configure the network at this time" which will just prompt for your hostname19:23
stgraberthe only problem I see with doing that though is if the user wants to re-try the wifi autodetect stuff19:23
stgraberbut they should be able to do it by choosing "Go back" and selecting the network entry again19:23
davmor2stgraber: no I mean the dialog for hostname sorry19:30
stgraberah ok, right, that's what I have here now so I'll run one more test and upload netcfg with that then19:30
davmor2stgraber: right so if no network is selected in the first one and none found in the scan and you don't set one the second time it moves onto hostname?19:31
stgraberyep19:33
stgraberdavmor2: did you file a bug report?19:34
davmor2stgraber: nope I just noticed it and wondered if it was an issue or me going mad, turns out it was an issue for a change19:35
stgraber;)19:36
davmor2stgraber: hey the amount of bugs I find that no-one else can find and even with screenshot evidence can't reproduce is disturbing19:39
CIA-32netcfg: stgraber * r1294 ubuntu/ (debian/changelog dhcp.c netcfg.c netcfg.h wireless.c): When wireless detection doesn't find any network and the user doesn't enter any essid, skip directly to the hostname dialog rather than prompt for security options on a non-existing network.19:41
stgraberdavmor2: actually, bug 3642619:42
ubot2`Launchpad bug 36426 in netcfg "Can't skip configuring wireless network" [Medium,Confirmed] https://launchpad.net/bugs/3642619:42
davmor2stgraber: man that's an old bug19:43
stgraberyeah :)19:44
davmor2stgraber: Yay for closing really old bugs that have affected people for 6 years19:49
davmor2I'm assuming not many people are force to use the alternate installer on a laptop nowadays19:50
cjwatsonwhat people encounter doesn't necessarily correlate with what we have time to fix19:52
cjwatsonthat would be nice, but ...19:52
davmor2cjwatson: Indeed,  I'm assuming it isn't come across so often anymore though with the live installer working so well nowadays,  so the d-i would I assume be more server installs in which case they would almost always be etherneted installs19:54
cjwatsonlvm/raid/crypto still the big ones19:55
cjwatsonI know quite a few Canonical staff still use the alternate installer on laptops for that19:56
cjwatsonnever mind anyone else :)19:56
davmor2cjwatson: hmmm okay you don't think of it like that I guess, well I don't lets put it that way19:56
CIA-32netcfg: stgraber * r1295 ubuntu/debian/changelog: releasing version 1.68ubuntu1320:41
brendandshould the installer be able to select a kernel to install based on the RAM installed on the system?21:21
brendandi.e. judge when to use pae?21:21
cjwatsonyes, but only from the kernels on the medium it's installing from21:22
cjwatsona CD-based installer intentionally only installs kernels from the CD21:22
brendandhmmm. could pxe installing have anything to do with it?21:28
cjwatsona netboot installer should be able to select an appropriate kernel21:29
brendandcjwatson, sorry. think i just ran out of battery.21:31
cjwatson21:29 <cjwatson> a netboot installer should be able to select an appropriate kernel21:31
brendandok. we'll investigate more and make sure there's nothing we've missed21:32
cjwatsoncould be a bug of course, I don't think I've tested this specifically since precise switched to the installer running on a PAE kernel21:36
brendandcjwatson, this is oneiric. i understand precise is a different story21:40
CIA-32ubiquity: cjwatson * r5231 trunk/ (debian/changelog ubiquity/plugins/ubi-migrationassistant.py): Fix debug message when failing to create the migration-assistant page.23:47
CIA-32ubiquity: cjwatson * r5232 trunk/ (debian/changelog tests/test_gtkui.py):23:55
CIA-32ubiquity: Ensure that the migration-assistant page is shown in23:55
CIA-32ubiquity: test_pages_fit_on_a_netbook.23:55

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