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

antarusDoes the installer support GPT ?00:39
cjwatsonYes00:40
antarusI'm not super familiar with GPT00:44
antarusbut it appears that it is not being configured correctly, grub is telling me "This GPT partition label has no BIOS Boot Partition; embedding won't be possible!."00:44
antarusthen later on /usr/sbin/grub-setup: error: cannot read `/grub/core.img' correctly.00:45
cjwatsonAre you using manual partitioning?  How old an image are you using?00:45
antarusthis bug was filed march 23, we sync images about 12h after you release them00:45
antaruslet me double check the preseed00:45
cjwatsonThat's odd because I added a big warning to the partitioner before that that complains if you don't have such a partition.00:45
cjwatsonAlthough if you're preseeding a partitioning layout then it's your job to create such a partition.00:46
antaruswe are using partman_auto/expert_recipe00:46
antarus(it was like that when I got here, etc..)00:46
antarusso we need to change our preseed then yes?00:46
cjwatson1 1 1 free $iflabel{ gpt } $reusemethod{ } method{ biosgrub } .00:47
antarusexcellent00:47
cjwatsonis the bit from the default atomic recipe00:47
cjwatsonI'd probably put it at the start00:47
antarusas always your assistance was quick and greatly appreciated ;)00:47
cjwatsonthank me when it works ;-)00:47
antarusyes yes ;p00:48
antarushrm, any idea if this will work fine on non-gpt as well?00:59
cjwatsonantarus: yes, the $iflabel{ gpt } bit arranges for this to be a no-op elsewhere01:30
antarusahhh01:38
CIA-32debian-installer: cjwatson * r1334 lucid-proposed/ (8 files in 2 dirs): Move to 2.6.32-40 kernels.02:56
CIA-32debian-installer: cjwatson * r1335 lucid-proposed/ (9 files in 3 dirs): Move oneiric-* images to 3.0.0-17 kernels.02:58
CIA-32debian-installer: cjwatson * r1336 lucid-proposed/debian/changelog: releasing version 20081029ubuntu102.1502:59
antarusoh dear lord, did we build our own partitioner?02:59
* antarus ughs02:59
antarusthe past, I hate it02:59
cjwatsonthis is why we went to enormous effort to reuse d-i's partitioner in ubiquity, despite the complexity induced by doing so03:01
cjwatsonmaintaining two => ftl03:01
antarusI love it when my machine is misconfigured to not print to console, and my syslogs stopped 30 minutes ago with no errors ;p03:03
antarusUsed to install additional, non-standard d-i components (udebs). It will check if anna has already been run. If it has, the component is unpacked immediately; if it has not, it will be scheduled for installation when anna is run.03:08
antarusaha03:08
antarusI wonder if anna moved around in d-i between L and P03:09
antaruscjwatson: is there a document detailing the steps of the installer?03:12
antarusahh I guess main-menu is dynamically assigned..03:13
antarusbleh03:13
cjwatsonantarus: http://d-i.alioth.debian.org/doc/internals/03:16
cjwatsonnot totally up to date but pretty good03:17
cjwatsonI don't believe anna moved03:17
antarusit wouldn't surprise me if this never worked either ;p03:17
antarusI guess the quickest thing to do is take the initrd and just bust it open03:18
antarusoh look03:39
antarusI pulled some lucid logs and it never worked there either03:39
* antarus sighs03:39
gemadoes anyone know where I can have a look at the code of ubiquity_webcam_play ?10:16
cjwatsongema: lp:ubiquity, src/webcam/webcam.c10:18
gemacjwatson: thanks10:19
gemacjwatson: we've set ulimit -c unlimited but after sending SIGILL or SIGSEV there is no core dump from ubiquity on the live install, is there anything we are missing?10:30
gemacjwatson: I am trying to leave enough info on bug 966294 so that you guys can actually fix it, it has to do with the camera10:31
ubot2Launchpad bug 966294 in ubiquity "Precise AMD64 Desktop beta 2 image hangs during an install" [Undecided,New] https://launchpad.net/bugs/96629410:31
cjwatsonIt might have a current directory it can't write to.10:31
cjwatsonHowever surely the crash reporting thing should get hold of the core dump regardless.10:31
gemacjwatson: we are running it manually from ~ , does it change its current directory?10:32
gemacjwatson: we are trying to make it coredump with a signal10:32
cjwatsonNot explicitly10:32
cjwatsonAnything in /var/crash afterwards?10:33
gemano10:33
cjwatsonNot sure then :-(10:34
cjwatsonYou could attach gdb without crashing the process10:34
cjwatson'gdb /usr/bin/python process-id-of-ubiquity'10:34
cjwatsonmaybe sudo10:34
davmor2cjwatson, gema: is it stopping once you click on the continue button post user details?10:34
gemawe already attached it, got thread info and stack trace of the relevant thread10:34
gemahowever without symbols that's not all that helpful10:34
gemaso we are trying to get a core dump to debug it on a machine with the symbols10:35
gemadavmor2: yes10:35
cjwatsonOr you could grab the symbols from ddebs.ubuntu.com first10:35
cjwatsonAnd install them in the live session10:35
cjwatsonThat would be my approach10:35
gemacjwatson: ack10:36
davmor2gema: I got it here I worked through all the files I could with evan and we couldn't find anything useful either10:36
gemadavmor2: the camera setup is failing10:36
gemadavmor2: we are trying to get some debuggable stuff out of it10:36
gemadavmor2: we've narrowed it down to ubiquity_webcam_play with gdb10:37
cjwatsonThat function itself, or the gst stuff it calls?10:37
cjwatsonThat function is really very simple indeed10:37
cjwatsonvoid10:38
cjwatsonubiquity_webcam_play (UbiquityWebcam *webcam) {10:38
cjwatson        UbiquityWebcamPrivate *priv = UBIQUITY_WEBCAM_PRIVATE (webcam);10:38
gemacjwatson: the gst stuff, would be our guess10:38
cjwatson        if (gst_element_set_state (priv->camerabin, GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) {10:38
cjwatson                g_print ("setting camerabin to PLAYING failed\n");10:38
cjwatson                return;10:38
cjwatson        }10:38
cjwatson}10:38
davmor2gema: yeah that's what I had a chat with ev about while I was down in millbank10:39
CIA-32ubiquity: cjwatson * r5343 trunk/ (debian/changelog src/webcam/webcam.c):10:41
CIA-32ubiquity: Exit early from ubiquity_webcam_play and ubiquity_webcam_stop if priv or10:41
CIA-32ubiquity: priv->camerabin is NULL.10:41
cjwatson^- I don't *think* that's your bug but I happened to notice it10:41
gemaours gets stuck there forever, until it runs out of memory10:42
cjwatsondo you have any of the backtrace at all?10:51
cjwatsoneven without symbols it might be worth a brief look10:51
gemacjwatson: I attached all the info I could gather, one file has most symbols loaded, bug 96629411:33
ubot2Launchpad bug 966294 in ubiquity "Ubiquity loops forever from ubiquity_webcam_play" [Undecided,New] https://launchpad.net/bugs/96629411:33
gemacjwatson: hope it helps, because it was a painful process :)11:33
cjwatsonDo you still have that gdb running?11:35
gemacjwatson: yes11:35
cjwatsonCould you go up to frame 35 (ubiquity_webcam_play), then 'p priv' and 'p priv->camerabin'?11:36
gemapriv is optimized out11:36
cjwatsonOh, hah, that's at the bottom11:36
cjwatsonOK, not NULL at least11:36
gemathat's the closest we could get11:36
cjwatsonThat's an odd place to hang.  Does it sit there?11:37
cjwatsonOh, I suppose if it's copying something unbounded.11:37
gemait just keeps going until it runs out of memory at some point, the UI unresponsive11:37
cjwatsonIt smells of a non-NULL-terminated list or something.11:42
cjwatsonThis will probably take ages to run, and I'm not entirely certain it won't break something else, but could you try running ubiquity under 'valgrind --log-file=ubiquity.vg --error-limit=no --num-callers=50'?11:47
cjwatsonI can try zenning it from the code in parallel, but that's a rather uncertain process.11:48
cjwatsonWonder if there's any hope of reproducing this in the test suite11:58
cjwatsonHm, valgrind doesn't seem to have a problem with this in the test suite for me.12:16
gemacjwatson: I was cooking, reading you now12:26
gemacjwatson: running, it is taking a while, though12:50
gemacjwatson: with trace-children, valgrind exits before ubiquity actually starts and without trace-children it doesn't trace the right process13:20
gemacjwatson: not sure what else to do, I could ship the netbook to you, for debugging purposes?13:21
cjwatsonSee previous comments about lack of space13:22
gemacjwatson: you can return it to me when you are done!13:22
cjwatsonHmm13:22
gemacjwatson: it is a small pink testing netbook13:22
cjwatsonWell, there's that.  Dunno.  I guess maybe, if it won't leave you short.  Will you be at the release sprint?13:23
cjwatson(It'd be too late to fix it then, but I could return it then, as an option.)13:23
gemacjwatson: I wasn't planning to be, but I can come if necessary, if it is only for returning it, you can give it to michelle and she'll send it to me13:23
cjwatsonI think I should see if it reproduces on my own laptop first, though I really ought to write my performance review before rebooting for that :-)13:26
gemacjwatson: ack, I am trying something else with jibel meanwhile13:26
gemacjwatson: we can arrange for this after beta anyway13:26
gemadavmor2: you said you were discussing this ubiquity hang problem with ev back in london14:39
gemadavmor2: can you check with camera do you have?14:39
davmor2gema: http://davmor2.co.uk/pc-specs/main-laptop.html14:44
gemadavmor2: I don't find it there14:46
davmor2gema: meh give me 514:47
gemadavmor2: no hurry14:47
gemadavmor2: lsusb should tell you14:48
davmor2gema: http://paste.ubuntu.com/904002/ output of lsusb -v14:49
gemadavmor2: ta14:53
gemacjwatson: we finally managed to get a successful run of valgrind with memcheck option, which led us to decide to also gather an strace for open and ioctl15:31
gemacjwatson: logs attached to bug 96629415:31
ubot2Launchpad bug 966294 in ubiquity "Ubiquity loops forever from ubiquity_webcam_play" [Undecided,New] https://launchpad.net/bugs/96629415:31
CIA-32apt-setup: cjwatson * r230 ubuntu/ (debian/changelog generators/50mirror.ubuntu): generators/50mirrors.ubuntu: do not reuse the file variable (LP: #964930)16:04
cjwatson^- from bdmurray16:04
cjwatsongema: thanks16:04
gemanp16:04
CIA-32apt-setup: cjwatson * r231 ubuntu/debian/changelog: releasing version 1:0.55ubuntu216:06
antarusAhh I forgot that cjwatson never sleeps ;)16:09
infinityIt's not that late in Cambridge...16:09
cjwatsonDidn't sleep much last night, mind.  Zoning out a bit here.16:10
infinityI slept an hour last night.16:10
infinityWhich happened to overlap 11 minutes into our morning meeting.16:10
infinitySo, go me.16:10
infinity\o/16:10
antarusohh d-i20:17
antarushow I hate you20:17
antaruscjwatson: hmm, can't use "d-i partman-auto/method string lvm" with gpt ?22:20
antarusor I'm just doing this recipe wrong22:20
* antarus goes back to looking at partman22:20
antaruscjwatson: as usual, bug in my preseed22:40

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