ScottK | ev: Speaking of jockey, how crackful would it be to run jockey-text -a when the live session starts up? If I do that by hand I get working wifi in the live session on my broadcom based netbook. | 00:19 |
---|---|---|
superm1 | ScottK, without a user agreeing to do it, probably not the best thing to do on the live session | 05:56 |
CIA-87 | ubiquity: superm1 * r4307 ubiquity/ (debian/changelog ubiquity/frontend/noninteractive.py): Restore the functionality of the noninteractive frontend. | 08:53 |
cjwatson | ev: I don't know if you *can* dpkg-divert away a trigger | 09:12 |
cjwatson | ev: I'm not entirely averse to introducing a way to suppress it via an environment variable | 09:12 |
ev | can dpkg-divert> ah, I hadn't considered that possibility :) | 09:13 |
ev | cjwatson: in the trigger itself? | 09:13 |
ev | sounds reasonable to me if all else fails | 09:13 |
erupter | hi all ppl | 09:49 |
erupter | anybody not afk? | 09:50 |
erupter | i have a problem, probably you could help, i need the installer to leave alone one of the MBRs in my system | 09:51 |
erupter | but it persists on messing up with it | 09:51 |
ev | erupter: is this Maverick? | 09:51 |
erupter | dunno, kubuntu 10.04 | 09:53 |
erupter | if you have time, i would explain more clearly | 09:53 |
ev | erupter: oh, there's an advanced button on the summary page, before you click the final install button | 09:54 |
ev | in the dialog that appears is a checkbox to either install or not install the bootloader | 09:54 |
ev | if you uncheck it, the bootloader wont be installed | 09:54 |
erupter | ok but if i don't do that then how can i access the linux install? | 09:55 |
erupter | my problems aroused because i have a software raid array (intel ich9) and a spare disc | 09:55 |
erupter | i set up the bios to use the spare as boot disc (this usually works for windows installations) | 09:56 |
erupter | but after installing the distro i ended up with the bootloader on my raid array | 09:56 |
erupter | and neighter oses booting | 09:56 |
ev | in that dialog you can also pick which disk or partition you want to install the bootloader to | 09:57 |
erupter | ok i'll try then thaks | 09:58 |
erupter | hope this helps me :p | 09:58 |
ev | sure thing | 09:58 |
erupter | have a nice day | 09:58 |
ev | you too | 10:13 |
cjwatson | ev: yeah | 10:18 |
erupter | looks like it hangs on loading... | 10:20 |
erupter | it has installed and has started as it should but now it has hang with the kubuntu loading screen... | 10:20 |
CIA-87 | ubiquity: evand * r4308 trunk/ (4 files in 3 dirs): Add back the hostname entry (LP: #628087). | 10:21 |
ev | I still have to do the dmidecode dance, just wanted to get things back to a sane state first. | 10:23 |
ev | oh and fix the KDE hostname bug. | 10:23 |
erupter | ok looks like it's now starting... | 10:24 |
persia | ev, So, which value from dmidecode are you using? | 10:28 |
ev | persia: I'm not sure. Is there a field that is more often set than not? Family? | 10:29 |
persia | Values for Family for a couple machines that support dmidecode here are "To Be Filled By O.E.M." and "Other" | 10:31 |
ev | We could filter those out, or are you making the point that there are lots of bogus values? | 10:32 |
persia | I think Chassis/Type is closest, but I have one machine with the value "Lunch Box" there, so I'm not sure it's well standardised. Also seems an even mix of "Desktop" and "Desktop Case" | 10:32 |
ev | the idea is to use something somewhat unique | 10:33 |
persia | I take it as a given there are lots of bogus values for every dmidecode entry. That said, having irregular hardware, I'd like to help you find one that is more sensible, and make sure we can support it (e.g. contains spaces) | 10:33 |
ev | so if I install Ubuntu on several devices, I don't end up with the same hostname | 10:33 |
ev | unique but still attractive* | 10:33 |
persia | Right. I think Chassis/Type is probably cleanest, as long as we can support spaces (swich to more hypens, maybe?) | 10:33 |
ev | indeed, spaces would be subbed with hyphens | 10:34 |
ev | I have "Notebook" for Chassis Type though. | 10:34 |
persia | I'd recommend limiting to ~15 characters, to avoid matching "To Be Filled By O.E.M." | 10:34 |
ev | fairly generic | 10:34 |
ev | 15 characters> good idea | 10:34 |
persia | Yeah, but "ev-notebook" vs. "ev-desktop" vs. "ev-lunch-box" allows some differentiation. | 10:34 |
ev | sure, but is there no field that would give us something like ev-thinkpad-x61 | 10:35 |
ev | Is version often not set? | 10:35 |
persia | Chassis/Version? | 10:35 |
ev | not set here | 10:35 |
ev | system version is | 10:35 |
ev | (mind you I haven't read through the spec, I'm just going off how dmidecode the binary prints this) | 10:36 |
persia | System/version is "001", "To Be Filled by O.E.M", "1.0" on the dmidecode capable machines on my desk. | 10:37 |
* persia also | 10:37 | |
persia | System/Family looks better here "CFY7-1", "To Be Filled By O.E.M", "Macmini" | 10:37 |
ev | ah, system family works | 10:38 |
ev | as that's thinkpad x61 as well | 10:38 |
ev | I'll do a quick survey of Millbank | 10:38 |
persia | Good plan. | 10:38 |
ev | to make sure at least the major have it set | 10:38 |
persia | Next bit: what about machines that don't have dmidecode? | 10:38 |
ev | we fall back to username-{desktop,laptop} | 10:39 |
ev | where desktop/laptop is determined by laptop-detect | 10:39 |
persia | How do we make that determination? | 10:39 |
persia | Ah, OK. | 10:39 |
persia | Hrm. Seems that relies on either having a battery interface *OR* having dmidecode. | 10:40 |
ev | Anyone know if there's a reliable way to get the used blocks on any supported linux filesystem without actually mounting it? Something in the superblock perhaps? | 10:41 |
ev | persia: battery interface? The path is try dmidecode, if that fails or doesn't exist, try running laptop-detect (which we've always run to determine the hostname). | 10:41 |
persia | Right. laptop-detect checks for batteries, and runs dmidecode. | 10:42 |
ev | ah, so then your argument is to not try laptop-detect at all and simply go straight to ubuntu-desktop? | 10:43 |
persia | No. I've no argument at all. | 10:43 |
ev | :) | 10:43 |
persia | I have an unsolved issue of what to do with devices with unused battery interfaces (e.g. the ARM boards folks are using) | 10:43 |
persia | Not supporting them cleanly is *not* a regression, but now that I understand the path, there's a chance of possibly supporting them in the future. | 10:43 |
ev | gotcha | 10:44 |
persia | Might also affect small home-built whatevers. Or some NAS boxes that have built-in batteries as internal semi-UPS, etc. | 10:44 |
cjwatson | FWIW on my Dell Latitude D830, System/Family is blank, System/Manufacturer is "Dell Inc.", System/Product Name is "Latitude D830", Chassis/Type is "Portable" | 10:45 |
cjwatson | I imagine you'll want fallbacks or something | 10:46 |
persia | System/Product Name looks good here: "CF-Y7AW1AXS", "Macmini3,1", "To Be Filled By O.E.M." (the last would be too long, and fall back to "desktop") | 10:47 |
ev | good call | 10:47 |
persia | Base Board/Product Name also has full support here "MacF22C86C8", "CFY7-1", "MCP7A-ION" | 10:47 |
cjwatson | "0HN341" | 10:48 |
persia | That's not very informative. | 10:48 |
cjwatson | and on my server, "i440BX-W83977 (BH6 V1.1)" | 10:48 |
persia | Do servers get the same logic applied? | 10:48 |
ev | Either of you have any thoughts on the filesystem question, or is that a lost cause? | 10:49 |
cjwatson | which also has blank System/Product Name and System/Manufacturer, no System/Family at all, and Chassis/Type "Desktop", so that's probably a bit of a loss | 10:49 |
soren | ev: Why the "without mounting it" requirement? | 10:49 |
cjwatson | well, it was originally a desktop :-) | 10:49 |
ev | I'm not too concerned about servers ;) | 10:49 |
persia | Ah :) | 10:49 |
* persia thinks most server folk set hostname via DNS in advance anyway | 10:49 | |
cjwatson | you want to avoid mounting filesystems so that you don't replay journals | 10:49 |
cjwatson | if possible | 10:49 |
ev | soren: don't we have issues with replaying journals on hibernated systems? | 10:49 |
ev | ah, beat me to it | 10:49 |
cjwatson | libparted might be able to tell you? | 10:50 |
ev | for what it's worth, this is for the resize widget in the partitioner, saying "Files, X GB used" instead of "Unknown operating system" | 10:50 |
soren | Just use blockdev to set it to read-only? | 10:50 |
cjwatson | ev: I thought partman already had an interface for that | 10:50 |
ev | I thought the d-i team tried that and it failed spectacularly | 10:50 |
ev | blockdev --setro, that is | 10:50 |
cjwatson | d-i should use blockdev, there were just some tedious things to deal with | 10:51 |
soren | ev: Exactly. | 10:51 |
cjwatson | but anyway, I don't think you need to go down that route | 10:51 |
cjwatson | this is what the resize range stuff in partman is for | 10:51 |
cjwatson | and I thought that ubiquity already interpreted that | 10:51 |
ev | ah, I thought it just shelled out to resize2fs for that | 10:51 |
ev | or are you saying, use the lower bound as the size used | 10:52 |
ev | err upper bound | 10:52 |
cjwatson | that's what I'm saying, yes | 10:52 |
ev | errr partition size - upper bound | 10:52 |
ev | coffee, need cofee | 10:52 |
ev | awesome | 10:52 |
ev | thanks everyone | 10:52 |
cjwatson | the value you get as the minimum resizable size of the filesystem is as near as damnit the size used | 10:52 |
cjwatson | I mean, it does shell out to tune2fs in the case of ext[234], but that's the information you want anyway | 10:53 |
cjwatson | and best to avoid ext2-specific code in ubiquity IMO | 10:53 |
ev | indeed | 10:53 |
ev | brilliant | 10:53 |
ogra | ev, please dont forget that dmidecode only works on systems with a BIOS | 11:09 |
ev | ogra: indeed, that's why we have the fallback | 11:09 |
ogra | and thanks so much for adding the hostname feature back :) | 11:10 |
ev | sure thing. I still want to ultimately get rid of it, but clearly we're not ready yet | 11:13 |
ogra | yeah | 11:14 |
ev | sabdfl wants this as part of the solution: https://bugs.edge.launchpad.net/ubuntu/+source/ubiquity/+bug/634187 | 11:14 |
ubot2 | Launchpad bug 634187 in ubiquity (Ubuntu) "Detect hostname collisions using avahi (affects: 1) (heat: 6)" [High,Triaged] | 11:14 |
persia | ogra, If you have any bright ideas on how to make laptop-detect more robust to do more than just check for batteries or Chassis/Type=="Notebook"|"Portable" or to try to differentiate phone/handheld/netbook/laptop/desktop or just differentiate dev boards, it may be interesting. | 11:14 |
ogra | we could have a BOF at UDS ;) | 11:15 |
ogra | i dont have bright ideas beyond either a database or parsing additional info from i.e. /proc/cpuinfo (on arm for example) | 11:15 |
persia | ev, Do you think you'd have time at UDS to participate in such a thing, or would you not care, as long as we can produce useful strings? | 11:16 |
ev | I'm most concerned about having useful strings, but if you think it would be helpful for me to be there, put me as required and I'll make the time.l | 11:17 |
persia | Up to you :) If we have such a spec, I'll definitely at least subscribe you (and let you select whether you are required) | 11:18 |
ev | okay | 11:20 |
ogra | well, on arm the useful strings live in the hardware line of /proc/cpuinfo usually (thats also where all other tools look) | 11:22 |
ogra | i guess its up to the arm team to develop and supply such a pĆ¼atch once the function is there :) | 11:23 |
persia | The same kind of thing ought work for powerpc as well, although there may be better sources of information. | 11:24 |
ogra | yes, ppc has nvram to read from iirc | 11:24 |
ogra | on arm cpuinfo is the only common thing among all boards | 11:25 |
persia | At least on my powerpc machines, cat /proc/cpuinfo is likely to have more human-readable information on the device that the output of nvsetenv. | 11:26 |
persia | Anyway, let's save this discussion until *after* release :) | 11:26 |
CIA-87 | ubiquity: evand * r4309 trunk/ (debian/changelog ubiquity/plugins/ubi-partman.py): | 11:46 |
CIA-87 | ubiquity: * Use a block device icon for cases where we cannot detect the | 11:46 |
CIA-87 | ubiquity: operating system on a partition. | 11:46 |
CIA-87 | ubiquity: * Set the amount of used space on a partition that we presume contains | 11:46 |
CIA-87 | ubiquity: no operating system (LP: #626299). | 11:46 |
ScottK | superm1: You're probably right (re restricted drivers in live session). Something to consider for the next UDS for design. | 12:11 |
ev | :q | 13:51 |
ev | whoops | 13:51 |
CIA-41 | ubiquity: evand * r4310 trunk/ (debian/changelog gui/gtk/stepUserInfo.ui): | 14:16 |
CIA-41 | ubiquity: Make requiring a password to log in the default again, matching the | 14:16 |
CIA-41 | ubiquity: behavior in the previous version of Ubuntu. | 14:16 |
CIA-41 | ubiquity: evand * r4311 trunk/debian/ (changelog ubiquity.templates): Use the correct string for the resize partition option. | 14:19 |
CIA-41 | ubiquity: evand * r4312 trunk/ (3 files in 3 dirs): | 15:33 |
CIA-41 | ubiquity: Set the size of the disk on the automatic partitioning page | 15:33 |
CIA-41 | ubiquity: (LP: #626299). | 15:33 |
superm1 | ev, re dpkg-diverting the trigger, its a live filesystem - you can probably just rm it can't you? | 16:01 |
ev | well, I wanted to undo the change afterwards | 16:01 |
superm1 | it's not like you are making that change in /target though | 16:01 |
superm1 | but if you want to undo it, just mv it to trigger.old to run jockey, and move it back? | 16:01 |
ev | sure, though I'm going to try Colin's suggestion of adding a flag to man-db | 16:02 |
ev | just as soon as I finish with building a big table of common locations for the product name in DMI | 16:02 |
ev | superm1: I don't suppose you know where they occur on all of your systems? | 16:02 |
superm1 | /sys/class/dmi/id/product_name | 16:03 |
ev | is it always system product name? | 16:03 |
superm1 | it should always be that directory, first half is line of business (eg vostro, inspiron, etc) and second half is model number | 16:03 |
ev | I'm assuming you mean file | 16:04 |
ev | but noted | 16:04 |
ev | thanks! | 16:04 |
superm1 | yeah i mean that file | 16:05 |
superm1 | re persia's recommendation to only cover up to 15 characters long names, i'm not sure that would continue to work. if you go an look at something like Latitude E6410XFR, that would be too long | 16:05 |
superm1 | so probably better to just filter out those bad ones like To Be Filled by O.E.M | 16:06 |
ev | indeed, will do | 16:06 |
superm1 | ScottK, well as you saw that for the newer generation of broadcom cards they've been open sourced, hopefully it becomes less of something that needs to be worried about over time | 16:17 |
ScottK | superm1: True. | 16:17 |
ScottK | OTOH, all the hard work is done now, it's a shame not to take advantage of it. | 16:17 |
ev | I had a chat with the kernel team about this. The new driver doesn't work with 42XX and non-SSB adapters as I understand it, equally it will be a post-release thing, so we couldn't take advantage of it in the installer anyway. | 16:33 |
CIA-41 | debian-installer: cjwatson * r1358 ubuntu/ (build/config/armel/dove.cfg debian/changelog): Move dove to 2.6.32-410 kernels. | 17:01 |
CIA-41 | ubiquity: evand * r4313 trunk/ (3 files in 3 dirs): | 17:35 |
CIA-41 | ubiquity: Use dmidecode to get a more unique suffix for the hostname | 17:35 |
CIA-41 | ubiquity: (LP: #628087). | 17:35 |
CIA-41 | debian-installer: cjwatson * r1359 ubuntu/debian/changelog: releasing version 20100211ubuntu25 | 17:53 |
CIA-41 | ubiquity: evand * r4314 trunk/ (debian/changelog ubiquity/plugins/ubi-usersetup.py): | 17:54 |
CIA-41 | ubiquity: Also generate a sample hostname when generating a sample username | 17:54 |
CIA-41 | ubiquity: (LP: #634279). | 17:54 |
ev | cjwatson: given bug #635040, what are your thoughts on not raising that exception anymore? | 18:00 |
ubot2 | Launchpad bug 635040 in ubiquity (Ubuntu) "ubiquity crashed during install - no bootloader (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/635040 | 18:00 |
ev | the "oh bother, no bootloader" one, that is. | 18:00 |
cjwatson | I guess we could demote it to a log message, yes. But why's it happening here? armel/dove is supposed to be handled by the flash_kernel component. | 18:05 |
cjwatson | we're hitting an else that suggests that archdetect is producing the wrong output? | 18:06 |
ev | indeed, followed up in the bug | 18:08 |
CIA-41 | ubiquity: evand * r4315 trunk/ (3 files in 3 dirs): | 18:45 |
CIA-41 | ubiquity: Only set the next button to 'Install Now' when not on the first | 18:45 |
CIA-41 | ubiquity: partitioning page. | 18:45 |
persia | ev, Thought on data source validation: checkbox runs dmidecode: it may be that there's thousands of values stored in the checkbox DB in LP (helps find bad values to filter, strong candidates, etc.) | 23:18 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!