[00:00] * cody-somerville nods. [00:00] lool: merged, thanks; I'm too tired to do a manual run now, cron can do it [00:00] cody-somerville: basically the Debian Live guys worked on casper for a while and made some efforts to contact us, but at the time we were going through various reorganisations and nobody responded to them for a while, so they got (not entirely unjustifiably) pissed off and renamed [00:01] cody-somerville: then we made some efforts to merge but they had decided that they were taking over upstream now [00:02] cody-somerville: so TBH I think the sanest approach is to cherry-pick fixes that make sense, but casper is important to us and I don't particularly want to bin our history in favour of Debian's [00:02] cody-somerville: in general, most of our live CD infrastructure predates Debian's [00:04] What do you mean by bin our history? Do you mean we keep casper around for sentimental reasons? [00:10] It seems unfortunate they ended up diverging [00:11] no, I mean we keep it around because we have a number of changes in it that are actually kind of important :P [00:11] it is in general more important not to introduce regressions than it is to invest lots of effort syncing up with a renamed package in Debian [00:11] they've gone their own way and that's fine [00:12] the platform team does not have an interest in pedalling hard to stand still [00:19] you've asked quite a number of these questions: "why do we use rather than ". The answer in general is that was there first, and when came along it was not sufficiently compelling for us to invest effort into switching to it when what we already had was perfectly serviceable [00:19] and in particular when was an in-house development there was generally no problem with understanding it well enough to maintain it [00:29] * cody-somerville nods. [01:02] hi [01:02] allo [01:02] help install? [01:02] I have a RAID 0 and 2 IDE drives, Ubuntu alternate CD only see 1 IDE drives and gives me an error message when trying to partition the RAID 0 [01:08] if the installer only sees one of two IDE disk drives, then my usual guess is that that is a kernel problem and you need to ask the kernel guys [01:10] ok [01:15] well I can't see the cache memory of the missing drive [01:15] I think i destroyed that 8 MB cache part when formatting with Partition Magic [01:17] is the actual disk device missing, or just the partitions on it? [01:18] no I can see it with partition magic [01:18] it's juste that usually you see your drive and a small 8 mb cache part aside [01:18] the 8 mb part is gone [01:19] I mean missing from the point of view of Linux [01:19] like you know the "unallocated space" usually 8mb is the cache drive [01:20] I need to know whether Linux can see the disk device [01:20] no it can't [01:20] specifically that, as opposed to the partitions on it [01:20] doesn't see the disk at all [01:21] ok, definitely sounds like a kernel problem then [01:21] if the installer can't see the device there's nothing it can do itself; it's up to lower layers to expose that properly [01:22] Ok I will recreate the 8 MB unallocated space at the beginnign of the drive and see if it will fix it [01:22] because you know a hard drive today always comes with a sort of unallocated space called the cache [01:22] and I think that the fact that i destroyed it causes ubuntu not to see the drive [01:22] never seen that [01:23] IMO such things should not be visible in partitioners, but what do I know [01:23] ok i'll try that and i'll get back to you :) [01:25] ok I think it has nothing to do with the cache [01:25] you're right [01:26] the 8 MB unallocated space gets created by default when you do a logical parition [01:26] I had 2 primary partition ont he drive i guess that's why linux don't see it [01:27] you think it's work to format in ext3? [01:27] I think you're reading too much into this [01:27] it's worth I meant [01:27] unallocated space is not actually "created" [01:27] partitioners may show you it, but it doesn't have an existence in the partition table [01:27] it's just an absence of partitions [01:27] euh yes that's what I meant [01:28] it's a hole [01:28] empty [01:28] it's not something you can create or destroy [01:28] two primary partitions should not cause Linux any problem at all [01:28] damn [01:28] Giotrader: this is why I am trying to clarify this question: can Linux see the physical disk device? That is, does /dev/sdb (or whatever) exist? [01:29] Giotrader: if /dev/sdb (or whatever the appropriate disk device name is) exists, then it is possible that the partition table is something that the installer can't understand. If it doesn't, then the problem can't have anything to do with the contents of the partition table, and it is a lower-level problem [01:30] so it is vitally important to distinguish carefully and accurately between those two cases [01:30] ok [01:31] got it [01:31] ok I'll try again and see [01:31] be back later [01:32] see also the FAQ linked from the topic which has a brief section about the case where the partition table is something that the installer can't understand [02:00] ubiquity: cjwatson * r3193 gdm-signal/ (19 files in 9 dirs): [02:00] ubiquity: * GTK frontend: [02:00] ubiquity: - Copy-and-paste gdm-signal from powermanagement-interface, since that [02:00] ubiquity: package is no longer in main and is slated to go away. In future we [02:00] ubiquity: ought to be able to use gnome-session D-BUS calls or similar for this [02:00] ubiquity: work (LP: #357101). [02:28] ubiquity: cjwatson * r3193 ubiquity/ (d-i/manifest debian/changelog): Automatic update of included source packages: user-setup 1.23ubuntu17. [02:31] ubiquity: cjwatson * r3194 gdm-signal/ (bin/ubiquity-wrapper debian/changelog): [02:31] ubiquity: Use gksudo --preserve-env / sudo -E so that we can check DESKTOP_SESSION [02:31] ubiquity: from the GTK frontend, and use other desktop environment variables in [02:31] ubiquity: future. [02:33] ubiquity: cjwatson * r3194 ubiquity/debian/changelog: releasing version 1.12.5 [08:24] evand: could you see about my suggestions to 356333 as NonLanguagePackTranslationDeadline is tomorrow (even though you can choose to extend it for debian-installer of course)? [08:26] Mirv: will do [08:26] I'm inclined to go with the first option [08:26] "This will delete %s and install $s [08:26] err %s [08:28] well just an example, I don't know how such stuff is used there, but similar to strings which have eg. "on partion ${partition}" or something. and I explained the list could be make into a separate string from txt [08:29] then txt would be gettext:d with the so-called %s:s intact. then in the translated version those can be substituted by the list and the Ubuntu release string [08:30] but yes, that form of the string is quite clear and avoids the plural problem [10:04] Folks, partman doesn't seem to see /dev/mmcblk0 on my babbage install; it's a SD card; it does see /dev/sda which is an USB stick; is it because it's hiding the boot media? [10:07] The UI is broken for automatic login in step 5 (identity) [10:07] (Two radio buttons with no text) [10:08] regarding the two radio buttons, that's fixed in trunk [10:08] well, worked around [10:09] regarding hiding the boot media, I haven't fully read through cjwatson's changes to that bit of code yet, but if you run `sudo parted_devices` do you see /dev/mmcblk0? [10:09] Thansk, I was searching open bugs [10:10] evand: I see both [10:10] /dev/mmcblk0 and /dev/sda [10:10] then the installer probably is filtering it out. [10:10] hrm [10:11] evand: Ok; I don't mind that it's hidden, even if in theory it would be possible to install to it, however ubiquity hanged when there was no /dev/sda yesterday [10:11] I'll check how the filtering looks like in ubiquity [10:11] as in when there were no disks present? [10:11] evand: As in UI was stuck [10:12] right, but when you say there was no /dev/sda, do you mean there were no disks present? [10:12] No CPU was used, but nothing more was displayed after "Starting the partitioner" [10:12] evand: Yes exactly, as if I would have booted a system with just a CDROM drive and no disk [10:12] ok, I'll try to reproduce that [10:12] (Or just a USB stick since the SD is writable) [10:19] Ok, I'm giving up on digging up that code, I'm not familiar enough with this stuff it will take me ages just to find it; sorry [10:24] lool: you can tell the installer to not worry about mounted partitions by setting partman-base/filter_mounted to false [10:25] (hit f6 at the isolinux boot splash and add partman-base/filter_mounted=false before the --) [10:26] evand: Not sure it's what I want: will this help showing the unmounted second partition I created on the SD card? [10:26] I was unable to reproduce the hang in KVM without any disks. I'm going to try with a USB disk and no other disks. [10:26] evand: Thanks a lot; the debug log wasn't showing anything when I tried on the SD yesterday [10:26] lool: yes. It's removing the entire disk because the first partition is mounted [10:26] Oh I see [10:27] evand: I did create an empty partition at the end of the SD card [10:27] Perhaps that's needed to trigger the bug [10:27] noted; I'll try that as well if this fails to reproduce it [10:29] Argh; installing on USB triggered a "Read-only filesystem" error due to USB errors; that board is too unstable to install to USB *sigh* [10:29] ogra: Are you using the mini USB connector? [10:30] yep [10:30] but with a powered hub [10:30] the mini port has less power than the big ones afaik [10:36] Well I don't have the needed adapter; I'll have to go SATA, if that works [10:52] lool, SATA is attached to the same place the big USB ports are [10:53] lool: FWIW it's partman/filter_mounted rather than partman-base/filter_mounted [10:54] whoops [10:54] sorry about that [10:54] lool: the SD card shouldn't be filtered out if the installation medium doesn't fill the whole disk, though [10:54] that's a bug - can we have logs? [10:55] cjwatson: Yup, will keep them on next test; note that I ran in debug mode and didn't see any error in the logs myself though [10:57] I wouldn't expect a visible error in the logs, but would like to check out the logic [11:12] lool, did you open a bug ? i have a complete installation log here [11:12] else i can push it to people for cjwatson [11:13] ogra: I did not yet [11:13] ogra: it was my first experience with ubiquity on the babbage, and I wasn't sure the system wasn't unstable for other reasons [11:13] i'll tar it up and push to people then [11:13] (e.g. g-k-d) [11:13] if you kill g-k-d it cant get in your way [11:14] I did, but I had to kill -9 it [11:14] right [11:14] ogra: So you have a log with just booting from SD, without USB target device and you're opening a bug? [11:14] "pkill -9 gnome-keyring*" is what i put in the docs everywhere [11:15] no, i always install to usb target device [11:15] but cjwatson wanted logs to see the logic [11:15] cjwatson: I see the errors in my mail now with the .list; comments on yesterday question on the approach to follow? I think mdir isn't happy no PC part data, so either I build the .list earlier (but I have to change a lot of places) or I extract the vfat from the partitioned image [11:15] mmcblk0 isnt offered as install media here [11:16] so that should suffice to see stuff [11:22] cjwatson, http://people.ubuntu.com/~ogra/installer.tar.gz [11:22] the complete log from my last install [11:25] cjwatson: oh it worked; I see mmcblkp0 now [11:25] how did you manage that ? [11:25] i didnt see it since the fix entered [11:25] Nothing, just ran ubiquity --debug and it worked this time [11:25] strange [11:26] It might be a race [11:26] * lool tries again [11:26] lool: for the time being maybe just make publish-daily ignore .list in this case [11:27] dont we have the .list file somewhere already ? [11:27] .list is generated with isoinfo [11:27] oh, right [11:27] the advantage of just converting existing images :) [11:28] cjwatson: I look at pi-makelist, and then ran screaming. Far away. [11:28] ogra: are you sure that mmcblk0 is filtered out in this installation? [11:29] ogra: are we talking about the automatic partitioner, or the manual partitioner, or both [11:29] ? [11:29] we don't offer mmcblk0 for automatic partitioning if the installation medium is mounted on it, but it should still be offered for manual partitioning in this case [11:30] StevenK: it's overly complex because of the isoinfo output IIMO [11:30] *IMO [11:30] It would be much simpler with a simpler tool [11:30] Its overly complex since it's horrid shell, too [11:30] Actually it could probably be replaced with two lines of shell using bsdtar [11:31] AFAICS partman is working as intended in ogra's logs [11:31] cjwatson: Yes, with an USB stick plugged everything works fine [11:31] lool: that wasn't what I asked ... [11:31] lool: If you want to fix pi-makelist, be my guest. [11:31] cjwatson: I know, which is why I'm running an install here to grab you useful logs :) [11:32] cjwatson: But when I tried myself, I couldn't reproduce, it worked without USB stick this time, for the first time [11:32] #define worked [11:32] cjwatson: I could reach the screen to chose which partition to install to, and that included mmcblk0 [11:32] In the past I wouldn't reach this screen [11:32] ok, the hang is slightly different from what I was initially looking at [11:33] It would simply hang there [11:33] you were asking about mmcblk0 being hidden [11:33] cjwatson: It was this morning when I installed on /dev/sda, and it's not anymore [11:33] That's really weird [11:33] I think I'll reflash the SD card [11:34] Oh I know the difference [11:34] I was describing the intended behaviour, which is as follows: if a device contains the installation medium, then it will never be offered for *automatic* partitioning; furthermore, if and only if the installation medium spans essentially the whole disk, it will be filtered out of manual partitioning [11:34] Hmm no I don't [11:34] does that help to clarify what you might be looking for? [11:34] * lool goes starting again from clean SD [11:35] cjwatson: Ok; the two things which I saw and are weird: a) ubiquity hanging, not making any progress anymore, before displaying the partitioning screen; that's when I had no USB key plugged, but I couldn't reproduce right now b) on my first install with an USB stick, only the USB stick was shown, not the SD card [11:35] cjwatson, the partitioning screen doesnt offer mmcblk0 at all [11:36] ogra: It did for me this time around [11:36] Which is what it should do [11:36] I just need to reproduce that hang now [11:36] well, he asked me which partitioning screen :) [11:36] the first one doesnt have it in the pulldown [11:39] cjwatson, so if i had selected a different radio button in the first partitioning screen it would have found it in the pulldown ? or would it only show up in the next screen for doing actual manual partitioning ? [11:39] s/it/i/ [11:41] cjwatson: The MID and UNR images were correctly .imgs today, could you please remove the old .isos from ubuntu-mid/daily-live/current/ and ubuntu-netbook-remix/daily-live/current/? thanks! === evand1 is now known as evand [11:44] ogra: if the installation medium is on mmcblk0, then mmcblk0 will only show up on the actual manual partitioning screen [11:45] aha, thats why i never saw it then [11:45] ogra: it would be a bug if it showed up in the drop-down for automatic partitioning, since automatic partitioning can't work on that device while the installation medium is mounted [11:45] i only looked in the pulldown [11:46] lool: done [11:46] thanks [11:54] I take back what I said about mtools, it can probably handle partitioned data [12:11] It can [12:19] cjwatson: Is unsorted output like http://paste.ubuntu.com/146875/ good enough? [12:20] Oh actually you don't care about directories [12:21] http://paste.ubuntu.com/146876/ [12:23] lool: sure, the .list files for ISO images just seem to be in extent order (which is sorted after a fashion, but not lexicographically) [12:24] so yes, that looks perfect [13:44] davmor2: http://people.ubuntu.com/~evand/wubi/jaunty/wubi-r118.exe - can you try this version to see if the uninstall option is working for you? [13:51] ogra: I filed Bug #357690 for the boot slowness; LIVEMEDIA should really avoid it, but perhaps we need a rootdelay as well? [13:51] Launchpad bug 357690 in casper "Long timeout when trying to mount empty USB to SATA adapter" [Undecided,New] https://launchpad.net/bugs/357690 [13:51] rootdelay to speed it up ??? [13:51] ogra: Currently if LIVEMEDIA isn't there when casper runs, it will skip to autodetect [13:51] i'm just dd'in an image that has no LIVEMEDIA on the cmdline [13:52] I think if we'd add a couple of seconds rootdelay to get the device in place, it will work [13:52] and will check if there are any speed differences [13:52] i'll try both [13:52] cjwatson: I really fail reproducing the issue with mmcblkp0; either the new image fixed it, or I'm unlucky, sorry [13:52] truncating the install media is annoing :/ [13:53] * lool ignores the ubiquity warning and formats the boot SD [13:54] ogra: BTW the vfat only has 20 MB free space; not sure why your image was much smaller [13:55] intresting [13:55] ogra: perhaps you're not creating the actual FS in the same way? say, fat32 versus 16 or something [13:56] hmm, looking at the recent images yours is actually smaller [13:56] ogra: tools/make-vfat-img uses /sbin/mkdosfs, I think you were using mkfs.vfat [13:56] Hmm no [13:56] right [13:56] You're using mkdosfs as well [13:56] but i use dd [13:57] and *then* mkdosfs [13:57] instead of mkdosfs -C [13:57] i guess the latter is more efficient [13:58] evand: np's I'll do that now [13:59] lool: ok [14:00] thanks davmor2 [14:00] meh bloody alternate failed packages not installer [14:01] lool, not using LIVEMEDIA drops me into busybox [14:01] ogra: that could be a casper bug with our SATA USB adapter [14:01] * cjwatson tries to parse davmor2's last comment and fails ... [14:01] or a casper bug with SD cards [14:02] i'm not sure it considers mmcblk at all [14:02] ogra: /sys/block/*? [14:02] It should certainly appear there [14:02] i see it in /dev/disk/by-uuid [14:03] Oh [14:03] Only mmcblk0 appears there [14:03] Not mmcblk0p1 [14:03] that's odd [14:03] yeah [14:03] implies that the kernel doesn't understand it as a partitionable device, but that clearly isn't normally the case [14:03] /dev/disk/by-uuid has the partition [14:03] cjwatson: I just tried an alternate install and a package has prevented it from installing [14:04] cjwatson: We might have a special driver for it [14:04] you mean the right module might not be loaded? [14:04] we definately have a FSL driver here [14:04] and its compiled in [14:04] No, I mean the behavior might be specific to our hardware [14:04] Because it might not be using a standard driver and this driver might have bugs [14:04] lool: but mmcblk0p1 is present in other contexts, isn't it? [14:05] cjwatson: It is [14:05] drivers/mmc/card/block.c seems to be our driver, doesn't sound babbage specific [14:06] mxsdci.0 does [14:06] err [14:06] mxsdhci.0 [14:06] thats the platform device for it [14:07] That's the block backing device, but the mmc driver should be the same I think [14:07] its mmc_host if i'm right [14:08] /sys/devices/platform/mxsdhci.0/driver points to /sys/bus/platform/drivers/mxsdhci [14:08] cjwatson: I am right in thinking this is a hash-sum error and therefore nothing to do with the install process and it is the package that caused the fail aren't I? http://www.davmor2.co.uk/syslog [14:10] davmor2: it's not the package's fault either [14:10] aha [14:10] davmor2: it's some kind of bizarre, probably transient, error [14:10] davmor2: it could be a problem with your CD disk or drive, or it might go away with the next build [14:10] mxsdhci: MXC Secure Digital Host Controller Interface driver [14:10] lool, ^^^ from dmesg [14:10] cjwatson: I'll try 64bit instead [14:11] Apr 8 11:52:24 kernel: [ 658.762977] Buffer I/O error on device sr0, logical block 73968 [14:11] davmor2: fault with your CD or CD drive [14:11] chances are, anyway [14:11] Apr 8 11:52:24 kernel: [ 658.762969] sr 5:0:0:0: [sr0] Add. Sense: L-EC uncorrectable error [14:13] bug #357700 [14:13] Launchpad bug 357700 in linux "mmcblk0p* don't appear in /sys/block" [Undecided,New] https://launchpad.net/bugs/357700 [14:15] lool, booting with a rootdelay=5 now [14:15] doesnt seem to be faster [14:17] still sitting there [14:17] now it moves [14:17] trying 10sec [14:18] ogra: I still think mmcblk0 is created by the drivers/mmc/card/block.c driver; the driver you mention is the one providing access to the MMC, the one I mention is the one doing the blcok device [14:19] i'll attach a full dmesg if i have a complete boot [14:19] It's the one printing mmcblk0: mmc0:8fe4 SD08G 7.60 GiB on boot [14:19] 10 sec doesnt seem to change anything either [14:20] persia, you have a SATA disk on your board, right ? [14:21] block/genhd.c is the one adding the p* [14:22] cjwatson: The device appears in /proc/partitions; would it make sense to add this to casper for now? [14:23] something like merging /sys/block names with /proc/partitions names [14:23] (I hope it's ok to discuss casper on the installer chan, I could as well move to -devel if people here prefer) [14:23] I'd rather you checked this out with kernel folks before jumping to conclusions in userspace [14:23] it's very, very, very weird that the entry is missing from /sys/block/ [14:23] Ok [14:25] cjwatson: It's a SD slot; on my desktop I have a SD reader and it also shows as /dev/sdd only [14:25] cjwatson: I just tried popping in a SD card there; fdisk -l shows the parts, I see them in /dev, but not in /sys/block [14:26] I'd like to give the kernel people a chance to respond to that, as that will surely break all sorts of other things in various subtle ways [14:26] oh, hang on [14:26] /sys/block/mmcblk0 should be a symlink to the real device [14:26] and you should have /sys/block/mmcblk0/mmcblk0p1 under that [14:27] it won't appear directly in /sys/block [14:27] cjwatson: correct [14:27] correct as in you do have /sys/block/mmcblk0/mmcblk0p1? [14:27] I have it yes [14:27] then there is no kernel bug [14:27] I misunderstood you [14:28] casper does check subdevices [14:28] lool, are you in initramfs ? [14:28] I see it now, silly me [14:28] ogra: I'm not [14:28] ah, it's probably the is_nice_device function [14:28] aha [14:28] ogra: I see it on the booted system [14:28] ogra: You don't? [14:28] what does '/lib/udev/path_id /block/mmcblk0' say? [14:29] i dont think i saw it in initramfs, need to reset the cmdline again [14:29] cjwatson: ID_PATH=paltform-mmc0:8fe4 [14:29] platform [14:29] cjwatson: Ok, so just adding platform in is_nice_device? [14:29] Or platform-mmc? [14:30] mm, platform-mmc I think [14:31] hmm, i think i have worn out my mmc [14:33] /sys/block/mmcblk0/mmcblk0p1 is there, even in initramfs [14:35] cjwatson: Mind if I upload casper with the revision I pushed? [14:35] lool: go ahead [14:36] pushed [14:36] lool: I assume you'll reassign that kernel bug [14:36] cjwatson: Oh that's done already [14:36] ok [14:36] Cool, it even picked up the bzr branch; how cute [14:37] yeah, it does that if you use debcommit, or bzr ci --fixes [14:37] that wont solve our delay though i bet [14:37] I knew about --fixes but didn't know debcommit would DTRT, which is excellent [14:37] ogra: I fear the delay is when the driver comes up [14:38] the mmc driver is compiled in [14:38] it comes up before the initramfs [14:38] ogra: Yes, and the SATA one as well is my guess [14:38] cjwatson: So I remembered what I did which could cause that ubiquity hang [14:38] i think usb-storage is modular [14:39] cjwatson: it's probably my fault; I'm creating a partition with fdisk before launching ubiquity [14:39] That hangs ubiquity when it tries to display the partman screen [14:40] lool: you might have caused it but I wouldn't describe it as your fault :-) [14:40] lool: do you have logs? (for bonus points, logs with ubiquity --debug) [14:40] I do have both ;) [14:42] lool, i found your post on LP. thank [14:42] Crap, no network and can't mount USB key [14:43] ubiquity: cjwatson * r3195 ubiquity/ (20 files in 10 dirs): merge gdm-signal branch [14:44] hehe you can remount the SD rw [14:48] cjwatson: bug #357725 [14:48] Launchpad bug 357725 in ubiquity "Hangs when creating a partition beneath it" [Undecided,New] https://launchpad.net/bugs/357725 [14:48] Hmm my bug title sucks [14:51] lool: FWIW generally I prefer it if people can attach logs as separate files [14:51] makes it easier to view in a web browser [14:52] cjwatson: Will split them up [14:52] lool: I need syslog and partman as well [14:52] debug is not a superset of those [14:52] I'm afraid they are gone :-( [14:52] I had to remove the SD card from the system [14:52] oh, please repeat them [14:52] then [14:52] * lool returns [14:52] I'm afraid I can't tell what's going on from just debug [14:53] /usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py:196: PangoWarning: error opening config file '/root/.pangorc': Permission denied [14:53] wonder if that will be fixed by gksudo -k :) [14:54] Perhaps, but I thought HOME was already copied [14:54] (I saw this warning in earlier testing as well, but it's benign so didn't report it) [14:54] HOME was one of the differences I noticed when diffing gksudo env against gksudo -k env [14:54] cjwatson: So /var/log is good enough or you need more? [14:54] note the bit immediately above my patch - it only passes -H to sudo if you *don't* say -k [14:55] lool: the three files I need are: /var/log/syslog /var/log/partman /var/log/installer/debug [14:55] Ok [14:56] ogra: I take back that comment on the driver; the initramfs is clearly running already: squashfs is being loaded [14:56] and I even tsee "Running /scripts/init-premount" [14:58] ogra: perhaps it's squashfs mounting being slow? === mpt_ is now known as mpt [15:11] evand: By jove I think you've cracked it :) [15:11] davmor2: don't thank me, thank xivulon [15:11] but good deal [15:11] please post a comment on the bug to that effect [15:15] d0ne :) [15:18] cjwatson: attaching syslog, debug, and partman logs to https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/357725 [15:18] Ubuntu bug 357725 in ubiquity "Hangs when creating a partition beneath it" [Undecided,New] [15:20] lool, manually its as fast as anywhere else [15:20] ogra: Perhaps we can set -x to casper? [15:21] sure [15:21] but thats some effort [15:22] * lool sees the terrible effort crush ogra on the floor like atlas carrying the earth [15:22] haha [15:22] well, i mean re-rolling initramfs flashing it etc ... [15:22] * ogra wishes for vi in initramfs once again [15:23] don't we all [15:23] heh [15:23] sed ftl [15:23] evand: as soon as 118 hits the cd's for real let me know and I'll see if I can break it, with kubuntu over ubuntu etc [15:23] ok [15:24] evand: I'm just test that the cd I made will remove it now [15:25] ok [15:26] lool: commented on 357725 [15:28] cjwatson: But... that's some effort! [15:28] :-P [15:35] hmm [15:35] set -ex in casper somehow doesnt generate more output [15:36] it puts it in casper.log [15:36] meh, so i need a break statement as well [15:37] and then i dont have less in initramfs ... grmbl [15:38] if i ever find extra spare time somewhere i'll create a initramfs-debug package i can just install that copy_execs the most necessary tools [15:39] it really doesnt have to be that painful to debug an initramfs [15:40] WOW! [15:40] lots of modprobe usage messages at the top [15:40] evand: Yay removed from wubi on cd too :) [15:42] hrm, it didnt take my set -ex [15:42] * ogra scratches head [15:55] gah ... now it kills init [15:56] cjwatson: Could you check ~lool/cdimage/debian-cd latest revision? Adds support for .list files for VFAT and partitioned VFAT === evand1 is now known as evand [15:56] I did a test build in my home, and got a .list file in return [15:57] (but of course had other errors from the run) [15:57] I /hope/ I didn't mail everybody this time around [15:57] At least, I went past Publishing down to Purging old images etc. [15:58] ogra: You don't want to set -e [15:58] Just -x [15:59] well, i usually set -ex but init is a different thing ... + [15:59] when modifying an existing script, just set -x [15:59] well init is a shell script which sources casper, so if casper fails it will fail init [15:59] that's different from what you would do in a script you write from scratch [15:59] right [16:00] lool: looks fine, thanks, merged [16:00] the odd thing is that i have to stqart over :( [16:00] lool: now that you're in the cdimage group, you can just bzr checkout sftp://antimony/srv/cdimage.ubuntu.com/bzr/debian-cd and commit directly, if you like [16:01] cjwatson: Eh just asked about that in a private query :) [16:01] cjwatson: Is something updating /srv/cdimage.ubuntu.com then? [16:06] manually, by bzr pull [16:14] so the set -e gets me output on the console now [16:14] sadly it seems to do absolutely nothing while it hangs [16:14] set -x I gues [16:14] ss [16:15] ogra: What's the previous thing it does? [16:15] evand: can bug 334284 be closed? [16:15] Launchpad bug 334284 in ubiquity "Timezone map cities are incorrectly placed" [Medium,Fix committed] https://launchpad.net/bugs/334284 [16:16] evand: modulo the awkwardness around India mentioned near the end, which looks like a separate bug *in addition to* the one mpt links to [16:16] lool, i see mountroot, four execs after that and then the kernel messages [16:16] (for the usb to sata) [16:17] cjwatson, perhaps bug 342586 [16:17] Launchpad bug 342586 in ubiquity "Some cities are unclickable in time zone map" [Undecided,New] https://launchpad.net/bugs/342586 [16:17] after that it just sits [16:18] I think we what we have is the best solution we can hope for at the moment. Things seem to be well placed enough, and kwwii has suggested changes to the time zone map that will increase the size of the point, allowing us some flexibility on positioning [16:18] http://sinecera.de/time_mock2.png - needs to be approved by Mark first [16:18] mpt: originally filed on an old version which we know was broken, though [16:18] regarding India, part of that bug, the not showing the highlight, is fixed with the addition of the UTC+5.5 image. [16:18] evand: ah, good [16:19] wow, cat'ing the log takes minutes [16:19] cjwatson, I was pretty sure it was distinct from 334284, because I was clicking where Ubiquity thought the city was, rather than where it actually was [16:19] I'm not sure how many more UI changes we can have for jaunty now, though, if any [16:19] but I haven't retested it lately [16:20] cjwatson: indeed, but this is seemingly coming from sabdfl [16:20] what execs? [16:20] ogra: ^ [16:20] evand: we still have a UI freeze ... [16:20] (which we've already violated a bit too often for my comfort) [16:20] indeed [16:20] I mean, that was my fault too [16:20] * lool (lalala) [16:21] I think the mobile team beats you in number of freeze violations! :-/ [16:21] ok, i have a 300k casper.log on my desktop :) [16:21] and I also feel bad about them [16:22] cjwatson: I've already pushed back on the more radical item (making it fade out when mousing over to match the new notifications), but if you think we should take a hard line on this I'm willing to communicate that to kwwii. [16:23] lool, casper.log and casper.vars attached to the bug [16:23] err, hrm ... .vars upload failed [16:24] ogra: Where does it hang? [16:24] (I tried searching for "mountroot" as you mentionned) [16:24] This has to be the oddest way of filing a bug to date (found via robbiew's youtube video): http://www.youtube.com/watch?v=vkN5NFlrr6E&feature=related [16:26] lool, i dont think it shows everything on console [16:26] the log is likely more informative [16:26] sigh [16:26] why do we call modprobe with -Q ? [16:27] evand: the hard freeze is tomorrow, and I'd much rather we were fixing installer crashes [16:27] it doesnt know -Q [16:27] + modprobe -Q -b aufs [16:27] Usage: modprobe [-v] [-V] [-C config-file] [-d ] [-n] [-i] [-q] [-b] [-o ] [ --dump-modversions ] [parameters...] [16:27] modprobe -r [-n] [-i] [-v] ... [16:27] modprobe -l -t [ -a ...] [16:27] evand: things that will actually prevent people installing Ubuntu [16:27] noted [16:27] Oh they have working GL screensaver in vbox [16:29] ogra: Oh right, that was dropped in latest new upstream [16:29] I had to fix acpid as well [16:29] thats no prob though, just noisy [16:30] Well it's a problem if you don't have builtin aufs [16:30] what i see in the log is that tmppop gets filled several times in loops [16:31] i'd say in a rough guess it runs about 100 times through that loop [16:32] well, more like 50 but still a huge amount [16:33] I've pushed a new casper using -q instead of -Q [16:34] after that endless looping it actually goes into casper-bottom [16:38] + check_dev null /dev/mmcblk0p1 skip_uuid_check [16:38] + sysdev=null [16:38] + devname=/dev/mmcblk0p1 [16:38] + skip_uuid_check=skip_uuid_check [16:39] ... [16:39] mount -t vfat -o ro,noatime /dev/mmcblk0p1 /cdrom [16:39] thats happening pretty fast it seems [16:39] ogra: I'm afraid you'll have to add timing information; perhaps launch a background loop writing `date` to the log? [16:39] i start to suspect the hang actually happens *after* we mounted /cdrom [16:41] lool, i'm knowing relaticvely well weher what in the log is ... you will see yourself that the aufs loading happens quite a while before the hang if you boot [16:42] Ok; I'll leave it to you then [16:42] cjwatson: do you think it would be worthwhile for me to attend debcamp? You mentioned it would be before, but I just wanted to be sure nothing has changed and it's still a good place to start properly contributing to d-i. [16:44] lool, the hang must happen between line 235 and line 317 somewhere [16:45] lool, and i see a /sbin/udevadm settle on line 264+ [16:45] s/+// [16:45] That could be it [16:45] yes [16:46] i'll try to find it and roll a new initramfs [16:47] scripts/casper-helpers:128 [16:47] ogra: The modprobe fix might have fixed your bug actuallly [16:48] Ah no, loop isn't a module either anymore [16:48] We could modprobe && udevadm settle if that's the only reason for it [16:49] evand: yes, I asked around a bit at the last d-i meeting and there were several of us planning to attend debcamp [16:51] ok, I still need to think about it as it's a long time to be away from home, but noted. Thanks! [16:54] geez, there is a lot of udevadm trigger/settle in casper [16:56] Only three? [16:56] ogra: The one in scripts/casper isn't for us I think [16:57] setup loop is it i think [16:58] setup_loop() even [16:58] ogra: Yes, scripts/casper-helpers:128 as I said above [16:58] Since it was setting up loops in your log around the line you mentionned [16:58] right [16:59] i wonder why its there at all [16:59] the function deliberately uses modprobe [17:00] these is no trigger anywhere [17:00] It's there to ensure /dev/loop* are created as a result of the modprobe [17:00] no [17:00] its a nbonsense call [17:00] the settle will only answer to a trigger or until udev has created *all* devices [17:00] at least if i didnt massively misunderstooed Keybuk [17:01] My understanding is that settle will exhaust the udev queue [17:01] lets ask Keybuk and meanwhile i'll roll a new initramfs and see if anything explodes [17:01] Keybuk is away this week [17:02] he was on yesterday just on SF time [17:02] on, but not paying lots of attention, IME; [17:02] lool is correct regarding settle, though [17:03] the triggers may be wrong, but I'm reluctant to remove them at this point [17:03] even if there is no trigger ? [17:03] yes! [17:03] settle waits for the udev event queue to empty [17:03] trigger looks through the entire system and creates udev events for all devices [17:04] settle can act as a sequence point to resolve race conditions, sometimes. trigger usually only creates problems, except in cases where new modules have appeared [17:04] right, but in our case since there is a stray settle it means we stop until udev is done with everything [17:04] as in, new .ko files actually being installed, as happens in the installer [17:04] ogra: *shrug* deal with it? :-) [17:04] there's no way to say "wait for just this device" except busy-waiting [17:04] thats what i'm trying to do :) [17:05] well i know how the device is called [17:05] if this is just slowness and not causing other problems, please leave it be for jaunty [17:05] so indeed you can go into a loop and wait until it appears in the fs [17:05] it adds 60-90 second bootime to the boot here [17:06] casper is delicate [17:06] i didnt stop it exactly, but its more than a min sitting there and sleeping [17:06] I'm very worried that any attempts to fiddle with its logic there will cause failures that we don't have time to deal with [17:06] besides, the same work would have to be done later anyway [17:06] and the fun is that the function cvalls mknod anywayx [17:07] if the device isnt there at the point it needs it [17:07] so that udevadm settle is pointless [17:11] that is not true [17:11] please don't fiddle with this if you don't understand it [17:11] if you try to use the device node before the kernel is ready for you to do so, even if the device node exists, you might get ENODEV [17:12] well, the module is loaded so i'd only expect udev to not be ready [17:12] cjwatson: How can we tell what's being done on the system which takes so long? It really seems long, even for our hardware [17:12] but not the kernel [17:12] ogra: and you're sure that nothing else in casper could possibly be relying on that settle, I suppose? [17:12] you've proven that? [17:12] the day before final freeze, this kind of change for an optimisation requires proof [17:12] lool: probably crank up the udev log level [17:13] cjwatson: My idea for this particular settle was to only run it if the modprobe succeeds; if it fails then either loop is builtin or not built at all and we don't need to wait for it to be udev-ed [17:13] cjwatson, no and to take your fear away i dont plan to do any such intrusive hacks atm [17:13] But I agree it's just pushing the problem further in the boot [17:13] cjwatson, i'm just trying to solve lool's bug [17:13] or find the cause at least [17:13] lool: I'm concerned that something later might be implicitly relying on settle having been run at least once [17:13] cjwatson: Ack [17:14] the problem might well be the excess triggers, *not* the settles [17:14] I agree we don't want to expose awful bugs like these at this point [17:14] each trigger causes an event storm [17:14] just on a sidenote commenting the settle had no effect [17:14] ogra: So perhaps you might want to confirm that this settle is the one where we block and look at some udev debug output? [17:15] there are only two triggers, mind you [17:15] lool, yes i'm digging deeper [17:15] why are there two ? [17:16] because at one point somebody was under the impression that you always needed to do trigger; settle in order to create a sequence point [17:16] now we understand things better [17:16] * ogra wonders if the HW really can change that much that we need triggers at all [17:16] I *believe* that both of the triggers are unnecessary, but I have not proven it [17:16] and it's *not* dependent on the hardware changing [17:17] if new hardware appears, either the kernel will notice and create udev events anyway, or if it hasn't noticed when you run udevadm trigger then the trigger will not cause it to notice [17:17] thats what i meant [17:18] it is certainly curious that a mere two extra copies of each udev event make things go so slow for you [17:18] i actually see only one trigger ... or do we use lupin-helpers in std. casper ? [17:19] the trigget in casper seems to be for nfs root [17:19] ./scripts/casper-bottom/23networking:36:/sbin/udevadm trigger [17:19] ./scripts/casper:175: /sbin/udevadm trigger [17:19] *trigger [17:19] presumably only the latter one is actually relevant to you [17:20] hmm, i was under the impression the hang is over if we get to -bottom [17:20] yeah [17:21] cjwatson: Unfortuantely I fear 354226 was fixed in linux after the last d-i upload [17:21] but i see the settle in the log [17:21] Which is why I didn't fix release it [17:21] and no trigger at all [17:22] cjwatson: I am wondering whether there is any way that the UbuntuStudio can add the initial user to the audio group, since realtime audio for jack is not PolicyKit aware yet, and users cannot run jack with realtime priority without being in this group. [17:22] lool: I didn't think that was the case [17:22] Actually I might have looked at the wrong date [17:22] lool: wasn't it 2.6.28-11.39? [17:23] cjwatson: Yes, I think I read the date near "superseded in", sorry [17:23] ah yes, that can be confusing [17:23] fix released [17:23] s/UbuntuStudio/UbuntuStudio install/ [17:23] TheMuso: hmm [17:25] TheMuso: done in debian-cd [17:26] cjwatson: Ah yes, thanks. [17:26] * cjwatson adds some more detailed commentary too [18:07] cjwatson: Added set -x attachments to 357725 [18:26] Weird, the fix for .list on vfat didn't seem to wrok [18:27] I suspect I have to revisit the thing to detect the image type [18:38] evand: all three maps tie in nicely now normal, full screen, and oem [18:38] I'll look at netbook tomorrow [21:54] lool: the most recent build actually slightly predates the fix, as far as I can tell [21:55] lool: so I'm not sure you need to worry? [21:56] Ok, great [21:56] I thought the other way around [22:24] partman-base: cjwatson * r153 ubuntu/ (debian/changelog init.d/parted): Ignore non-zero exit statuses from mapdevfs (LP: #357725).