**** BEGIN LOGGING AT Mon May 03 02:59:56 2010 May 03 09:26:31 ogra_cmpc: nice May 03 09:26:39 (27M for X) May 03 09:43:20 asac, do you mean RAM ? May 03 09:46:41 yes May 03 09:46:49 ogra: thats what you said, right? May 03 09:47:01 thats the whole system May 03 09:47:01 ogra: what plymouth theme to use for a console only image? May 03 09:47:06 or can i get rid of that completely? May 03 09:47:32 when i remove the initramfs-tools scripts all is fine ... if not i stay on a console 7 with a SEGV of plymouth and have to manually go back to the console 1 etc. May 03 09:47:48 mountall needs plymouth May 03 09:47:52 i know May 03 09:47:58 but not the initramfs hooks ;) May 03 09:48:01 (it seems) May 03 09:48:03 there was a command to select the theme May 03 09:48:08 * ogra forgot which May 03 09:48:14 ogra: but which theme to use? May 03 09:48:23 text May 03 09:48:31 plymouth-theme-text -> SEGV May 03 09:48:35 ubuntu-text works i think May 03 09:49:00 plymouth-theme-ubuntu-text May 03 09:49:08 is that installed ? May 03 09:49:34 /lib/plymouth/themes/ubuntu-text/ubuntu-text.plymouth May 03 09:50:05 i will try that again now ... but plymouth-theme-text crashes for sure May 03 09:50:34 its what i get on my server installs May 03 09:50:56 ogra: i made an autologin by hacking tty1.conf ... is that the "normal" way? ;) May 03 09:51:11 for a text console ? May 03 09:51:14 yes May 03 09:51:26 its usrely not "normal" but likely a good way to do it :) May 03 09:51:32 i made a /usr/bin/autologin script that just run login -f root May 03 09:51:33 *surely May 03 09:51:39 and it works. May 03 09:51:44 just wastn sure if thats good May 03 09:51:57 we had something for that in the ume images May 03 09:52:02 bceause tty1.conf you cannot really change from outside .... dpkg-divert on a conffile feels painful May 03 09:52:09 which was a bit cleaner May 03 09:52:19 ogra: whats the clean way? May 03 09:52:19 an upstart job May 03 09:52:27 assume there is no user installed ;) May 03 09:52:29 i need to dig up the old code May 03 09:52:29 hmm May 03 09:52:40 well, why isnt there any user ? May 03 09:52:44 tty1.conf is an upstream job May 03 09:52:46 create one during build May 03 09:52:56 you can create a fresh upstart job May 03 09:53:05 no need to mangle an existing one May 03 09:53:19 hmm. but tty1 is taken ... or can i just take any tty? May 03 09:53:30 how can i ensure that that tty is the default after boot? May 03 09:53:45 no idea :) ask a plymouth dev :) May 03 09:53:53 heh May 03 09:54:03 you should be able to use console= on the cmdline but that will kill plymouth May 03 09:54:18 yeah May 03 09:54:50 let me first try if plymouth is happier with tubuntu-theme text installed May 03 09:55:20 in the meantime i have to cleanup this disk ... not enough space to copy a live netbook image to it May 03 09:55:38 http://bazaar.launchpad.net/~ubuntu-mobile/ubuntu-mobile/ubuntu-mid-default-settings/files May 03 09:55:48 that should have the old upstart files May 03 09:56:03 ok thanks. will check that out May 03 09:56:16 (if my browser ever opens) ;) May 03 09:56:32 x May 03 09:57:27 that stars the gui ;) May 03 09:57:29 http://bazaar.launchpad.net/~ubuntu-mobile/ubuntu-mobile/ubuntu-mid-default-settings/annotate/head:/session May 03 09:57:29 starts May 03 09:57:34 modify that May 03 09:57:44 and use it as upstart job May 03 09:57:49 yes, it starts the gui May 03 09:57:58 so you have to modify ;) May 03 09:58:02 right. so you dont hvae to bother about switching to a "new" tty May 03 09:58:29 righ, but *you* can use openvt and switch to tty9 or so ;) May 03 09:58:50 iirc openvt just takes the next free tty May 03 09:59:19 hmm. there is a chvt command May 03 09:59:30 chvt needs a number May 03 09:59:41 ogra: putting that switching feels like a racy thing. May 03 09:59:41 openvt checks for the next free one or so May 03 10:00:13 yeah May 03 10:00:17 is that a replace for getty? May 03 10:00:27 i think not May 03 10:00:37 you still need to run login or something May 03 10:00:47 try it :) May 03 10:01:00 i havent touched that stuff since 1.5y May 03 10:01:09 yeah May 03 10:01:11 will try ;) May 03 10:04:44 my tries "on started tty1 -> chvt 1" ;) May 03 10:05:05 that wont work May 03 10:05:13 since you already have a getty running there May 03 10:05:25 hmm. but its chvt May 03 10:05:38 you will end up with two processes controlling the tty May 03 10:05:53 hmm May 03 10:05:57 which will get you funny output if you type anything :) May 03 10:06:04 its just chvt May 03 10:06:14 it manpage it says its similar to using f1 etc. May 03 10:06:24 sometimes one sometimes the other process will reply to enter May 03 10:06:42 oh, indeed, if you dont run login it will just change the vt May 03 10:06:44 hmm. but chvt isnt really controlling anything May 03 10:06:56 i thougth you wanted autologin too May 03 10:06:59 yes, thats the idea May 03 10:07:02 ogra: oh right ;) May 03 10:07:04 yeah May 03 10:07:11 i still have the hacked tty1.conf so it auto logs in May 03 10:07:13 so you need a fresh tty May 03 10:07:21 use openvt May 03 10:07:53 if thats for a higly embedded system you should cut down the amount of ttys anyway though May 03 10:08:04 i think each running getty will eat up to 800k May 03 10:08:52 ogra: how can i get the ttys down ... they are all shipped by upstart :( May 03 10:09:07 at least without forking May 03 10:09:09 * ogra would recommend an upstart-embedded package that has all that stuff adjusted May 03 10:09:33 build from the same source but ship other configs and conflict with upstart May 03 10:09:45 or some such May 03 10:10:36 seems cleaner than diverting config files May 03 10:11:25 yeah May 03 10:11:42 either that or use openvt :) May 03 10:11:56 ok kbd isnt installed in an essential only system May 03 10:11:59 * asac adds that May 03 10:12:03 yeah May 03 10:12:07 gpgv also May 03 10:12:42 ogra: i have added gnupg May 03 10:12:51 whta do you need gpgv for? May 03 10:12:57 well, gpgv is enough May 03 10:13:06 apt needs it for the Release.gpg May 03 10:13:18 right. i need gnupg for apt-key May 03 10:13:30 to make the ppa fly May 03 10:13:32 ah May 03 10:13:44 yeah, that should bring in gpgv anyway May 03 10:13:52 good ;) May 03 10:14:32 you also want to add something to /etc/apt/apt.conf.d/ that makes not installing recommends the default May 03 10:14:35 ogra: so where is the omap uboot? May 03 10:14:38 didnt we package that? May 03 10:14:41 yes May 03 10:14:47 it uses the upstream naming May 03 10:14:48 ogra: i am not installing recomments May 03 10:14:50 nds May 03 10:14:51 look for u-boot May 03 10:14:57 ah May 03 10:15:15 i have to switch the other u-boot packages too or revert that in maverick May 03 10:15:18 not sure yet May 03 10:15:25 there it is ;) May 03 10:15:43 ogra: so what do we chip for omap in lucid? May 03 10:15:54 do we put uboot on it at all? or assume its all setup on beagel? May 03 10:17:12 in lucid we assume its in NAND May 03 10:17:26 for maverick i have to come up with something clever May 03 10:18:00 since some of the future HW wont have NAND May 03 10:18:40 for beagle we dont need to care though ... there is NAND for all released versions May 03 10:20:12 ogra: where does the uboot we assume is there look for boot.scr? May 03 10:20:19 on fat in / ? May 03 10:20:44 iirc on fat on mmc0 0:0 May 03 10:23:16 kk May 03 10:27:31 asac, ./include/configs/omap3_beagle.h in the u-boot-omap3 source May 03 10:28:18 specifically CONFIG_EXTRA_ENV_SETTINGS and CONFIG_BOOTCOMMAND May 03 10:30:25 hmm. guess that uboot cant do ext2load? May 03 10:30:42 seems it can :/ May 03 10:30:51 not on omap May 03 10:31:05 fails miserably May 03 10:31:10 too bac May 03 10:31:11 d May 03 10:31:14 yes May 03 10:31:29 especially soice you cant put /boot on fat May 03 10:31:34 *since May 03 10:31:40 cant? May 03 10:31:42 nope May 03 10:31:47 whats that? May 03 10:32:00 dpkg uses hardlinks when it unpacks files May 03 10:32:34 hmm. but we use fat on all images for /boot, dont we? May 03 10:32:35 so it creates a vmlinuz-$(uname -r).bak when it tries to put the new file in place ... that file is a hardlink May 03 10:32:38 no May 03 10:34:28 one thing i was trying is to have a separate fat patrition that flash-kernel writes uImage, uInitrd and boot.scr to but for lucid lool convinced me to rather use NAND May 03 10:34:52 in maveric where we cant use NAND for everything i think i'll have to revisit that setup May 03 10:34:57 +k May 03 10:35:04 ogra: how does the sdcard boot then? not oob? May 03 10:35:49 the images are on vfat so there u-boot can read boot.scr May 03 10:36:12 during install i write the boot options, kernel and initrd to NAND May 03 10:36:20 so then it doesnt matter May 03 10:36:39 it only matters on systems that have no NAND but we dotn support any with the lucid install May 03 10:36:46 hmm May 03 10:36:49 maverick *will* support these though May 03 10:37:06 which means we'll need a separate fat somewhere May 03 10:37:22 we need it for this directly booting rootfs setup too May 03 10:37:46 right, that needs tweaks in flash-kernel May 03 10:38:15 so once linux-image is installed it needs to temporary mount the fat and write uImage and uInitrd to it May 03 10:38:32 (or after update.initramfs) May 03 10:38:44 ok at least plymouth ubuntu theme text doesnt play games on me anymore ;) May 03 10:38:53 heh May 03 10:39:01 now back to openvt ;) May 03 10:42:33 ogra: does uImage in nand win over uImage on fat mmc0? May 03 10:42:56 see the config i pointed to above :) May 03 10:42:59 e.g. could we live with shipping "not changing" uImages on some fat partition? and flash-kernel updates the nand May 03 10:43:02 it only cares for boot.scr May 03 10:43:20 err, no May 03 10:43:24 actually it doesnt May 03 10:43:49 http://paste.ubuntu.com/426935/ May 03 10:44:31 asac, how would you update a nonexisting NAND ? :) May 03 10:44:54 i will use NAND on all boards where we know we have it in flash-kernel May 03 10:45:05 well. i am currently targetting beagle. .. but without installer May 03 10:45:13 flash-kernel needs to detect the hardware anyway and needs special casing for each board May 03 10:45:34 without installer, hmm May 03 10:45:54 then you need MLO and u-boot.bin as well as boot.scr May 03 10:46:01 and a fat partition May 03 10:46:48 loadbootscript=fatload mmc 0 ${loadaddr} boot.scr May 03 10:46:58 so you also need the first partition being the fat May 03 10:49:33 though note that if you use flash-kernel from lucid it will automatically write to NAND atm May 03 10:49:51 and assumes your system is properly set up for uboot-envtools May 03 10:50:06 (which is done by flash-kernel-installer) May 03 10:51:06 http://paste.ubuntu.com/426937/ May 03 10:51:09 ogra: yes, but for that to work we would need to prefer nand over fat as fat will become outdated ... which creates a chicken egg problem etc. May 03 10:51:25 (thats what flash-kernel-installer does at the end of d-i/ubiquity May 03 10:51:55 so plymouth is still broken even with ubuntu theme ... was tricked because i still had my hand hacked image loop mounted and umounting it seems to have wiped the new img May 03 10:52:14 (not that it wipes the u-boot defaults so it wont look for boot.scr anymore) May 03 10:52:58 ah May 03 10:53:01 so it wiped the defaults May 03 10:53:02 good May 03 10:53:14 only if you used the ubuntu install May 03 10:53:15 that would work. e.g. put just the uboot bits on a first fat partition May 03 10:53:21 once flash-kernel runs all will be nand May 03 10:53:35 right May 03 10:53:51 but you somehow need to run that flash-kernel-installer.postinst bit May 03 10:54:16 which is tricky without any kind of installer May 03 10:55:05 flash-kernel-installer is a udeb and not installed anywhere but in d-i/ubiquity May 03 10:58:25 ogra: why isnt cmdline="root=UUID=$uuid ro quiet splash vram=12M omapfb.mode=dvi:1280x720MR-16@60 fixrtc" May 03 10:58:34 etc .that run in normal flash-kernel? May 03 10:58:40 e.g. the stuff from http://paste.ubuntu.com/426937/ May 03 10:59:01 flash-kernel (like update-grub) doesnt touch the cmdline May 03 10:59:19 creating the cmdline is job of the installer May 03 10:59:35 after install that shouldnt be changed by any bootloader tool May 03 11:00:11 unless yuo change it manually (by editing /etc/default/grub or in case of beagle using fw_setenv) May 03 11:01:22 flash-kernel only flashes the kernel (and initramfs) May 03 11:01:47 flash-kernel-installer sets up the environment for flash-kernel during installation May 03 11:03:00 http://paste.ubuntu.com/426943/ <- flash-kernel ... http://paste.ubuntu.com/426937/ <- flash-kernel-installer May 03 11:04:44 * ogra takes a break May 03 11:05:36 ogra: so openvt didnt work ... chvt worked fine ;) May 03 11:05:58 probably just working around the fact that plymouth still fails miserably May 03 11:10:16 how did you call openvt ? May 03 11:10:54 sure May 03 11:10:59 sure ? May 03 11:11:11 yes. it opened a new terminal on all other terminals May 03 11:11:26 so i got funny stuff like login -> hit return -> root shell -> hit return -> login prompt May 03 11:11:29 etc. May 03 11:12:02 what was yous commend ? May 03 11:12:08 *your May 03 11:12:12 * asac tries again May 03 11:12:22 exec /bin/openvt /bin/autologinroot May 03 11:12:51 you need at least -s May 03 11:13:23 * asac checks manpage May 03 11:13:26 probably even -e May 03 11:14:07 /bin/openvt -e -s -- /bin/autologinroot May 03 11:14:39 or May 03 11:14:58 /bin/openvt -e -s -- su -l root -c /bin/bash May 03 11:15:36 just copy the original tty1.conf for that and replace the exec May 03 11:16:50 well, after exec, exec needs to persist May 03 11:18:23 ok that worked ;) May 03 11:18:36 :) May 03 11:19:34 a bit dumb that its now on tty8 May 03 11:19:37 but well. so be it May 03 11:19:56 plymouth is still unhappy, but thats normal it seems May 03 11:21:21 for flash-kernel-installer you could do some ugly first login magic in /etc/bash.bashrc May 03 11:21:55 look for "if [ ! -e "$HOME/.sudo_as_admin_successful" ]; then" in there May 03 11:22:02 though thats not very sexy May 03 11:22:18 great. yeah May 03 11:23:37 grr. something is editing 10-help-text :( May 03 11:23:41 in update-motd.d May 03 11:23:58 i get a conflict when i change that ... dont get that for other conffiles i change in the same way May 03 11:24:29 10-help-text ?? where does that belong to ? May 03 11:24:35 base-files of course May 03 11:24:38 or where doe it live May 03 11:24:44 like verything related to branding is stuffed into the corest of core things ;) May 03 11:24:54 /etc/update-motd.d May 03 11:24:55 hmm May 03 11:24:57 ah May 03 11:25:04 and seems something is messing with that during a bootstrap May 03 11:25:08 e.g. changing it post install May 03 11:25:39 update-motd likely May 03 11:25:49 what does update-motd do with it? May 03 11:25:55 it shoud just source it May 03 11:26:17 guess i will sed it in postinst ... seems its modified anyway, so nothing to loose May 03 11:26:18 hmm, indeed May 03 11:28:27 the conffile mechanism is really a mess in ubuntu/debian ... folks seem to not get it. you need a) package defaults + b) admin defaults (thats conffiles) and user changes in $HOME ... a) and b) are far too often not separated, but just shipped in etc May 03 11:29:54 well, ucf will only kick in if there is a three way diff May 03 11:30:14 i.e. if two defaults changed at the same time May 03 11:32:12 what is ucf? May 03 11:32:29 update config file May 03 11:32:42 the tool that prompts during debconf May 03 11:32:54 ah May 03 11:33:08 yeah. well. the fact that there were changes int he first place scares me May 03 11:33:21 i hope its some hack cody added to the live-helper i didnt find yet May 03 11:33:44 ok /me spins new image and hopes for the best May 03 11:41:07 live-helper surely shouldnt touch it May 03 11:41:15 else thats a bug May 03 14:19:45 ogra, Do we have support for ethernet gadget in latest 2.6.32.11-l13 ?? May 04 01:10:22 hello May 04 01:10:44 does anyone know if progress has been made on bug 532733? May 04 01:10:45 https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/532733 May 04 01:10:46 Launchpad bug 532733 in qemu-kvm (Ubuntu Lucid) (and 2 other projects) "apt/dpkg in qemu-system-arm hangs if a big task is installed (affects: 4) (dups: 1) (heat: 36)" [High,Incomplete] https://launchpad.net/bugs/532733 May 04 01:10:49 Launchpad bug 532733 in qemu-kvm (Ubuntu Lucid) (and 2 other projects) "apt/dpkg in qemu-system-arm hangs if a big task is installed (affects: 4) (dups: 1) (heat: 36)" [High,Incomplete] **** ENDING LOGGING AT Tue May 04 03:00:01 2010