[00:05] lool, OK that makes sense, I guess it means making a new image and having stevenk upload it too. [02:27] IF a new image is made, could update-initramfs -u be run to avoid the modules.dep warnings at boot time? === cprov is now known as cprov-away [09:30] AnAnt: So, Ubuntu Mobile is an OS, but not really for phones. [09:30] persia: I didn't know of this channel, sorry [09:30] Some of the parts that are missing are things like dialing applications. [09:31] Speaking as someone who has a "Internet Mobile Tool" from sharp (not running Ubuntu Mobile), I say that not having a easy interface for dialing is a huge shortfall in a phone. [09:32] Now there are a couple "phones" that might run Ubuntu Mobile, in that they are advertised as Atom processors, but they are large, and most aren't in shops yet, and it wouldn't be a very convenient phone. [09:32] In terms of Phone OS's based on Linux, I think OpenMoko is likely the most mature, although there are some Qtopia phone apps that a few companies sell. [09:33] There's also a bunch of relatively closed linux phones, but those aren't as much fun (Panasonic has several) [09:33] closed linux phones ? [09:34] Well, open kernel, closed apps, not easy to hack. [09:35] Qtopia is a phone ? [09:36] No, it's TrollTech's mobile stack. [09:36] oh, application platform [09:36] so, no phones yet running OpenMoko ? [09:36] I'm not sure, at least not sold here. [09:37] AnAnt: for example, the recent motorola linux phones: http://wiki.openezx.org/MotoMAGX_Security [09:38] are there plans for Ubuntu Mobile to target cell phones ? [09:39] AnAnt: No, although there's nothing that says there won't be another Ubuntu derivative that does. [09:39] Ubuntu Mobile is more about handhelds. Some people call these "Mobile Tools", some people call these "Mobile Internet Devices", and the really old ones were called "Palmtops". [09:40] ok === asac_ is now known as asac [10:53] davidm: Sorry, I pinged you instead of davmor2 [10:53] persia: I'm not sure, doesn't it come from /etc/initramfs/modules? [10:55] lool: It should, but the last image didn't have it, so there were boot errors. stgraber reported that running `update-initramfs -u` in a bare image fixed it. [10:59] nope didn't fix it, I tried that though [11:00] stgraber_: Oh. Sorry. I thought it did fix it from what you said. Hrm. [11:00] modules.dep aren't copied to the initrd so you still get the error message :( [12:07] IF a new image is made, could update-initramfs -u be run to avoid the modules.dep warnings at boot time? [12:07] persia, no, you need to handle all the hardcoded modprobe calls [12:08] we need a NO_MODULES=True or something in initramfs.conf, so we can add if or case statements in the code so they get not executed [12:09] the errors you see are likely all from such hardcoded cases [12:17] ogra: But there are apparently 197 kernel modules present. Do we really want NO_MODULES=True? [12:18] we apparently dont use any modules in the initramfs [12:19] they are still present in / after mounting the rootfs and will be used then [12:19] (withur modules.dep they wont load anyway, NO_MODULES=True would just be a consmetical fix to activate wrappers for the hardcoded calls) [12:20] *without [12:22] /usr/share/initramfs-tools/scripts/local has cals for loop and the filesystem ... /usr/share/initramfs-tools/scripts/functions forcefully tries to load i8042 and atkbd ... /usr/share/initramfs-tools/scripts/init-top/usplash acually tries the same again [12:22] /usr/share/initramfs-tools/scripts/init-top/all_generic_ide tries to load ata_generic and /usr/share/initramfs-tools/scripts/init-top/framebuffer loads fbcon [12:23] if you wrap these clls the boot will be quiet [12:23] *calls [12:23] (there might be more i missed though, thats just a simple grep modprobe on the initramfs scripts) [12:24] as i understood amit we have the modules we need compiled into the kernel now [12:24] so all these cals are moot [12:24] *calls [12:25] Ah. OK. I see it now. Thanks for the detailed explanation. [12:25] That's more hacking than I think has value for the Hardy final VM image, but it might make sense if the intrepid kernel is also to have such a model. [12:25] well, i wouldnt do that model at all [12:25] On the other hand, I expect there will be a wider variety of supported devices for intrepid, so it may be that we'll want those calls back again. [12:26] just keep the modules, and have a huge blacklist from which you only exclude the ones you actually need would be my variant [12:27] Hmm. I guess, although I don't prefer board-specific solutions. [12:27] and this blacklist can be generated based on image build profiles for specific devices ... if you dont have critical boot time constraints the blacklist wont be used (for a totally eneric image that works everywhere) [12:27] *generic [12:28] so what we built would be the generic image and a tool to maintin the blacklists .... the USG guys then could generate device specific images in an identical way [12:28] Maybe module loading could be two-stage? Have a base set in initramfs for the key bits (e.g. disk), and then load others as required as the normal userspace is coming up. One rarely needs the keyboard enabled prior to X (although it's nice for debugging( [12:28] that two stage thin is exactly what we do atm :) [12:29] and thats why you see the modules.dep errors [12:29] In that case, why does the modules list affect boot time? Maybe our measurement isn't of the right metric. [12:29] because there are still scripts forcing the call of modprobe :) [12:30] and the first thing modprobe does is to look up the module deps in modules.dep ;) [12:30] OK. I'm understanding then. [12:30] whi doesnt exist [12:30] And you think it's better to blacklist in initramfs rather than looking at a generic solution? [12:31] I'd think a more generic model would have positive impact on boot speed for other applications as well (desktop, server, etc.) [12:31] well, what other generic solution would be there part from using monolithic kernels [12:31] I thought you didn't like the two-stage module loading model. [12:31] we can have full monolithic, half monolithic as we do now (initramfs has no modules, userspace has) or use the full odule driven approach [12:32] Ah. I see. [12:32] i would go with the full module driven way [12:32] as we do in the main distro [12:32] And just put in a blacklist if there is known target hardware. [12:32] but maintain blacklists instead of whitelists ... the blacklisted modules wont be attempted to be loaded .... [12:33] if you work with whitelists i think the attepts will be made [12:33] the blacklisting way saves you FS access time [12:33] Hmm. OK. What about pluggable device support? That oughtn't be on the blacklist, but isn't likely needed until userspace. [12:34] but i have to look deeper into that to make sure my assumptions arent wrong here [12:34] i just noticed that blacklisting seemed faster in the past [12:34] rightt, really only have the modules used in initramfs that are needed for bare booting [12:35] then let the userspace handle the whole rest [12:35] what you need will be the device specific frambuffer, all you need to get to the rootfs and thats it [12:35] So there needs to be something in update-initramfs that restricts the copied module set? [12:35] likely not more than three four modules [12:36] Well, depends on the hardware. I'd likely want more in my workstation. [12:36] ah, weell, less modules wil make the uncompressing faster [12:36] but we can have all modules in the initramfs [12:36] just not load them or make atempts to do so [12:37] you run UME or UNR on your workstation ? [12:37] This would be a different blacklist in initramfs than in userspace? [12:37] exactly [12:37] that functionallity is already there [12:37] we just need to use it [12:37] I don't run UME on my workstation, but if this is actually a sane way to reduce boot time, it would be useful there. [12:38] Also, I expect a wide variety of UME hardware to be available after the intrepid release, so prefer something generic. [12:38] well, the profile mode (not sure you know it) should get some enhancement to handle modules [12:38] that would be appropriate [12:38] I don't know it. Is this "kernel profiling"? [12:38] nope [12:38] fliesystem access profiling [12:39] it generates the readahead lists in a device specific way [12:39] its a bootoption, boot your workstation with it [12:39] Ah. That's Keybuk's new readahead replacement plan? [12:39] it will be faster on the subsequent boots until you install new software [12:40] no, Keyuk wants to replace readahead completely by prefetch [12:40] but prefetch needs some massive changes [12:40] not sure that will happen in time fo intrepid [12:40] and readahead has the disadvantage of not being able to andle stacked filesystems [12:40] i.e. unionfs [12:41] i havent tested with aufs yet which wil be what intrepid uses as unionfs replacement [12:41] Right, and we like stacked filesystems because of compression. [12:42] right [12:42] i heard good things about aufs though [12:42] but hanvent played with it myself [12:46] (in the readahead+unionfs setup the unionfs module oopsed, it wasnt readahead that broke ;) ) [12:47] so there are chances it could work with aufs [12:47] and readahead is actually speeding up things a lot [12:47] Perhaps. Looking at upstream seems to indicate that aufs oughtn't be used. [12:47] ... if it works :) [12:47] which upstream ? [12:48] kernel.org ? [12:48] * persia needs to re-profile the workstation for both initial boot and login [12:48] aufs.sourceforge.net [12:49] Might just be extra modesty though [12:50] yeah [12:50] unionfs isnt really maintained [12:50] its a UNI project [12:50] I think aufs as well, but more actively so. [12:50] so you dont really have people jumping at bugs [12:50] right [12:51] i think that was the initial reason for aufs [12:52] unionfs was always rather a proof of concept === stgraber_ is now known as stgraber