/srv/irclogs.ubuntu.com/2009/02/26/#ubuntu-installer.txt

davmor2cjwatson: should it be safe to test lvm got lots to test and not much time?09:20
cjwatsondavmor2: wouldn't mind a coherent idea of its current state09:26
cjwatsonit seemed to be working for me09:27
davmor2cjwatson: wilko I'll run a quick test now09:27
davmor2cjwatson: did you test on 32 or 64 bit?09:28
cjwatsoni38609:28
davmor2right I'll try a 64bit then :)09:29
cjwatsonshouldn't think that alone will matter09:29
cjwatsonI know of the general problem that the LVM tools don't operate atomically, so quick successive operations may fail for one reason or another09:29
cjwatsontherefore, the difference between kvm and real hardware is more likely to be significant than the difference between i386 and amd64, IMO09:30
davmor2cjwatson: I was thinking more along the lines of if i368 works for you and amd64 works for me then both are likely to work and be safe to test :)09:31
cjwatsondavmor2: sure, just saying that I wouldn't expect the architecture difference to be significant here. If i386 works for me but amd64 fails for you then the difference is much more likely to be due to some other factor, not the difference in architecture09:34
davmor2cjwatson: fscking partitioner.  Error informing the kernel about modifications to partition /dev/sda2 -- Device or resource busy.  This means Linux won't know about any changes you made to /dev/sda2 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.  Ignore or Cancel09:38
cjwatsonplease don't reboot yet09:39
cjwatsonwhat was the previous state of this disk?09:39
davmor2I'm not09:39
cjwatson(your goal here is to show me how to reproduce this)09:39
davmor2it had a standard whole drive install on09:39
cjwatsonok, and what did you do in this installation pass?09:40
davmor2encrypted LVM09:40
cjwatsonso all guided partitioning?09:40
davmor2yes09:40
davmor2cjwatson: last page was the one about setting up lvm yes or no09:41
davmor2click on yes and then got the warning09:41
cjwatsonclick?09:42
davmor2well hit tab09:42
cjwatsonI'm guessing you don't actually mean mouse-click in ubiquity since it doesn't have encrypted LVM support :)09:42
davmor2cjwatson: It's twirly09:43
cjwatsonthe failure's on the BLKPG_ADD_PARTITION ioctl, but I'm guessing that it's actually because a previous BLKPG_DEL_PARTITION failed09:43
cjwatsoncan I get /var/log/partman quickly?09:43
davmor2what was the ssh command to save some time09:44
cjwatsonhmm, would be nice to know what the error code from the ioctl was but libparted probably doesn't show that09:44
cjwatsonanna-install openssh-client-udeb09:44
cjwatsonscp /var/log/partman user@host:target-file-name09:44
cjwatsonexit code's probably EBUSY which would indicate another active overlapping partition09:45
cjwatsonI wonder if there's any way I can get a list of active partitions09:45
cjwatsonum, 'ls /sys/block/sda' maybe?09:45
cjwatsononly the sda* ones09:45
cjwatsonwas this server or alternate?09:46
cjwatson(it probably doesn't matter ...)09:46
davmor2cjwatson: should be at http://www.davmor2.co.uk/partman109:47
davmor2sorry it's not it's http://www.davmor2.co.uk/partman need to clean up my server again09:49
davmor2infact give me 2 ticks I'll wipe them both and reupload to be sure09:49
cjwatsonarr. unique ids :)09:50
davmor2right it's definately the last link now09:50
davmor2It's cause I'm always dropping them on my server and forget to clean up after :)09:52
cjwatsonoh, /dev/sda2 is the extended partition, ok09:52
cjwatson(I was wondering why there were two primaries)09:53
cjwatsonis this definitely with the most current images?09:53
cjwatsondavmor2: if you can reproduce this on demand, one piece of information that would be amazingly useful, if a bit fiddly to set up, would be the output from a run of 'udevadm monitor' from the point just before you press enter on the final LVM setup question to a point after the failure09:55
cjwatsondavmor2: the reason I'm saying this is that it seems to me that the most likely cause for this bug is that we delete the partition and then sometimes udev is opening the disk to have a quick look at it before we add partitions09:56
cjwatsonlet me see if I can reproduce it here ...09:56
davmor2give me 5 mins and I'll re-run I'm just doing oem install on live on my other machine09:57
cjwatsonOEM GTK/KDE frontends are known broken in user-setup09:58
cjwatsonso you could skip that09:58
davmor2D'oh09:59
davmor2I thought that got fixed in a409:59
davmor2or was I just dreaming10:00
cjwatsonthis problem was introduced after alpha 410:04
davmor2yes I remember now doesn't it say username invalid before you put one in10:05
cjwatsonyes10:05
cjwatsonEvan fixed it in bzr but didn't upload ;-)10:05
cjwatsondidn't notice until it was a bit too late10:06
davmor2I saw the bug on it10:06
davmor2well you could always respin before I start testing :)10:06
cjwatsonI already checked with Steve, we decided to put this one in the errata10:08
tjaaltonlooks like that lvm bug is the same as mine10:13
cjwatsonwhich lvm bug?10:14
tjaaltonbug 33427810:14
cjwatsonI'd really prefer to consider each one separately, anyway10:14
ubottuLaunchpad bug 334278 in debian-installer "lvm: in-memory partition table not updated" [Undecided,New] https://launchpad.net/bugs/33427810:14
cjwatsonthat *is* your bug. which one are you saying is the same?10:15
tjaaltonah :)10:15
tjaaltonthe one davmor2 reported10:15
tjaaltonhere10:15
cjwatsonso I agree that it looks similar but there are some differences: davmor2 started out with /dev/sda1 and /dev/sda5 whereas you started out with /dev/sda1 and /dev/sda210:15
cjwatsonit could be that the same kind of change needs to be made in different places, or it could all be due to the one core bug10:16
tjaaltonit only depends on what you had on the disk10:16
cjwatsonuntil I've investigated further I simply won't know10:16
tjaaltonI get the same(ish) error when I try to install lvm on top of an old regular installation, or vice versa10:16
cjwatsonIMO it is best to understand and diagnose the bug, and *then* deal with duplicates :)10:17
tjaaltonsure10:17
cjwatsonbut yes, there is definitely a pattern here10:17
cjwatsonit's my top thing to look at now10:17
tjaaltonprobably not something for this alpha?10:17
cjwatsonnot sure yet10:17
tjaaltonok10:17
cjwatsonI'm inclined to say not provided that installations are at least sometimes possible ...10:18
cjwatsonthough it's not going to make for a pretty release note10:18
tjaaltonheh :)10:19
cjwatsonhopefully I can reproduce it here; if not it's a race condition and I'm going to have to bang my head against a few walls10:19
davmor2Meh cjwatson I just did the udevadm monitor hit yes and it's gone straight through to encryption password10:21
tjaaltonI guess the pattern is; regular -> lvm FAIL, lvm -> regular FAIL, regular -> regular OK10:22
cjwatsondavmor2: do you have the output of udevadm monitor, though?10:22
cjwatsonthat confirms that it is a race condition10:22
tjaaltonbut the last case might be successfull only because the layout is exactly the same10:22
cjwatsonthe monitor output may still be useful10:22
davmor2cjwatson: yes goes off the screen10:22
cjwatsonargh10:22
cjwatsondavmor2: redirect it to a file :-)10:22
cjwatsonudevadm monitor >monitor-output 2>&110:23
davmor2cjwatson: I was about to ask :) I'll re-run it10:23
cjwatsonsorry, suppose I should have said10:23
tjaaltoncjwatson: so not preseeding partman-auto/method, and running udevmonitor right before choosing the option?10:23
cjwatsontjaalton: regular->LVM works for me; this is a race condition10:24
cjwatsontjaalton: udevadm monitor, but yes10:24
cjwatsonhmm, interesting, the default answer for the guided size question fails for me10:24
tjaaltoncjwatson: but does the partition layout change for you when doing regular -> lvm?10:25
davmor2cjwatson: I think I just got the same thing doing whole drive over the whole drive oem on the live system10:26
cjwatsontjaalton: I'm reproducing davmor2's setup here, so I would imagine so10:26
tjaaltoncjwatson: ok10:26
cjwatsontjaalton: I can't check because I just ran into bug 327348 AGAIN10:26
ubottuLaunchpad bug 327348 in kvm "keep losing ability to type in guest" [Undecided,New] https://launchpad.net/bugs/32734810:26
tjaaltonugh10:27
davmor2cjwatson: how do I get access to the output from udevadm now?  I'm used to just piping it to a file :)10:30
davmor2ah got it:)10:34
davmor2cjwatson: http://www.davmor2.co.uk/monitor-output10:36
davmor2cjwatson: I'm carrying on with the install now and I'll see if I can reproduce on the next install10:47
cjwatsonhmm. blast. longint2human's rounding is not quite what I wanted10:50
StevenKcjwatson: I saw an issue with longint2human's display today, too11:02
StevenKcjwatson: Lemme get the photo somewhere more accessable than an SD card and I'll throw you a URL11:03
StevenKcjwatson: http://wedontsleep.org/~steven/IMG_2471.JPG11:08
cjwatsonoh, that's different11:09
CIA-3partman-auto-lvm: cjwatson * r216 ubuntu/ (debian/changelog perform_recipe_by_lvm):11:10
CIA-3partman-auto-lvm: Cope with rounding errors in guided_size; if the value we convert back11:10
CIA-3partman-auto-lvm: from human-readable notation is in the round-off range at either end,11:10
CIA-3partman-auto-lvm: just use the appropriate extreme (LP: #334648).11:10
StevenKSure, but it's still a fun problem. :-)11:10
cjwatsonevand: ^- StevenK's bug seems like more your field, I'm not quite sure how ubiquity does that stuff these days11:10
StevenKcjwatson: Oh, right. Unrelated to longint2human then, sorry. I guessed.11:10
evandYikes.  I'll look into that.11:10
StevenKevand: Prod me if you want a proper bug filed.11:10
cjwatsonStevenK: well, could be related, who knows :)11:11
evandStevenK: please do, just so I have something to track it with.11:11
cjwatsonthough it seems more like some kind of order-of-magnitude bug; human2longint and longint2human have a small test suite now so I'm reasonably sure they don't have order-of-magnitude bugs11:11
StevenKevand: Oh, there's a neat bug with the timezone selector, too. The cities don't line up with the picture, at least on my Q1 and Jax10.11:12
evandIndeed, I suspect this is as the result of some change I've made to segmented_bar recently.11:12
cjwatsoncities> yes, AOL, I think somebody filed that ...11:12
StevenKI didn't think Sydney was out to sea, but I'm not sure ...11:13
cjwatsonreproducible in kvm11:13
evandindeed, very well aware of that one11:14
evandbug 33428411:14
ubottuLaunchpad bug 334284 in ubiquity "ubuiqity OEM installer - TZ selection: London is not located in the UK but in mainland europe" [Medium,Confirmed] https://launchpad.net/bugs/33428411:14
* StevenK subscribes himself to it11:15
cjwatsondavmor2: thanks, summoning Keybuk ...11:17
StevenKevand: Bug filed.11:17
davmor2cjwatson: Will this be a show stopper or just a testing stopper?11:18
cjwatsonI don't know11:18
evandthanks11:21
cjwatsonevand: remind me, did you have a patch for bug 287635 (which I think is basically a dup of bug 34974, btw)? if so now would be a good time for me to commit it upstream and then we won't have to worry about translations11:24
ubottuLaunchpad bug 287635 in partman-partitioning "Poor wording on errors" [Low,Confirmed] https://launchpad.net/bugs/28763511:24
ubottuLaunchpad bug 34974 in partman-partitioning ""Too large size" message a little terse" [Low,Triaged] https://launchpad.net/bugs/3497411:24
evandI might, let me dig through my branches quickly11:26
evandcjwatson:  Apparently not.  Want me to write something up?11:28
cjwatsonevand: if you have time, sure11:30
evandok, will do.  I'll also dup to 34974 and attach it there.11:31
davmor2cjwatson: I can confirm it works the other way too so with the lvm install in place you can't then do a whole drive install over the top of it :(11:40
CIA-3partman-partitioning: cjwatson * r697 ubuntu/ (debian/changelog lib/resize.sh):11:45
CIA-3partman-partitioning: Cope with rounding errors while asking for the new partition size; if11:45
CIA-3partman-partitioning: the value we convert back from human-readable notation is in the11:45
CIA-3partman-partitioning: round-off range at either end, just use the appropriate extreme.11:45
cjwatsondavmor2: ok, will need to wait for Keybuk to notice my /msg I think11:46
cjwatsonI can't reproduce it myself (although I believe it) and this is getting outside my expertise ...11:46
cjwatsonit sort of feels like a udev rule missing ACTION=="add|change" to me11:51
davmor2cjwatson: I'm well out of my depth :)11:52
evandcjwatson: patch attached to 3497412:20
* davmor2 lunch for a bit can't do much else12:33
cjwatsonevand: multi-line Description: fields don't work that way12:34
cjwatsonevand: the first line is semantically separate from the short description; generally the first line should be thought of as a heading, not a sentence that might wrap12:34
cjwatsonevand: so the first line should typically be limited to 65 characters, and not usually end with a full stop12:34
evandah, indeed.  That completely slipped my mind12:34
evandcjwatson: http://pastebin.ubuntu.com/123280/ - better?12:43
cjwatsondefinitely better, might make some minor rewordings but I'll need to look at the surrounding text for that; please do attach that to the bug12:48
evandsure thing12:49
CIA-3ubiquity: evand * r3066 ubiquity/ (debian/changelog ubiquity/segmented_bar.py):12:59
CIA-3ubiquity: Always return an integer from get_size as the calcuation could produce a12:59
CIA-3ubiquity: float, and functions using the return value expect a number of bytes12:59
CIA-3ubiquity: (LP: #334677).12:59
evandhooray for poorly worded changelog descriptions13:00
evandslightly confused, I though implicit conversion occurred there.13:03
=== cjwatson changed the topic of #ubuntu-installer to: http://wiki.ubuntu.com/Installer/FAQ | Development of d-i and ubiquity in Ubuntu | http://wiki.ubuntu.com/InstallerDevelopment | If nobody answers, try ubuntu-installer@lists.ubuntu.com
cjwatsonInstaller/FAQ> new page, feel free to add stuff15:56
evandoo, very cool16:10
kirklandcjwatson: hmm, booting degraded raid seems to have regressed16:17
kirklandcjwatson: this is the first time i've tested it in jaunty16:17
kirklandcjwatson: http://people.ubuntu.com/~kirkland/Screenshot.png16:18
cjwatsonkirkland: ... OK - are you going to fix it? :-)16:44
kirklandcjwatson: i'm looking at it now16:44
cjwatsonit probably shouldn't be trying to resolve user/group names in the initramfs, to start with16:44
kirklandcjwatson: keybuk suggested that it might be a kernel issue with the md driver16:45
kirklandcjwatson: i was curious if anything changed with user/group in initramfs between intrepid/jaunty16:45
kirklandcjwatson: okay, confirmed, kernel bug16:46
kirklandcjwatson: this is fixed by using 2.6.29rc6 vanilla kernel16:47
kirklandcjwatson: i'll binary search to find the kernel that fixes it16:48
kirklandcjwatson: regarding your kvm keypress issue, is there a chance that the keys are registering in the vm, but just not being reflect to screen?16:50
kirklandcjwatson: there's a couple of screen garbling issues that upstream is trying to fix;  i'm going to backport those as soon as they have them figured out16:51
cjwatsonkirkland: no chance at all16:51
cjwatsonkirkland: did you see my comment about it being clearly like a modifier key being held down?16:51
kirklandcjwatson: yes i did16:51
cjwatsontty changes do register and the screen updates as normal16:51
cjwatsonand if I press Enter at the "would you like to start a busybox shell" prompt, that works16:52
kirklandcjwatson: i've been working in vm's all morning and haven't reproduced this yet16:52
cjwatsonnone of the symptoms suggest screen garbling in any way16:52
kirklandcjwatson: is there a path i can use that will trigger this every time?16:52
cjwatsonI don't have anything consistent; it happens for me when detaching focus with Ctrl+Alt16:53
cjwatsonbut only sometimes16:53
cjwatsonnote that I also change virtual desktops with ctrl+alt+left, but (due to another problem) I generally move the mouse out of the kvm window before doing so16:53
cjwatson(well, ctrl+alt+cursors)16:53
kirklandcjwatson: sure16:53
kirklandcjwatson: compiz on?  (just curious)16:54
kirkland(mine's off)16:54
cjwatsonoff16:54
cjwatsonthis is one of those things that I can reproduce as long as I'm not paying attention to it ...16:55
cjwatsoncould it be related to I/O? usually what seems to happen is that the installer's doing something time-consuming, so I switch away to check IRC or something, and then switch back and it's hung16:56
cjwatsonI notice, anecdotally, that it never happens unless I grab focus16:56
cjwatsonbut sometimes I have to in order to press alt-f<thingy> without some bit of desktop furniture grabbing that keystroke16:57
kirklandcjwatson: okay, where "hung" = pressing keys, keys not registering, must drop to a virtual console, and back to reset and have good keyboard io again?16:57
cjwatson*some* keys not registering, as I said before16:58
kirklandokay, i'll keep an eye on it16:58
cjwatsonI may not have mentioned that in at least one context I saw ^] or something like that displayed after I pressed a key16:59
cjwatsonobviously only when the vt in use is in raw mode or whatever so that it does that rather than trying to interpret the key sequence16:59
cjwatsonthe only way I know of to fix keyboard I/O is to kill the kvm and start again17:00
kirklandcjwatson: out of curiosity, have you tested raid5 in jaunty?17:23
kirklandcjwatson: mathiaz reported really slow performance in a kvm;  that's not wholly unexpected to me (parity + triple disk io)17:23
kirklandcjwatson: but i was checking if anyone else has tried it (i'm doing it now)17:24
cjwatsonno, I haven't17:24
kirklandk17:25
kirklandcjwatson: can i put /boot on ext4?  does grub have the smarts?17:28
cjwatsonyes17:28
cjwatsondavmor2,tjaalton: can you try http://cdimage.ubuntu.com/tmp/20090226/jaunty-server-i386.iso? it should rsync reasonably well against the current server image17:39
cjwatsonerr, hmm, let me push that to mirrors first17:39
kirklandcjwatson: fyi, raid5 install clean on jaunty ;-)17:41
cjwatsondavmor2,tjaalton: ok, that image is up now17:41
cjwatsonkirkland: cool. It's not something I test very often myself ...17:41
kirklandcjwatson: agreed.  it takes 537 clicks in partman :-)17:41
davmor2cjwatson: seems to be syncing nicely :)17:45
davmor2cjwatson: doing a whole install now if all goes well I'll try an lvm after17:54
tjaaltoncjwatson: first thing in the morning ;)17:55
davmor2tjaalton: I'm going to be working for a bit anyway if it works for me you can confirm in the morning :)17:57
tjaaltondavmor2: great :)17:58
davmor2cjwatson: first one worked starting second install now18:58
davmor2kirkland: I know this isn't the place but is there any plan in the server team to switch off the ability to hit alt-ctrl-delete to reboot the machine by default?19:16
cjwatsonI recommend not changing that by default19:17
cjwatsonit's a very useful facility19:18
cjwatsonand the server has a much lower idiot factor than the desktop :-)19:18
cjwatson(I include myself in the idiots who occasionally hit ctrl-alt-backspace on the desktop)19:18
cjwatsonanyway, you can configure it really easily in /etc/event.d/control-alt-delet19:19
cjwatsone19:20
davmor2cjwatson: I knew there would be a way, it's just I know some server installs do it by default and wondered if Ubuntu would be going down that path to :)19:24
kirklanddavmor2: not that i know of19:32
kirklanddavmor2: ie, i know of no initiative to change that default19:33
davmor2kirkland: Ta just wondered as I'd done it to restart my test machine :)19:34
boingboinghello! I have installed ubuntu 8.04 on my sata drive (partition sda2) and the boot loader on a USB pen (sdb) but when i try to boot from the grub on the pendrive it says: GRUB and doesn't load the system on the SATA HDD. can you help me?21:15
boingboing I need to create a GRUB to load my sda2 from my sdb (usb pen) please help me21:27
sergiobiHi all, i'm not sure to be in the correct room in order to ask my question... i can try... i hope U help me to redirect to the correct room ;)21:41
sergiobii'm using ubuntu 8.10 distro and i want to install kdiff21:41
davmor2yes21:41
sergiobii've searched the application in my repository... but i didn't found them... :(21:42
sergiobido U know which is the correct repository?21:42
sergiobithx in advance ;)21:42
davmor2hmm21:44
davmor2sergiobi: I would try on #ubuntu or #kubuntu to be honest it looks like it should be in universe21:48
sergiobiok! i'll try!  thank U davmor2!21:49
cjwatsonsergiobi: indeed, this channel is more for initial installation of Ubuntu than for installation of further packages once you have Ubuntu installed22:01
markhi22:02
markwhat is the easiest fix if, in the installer, both grub and lilo report that there is no matching bios drive for the startup drive(s)?22:02
cjwatsonmark: what's the Linux device name?22:07
mark /dev/sdy and /dev/sdac22:07
cjwatsonthe easiest workaround is probably to edit /target/boot/grub/device.map and then try again22:07
markok, I will try that22:08
cjwatsonthat sounds   /* The rest is SCSI disks.  */22:08
cjwatson  for (i = 0; i < 16; i++)22:08
* cjwatson kicks grub22:08
markhaha22:09
markyou know how much fun doing partitioning in the ubuntu installer is on a box with 48 disks, over a 9600bps serial connection?22:09
mark;)22:09
cjwatsonI'm going to bet "not much"22:09
markI had to write a script to manage all the software raid partitions and lvm on top22:10
markit gets really confusing otherwise ;)22:10
cjwatsonwow, lilo has the exact same limitation, 16 disks22:10
markanyway, lilo also didn't inst...22:10
markah that would be why :)22:10
markshould I... open a launchpad bug for this? :)22:11
cjwatsonI guess the expansion to 256 disks is more recent than either22:11
cjwatsondefinitely!22:11
cjwatsonthis shouldn't be hard22:11
markI guess yesterday I was lucky with a slightly different model server, which used /dev/sda and /dev/sdi22:12
cjwatsonI'm going to bed now, but will be happy to sort this out22:12
markthanks :)22:12
marksleep well22:12
cjwatson"Ubuntu now supports installation on machines with up to 256 disks"22:12
marki'll file a bug22:12
cjwatsonI can get that past management I'm sure ;)22:12
markit sounds like it ;)22:13
davmor2cjwatson: tell them google need it :D22:13
markwikimedia needs it too22:13
markand I think canonical was quite happy with that too ;)22:13
cjwatsonoh yes22:13
cjwatsonI think partman supports this OK, but would want to check for random limitations there22:14
cjwatsonit certainly supports above sdz22:14
markyes it does22:14
markthese boxes have 48 disks, and with different boot drives it works fine22:15
cjwatsonbut this is the sort of thing where you might find a random limit somewhere just because hardly anyone needs this22:15
markindeed22:15
markI was just trying to remove all traces of solaris on these boxes...22:15
cjwatsonlooks like libparted is agnostic about this. good22:16
markhmm what package should I report the bug on?22:17
cjwatsonwell, it has stupid code that looks at hd[a-h] and sd[a-f]; but that's ok because it looks through /sys/block/ anyway22:18
cjwatsonmark: I'd recommend one bug with three tasks, one on each of lilo, grub, and grub222:18
cjwatsonmark: i.e. pick one of those for the initial bug report, then "Also affects distribution" and select each of the others in turn22:18
markok22:18
cjwatsonplease also assign it to me so that it doesn't fall off22:21
cjwatsonand to deter bug triagers from doing the wrong thing overnight :-)22:21
cjwatsonperhaps say that I asked you to file the bug22:21
markok22:21
stgrabercjwatson: bug 32809723:45
ubottuLaunchpad bug 328097 in partman-auto "preseeding partitionning isn't working anymore hardy 8.04.2" [Undecided,Incomplete] https://launchpad.net/bugs/32809723:45

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