**** BEGIN LOGGING AT Sun Oct 21 02:59:58 2012 Oct 21 14:04:22 hi vquicksilver Oct 21 14:04:27 GNUtoo-desktop, hi Oct 21 14:04:34 what didn't work exactly? Oct 21 14:04:37 it didn't boot? Oct 21 14:04:44 or was blocked during boot? Oct 21 14:04:50 what procedure did you follow? Oct 21 14:04:59 GNUtoo-desktop, I still have to try it Oct 21 14:05:13 ok Oct 21 14:06:13 GNUtoo-desktop, I think that the kernel can boot from the sdcard without the ramdisk Oct 21 14:06:24 yes Oct 21 14:06:26 GNUtoo-desktop, but, for systemd what needs to be done? Oct 21 14:06:32 some config changes Oct 21 14:06:40 enable devtmpfs Oct 21 14:06:45 enable devtmpfs mount Oct 21 14:06:51 enable cgroups Oct 21 14:06:58 make autofs4 a module Oct 21 14:07:01 and maybe more Oct 21 14:07:12 GNUtoo-desktop, uhmmm, maybe I forget to update the kernel config, cause I have it enabled on my SHR rom Oct 21 14:07:27 what do you mean? Oct 21 14:08:01 GNUtoo-desktop, ok, the problem is that I use a recovery image with it's own kernel image, Oct 21 14:08:01 since it's clearly stated that it's WIP we could merge your already-sent patches if JaMa agrees Oct 21 14:08:19 not from SHR I guess Oct 21 14:08:24 (the kernel) Oct 21 14:08:52 GNUtoo-desktop, using the same source code but, I cross compiled it without the recipe Oct 21 14:09:00 ok Oct 21 14:09:01 and then I forget to update the kernel config Oct 21 14:09:02 hmmm Oct 21 14:09:03 ok Oct 21 14:09:11 then maybe update it and resend a v5 Oct 21 14:09:20 GNUtoo-desktop, ok Oct 21 14:09:24 GNUtoo-desktop, no problem Oct 21 14:09:43 I think I have the kernel source with the config here Oct 21 14:10:39 ok Oct 21 14:10:50 GNUtoo-desktop, anyway, I will test if it can boot from sdcard without the ramdisk first Oct 21 14:10:59 ok Oct 21 14:11:10 and update the config and the kernel parameters in the recipe Oct 21 14:11:10 do you have a way to see it's booting progress/messages? Oct 21 14:11:26 because a lot of different things can go bad.... Oct 21 14:11:32 GNUtoo-desktop, not really, using the ramdisk I used and initscript to blink some leds on the phone Oct 21 14:11:50 but without the ramdisk, I can see anything until usbnet is up Oct 21 14:11:55 can't see* Oct 21 14:12:11 do you have ramconsole? Oct 21 14:12:38 enable ramconsole Oct 21 14:12:45 GNUtoo-desktop, I don't know what is ramconsole? Oct 21 14:12:47 add /dev/ttyprintk Oct 21 14:12:54 and print to /dev/ttyprintk Oct 21 14:13:20 ramconsole is a way to get your dmesg Oct 21 14:13:27 basically you boot Oct 21 14:13:37 you find a way to reboot without removing the battery Oct 21 14:13:51 like watchdog, kernel panic etc... Oct 21 14:14:01 it reboots under android Oct 21 14:14:14 and then you get your dmesg trough some sysfs or procfs Oct 21 14:14:36 GNUtoo-desktop, When I'm on SHR I can reboot the phone using reboot, no need to reboot the battery afaik Oct 21 14:14:55 remove the battery* Oct 21 14:15:14 yes but you assume that everything goes well here Oct 21 14:15:26 let me state what could go wrong: Oct 21 14:15:43 * kernel could be stuck in early init because of an alignement/compiler issue Oct 21 14:15:53 * kernel could fail to find rootfs Oct 21 14:16:00 * kernel could fails to find init Oct 21 14:16:13 * systemd could be stuck at some point because of old kernel Oct 21 14:16:18 ok Oct 21 14:16:27 or because of something lacking Oct 21 14:16:32 like cgroup Oct 21 14:16:43 I don't have any experience with systemd Oct 21 14:16:45 usb0 probably won't come up Oct 21 14:16:46 etc... Oct 21 14:17:04 ok Oct 21 14:17:28 then if I enable that ramconsole thingy I can see the boot process on my computer? Oct 21 14:20:06 yes, after the reboot Oct 21 14:20:16 let me find the sysfs/procfs node Oct 21 14:21:13 -r--r--r-- 1 root root 27703 Aug 13 21:10 /proc/last_kmsg Oct 21 14:21:19 GNUtoo-desktop, to boot SHR I need to boot in recovery mode. So then If something is wrong I can boot into android and get the log from here? Oct 21 14:21:21 lookup that on android Oct 21 14:21:27 yes Oct 21 14:21:35 but I can't remove the battery Oct 21 14:21:38 try to cat /proc/last_kmsg Oct 21 14:21:40 yes Oct 21 14:21:40 or log will be deleted Oct 21 14:21:44 ok I understand now Oct 21 14:21:45 yes Oct 21 14:21:51 because the logs are in RAM Oct 21 14:21:55 in a fixed location Oct 21 14:22:07 and it has to be the next reboot also Oct 21 14:22:12 I have it Oct 21 14:22:13 not 10 reboots after Oct 21 14:22:15 ok Oct 21 14:22:31 and works Oct 21 14:22:41 ok Oct 21 14:23:08 I'll add some documentation to SHR Oct 21 14:23:13 GNUtoo-desktop, the kernel will autoreboot if it can't find the rootfs? Oct 21 14:23:29 that depends on the configuration Oct 21 14:23:33 panic=1 Oct 21 14:23:37 or something like that Oct 21 14:23:40 add that to cmdline Oct 21 14:23:47 GNUtoo-desktop, ok Oct 21 14:24:21 GNUtoo-desktop, I can get the actual SHR config from /proc/config.gz Oct 21 14:24:28 yes Oct 21 14:24:29 just wait a second Oct 21 14:24:55 the phone is booting SHR Oct 21 14:25:00 ok Oct 21 14:27:33 GNUtoo-desktop, then forget about the config on the kernel patch, the config that I'm actually using is this http://bpaste.net/show/52625/ Oct 21 14:28:19 Uhm, I think it's the same file Oct 21 14:28:25 so I remembered to update it Oct 21 14:28:41 ok nice Oct 21 14:29:08 GNUtoo-desktop, let me know If I need to enable more things, or disable Oct 21 14:29:15 ok Oct 21 14:29:18 maybe try it Oct 21 14:29:20 and see Oct 21 14:29:26 GNUtoo-desktop, autofs4 as module? Oct 21 14:30:09 I think so Oct 21 14:30:47 or maybe add it builtin Oct 21 14:30:54 and put it as a module after Oct 21 14:30:57 I don't know what Oct 21 14:31:03 *I don't know what's best Oct 21 14:31:12 but other devices have it as a module Oct 21 14:31:20 so if you can use modules.... Oct 21 14:31:50 GNUtoo-desktop, I think so, the only thing that I can't put as module is the wifi module Oct 21 14:32:44 ok Oct 21 14:33:04 GNUtoo-desktop, uhm control group it's enabled here afaik Oct 21 14:33:13 GNUtoo-desktop, control group support Oct 21 14:33:27 ok Oct 21 14:33:28 nice Oct 21 14:33:34 GNUtoo-desktop, is a systemd guide available somewhere to check all the needed options? Oct 21 14:34:12 no idea Oct 21 14:34:44 default panic timeout=5 Oct 21 14:34:58 I guess I can put it to 1 Oct 21 14:35:06 yes Oct 21 14:35:12 it will be faster to reboot.... Oct 21 14:37:23 GNUtoo-desktop, what is config_autofs_4 used for? NFS? Oct 21 14:38:23 if so I have to enable it also Oct 21 14:38:48 no idea Oct 21 14:38:52 read the help Oct 21 14:39:29 GNUtoo-desktop, I disabled it cause I don't use it Oct 21 14:39:54 ok Oct 21 14:39:58 but seems like it's related to NFS Oct 21 14:40:20 so If I don't have NFS enabled, I don't see the purpose of enabling autofs Oct 21 14:40:25 it's used by systemd? Oct 21 14:41:10 yes Oct 21 14:41:12 see that commit: Oct 21 14:41:30 24221aa9d134471f8354742b177415c80632ef0a Oct 21 14:41:34 in meta-smartphone: Oct 21 14:41:39 meta-samsung: crespo: pull autofs4 kernel module into image to satisfy systemd Oct 21 14:41:54 + kernel-module-autofs4 \ Oct 21 14:42:34 ok, so no need to enable NFS only that module Oct 21 14:44:36 uhm anyway I need the android tools to make the recovery image, and I don't have them at the moment, this is going to take some time Oct 21 14:44:46 get them from replicant.us Oct 21 14:44:54 or from fso Oct 21 14:49:41 GNUtoo-desktop, uhmm, I have to remove default boot parameters on the kernel I think Oct 21 14:49:53 root=/dev/ram etc... Oct 21 14:50:01 yes Oct 21 14:51:25 GNUtoo-desktop, uhm anyway they are ignored I think, cause the phone uses the parameters on the recovery.img Oct 21 14:51:40 yeah dmesg shows it Oct 21 14:51:54 Kernel command line: mem=32M@0x1A000000 mem=21M@0x1C000000 mem=32M@0x20000000 mem=32M@0x22000000 mem=32M@0x24000000 mem=32M@0x26000000 console=ttyMSM2,115200n8 androidboot.hardware=qcom Oct 21 14:53:09 yes Oct 21 14:53:27 unless you have CMDLINE_FORCE Oct 21 15:02:13 GNUtoo-desktop, sorry have to go now, I'll be back tonight Oct 21 15:02:32 ok Oct 21 15:03:04 I'll recompile the kernel with autofs4 and redo the kernel recipe to include the new kernel config Oct 21 15:04:06 bye Oct 21 16:11:58 slyon_: yeah I read the mails... but I thought where is decided? greek restaurant no? Oct 21 16:38:20 mrmoku, hi Oct 21 16:42:29 hey GNUtoo-desktop Oct 21 16:59:51 mrmoku, do you remember who got the n900 rotated btw? Oct 21 17:23:44 GNUtoo-desktop: hmm... fixed rotated? Or rotated on the fly? Oct 21 17:24:10 fixed rotated Oct 21 17:24:18 rotated on the fly only ever worked on gta02 Oct 21 17:24:20 GNUtoo-desktop: fixed rotated was easy in xorg.conf IIRC Oct 21 17:24:48 yes but with omapfb..... Oct 21 17:24:56 I mean xf86-video-omapfb Oct 21 17:25:05 I think it was dos1 that did it but I'm not sure Oct 21 17:25:35 because fixed rotation was done with xf86-video-fbdev Oct 21 17:25:39 *usually done Oct 21 17:26:03 but some shr dev managed to do it differently Oct 21 17:26:12 the one who does the funny themes Oct 21 17:26:18 maybe it was dos1 Oct 21 17:26:39 yup, that was me, but I didn't work directly on xf86-video-omapfb, just found some patches and used them Oct 21 17:26:49 ok Oct 21 17:26:54 where are theses patches btw Oct 21 17:26:58 maybe we should document that Oct 21 17:27:09 i don't remember now, give me a moment Oct 21 17:27:16 because now we have 3 devices that have omapfb Oct 21 17:27:20 that rotation was fixed at boot time, btw Oct 21 17:27:33 om-gta04, n900, and maybe tuna Oct 21 17:27:45 yes I know Oct 21 17:27:47 and fbdev worked correctly with that, but without any acceleration Oct 21 17:27:58 those patches were only to get acceleration working with it Oct 21 17:28:07 dos1: yo... see my memory sucks :-P Oct 21 17:28:21 hehe :) Oct 21 17:29:49 http://comments.gmane.org/gmane.comp.handhelds.openembedded/47435 Oct 21 17:30:51 ok so it's in? Oct 21 17:31:18 if nothing changed, then it should be Oct 21 17:31:23 ok Oct 21 17:34:39 dos1, so I rotate at boot and enable vrfb ? Oct 21 17:36:03 yup Oct 21 17:36:04 http://omappedia.org/wiki/Bootargs_for_enabling_display Oct 21 17:36:40 yes also in kernel Documentation/arm/OMAP/DSS Oct 21 17:36:55 GNUtoo-desktop: in runtime you can rotate by 180 degrees using sysfs node, but not by 90 degrees (at least not easily), as it changes dimensions Oct 21 17:36:58 dos1, do you have some ideas on how to enable xrandr -o 1 Oct 21 17:37:15 how much work would it be? Oct 21 17:37:27 dunno Oct 21 17:38:24 hmm Oct 21 17:38:27 have you seen https://github.com/robclark/xf86-video-omap ? Oct 21 17:38:34 no Oct 21 17:38:36 what's taht? Oct 21 17:39:06 just saw that while googling Oct 21 17:39:08 I think that uses the sgx driver Oct 21 17:39:14 which is a no-go Oct 21 17:39:49 but well, if it uses it only for 3D and if that turns to be possible to disable, then it could be nice Oct 21 17:41:07 http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/commit/?id=64a970788e0b95e1a0ce005ad050f00891c8bab8 Oct 21 17:41:08 hmmm Oct 21 17:41:27 and it seems to be actively maintained Oct 21 17:41:35 yes Oct 21 17:45:13 http://www.phoronix.com/scan.php?page=news_item&px=OTg3MA Oct 21 17:45:22 "There's also a plug-in mechanism that allows integration with external kernel modules, so that other areas such as for 3D support can be easily tacked on. However, the driver without any external modules is fully functional and there's an accompanying xf86-video-omap open-source 2D driver for X.Org" Oct 21 17:45:36 ok Oct 21 17:45:41 I'll try the official one Oct 21 17:45:45 but it fails on configure Oct 21 18:35:18 hmmm it requires omap drm driver Oct 21 18:35:22 that is not in our 3.4 Oct 21 18:36:02 ah it is Oct 21 18:36:05 I didn't saw it Oct 21 18:36:09 it's in staging Oct 21 21:03:59 Hi again GNUtoo-desktop, sorry I come home later that what I expected Oct 21 21:04:28 GNUtoo-desktop, will finish the patch tomorrow Oct 21 21:05:16 ok np Oct 21 21:05:23 I'm deep into rotation for omap Oct 21 23:50:01 JaMa, hi, how do I downgrade a package? Oct 21 23:51:17 I did package index Oct 21 23:51:21 I removed that: Oct 21 23:51:39 /var/lib/opkg/shr-dev-armv7a-vfp-neon /var/lib/opkg/shr-dev-all /var/lib/opkg/shr-dev-om_gta04 Oct 21 23:51:48 I then opkg update Oct 21 23:51:57 and it still doesn't want to downgrade Oct 21 23:52:05 even if the package is uninstalled already Oct 21 23:52:28 * GNUtoo-desktop needs to fix his phone and is on this since too long already Oct 21 23:52:57 reinstall is not an option since images are broken too Oct 21 23:53:23 util-linux-2.21.2-r6 Oct 21 23:53:35 | cp: cannot stat `/home/gnutoo/embedded/oe/oe-core/shr/oetmps/build/sysroots/x86_64-linux/usr/share/gettext/config.rpath': No such file or directory Oct 21 23:53:42 that is a dep of the images Oct 21 23:53:45 and it's broken Oct 22 00:00:14 * GNUtoo-desktop deletes Packages.gz on the builder and recreates it Oct 22 00:02:36 GRRRRRRRRRRRRRRR Oct 22 00:02:39 still nothing Oct 22 00:07:31 GRRRRRRRRRRRRRRRRRRRRRRRR **** ENDING LOGGING AT Mon Oct 22 03:00:00 2012