**** BEGIN LOGGING AT Sat Sep 05 02:59:58 2015 Sep 05 10:08:56 hello guys. Sep 05 10:09:32 I am trying to disassemble a closed-source Linux kernel. Loading it into IDA. I know the entry point, but I have confused ideas regarding addresses. Sep 05 10:09:44 vcan someone give me some hints on how to reason about them? Sep 05 10:10:11 I know hex and generally worked a little bit with them in past, but using IDA I can't understand how to set things up Sep 05 10:12:50 beat the shit out of them with a gpl violation Sep 05 10:12:57 that would be one hint Sep 05 10:19:58 wigyori: Oh, I was thinking about it... Sep 05 10:20:30 wigyori: but I arrived to the conclusion they aren't enforced in any way yto release their own proprietary components, not present in the kernel Sep 05 10:23:00 it seems a relatively painless task from various posts, but it's not Sep 05 12:52:32 build #87 of cobalt is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/cobalt/builds/87 Sep 05 12:56:10 build #87 of cns21xx is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/cns21xx/builds/87 Sep 05 12:59:17 build #87 of orion is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/orion/builds/87 Sep 05 14:08:00 build #78 of octeon is complete: Failure [failed shell_14] Build details are at http://buildbot.openwrt.org:8010/builders/octeon/builds/78 Sep 05 14:34:56 build #80 of mvebu is complete: Failure [failed shell_14] Build details are at http://buildbot.openwrt.org:8010/builders/mvebu/builds/80 Sep 05 14:50:06 build #85 of x86.xen_domu is complete: Failure [failed compile_2] Build details are at http://buildbot.openwrt.org:8010/builders/x86.xen_domu/builds/85 Sep 05 14:50:53 build #87 of ipq806x is complete: Failure [failed compile_3] Build details are at http://buildbot.openwrt.org:8010/builders/ipq806x/builds/87 Sep 05 14:53:34 build #84 of brcm2708 is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/brcm2708/builds/84 Sep 05 14:55:32 build #85 of netlogic is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/netlogic/builds/85 Sep 05 14:56:42 build #87 of brcm47xx is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/brcm47xx/builds/87 Sep 05 15:03:08 build #83 of arm64 is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/arm64/builds/83 Sep 05 15:04:33 build #87 of ar71xx.nand is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/ar71xx.nand/builds/87 Sep 05 15:04:58 build #83 of x86.kvm_guest is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/x86.kvm_guest/builds/83 Sep 05 15:09:26 build #82 of avr32 is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/avr32/builds/82 Sep 05 15:11:34 build #85 of xburst is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/xburst/builds/85 Sep 05 15:12:02 build #83 of mxs is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/mxs/builds/83 Sep 05 15:15:34 build #81 of adm8668 is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/adm8668/builds/81 Sep 05 15:17:36 build #80 of mpc85xx is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/mpc85xx/builds/80 Sep 05 15:19:21 build #79 of mcs814x is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/mcs814x/builds/79 Sep 05 15:22:02 build #79 of adm5120 is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/adm5120/builds/79 Sep 05 15:23:34 build #87 of ramips.rt3883 is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/ramips.rt3883/builds/87 Sep 05 15:24:54 build #79 of mpc52xx is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/mpc52xx/builds/79 Sep 05 15:27:04 build #79 of gemini is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/gemini/builds/79 Sep 05 15:29:45 build #87 of pxa is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/pxa/builds/87 Sep 05 15:30:57 build #88 of realview is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/realview/builds/88 Sep 05 15:33:06 build #88 of imx6 is complete: Failure [failed shell_8 compile_1] Build details are at http://buildbot.openwrt.org:8010/builders/imx6/builds/88 Sep 05 16:27:06 sorry if I lost messages; exiting Sep 05 16:27:07 byeeee Sep 05 16:28:58 build #88 of brcm63xx is complete: Exception [exception compile_8 shell_15 compile_9] Build details are at http://buildbot.openwrt.org:8010/builders/brcm63xx/builds/88 Sep 05 16:28:58 build #95 of ramips is complete: Exception [exception compile_3 shell_15 compile_9] Build details are at http://buildbot.openwrt.org:8010/builders/ramips/builds/95 Sep 05 16:28:58 build #87 of x86.64 is complete: Exception [exception compile_3 shell_15 compile_9] Build details are at http://buildbot.openwrt.org:8010/builders/x86.64/builds/87 Sep 05 18:18:08 build #87 of ppc40x is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/ppc40x/builds/87 Sep 05 19:37:14 make kernel_oldconfig is failing for me, any ideas how I can get past that? Sep 05 19:37:33 I don't mind wiping the kernel config, just don't want to lose the whole config Sep 05 19:54:03 so, I'm trying to add a python package that is written in C++, and when the cross compiler tries to link the .so it calls the host g++ to do that. any hints where the issue might be, or where to look for a template? Sep 05 19:55:25 AFAIU, python-setuptools gets installed on the host and that is used by the package's setup.py, and maybe something somewhere loses track of the fact that cross-compilation is happening Sep 05 20:01:41 your best bet is to probably look for another python package with built-in C stuff compiled in that is already packaged; dunno if such exist Sep 05 20:02:25 there seems to be number of packaged Python C library wrappers so starting there might be sensible ;) Sep 05 20:08:09 idli: is this all the python stuff, or is there in some other repo? https://github.com/openwrt/packages/tree/master/lang Sep 05 20:08:55 I suspect that's most of it (some other repo may have Python-using single apps, but I can't think of any offhand) Sep 05 20:09:38 due to cross compilation hassle, the Python stuff I run on my router is pure Python ;) Sep 05 20:09:54 rsync *.py => router + run = win Sep 05 20:10:26 yeah, I can understand that... Sep 05 20:10:44 but I need bluetooth LE stuff and I don't want to write it in C Sep 05 20:11:27 are you using that Build/Compile/PyMod target? there seems to be something in the infra, c.f. https://github.com/openwrt/packages/blob/master/lang/python-mysql/Makefile (it is in python-package.mk I guess) Sep 05 20:12:54 yes, that's what I use. looking Sep 05 20:13:39 what is "infra"? Sep 05 20:13:51 infrastructure, i.e. stuff shared in OpenWrt Sep 05 20:14:00 ah, ok Sep 05 21:14:07 does anyone have an impression whether doing this python cross compiling dance on HEAD would be easier? maybe this and that is more polished there? Sep 05 21:14:36 not probable, because CC is just about to get released, but maybe someone more informed... Sep 05 22:31:34 attila_lendvai: lang/python/files/python-package.mk needs a CXX="$(TARGET_CXX)" \ added within Build/Compile/PyMod Sep 05 22:31:53 * attila_lendvai retries Sep 05 22:37:05 swalker: yay, it has built! thanks a whole lot! I'll test it tomorrow on the device... Sep 05 22:37:42 BTW, is there any plan to move over to git and to github? pull requests make things so much more efficient (for the maintainers, too) Sep 05 22:44:18 feeds already are on github Sep 06 01:50:31 anyone around that can tell me how to wipe just the kernel config so "make kernel_oldconfig" doesn't fail anymore? **** ENDING LOGGING AT Sun Sep 06 02:59:58 2015