/srv/irclogs.ubuntu.com/2009/09/18/#ubuntu-installer.txt

CIA-33ubiquity: evand * r3464 ubiquity/ (debian/changelog ubiquity/frontend/gtk_ui.py): Suppress Pango warning about not being able to open /root/.pangorc.00:08
rgreeningevand: https://blueprints.launchpad.net/ubuntu/+spec/usb-creator-console00:18
evandrgreening: cool idea!00:19
rgreening:P00:19
rgreeningthink that will help me get to go to UDS again :)00:19
evand:)00:19
rgreeninghehe00:20
rgreeningIt should be relatively easy compared to the rest of what we have done00:20
rgreeningand will work with may rescue CD (if one chooses to make a rescue CD/Partition for Ubuntu00:21
rgreeningwhich would be another cool spec... hmm...00:21
evandrgreening: can you implement a KDE retry dialog (see my recent commit for the GTK side)00:23
evandit's existed for ages in the Windows frontend, I just forgot about it for the rest :)00:23
rgreeningevand: yeah, I have to review your last 4 or 5 commits...00:23
evandI imagine this will require a UI Freeze Exception, but I think it's necessary00:24
evandheh00:24
rgreeningbut my usb stuff is broken atm.. debating on a re-install...00:24
evandyikes00:24
rgreeningevand: any idea what would cause usb auto detection to not work? I see /dev/sdc1 and can manually mount.. but that's as far as it goes.00:24
rgreeningno autodetection...00:25
evandis devicekit running?00:25
rgreeningevand: your good in that area...00:25
rgreeninghmm... should be 1 sec00:25
evanderr actually, I'm not sure what the KDE stack uses00:25
rgreeningdevkit-disks-daemon:00:25
rgreeninghal00:25
evandrgreening: is this Karmic?  Have you been upgrading over the past few days?00:26
rgreeningoh yeah. and thens when it broke00:26
rgreeningI had to recover via a chroot00:26
evandyeah, Keybuk broke the universe00:26
evandare you completely up to date?00:26
rgreeningyep00:26
evandhrm00:26
rgreeningevand: I even installed ubuntu-desktop and tested there00:26
rgreeningsame issue.00:27
rgreeningI opened a bug... 1 sec...00:27
evandif you run udevadm monitor, do you get events for the usb key insertion/deletion?00:27
rgreeningbug 43187800:27
ubottuLaunchpad bug 431878 in kde4libs "USB Drive Fails to be Autodetected for Mounting in KDE" [Undecided,New] https://launchpad.net/bugs/43187800:27
evanderr yeah, I imagine you would if you can manually mount it00:27
evandah00:27
rgreeningI attached some output there00:28
rgreeningdmesg shows the drive insertion and removal fine... shows up in the /dev dir fine.00:28
evandprobably either broken KDE or broken Hal00:30
evandso yeah, ouch00:31
rgreeningudevadm monitor sow the device removal and insertion fine...00:31
rgreeningnot KDE00:31
rgreeningremember I tried ubuntu desktop too00:31
evandthat's quite perplexing00:31
rgreeningI installed and launched a gnome session00:31
rgreeninghere's what udevadm shows...00:31
rgreeningUDEV  [1253230189.832105] change   /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host18/target18:0:0/18:0:0:0 (scsi)00:31
rgreeningKERNEL[1253230189.898774] add      /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host18/target18:0:0/18:0:0:0/block/sdc (block)00:31
rgreeningKERNEL[1253230189.898885] add      /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host18/target18:0:0/18:0:0:0/block/sdc/sdc1 (block)00:31
rgreeningKERNEL[1253230189.898997] add      /devices/virtual/bdi/8:32 (bdi)00:31
rgreeningUDEV  [1253230189.899238] add      /devices/virtual/bdi/8:32 (bdi)00:32
evandoh, I have no doubt that udev (and by extension devicekit-disks) see the device00:32
rgreeningso why did gnome hate me too00:33
rgreening:)00:33
rgreeningor is gnome still using hal for those bits00:33
rgreeningevand: hal is reporting it as dev/sg3 and not /dev/sdc00:34
evandKVM to the rescue?  If you have a block device to work with, you can always run sudo kvm -m 512 -hda /dev/sdc -cdrom $path_to_cd -usb, and then ctrl-alt-2 to the kvm console, type info usbhost, then usb_add host:whatever_id00:34
rgreeningyou lost me at rescue00:34
rgreeninghaha00:34
evandassuming the CD is not equally broken (shouldn't be, the latest is working for me), you'll at least have an environment to work in00:35
evandhaha00:35
rgreeningIm booted and running fine.. its just that one issue I cant fix.00:35
evandincidentally, if devicekit-disks can see it (as it does, given your logs), usb-creator will work just fine :)00:36
rgreeningevand: that's just it... it doesn't00:36
rgreeningneither the gtk nor the kde00:36
rgreeningwhich boggles me00:36
evanddoes devicekit-disks --enumerate show the disk?00:36
rgreeningI have gremlins in my computer00:37
rgreening1 sec00:37
evandclearly :)00:37
evanderr devkit-disks00:37
rgreening/org/freedesktop/DeviceKit/Disks/devices/sdc100:37
rgreeningyep00:37
rgreeningAh evand, I was mistaken....00:37
rgreeningevand: it does show up in creator.. but the Free is empty and it says you must format this device (which it doesn't need too)00:38
rgreeningevand: clearly /dev/sdc1 is not being presented to devkit correctly00:38
rgreeningwhich points to messed up udev symlinks or such00:39
evanddevkit-disks --mount /dev/sdc100:39
rgreeningyeah, not it works as expected in creator00:39
evandshtylman: did you ever hear back from the release team on that ubiquity merge?00:40
rgreeningso, normally, the code would auto mount the device.. which appratnly is being skipped00:40
rgreeningbecause of the way it's being detected evand...00:40
evandI'm lost.00:40
rgreeninghaha00:41
evand /dev/sdc1 does or does not show up in usb-creator00:41
rgreeningevand: ok, so, normally creator will detect and mount the partitions00:41
shtylmanevand: no I didn't...00:42
rgreeningyes, it shows up in creator, but Free was empty and it would let me use it (said it needs format). Running the devkit mount manually shows the partition correctly and allows me to interact00:42
shtylmanRiddell did say that he could approve it... but I havn't merged... what do you think?00:42
evandshtylman: I'd file a bug against ubiquity, include the branch, and subscribe ubuntu-release00:42
evandoh, if he's fine pushing that through it's fine with me00:42
shtylmanevand: ok...sounds good, I will do that... it will be more official that way :)00:42
evandjust make sure you follow the Provides: mangled-version stuff00:43
evandah, sure thing00:43
shtylmannoted00:43
evandrgreening: were there any tracebacks in ~/.usbcreator.log (assuming an up-to-date bzr trunk)?00:44
rgreening1 sec... I'll look at /tmp/...00:44
evandrgreening: if you're running from trunk it will be in /home now00:44
rgreeningyeah, not trunk yet00:45
rgreeningevand: it shows no error. It detect /dev/sdc as 0 byte disk (which I don't think was happening before).. that should be a clue00:46
rgreeningevand: before /dev/sdc would simply have 0 free not be a 0 byte disk...00:47
rgreeningand I only see /dev/sdc1 and not /dev/sdc and /dev/sdc1 like before...00:47
evandare you sure it's detecting it as that, and not just setting that in its data structure (devkit-disks --dump can tell you)00:47
rgreeningIm reading from the log in creator00:48
rgreeningbackend.py:187: not adding device: 0 byte disk.00:48
rgreeningbackend.py:67: device_added: /org/freedesktop/DeviceKit/Disks/devices/sdc100:48
rgreeningbackend.py:122: partition added: /org/freedesktop/DeviceKit/Disks/devices/sdc100:48
rgreeningevand: Im soo not happy :(00:52
rgreeninga reinstall is going to kill my productivity00:52
evandso just to confirm, devkit-disks --dump reports a 0 B size for sdc?00:53
rgreeningevand: devkit-disks dump reports size 000:53
rgreeningya00:53
evandheh, read my mind00:54
evandyikes00:54
rgreeninglol00:55
rgreeningevand: here's the dump output for sdc http://paste.ubuntu.com/273167/00:55
rgreeningi think by-id, by-path stuff missing? bad? incorrect?00:56
rgreeningevan had media 0 is wrong too01:02
rgreeningevand ^01:02
rgreeningand partition scheme should be mbr01:03
evandindeed01:03
rgreeningevand: so what provides this to devkit... udev correct?01:04
evandyes01:07
rgreeningso I have a buggered udev...01:07
evandprobably01:07
rgreeninghmm.. wonder how best to make it clean01:07
* rgreening hears evand say reinstall01:07
* rgreening preemptively reaches for lart01:07
evandnot sure, Keybuk or pitti might have a better idea of what's going wrong01:08
rgreeningpitti said to file the bug... and I did.. of course it didn't help that apport-kde it foobar01:09
rgreeningand hence ubuntu-bug01:09
rgreeninglol01:09
rgreeningnot my week01:09
evandhaha01:10
rgreeningthis is so bizarre oh well...01:13
rgreeningmight as well go cut my heart out with a spoon, it will be less painful :P01:13
evandhaha01:15
rgreeningim heading home... Ill decide by then if I reinstall01:15
rgreeningheh01:15
rgreeningl8r01:15
evandcheers01:18
=== cjwatson_ is now known as cjwatson
davmor2cjwatson: thanks for the showmounts tip that is what matt wanted it just threw me with the title :)09:14
davmor2looks better now than it did thought looking at it :)09:14
CIA-33usb-creator: evand * r210 trunk/ (3 files in 3 dirs): Fix a deadlock when the failed dialog runs.09:25
ogracjwatson, http://paste.ubuntu.com/273343/ i suspenc i miss something that adds the do_symlinks entry to kernel-img.conf, which piece of d-i does that ?10:36
ogra*suspect10:36
ogramn, i think i found it10:38
ogra*nm even10:38
ograSep 17 17:56:27 base-installer: info: Setting link_in_boot='yes'10:41
* ogra scratches head10:41
=== mpt_ is now known as mpt
CIA-33ubiquity: evand * r3465 ubiquity/ (debian/changelog ubiquity/frontend/gtk_ui.py):12:23
CIA-33ubiquity: * Use the page name instead of the new step name when considering both12:23
CIA-33ubiquity:  partitioning pages.12:23
CIA-33ubiquity: * Fix broken conditional statement that prevented12:23
CIA-33ubiquity:  process_autopartitioning and info_loop from being called.12:23
CIA-33ubiquity: evand * r3466 ubiquity/ (3 files in 2 dirs):13:16
CIA-33ubiquity: Disable the forward button for the usersetup page when coming from13:16
CIA-33ubiquity: both the automatic and manual partitioning pages, rather than just13:16
CIA-33ubiquity: the latter.13:16
CIA-33ubiquity: evand * r3467 ubiquity/ubiquity/frontend/kde_ui.py: Repeat r3465 for kde_ui.py13:24
CIA-33usb-creator: evand * r211 trunk/usbcreator/frontends/gtk/frontend.py: Always return something from get_gnome_drive.14:26
=== robbiew-afk is now known as robbiew
evandcjwatson: what was the reasoning behind making mtools a recommends of syslinux rather than a firm dependency?  It appears to be completely non-functional without it.14:44
gunsofbrixtonhi, I am a kubuntu user and I noticed that the installer selects a keyboard depending on the language and not on the time zone. if the two don't match I would think that it's more frequent that someone uses a foreign language than a foreign keyboard... am I overlooking something or should I report a wish somewhere?14:46
evandgunsofbrixton: I believe you're mistaken.  The installer bases its keyboard selection on both the language and time zone.14:49
gunsofbrixtonevand: ah interesting. I always choose english language and german time zone, and get an english keyboard selected... is this how it's supposed to work?14:51
evandgunsofbrixton: yes, I do believe so.14:52
evandSelecting Spanish with a timezone selection in Mexico and one in Spain give different keyboard suggestions.14:52
gunsofbrixtonevand: ok that makes complete sense. but consider my scenario where there is no correlation between language and time zone. I would think that german keyboard should be selected and not english, what do you think?14:54
gunsofbrixtonevand: and in the spain/mexico example why consider the language in the first place? couldn't you just use the location?14:57
gunsofbrixtonI am just a dumb user asking :)14:57
evandThere are countries that speak more than one language.14:59
evandI am not sure on the exact details of why this approach was taken, and I cannot think of an example offhand that would invalidate your suggestion15:00
evandcjwatson would know, though15:00
evands/speak more than one language/have more than one common keymap/15:02
cjwatsonevand: mtools> it's needed for the syslinux binary itself but not for other uses of the syslinux package like building CDs, so I downgraded it to reduce the delta with Debian15:02
cjwatsongunsofbrixton: in the Mexico case, we do in fact use only the location15:03
cjwatsonall we can do is heuristics that are as good as we can manage, though15:03
cjwatsonwithout reading the user's mind, there's no way to be sure about it, so I don't think it's worth stressing too much15:03
cjwatsonfile a bug on console-setup if it does obviously the wrong thing :)15:04
cjwatsonI'm not sure I agree with the hypothesis that location is more likely to match than language; I think you would need data for that rather than guesswork15:04
cjwatsonfor instance, I could easily say that if somebody's preferred language doesn't match their location, there's a decent chance that they emigrated from somewhere else, and that they may well have brought their old computer with them or at the very least be used to the keymap in the country they come from15:05
cjwatsonif I moved to France, for instance, I don't think you could ever convince me to type on a French keymap :)15:05
evandcjwatson: ah, noted on syslinux15:07
cjwatsonbut basically we use the language when the upstream xkeyboard-config layout files are structured such that there's a layout for the language and then some variants depending on the location (e.g. German), but we use the location when the files are structured such that there's a layout for the location and then some variants depending on the language (e.g. Belgium)15:08
cjwatsonthis tends to mean that plausible alternatives are closer to hand in case we guessed wrong15:08
cjwatsondavmor2: do you have the machine to hand where I might be able to debug this grub menu generation thing, then?15:09
davmor2cjwatson: I can have a machine with xp or vista on in a matter of minutes but I'm just working on install and debuggin' a kernel issue on my nvidia box.  so 30 minutes-ish15:10
gunsofbrixtoncjwatson: evand: good points, thanks for clearing that up. would indeed be interesting though to know if language or location is the better match15:11
CIA-33usb-creator: evand * r212 trunk/debian/ (changelog control):15:12
CIA-33usb-creator: Explicitly depend on mtools, just in case someone removes it and15:12
CIA-33usb-creator: expects usb-creator to still work.15:12
cjwatsondavmor2: thanks15:12
CIA-33usb-creator: evand * r213 trunk/debian/changelog: LP bug reference for the previous commit.15:13
rgreeningevand: does failed_dialog_label ever show the "see usbcreator.log" message? I can't see anywhere where it would. Seems the _fail def overrides that message.15:22
rgreeningso its superfluous at best to have it in the gtk ui.15:22
evandah, I guess not.15:23
rgreening:)15:23
davmor2cjwatson: have you seen the bug apparently os-prober isn't installed, is that still needed? https://bugs.launchpad.net/bugs/43014115:23
ubottuLaunchpad bug 430141 in grub2 "No second OS is shown up in grub2" [High,New]15:23
davmor2meh it's installed here15:25
CIA-33usb-creator: rgreening * r214 trunk/ (debian/changelog usbcreator/frontends/kde/frontend.py): * Add the missing retry dialog to the KDE frontend.15:26
cjwatsondavmor2: they're hijacking your bug. ignore them15:28
cjwatsonI've told them off in a comment already :)15:28
davmor2cjwatson: change the title on me and everything :)15:29
ogracjwatson, not sure you saw my d-i error paste this morning, http://paste.ubuntu.com/273343/ ... i tracked it down to a line in mkinitramfs that apparenly parses the output of mount (instead of using /proc/mounts) which doesnt output anything here under armel if i run it in /target, you dont happen to have seen similar errors on other arches, do you ?15:34
davmor2Right then cjwatson do you need any info off the vista install before I start on the ubuntu auto resize?15:34
cjwatsonogra: there's a known debootstrap problem15:36
* ogra wonders if it's arch specifc that mount doesnt output anything in that environment or if there is just something missing in the way imx51 uses d-i 15:36
cjwatsonogra: I've just been holding off on the sync because something went wrong when I fixed it in Debian and I need to remind myself of what15:36
ograah, sweet ...15:36
cjwatsondavmor2: don't think so15:36
davmor2right ubuntu along side then15:37
CIA-33usb-creator: rgreening * r215 trunk/TODO: * Update TODO15:55
CIA-33usb-creator: rgreening * r216 trunk/ (debian/changelog man/usb-creator-gtk.8 man/usb-creator-kde.8): * Update man pages to reflect new location of log file15:59
evandgood call16:09
cjwatsonevand: do you think you could look at fixing bug 419796? it seems to have bounced back onto the foundations team's list16:13
ubottuLaunchpad bug 419796 in devicekit-disks "PartitionTableCreate method times out when 'none' is specified as a parameter." [Medium,Confirmed] https://launchpad.net/bugs/41979616:13
evandoh, I did fix that16:13
evandI've just been waiting for davidz to review the patch16:13
cjwatsonaha16:16
cjwatsonI'll assign it to you then16:16
cjwatsoncould you reference that in the bug?16:16
evandabsolutely16:16
cjwatsonah, there's a bug link16:16
evandthere's another one that I've filed upstream that I haven't filed a bug in LP for16:17
evandis something else other than usb-creator being affected by devicekit-disks being broken?16:17
davmor2cjwatson: right up16:17
evandhttps://bugs.freedesktop.org/show_bug.cgi?id=2392616:17
ubottuFreedesktop bug 23926 in operations "Error creating partition: timeout (10s) waiting for partition to show up" [Normal,New]16:17
cjwatsonevand: not afaik16:18
davmor2cjwatson: lets try that again so it makes sense.  Right,  up16:18
evandokay16:18
rgreeningevand: so.. close to getting the format re-enabled then?16:20
evandrgreening: there's just one bug that stands in my way, but I've been focused on other things as of late16:20
evand23926, as mentioned above16:20
rgreeningyeah, I see that... just saying.. it's close now :)16:21
davmor2cjwatson: okay what do you need me to do?16:37
evandrgreening: ah, sure, though depends how you define close16:39
evanddavidz did just tell me that he's fine with my existing patch and that he's going to do a run over the existing bugs and make a new release of devicekit-disks today16:39
evandthe property names are changing from property-name to PropertyName, but that will be an easy fix16:39
cjwatsondavmor2: sorry, in the intervening time the release meeting started; give me a bit ...16:41
davmor2no probs16:41
evandrgreening: FYI: https://bugs.edge.launchpad.net/ubuntu/+source/usb-creator/+bug/43254216:59
ubottuLaunchpad bug 432542 in usb-creator "UI freeze exception for usb-creator 0.2.7" [Undecided,New]16:59
rgreeningevand: awesome17:00
rgreeningevand: I assume uploading new devicekit wont be an issue either...17:01
rgreeningoh and evand, my usb issues are apparantly specific to this Acer 6930. I tried several iso's on this system and on my other laptops, the others all work except this one regardless of the iso (unless I use an Alpha5 which worked).17:02
rgreeningso something wrt to firmware, ios or kernel maybe...17:03
rgreeningbut as a side note, my battery indicator has seemingly started to work now... hah17:11
evandhaha17:13
rgreeningbrb reboot17:16
cjwatsondavmor2: ok, control data first: can you show me /boot/grub/grub.cfg, and the output of 'sudo update-grub'17:50
davmor2cjwatson: both on bug17:54
davmor2would you like a new look grub.cfg after running update-grub?17:56
cjwatsondavmor2: is it different?17:57
cjwatsondavmor2: if so, yes please17:58
davmor2cjwatson: on the bug looks like it might be listing it now17:58
cjwatsonnow that's just WEIRD17:58
cjwatsonhow am I supposed to debug this when the bug goes away when I look at it? :-/17:59
davmor2cjwatson: want me to reboot and see if it is in the menu and boots on reboot?18:00
cjwatsonno need18:01
cjwatsonwhat was the version of ubiquity on the image you did this most recent test with?18:01
davmor2I second18:03
davmor2cjwatson: 1.99.2118:07
cjwatsonok, can I have an updated installer syslog?18:07
davmor2yeap need to reboot again18:08
cjwatsonbah, grub2 throws away errors from os-prober, how unhelpful18:10
cjwatsonI have a suspicion18:10
cjwatsondavmor2: if you have time to start a fresh install, could you try that, but before you start the installer, run:  sudo apt-get install patch; wget -O- http://paste.ubuntu.com/273623/ | sudo patch /usr/share/ubiquity/install.py18:11
cjwatsonerr, sorry, amend that18:11
cjwatsonsudo apt-get install patch; wget -q -O- http://paste.ubuntu.com/273623/plain/ | sudo patch /usr/share/ubiquity/install.py18:11
davmor2syslog up18:12
davmor2re-install on it's way18:13
cjwatsonyou're a star18:14
davmor2cjwatson: no joy :( want the logs?18:40
cjwatsondrat. yeah18:41
cjwatsondinnertime anyway18:41
cjwatsonI suspect I might have to go and reproduce it myself; if it's anything like I think it is that might not be too hard18:42
davmor2cjwatson: yeap I'm off out for a bit but can help out again latter18:42
cjwatsonI'm going to upload a grub2 package that is less militantly unhelpful about errors from os-prober18:43
davmor2syslog up off now18:45
davmor3kirkland: On Monday I'll do an encrypted home and show you the dialogue box you get.  Then you will understand why I type ecryptfs-unwrap-passphrase23:19
kirklandwhere did davmor3 go?23:24
=== robbiew is now known as robbiew-afk

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