/srv/irclogs.ubuntu.com/2006/11/27/#ubuntu-installer.txt

cjwatsonthat's not surprising; if you randomly kill debconf, extra questions are the least of your worries01:29
cjwatsonif it's happening about half the time, I'd love it if you could step through the installer until just before the end of the partitioner, then from tty2, 'udpkg -i /cdrom/pool/main/s/strace/strace_*.deb', 'ps ax' to find the main-menu process, and 'strace -f -o /tmp/foo.trace -s 1024 -tt -p <whatever the main-menu pid is>'01:30
cjwatsonctrl-c that if/after it hangs, 'anna-install openssh-client', and scp the trace out01:31
cjwatsonthis is a little reminiscent of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=100616, but I don't think it's the same thing01:34
=== mode/#ubuntu-installer [+o cjwatson] by ChanServ
=== ..[topic/#ubuntu-installer:cjwatson] : Development of d-i and ubiquity in Ubuntu
=== mode/#ubuntu-installer [-o cjwatson] by cjwatson
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has joined #ubuntu-installer
=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has left #ubuntu-installer []
=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has joined #ubuntu-installer
jerom1Hi Colin and all,11:38
jerom1I would wish to test your friday's patch by adding your modification in the initrd of my netboot. How can i find your fix ?11:38
=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has left #ubuntu-installer []
=== Signon time : Sun Nov 26 10:40:44 2006
=== Signoff time : Mon Nov 27 13:16:53 2006
=== Total uptime : 1d 2h 36m 9s
=== Starting logfile irclogs/ubuntu-installer.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-installer
=== Topic for #ubuntu-installer: Development of d-i and ubiquity in Ubuntu
=== Topic (#ubuntu-installer): set by cjwatson at Mon Nov 27 01:35:39 2006
markcjwatson: alright I'll see what I can do01:51
cjwatsonthanks01:51
markI guess I could start an openssh server on the machine if I'm doing the install manually step by step anyway01:53
cjwatsonpossibly the fewer perturbations the better, though01:54
markyes but I don't have physical access to most of our machines01:55
markthey are thousands of miles away ;)01:55
=== cjwatson nods
marklet me try it rightaway on an idle server in korea02:09
markof course it doesn't happen if you WANT it to happen02:41
cjwatsona watched pot never boils02:43
markmaybe it doesn't help that the install goes a lot slower now because of a different mirror02:44
cjwatsonthat shouldn't make a difference; it downloads everything and then installs it all02:44
markyou never know02:45
markaha03:00
marknow the install seems stalled on "Installed libisccfg1"03:00
markso it's likely not a man-db issue but a debconf one?03:00
cjwatsoncould be anything03:05
cjwatsonwould need an strace to investigate03:06
marktrying to get you one now03:07
markbtw, once I used db_set in a postinst script in one of our own packages03:07
markand that made everything stall as well03:08
markmight be the same thing03:08
markbut that was very reproducable03:08
cjwatsonprobably a different problem, such as causing debconf to exit before the db_set03:11
cjwatsondb_set does work :-)03:11
markserver-expert installs at 9600bps = no fun :)03:12
markah there is no openssh-server udeb03:27
marklet's see if I can do without...03:28
cjwatsonis too03:41
cjwatsonbut it comes unconfigured so is not really quite what you want03:41
cjwatson(it's in universe)03:41
=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has joined #ubuntu-installer
markI have found another way03:55
markI start the strace in the ssh shell using the menu03:55
markand have it log to /var/log/stall.trace03:55
markthen I start the internal debug logs webserver03:55
markand go on with the install03:55
markok it seems stalled at "Installed cron"03:57
markhttp://yf1014.yaseo.wikimedia.org/stall.trace03:57
cjwatsonjerom1: 'svn di -r42868:42869 svn://svn.debian.org/svn/d-i/trunk/packages/debian-installer-utils/list-devices', applied to /bin/list-devices. If it breaks, you get to keep both pieces.04:01
jerom1collin : thanks04:01
mark2136  14:56:57.569926 sendto(4, "<15>Nov 27 14:56:57 debconf: <-- 0 OK", 37, MSG_NOSIGNAL, NULL, 0) = 3704:01
mark2136  14:56:57.570009 write(5, "0 OK", 4) = 404:01
mark2136  14:56:57.570056 write(5, "\n", 1) = 104:01
mark2136  14:56:57.570102 read(6,04:01
cjwatson(just the one l)04:01
markare the last lines in the trace04:01
cjwatsonthat sounds like you're just tracing debconf04:01
markisn't the main menu debconf?04:02
cjwatsonbut the hang might not be there04:02
cjwatsonyou're prejudging the outcome ...04:02
markI am not04:02
markyou asked me to trace the main menu pid :)04:02
cjwatsonwith -f04:02
markI did04:02
cjwatsonand no, the main menu actually isn't debconf04:02
cjwatsonit's "main-menu"04:02
markok04:02
markI will start over04:03
cjwatsonsorry, I thought I'd been clear04:03
markmaybe I didn't look very well04:03
marknp04:03
markI now know how to do it04:03
cjwatsonlooking at the trace anyway, but it looks like it's the other side of the protocol that's hanging04:03
markyes04:03
cjwatsondebconf is just waiting for input, which is legitimate and normal04:03
markindeed04:04
cjwatsoncould conceivably be apt or something at this rate04:04
cjwatsonbut we'll see04:04
markI should put the strace in the early_command script... easier04:08
markoh this is going to be a fun trace04:19
cjwatson(not likely to be around much for the rest of my afternoon, BTW)04:20
markok04:20
markI'll just save it04:20
cjwatsonnnn04:20
cjwatson(argh, bloody connection)04:20
markgee, the installer is doing a lot of forks...04:21
cjwatsonit does that05:00
cjwatsonsomething to do with largely being written in shell ;-)05:00
cjwatsonDoesn't help performance on hppa any, where fork() is really slow. It's not too bad on the other architectures.05:01
markhehe05:26
markmy strace download is now one hour behind05:26
markan hour to just install base ;)05:26
markkilled for out of memory05:54
cjwatsond'oh05:55
markit was > 4 GB in size ;)05:55
markthis is not feasible05:55
cjwatsonwhen did you start the trace?05:55
markright before base install05:55
cjwatsonhmm05:55
cjwatsonis it feasible to dump the trace to disk instead of RAM?05:56
markhmm05:56
markmaybe05:56
markwould have to be another disk than the installer is working on I guess05:56
cjwatsonyou'd have to run in expert mode until the end of the partitioner in order to give yourself time to set up the trace before base-installer starts, and then change debconf priority back to high to get into base-installer05:56
cjwatsonno, if you set up the trace after the partitioner has finished working then you can safely write into /target/tmp/05:57
markor I have it streamed out over the LAN05:58
markI can do it after base-installer I guess, it doesn't happen during bae06:09
markbase06:09
cjwatsonit doesn't?06:11
cjwatsonoh, Ubuntu doesn't install man-db as part of base06:11
cjwatsonI totally forgot about that ;-)06:11
mark:)06:11
cjwatsonhi, can you tell I'm the man-db maintainer, a Debian installer developer, and the Ubuntu installer lead? sheesh06:11
markyes, clearly :)06:11
cjwatsonyeah, ok, so right before pkgsel would work fine as well06:12
markbut with many hats things can get intermixed06:12
cjwatsonexactly - Debian installs man-db in base06:12
markwhat does "Build LTSP chroot"?06:13
mark+do06:13
cjwatsonit's an Edubuntu thing06:14
cjwatsonthin client integration06:14
mark/dev/sda1                 7.3G    479.8M      6.5G   7% /target06:15
markI hope that's gonna be enough :)06:15
cjwatsonif you're installing an LTSP server, it builds a pre-cooked chroot that you can serve out to clients06:15
markI see06:15
markso I can skip it next time06:15
cjwatsonyeah06:17
markok there we go, I have it log to /target/tmp, and I put a symlink in /var/log/ so it's available over the network06:17
markhttp://yf1014.yaseo.wikimedia.org/stall.trace06:17
markgonna start pkgsel now06:17
markgrr06:23
markof course now it went just fine06:23
markand again :(06:39
jerom1bye06:47
=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has left #ubuntu-installer []
markcan't reproduce it with strace running07:11

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