/srv/irclogs.ubuntu.com/2007/09/26/#ubuntu-installer.txt

=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
=== mpt [n=mpt@121-72-130-17.dsl.telstraclear.net] has joined #ubuntu-installer
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer
=== jetsaredi1 [n=jgreenwa@pool-141-149-173-208.bos.east.verizon.net] has joined #ubuntu-installer
=== jetsaredi1 [n=jgreenwa@pool-141-149-173-208.bos.east.verizon.net] has left #ubuntu-installer []
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
CIA-18ubiquity: superm1 * r2162 mythbuntu-ubiquity/ubiquity/frontend/mythbuntu_ui.py: activate tv-out controls for all nvidia drivers09:24
CIA-18ubiquity: superm1 * r2163 mythbuntu-ubiquity/ (5 files in 4 dirs): allow adding/removing mythstream09:47
superm1evand, in my experiments this evening, i've been getting a lot of transient issues regarding getting stuck in install_extras.  Will literally work one boot and fail the next.  You guys been encountering anything similar when using install_extras to install language packages lately?09:55
superm1i narrowed it down to that function with a whole lot of print's around all the function calls of install.py09:56
superm1the odd thing is that all the extras get installed, and /sys, /proc get umounted.  just sits aimlessly otherwise10:04
=== xivulon [i=c2325681@gateway/web/cgi-irc/ircatwork.com/x-bae4ba2ea22ff9a4] has joined #ubuntu-installer
cjwatsonevand: did you know about http://www.groklaw.net/comment.php?mode=display&sid=20070921112733615&title=There%20is%20more%20to%20Linux%20than%20Ubuntu&type=article&order=&hideanonymous=0&pid=625102#c625432 ? (Mandriva to ship migration-assistant)12:06
=== xivulon [i=c2325681@gateway/web/cgi-irc/ircatwork.com/x-5b0119f11552ad2b] has joined #ubuntu-installer
xivuloncjwatson, is netboot a desirable add-on for wubi?01:35
cjwatsonI can't really imagine it ...01:38
xivulonsame as the debian one01:38
cjwatsonthe only case where that would make sense would be with a broken CD drive, and surely booting from an ISO on the hard disk covers that01:38
cjwatsondoes Debian win32-loader support netboot?01:38
cjwatsonif so, I don't know what the rationale is01:38
cjwatsonperhaps it can't boot from an ISO on the hard disk01:38
xivulonnetboot is all win32 loader does01:38
xivulonexactly01:38
xivulonI strongly prefer the ISO approach since 1) you download from windows and do not expose the user to sorting out networking in a text envirnoment01:40
xivulon2) you use ubiquity interface01:40
xivulonbut... if you want to do a dedicated partition installation, using the iso you have to deal with one of the partitions being mounted01:41
cjwatsonat some point, you should just use the normal installer :)01:42
cjwatsonwubi doesn't have to support everything01:42
xivulonof course01:42
xivulonit does...01:42
xivulonwe are running the normal installer01:42
cjwatsonI mean just use the normal installer launched normally, not through wubi01:42
xivulonIf people are familiar with ISOs and partitions, sure01:43
cjwatsonwhen you start getting into more and more complicated scenarios, ultimately yes, people have to learn01:44
xivulonI always suggest people to do a normal installation if after using wubi they want something extra (usually more disk space or suspend)01:44
cjwatsonthe more options wubi has, the more complicated it is itself, and the harder it gets to use ...01:44
xivulonI agree there01:44
cjwatsonI don't think netboot is particularly desirable for it01:45
xivulonI just mentioned because if you wanted netboot at a later stage we'd need to add lupin find_* and autopartition-loop to the alternate ISO01:46
cjwatsonI understand, but we can cross that bridge if and when we come to it01:46
xivulonsure01:47
cjwatson(autopartition-loop is already on the alternate image; the lupin stuff will require changing the option name and probably significantly different code)01:48
xivuloncjwatson, as mentioned in the casper bug report I was thinking about a rewrite anyway01:48
cjwatsonthat wouldn't help here01:49
cjwatsonthis is one area where d-i and casper are likely to need separate code01:49
cjwatsonthe environments are too different to be able to share code at this point01:49
xivulonmakes sense01:50
xivulonOn a different topic, is it worth the trouble to support amd64?02:00
evandcjwatson: I found out through OSNews.  I'm kind of surprised that they didn't try to contact me.  I would've been very willing to explain things and help where possible.03:09
evandI can't complain though, I really wanted other distros to pick it up and this is a step in that direction.03:09
cjwatsonI wonder if they're keeping the debconf use03:10
cjwatsonI didn't know Mandriva supported that03:10
evandI image they're just using the m-a binaries (ma-search-users, ma-search-items, and ma-import)03:11
evandI'll investigate that tonight though as I'm curious if they modified the code at all.03:11
evandIf they're keeping the debconf code, I hope they're following my branch closely, given the recent security issue.03:12
evandsuperm1: What function name?03:17
superm1evand,         under self.install_extras(), self.do_install(self.query_recorded_installed())03:32
superm1everything is getting installed, but it appears to be hanging through there03:32
evandHrm, I haven't noticed any issues installing language packs.03:34
evandSo it's not crashing, just taking a long time?03:34
superm1well i left it overnight in the VM03:35
superm1when i went to bed03:35
superm1and its still there03:35
superm1so yeah03:35
evandwow03:35
superm1so i'm at a bit of a loss of how to debug it now03:35
evandPython needs a set -x.  The rough equivalent in pdb is poor.03:36
evandsuperm1: I generally use a lot of print statements and --debug.03:38
superm1yeah i tried --debug and got nowhere regarding that.03:38
evandhrm03:38
superm1perhaps i'll have to keep tracing further into do_install then with the print statements03:39
superm1okay well my time this morning for debugging before class is already up, i'll try to continue later on then, thx :)03:40
evandthat's what I ended up doing when working on the lang pack issue03:40
xivulonsuperm1 python logging is more convenient for that sort of tasks03:40
evandno problem, let me know if you need any help and I'll try to reproduce the bug03:41
evandxivulon: python logging?03:41
xivulonthe logging module in python03:41
xivulonfar better then using print statements03:42
cjwatsononly if you want to leave them in place afterwards, which can clutter the code a lot for random debugging stuff and make it hard to read03:42
evandyeah, it seems like overkill for debugging03:43
xivuloncjwatson, let's say that if you "forget" them it's half damage most of the time...03:43
xivulonevand, once you define a proper debug level, then it's as easy as using print statements03:44
xivulona matter of taste I suppose03:44
=== evand [n=evand@ubuntu/member/evand] has joined #ubuntu-installer
=== evand [n=evand@ubuntu/member/evand] has joined #ubuntu-installer
=== cr3 [n=cr3@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-installer
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer
=== avoine [n=avoine@58-194-0-72-ppp.3menatwork.com] has joined #ubuntu-installer
=== superm1_ [n=malimonc@ubuntu/member/superm1] has joined #ubuntu-installer
superm1_evand, I narrowed it down to the command that is causing issues in do_install05:45
superm1_cache.open(None)05:45
superm1_around line 1418 or so05:45
superm1_of install.py05:45
evandhrm05:46
=== evand investigates
superm1_what is that supposed to be doing exactly?05:46
cjwatsonit reopens the cache to take account of the stuff that was just committed05:46
superm1_cjwatson, can you think of any reasons that would not be getting along then?05:48
superm1_perhaps related to bug 13129405:48
cjwatsonI'd have to look at current python-apt code05:48
cjwatsonthe temporary workaround for 131294 ought to cover this too, if it's the same thing05:49
cjwatsonperhaps mvo can shed light on why that might hang05:51
evandohh, it completely slipped my mind that mythbuntu uses its own install.py05:51
superm1_evand, well but it inherits from install.py05:51
superm1_and uses install.py's functions then for things like this05:51
=== mode/#ubuntu-installer [+o cjwatson] by ChanServ
=== cjwatson /invites mvo
=== mode/#ubuntu-installer [-o cjwatson] by cjwatson
superm1_i'll be back in about 10 min, gotta run to my next building05:52
evanduhhh, shouldn't mythbuntu_install.py call Install.__init__()?05:54
cjwatsonit doesn't define its own __init__ - does it need to call the superclass constructor explicitly?05:54
cjwatsonI thought that was implicit05:54
evandI'm not sure, actually.05:55
cjwatson"If a base class has an __init__() method, the derived class's __init__() method, if any, must explicitly call it to ensure proper initialization of the base class part of the instance; for example: "BaseClass.__init__(self, [args...] )"."05:55
evandI'm from a C++ background where this kind of thing is simple ;)05:55
cjwatsonI interpret "if any" as meaning that it's OK if the derived class doesn't have an __init__05:56
evandahh05:56
evandok05:56
evandindeed it does work that way05:58
=== superm1_ [n=malimonc@ubuntu/member/superm1] has joined #ubuntu-installer
evandspeaking of apt_cache, the debconf python module should really throw a meaningful exception when the database is locked.  If no one beats me to that, I'll take care of it for Hardy.06:07
superm1_i'm surprised it doesnt already06:09
cjwatsonit's tricky because it's not the confmodule that errors, it's the frontend06:10
cjwatsonso it needs to spot the frontend failing and do something useful06:11
=== trimmer [n=alien@12-207-39-128.client.mchsi.com] has joined #ubuntu-installer
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
=== superm1__ [n=malimonc@waluigi.student.iastate.edu] has joined #ubuntu-installer
superm1__well i narrowed it down inside python-apt.  it is hanging on self._cache = apt_pkg.GetCache(progress)07:10
cjwatsonneed mvo really07:12
superm1__yeah07:12
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer
=== mathiaz [n=mathiaz@ubuntu/member/mathiaz] has joined #ubuntu-installer
mathiazHi. I'm trying to install an lvm system with the preseed using the ubuntu-server cd.10:22
mathiazI've set the following line in the preseed : d-i partman-auto-lvm/disk string /dev/sda10:22
mathiazand commented #d-i partman-auto/disk string /dev/sda10:22
mathiazbut I still end up with a system that is not lvm.10:23
mathiazshould I set something else in the preseed file ?10:25
cjwatsond-i partman-auto/method string lvm10:26
cjwatsonpartman-auto-lvm/disk doesn't exist; put that back to partman-auto/disk10:26
=== avoine [n=avoine@58-194-0-72-ppp.3menatwork.com] has left #ubuntu-installer []
cjwatsonyou might want to set "d-i partman-auto-lvm/new_vg_name string <name>" too10:27
cjwatson(it'll default to the hostname)10:27
cjwatson(I think)10:27
mathiazcjwatson: ok. I'll try that.10:27
mathiazcjwatson: great ! it works. Thanks.10:32
mathiazWhere should I file a bug for this issue ?10:33
mathiazI think it's in the installer guide.10:33
cjwatsonthe current version of the installation guide I have doesn't mention partman-auto-lvm/disk10:34
cjwatsonit says:10:35
cjwatson# Alternatively, you can specify a disk to partition. The device name10:35
cjwatson# must be given in traditional non-devfs format.10:35
cjwatson# For example, to use the first SCSI hard disk:10:35
cjwatsond-i partman-auto/disk string /dev/sda10:35
cjwatson# In addition, you'll need to specify the method to use.10:35
cjwatson# The presently available methods are: "regular", "lvm" and "crypto"10:35
cjwatsond-i partman-auto/method string lvm10:35
mathiazhum... I was looking at https://help.ubuntu.com/7.04/installation-guide/amd64/preseed-contents.html10:35
evandhttps://help.ubuntu.com/7.04/installation-guide/i386/preseed-contents.html#preseed-partman does10:35
evandwhoops, beat me to it10:35
mathiazit also asked me another question about writing the lvm data to the disk.10:36
cjwatsonah, the 7.04 documentation was out of date there10:37
cjwatsonthe 7.10 documentation will be correct in this regard10:37
mathiazI guess I'll be able to find the write preseed configuration line with debconf-get-selections ?10:37
cjwatsonbugs on the installation guide go on the installation-guide package10:37
cjwatson# If one of the disks that are going to be automatically partitioned10:39
cjwatson# contains an old LVM configuration, the user will normally receive a10:39
cjwatson# warning. This can be preseeded away...10:39
cjwatsond-i partman-auto/purge_lvm_from_device boolean true10:39
cjwatson# And the same goes for the confirmation to write the lvm partitions.10:39
cjwatsond-i partman-lvm/confirm boolean true10:39
cjwatsonthat?10:39
cjwatsonI should get mdke to publish the 7.10 docs10:39
mathiazcjwatson: great - thanks.10:39
mathiazcjwatson: I think they're online at http://doc.ubuntu.com10:42
cjwatsonmathiaz: I don't see the installation guide there10:43
cjwatsonthe doc team tend to conveniently forget things they didn't write :P10:43
mathiazcjwatson: agreed. And I'm not sure it's gutsy documenation.10:44
mathiazcjwatson: it says feisty in different places.10:44
xivulonhmm I am testing wubi and am stacked at creating ext3, even using full device zeroing11:04
xivuloneverything is frozen solid11:04
xivulonI had top running and that looks fine11:05
evandyeah, that sounds like where we got stuck11:08
evandif it's anything like what I was experiencing you have a very short window where you could potentially get in there and strace mkfs.ext311:08
xivulonweird11:12
xivuloncan it be a unionfs thing? I still get weird messages when shutting down11:12
xivulonnot that unionfs should be directly involved but...11:13
=== cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
evandsorry about that11:20
evandmost program crashes are boring, compiz at least makes things interesting11:20
evandwith pretty flashing colors to keep you entertained while you hold down the power button11:21
evandit could be a unionfs issue, though I'm not sure.  There are apparently still isolated issues with unionfs as was reported in our team meeting this morning11:23
evandit could also be a ntfs-3g issue, I think, which I believe Colin suggested as a possibility11:24
Knutais the 6.06.2 release still estimated for the beginning of october?11:27
evandmid-october, afaik11:28
Knuta:-|11:28
evandbut best to ask in #ubuntu-devel11:28
evandas I am by no means an authority on such subjects11:28
Knutaokay, then I guess I'll try to hack the old initrd instead.11:29
Knuta6.06.1 can't pxe boot on bnx2, and 6.06.2 will fix the issue. I was hoping I didn't have to mess with it on my own.11:30

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