**** BEGIN LOGGING AT Sun Jan 06 02:59:59 2013 Jan 06 11:20:36 Jay7: http://paste.debian.net/222158/ Jan 06 11:21:10 We have no tty Jan 06 11:22:50 ah, this kernel has no /proc ... ? Jan 06 11:24:41 ant_home: hi Jan 06 11:24:51 hello Jan 06 11:25:02 kexecboot klibc segfaults :/ Jan 06 11:25:21 this one is eglibc-shared Jan 06 11:25:53 1) initramfs somehow not found on mach-sa1100 Jan 06 11:25:54 2) miscompiled init (apart kexecboot Jan 06 11:26:15 I see Jan 06 11:26:19 helloworld doesn't work as init Jan 06 11:26:27 but does from shell Jan 06 11:26:44 can you compile static /bin/sh e.g. and set it as init? Jan 06 11:26:45 helloworld is eglibc-static Jan 06 11:27:03 sh-klibc(static) seems also segfaulting Jan 06 11:27:30 I'm recreating the initramfs on the SD card Jan 06 11:27:45 or even something like int main(void) { puts("I'm started!"); return 0; } Jan 06 11:28:21 why does it miss /proc now.. Jan 06 11:35:41 see from this shell Jan 06 11:35:43 # /klibc/ls Jan 06 11:35:44 Illegal instruction Jan 06 11:35:44 # /klibc/mount Jan 06 11:35:44 setmntent: No such file or directory Jan 06 11:35:44 # /klibc//kexecboot Jan 06 11:35:44 kexecboot 0.5.9 starting Jan 06 11:35:46 Illegal instruction Jan 06 11:35:48 # /klibc/kexecboot-fb Jan 06 11:35:50 kexecboot 0.5.9 starting Jan 06 11:35:52 Can't open /proc/cmdline: No such file or directory Jan 06 11:35:54 We have no tty Jan 06 11:35:56 Illegal instruction Jan 06 11:35:58 # Jan 06 11:36:00 ok, I have to cook now, bbl Jan 06 11:36:04 :) Jan 06 11:38:27 see you :) Jan 06 11:38:44 looks like broken toolchain Jan 06 11:38:59 may be we need to check with old gcc Jan 06 11:39:08 or disable some optimisations explicitly Jan 06 16:59:11 Jay7: ok, I've mounted /proc and /sys by hand (no devtmpfs on that kernel) Jan 06 16:59:15 much better Jan 06 17:00:10 Illegal instruction for kexecboot-klibc, though :/ Jan 06 17:06:44 the good news is, kexecboot-eglibc-shared in textui is working here :) Jan 06 17:08:08 hm.. Jan 06 17:08:19 so problem is in klibc then? Jan 06 17:08:48 http://paste.debian.net/222264/ Jan 06 17:09:21 ofc " can't mount device /dev/mmcblk0p1: Device or resource busy " Jan 06 17:09:28 I'm booting from there Jan 06 17:10:14 (with older 3.1 kernel) Jan 06 17:10:31 err.. 2.6.31 Jan 06 17:10:41 the 3.x lack mtd and mmc :/ Jan 06 17:19:31 Jay7: yes, then I'm lead to think the issue is with klibc Jan 06 17:19:52 I'll try now an helloworld-klibc-static Jan 06 17:24:43 ah, this is working... Jan 06 17:25:31 maybe the latest klibc does not work with the older 2.6.31 kernel... Jan 06 17:25:40 i.,e. the syscalls Jan 06 17:26:00 hm Jan 06 17:26:59 the pain is I've flashed linux-kexecboot-2.6.26 and I'm booting that 2.6.31 which lacks devtmpfs. besides, both expects old /dev/hd* Jan 06 17:27:34 that kernel gets stuck with udev if I try an actual core-image-base Jan 06 17:27:50 (lacks cgroups and more) Jan 06 17:28:25 so I boot busybox on SD with init=/bin/sh Jan 06 17:29:06 double pain is, the 2.6.26 has very old kexecboot, pre boot.cfg, no initrd :/ Jan 06 17:29:37 ..and the 2.6.31 won't kexec :/ Jan 06 17:30:27 we need at least a 2.6.32 with devtmpfs and /dev/sd* Jan 06 17:31:46 /klibc/helloworld ->ok Jan 06 17:31:57 /klibc/ls -> Illegal Instruction Jan 06 17:32:43 /klibc/mount -> setmntent: No such file or directory Jan 06 17:33:33 kexecboot starts and throws out illegal instruction Jan 06 17:33:55 if klibc-static Jan 06 17:34:07 now we have a point Jan 06 21:41:21 bluelightning: hello Jan 06 21:41:50 Jay7: klibc binaries for armv4 are miscompiled, with thumb code :/ Jan 06 21:42:03 mira helped me on #klibc Jan 06 21:45:51 nice Jan 06 21:45:52 http://paste.debian.net/222338/ Jan 06 21:46:13 http://paste.debian.net/222336 Jan 06 21:47:20 well, seems klibc is built with -mthumb-interwork Jan 06 21:47:20 indeed Jan 06 21:47:20 but from where… Jan 06 21:47:20 not in the tree Jan 06 21:47:20 heh Jan 06 21:47:20 the klibc source tree does not contain *any* occurrence of -mthumb-interwork Jan 06 23:50:12 I think I see the issue, rebuilding overnight Jan 06 23:50:14 gn **** ENDING LOGGING AT Mon Jan 07 02:59:58 2013