/srv/irclogs.ubuntu.com/2013/02/27/#ubuntu-installer.txt

=== sagaci is now known as jpickett
sorenI have a lot of identical machines. They have multiple NIC's (different chips and different drivers). 19 times out of 20, they come up with the 10G one being eth0 and the 1G one being eth1, but 1 time out of 20, it's the other way around. What are my best options for handling this? Can I specify a order in which the drivers get to initialise?08:34
sorenI'm thinking there must be something I'm overlooking. How does netcfg/choose_interface make sense with nondeterministic NIC naming?08:47
sorencjwatson: I'm staring at biosdevname for a bit. I think I see a bug, but I'm a bit confused how this is supposed to work.09:20
sorencjwatson: Some of biosdevname's magic is in a base-install.d hook, but how does the udeb get installed to begin with?09:20
sorencjwatson: Anyway, the bug is that the base-installer.d hook doesn't actually allow you to prevent biosdevname from getting installed.09:22
sorencjwatson: For each word in /proc/cmdline, it'll call "apt-install biosdevname".09:22
sorencjwatson: Except if the word is "biosdevname=0"09:22
sorencjwatson: Ah, it's included in d-i's base set.09:31
=== zequence_ is now known as zequence
cjwatsonsoren: Oh, wow, that's a horrible bug, nice catch.  Could you file that, since I'm pretty sure I'll want to backport a fix for 12.04.3?11:02
cjwatsonsoren: As far as netcfg goes, you can tell it to pick an interface by mac address, which hooks into the syslinux mechanism for telling userspace what mac address it was pxe-booted from; does that help?11:03
sorencjwatson: Not really.11:11
sorencjwatson: I want the 10G nic.11:11
sorencjwatson: If I could force that driver to load first, I'd be golden.11:12
sorencjwatson: biosdevname may do the trick, though.11:12
sorencjwatson: Sure, I'll file that bug.11:12
sorenbug 113422711:15
ubot2`Launchpad bug 1134227 in biosdevname (Ubuntu) "biosdevname always gets installed" [Undecided,New] https://launchpad.net/bugs/113422711:15
sorenTruth be told I don't know if it actually always does get installed (I haven't actually ever installed anything newer than precise from scratch), but looking at that code, it would be.11:16
sorenThe logic is broken for sure.11:16
cjwatsonYou're almost certainly correct.  I don't feel the need to verify.11:16
cjwatsonOh, indeed, since precise didn't have that same code it doesn't have that bug.11:17
cjwatsonBut having a bug doesn't hurt anyway :)11:17
cjwatsonSo you could try installing with biosdevname=1 (or quantal, which has that by default) and see if you get non-eth* names for the NICs.11:18
sorencjwatson: I have that queued up for testing later today or tomorrow.11:18
sorencjwatson: If that works for these systems, I'm probably in good shape. I guess I'm just surprised this hasn't been more of a problem for others in the past.11:19
cjwatsonWell, it was one of the motivations for biosdevname11:19
sorenTrue.11:20
sorenWell, /me -> lunch11:20
sorenThanks!11:20
xnoxIn the latest design proposal we want to show light bulbs (orange or dark dots) to indicate how many plugin pages there are & how many are done in the progress section.12:14
xnoxthis means that "expander with the skip button and terminal" are in the way.12:14
xnoxI'm thinking to move those into a notebook page which one can switch to with "Ctrl-u" (aka which is typically used in web-browsers as show html source of the page)12:15
xnoxand also display "details" url link in the bottom right corner, if one is running in ubiquity debug mode.12:15
xnox(although details url link may be redundant)12:16
xnoxthoughts?12:16
cjwatsonHow about making the descriptive text only take up part of the horizontal width, and putting the light bulbs at the right alongside it, or similar?12:20
cjwatsonOr, we could hide the expander until the point where the light bulbs stop being useful (since they're no longer relevant once you've answered all the questions)12:20
cjwatsonSo you answer all the questions and then the light bulbs are replaced by the progress widget etc.12:21
xnoxok.12:21
cjwatsonCtrl-u: this kind of thing is acceptable if and only if it's discoverable, IMO, which seems a bit tricky?12:21
cjwatsonI'd never guess Ctrl-u even with the analogy with web browsers.  Ubiquity looks nothing much like a web browser so that's not a key combination I'd expect to work.12:22
cjwatsonSo I'd still prefer something visible if possible.12:22
xnox(x) (x) (o) (o) => (line1: expander/text \n line2: [=======>] progress bar) => (ubuntu one pictograms + legal notice URL) => nothing.12:22
xnoxcjwatson: ok.12:22
* xnox should make new visuals public.12:23
cjwatsonMaybe in debug mode the expander etc. could always be visible?12:23
cjwatsonIt's genuinely useful when working on the installer12:23
xnoxtrue. currently one cannot get to it from the very first screen though.12:24
xnoxwhich does already print activity.12:24
xnoxthere is also bug 107437512:26
ubot2`Launchpad bug 1074375 in ubiquity (Ubuntu) "Progress text looks needlessly geeky" [Medium,Confirmed] https://launchpad.net/bugs/107437512:26
xnoxwhich makes a good point that it's too discoverable for uninitiated.12:26
cjwatsonxnox: I don't mind it being more discreet as long as people who know they want progress information can get hold of it12:40
cjwatsonMatthew's suggestion for modifying the presentation seems reasonable though ... it's certainly not meant to look editable12:41
cjwatsonxnox: U1> Looks pretty good; I don't have any fundamental objections.  My one suggestion is that I think it could be a little clearer that you don't have to do this in order to complete installation.12:49
cjwatsonI realise we probably have business reasons to encourage people in the direction of a U1 login by default, but "Log in later" really does imply that you're going to *need* to do this at some point12:50
xnoxcjwatson: each and every screen has "Do it later" or "Skip to finish installation" (not sure what's the latest final string). Apart from dead-end pages (e.g. moving to legal notice page / futher details, have only a back button)12:50
cjwatsonI think it could use some explanatory text.12:50
xnoxok.12:51
xnox"do it later" may be true in the future, once users will be able to on-the-fly purchase media & apps directly from the dash in an approx. one click fashion.12:51
cjwatsonIt still won't be mandatory12:52
xnoxsure.12:52
cjwatsonI'm all for encouraging people to use our services - I just think that if the services are actually compelling then we shouldn't need to make deceptive implications in the installer about whether they're mandatory or optional :)12:53
cjwatsonAnd IME people respond better to honesty12:53
cjwatsonAnyway, it should just be a minor tweak from here12:54
xnoxI like the new final / reboot screen with a big logo a lot =)))12:54
=== kentb-out is now known as kentb
=== kentb is now known as kentb-afk
infinitycjwatson: Was your d-i upload premature, given that linux-signed was in NEW?16:46
infinitycjwatson: Or does d-i not actually use the kernel-signed-image udeb?16:46
cjwatsonIt does.  I didn't notice16:48
infinityI see no mention of the udeb in the build log, just the if vmlinuz*signed shell snippet.16:48
cjwatsonWas trying to clear bug 113412316:48
ubot2`Launchpad bug 1134123 in Ubuntu CD Images "Raring server installations fail with kernel mismatch with 20130227 images" [Critical,In progress] https://launchpad.net/bugs/113412316:48
cjwatsonIt's in build/pkg-lists/kernel16:48
cjwatsonMay not mention it if it's missing16:48
infinityPossibly not, yeah.16:49
infinityOh well, I'll just no-change rebuild it after the next publisher run hits disk.16:49
cjwatsonTa16:50
cjwatsonCould you respin server once that's landed?16:50
cjwatsonAnd close that bug above16:50
infinityCando.16:50
cjwatsonAssuming you'll be around a bit later than me16:50
infinityI'm here all day.16:50
infinitycjwatson: Though, I'm curious why there was a mismatch that needed fixing at all.16:59
infinitycjwatson: Given that -8- was happily stuck in proposed, waiting on d-i...17:00
cjwatsonYeah, not totally sure and I didn't really investigate17:00
infinityFeb 27 07:18:05 main-menu[1735]: DEBUG: resolver (libc6-udeb): package doesn't exist (ignored)17:01
infinityThat seems unexpected, or is it really not on the CD?17:01
cjwatsonShould be in the initrd IIRC17:03
cjwatsonLibrary reduction and all17:03
infinityOh, right, so that's just the resolver being unhelpfully verbose when what it really should say is "already installed, skipping" or nothing at all.17:03
infinityI guess anna/udpkg don't have a status DB to check such things against?  I've never really looked into the architecture.17:04
cjwatsonThey do but I think libc6-udeb is still a weird special case or something17:04
cjwatsonI tend not to care unless something's actively breaking :)17:04
infinityA good philosophy.17:05
cjwatsonThere is certainly a /var/lib/dpkg/status in the d-i env though17:05
=== ogra_ is now known as ogra
=== kentb-afk is now known as kentb
stgrabercjwatson: was it you who mentioned problems with the tftp client in grub2?20:24
stgrabercjwatson: I got an action item from last UDS to test PXE boot with UEFI/SecureBoot and IPv6. I just did a test with IPv4 and grub2 loads fine, grabbing all its modules and the config, but fails to grab the kernel/initrd with some kind of network error20:25
stgraberpoking from the shell, I can see it has the IP, DNS and routes right, but the tftp part is somehow failing20:26
* stgraber checks that the grub image is the latest one from raring20:26
stgrabercjwatson: "error: couldn't send network packet."20:29
stgraberoh, actually, all commands give me that error, not only those that obviously need to fetch stuff from the network. (lsmod gives me the same error for example)20:31
cjwatsonstgraber: Steve reported to me that those exist22:14
cjwatsonstgraber: If you can get me instructions for constructing a reproduction case in kvm/OVMF, I expect I can fix it from that22:15
stgrabercjwatson: will be tricky with OVMF as IIRC we don't have network support built into the firmware we have in the archive22:21
cjwatsonOr even any reproduction case that doesn't involve an excessively complex network - if I can start it from the EFI shell on a test machine maybe?22:22
cjwatsonSomething that I can iterate on22:22
cjwatson(Bearing in mind I don't really have EFI netbooting infrastructure at the moment in general, though I could bring it up in principle)22:23
cjwatsonI was hoping for OVMF since that's easier, but you make a good point ;-)22:23
stgraberhmm, I wonder if booting the same binaries from a usb stick would be enough. I'll have to test that.22:23
cjwatsonI have two EFI test machines at the moment; neither is SB-capable though22:24
cjwatsonSo if it needs SB I'd need to build specialised OVMF or something22:24
cjwatsonI think Steve indicated it was a general problem on UEFI though22:25
stgrabernope, I wan't testing with SB, just plain UEFI using a tftp with the result of grub-mknetdir22:25
cjwatsonAh, good; if that works with booting from USB then I could probably take it from there22:25
stgrabercjwatson: hmm, can't seem to get grub to load any of its modules from usb when using the tftp .efi binary22:55
stgrabereither that or I'm failling to setup the fs layout for it to find them22:55
stgraber(grub complains of unset root variable, but as far as I can tell, it doesn't have the gpt module so even if I set it, it won't work)22:56
stgraberso all I'm getting is the recovery prompt which isn't terribly useful :(22:56
sixcornersI just did a fresh install of ubuntu and now all I get is the grub recovery prompt23:09
sixcorners12.10 amd64, I didn't change any of the partition settings, it's supposed to dual boot with windows 823:10
sixcornersit's a moderately old desktop, the first disk is mbr, the second is gpt, first has windows 8 and grub, the second has ubuntu23:13
=== kentb is now known as kentb-out

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