**** BEGIN LOGGING AT Mon Sep 07 02:59:57 2009 Sep 07 06:17:22 Hi Sep 07 06:23:44 I'm customizing openwrt for one hardware. Can I predefine network configuration? Sep 07 06:25:22 dkostousov: you can include any files that you want in the image in files/ in the buildroot (you have to make that directory it isn't there by default) Sep 07 06:30:55 Does the firmware's firstrun scripts overwrite my files? Sep 07 06:31:05 no Sep 07 06:33:45 Who detects network cards during first firmware start? Sep 07 06:35:21 depends on the arch, but there are init script that do but they generally will not nuke your files Sep 07 06:43:17 What is the init script filename? Sep 07 08:48:42 good morning Sep 07 10:15:06 I've worked out what causes my problem but I don't know why. Sep 07 10:15:18 libtool is called and inserts -L/usr/lib into the command it eventually runs. Sep 07 10:15:22 But I've no idea why. Sep 07 10:20:09 <_trine> I have found a package that looks very interesting it's supposed to be similar to asterisk but better in many respects. The Package compiles but in total it's 3.2 megs. This is too big to fit in my router I was wondering if anyone here with more/better programing skills could take a look at it with a view to splitting it up into a core and various additions. Sep 07 10:20:47 <_trine> The package is called Freeswitch Sep 07 10:21:07 That's already split in debian iirc. Sep 07 10:21:12 Not debian proper, though. Sep 07 10:21:48 <_trine> yes but I need the .ipk split up into parts Sep 07 10:25:21 <_trine> The Package can be dowloaded here:- http://wiki.freeswitch.org/wiki/OpenWrt Sep 07 10:26:50 <_trine> I had to remove this patch to get it to compile:- 004-pcre.patch Sep 07 11:03:44 what's the new sstrip option for? Is sstrip better than binutils strip? Sep 07 12:04:30 mb__: sstrip isn't new. we've used it for years Sep 07 12:04:35 and yes, it's better than binutils strip Sep 07 12:05:29 hm, ok. Compilation failed yesterday with some error when using it. So I switched the option to strip. Sep 07 12:33:02 mb__: odd. sstrip has been the default for years as well Sep 07 13:55:04 nbd * r17537 /trunk/tools/firmware-utils/src/trx.c: firmware-utils: raise the default trx image size limit for something more appropriate for devices with 8M flash Sep 07 14:06:15 anyone here has a new "M" Ubiquiti device? Sep 07 14:07:15 matteo: whats up Sep 07 14:07:24 hi Sep 07 14:07:35 i have one here Sep 07 14:07:39 matteo: and Sep 07 14:07:43 i can't find the serial pinout Sep 07 14:08:02 what series M Sep 07 14:08:07 bullet M Sep 07 14:08:13 M5 Sep 07 14:08:38 pinoutsmost likely the same as the Bullet% Sep 07 14:09:04 it has only 4 pins Sep 07 14:09:10 no shit Sep 07 14:09:28 u sure itsd a serial Sep 07 14:09:34 yes Sep 07 14:09:36 ive not opened one of these up Sep 07 14:09:42 if I ssh and i dmesg >/dev/ttyS0 Sep 07 14:09:48 i see shit in the serial Sep 07 14:10:07 you're right BTW Sep 07 14:10:17 bullet G has also 4 pin Sep 07 14:10:22 so i assume it's the same Sep 07 14:10:31 just the nanostation has 10 pins... Sep 07 14:38:50 SQUASHFS error: Major/Minor mismatch, older Squashfs 3.0 filesystems are unsupported Sep 07 14:38:54 * mb__ scratches head Sep 07 14:40:06 I get this on 2.6.30. Is this known? How to fix it? Sep 07 14:40:11 make oldconfig Sep 07 14:40:16 in the build system dir Sep 07 14:46:51 nbd: thanks :) Sep 07 15:01:18 Look at this guys. I tested the BFS scheduler on bcm47xx: http://www.nopaste.org/p/a5eTYRv5f Sep 07 15:01:28 simple iperf test with iperf server running on the bcm47xx Sep 07 15:02:15 mb__: speaks for itself really Sep 07 15:02:27 That's really impressive Sep 07 15:02:37 its like 40-50% Sep 07 15:02:50 whoa Sep 07 15:02:55 mind boggingly impressive i would even say Sep 07 15:03:10 nbd: whoa is another way of putting it :) Sep 07 15:03:11 let's merge it Sep 07 15:03:14 :D Sep 07 15:03:24 nbd: whe is the mainline scheduler so much slower ? Sep 07 15:03:30 nbd: scaled for larger systems ? Sep 07 15:03:31 but C is a larger letter than B! :P Sep 07 15:03:37 the mainline scheduler is designed to scale to systems with 4096 CPUS Sep 07 15:03:54 mb__: let's join in on the lkml flamewar :D Sep 07 15:04:16 lkml people are asking for hard numbers on BFS vs CFS Sep 07 15:04:18 so let's give them some Sep 07 15:04:29 yeah Sep 07 15:04:39 brainfuck Sep 07 15:04:40 lol Sep 07 15:04:48 BFS is 8% faster for kernel compiles on my 4way PowerMAC Sep 07 15:05:49 tempted to try that on my desktop Sep 07 15:06:04 maligor: haha Sep 07 15:06:30 BFS throws out a lot of stuff and is optimized for small systems. It doesn't know about NUMA, HT and big SMP. Sep 07 15:06:39 large amounts of cpu's would suffer but I only have 2 cores Sep 07 15:06:59 the BFS author says it should theoretically scale up to 16 cores Sep 07 15:07:28 1. Intermittent boot failures on some hardware. Sep 07 15:07:35 I wonder if this faq is uptodate Sep 07 15:08:07 imho it shouldn't be hard to rework the patch to make the scheduler selectable at compile time Sep 07 15:08:18 then we can test and switch our targets individually Sep 07 15:09:19 For openwrt on NUMA? Sep 07 15:09:32 no, for BFS Sep 07 15:10:11 actually... I think I'll try it on my NAS Sep 07 15:10:34 it could do with every bit of performance increase it can get Sep 07 15:15:14 nbd: should I CC you? Sep 07 15:15:40 yeah Sep 07 15:44:13 @mb__: have you tried BFS on brcm47xx/2.6.31 ? Sep 07 15:44:26 no Sep 07 15:44:37 We don't have a bcm47xx patchset for .31, yet Sep 07 15:48:07 I am working on it that's why I asked Sep 07 15:48:51 cool. Lemme know when you're done so I can run the test :) Sep 07 15:49:08 con just released a BFS for .31 Sep 07 15:49:44 yes I saw it Sep 07 17:02:06 <_trine> if openwrt-ar71xx-wrt160nl-squashfs.bin is 3.1MB in size what's the biggest package size I could install with opkg on a router with 8MB flash Sep 07 17:02:37 <_trine> specifically a WRT160NL Sep 07 17:03:45 <_trine> I have a package that is 3.2MB in size should it fit if I was to try it? Sep 07 17:12:44 <_trine> I have tried including the package into the compile but the compile always fails saying the image is too large Sep 07 17:23:37 yet another openwrt/upstream package comparison, http://pastehtml.com/view/090907gS9yxjzU.html, generally up-to-date Sep 07 17:40:45 you can remove madwifi, it will never be updated Sep 07 18:17:47 florian * r17538 /trunk/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c: [brcm63xx] fix typos against the gpio buttons driver (#5804) Sep 07 20:29:24 nbd: you alive Sep 07 20:32:03 OutBackDingo: yes Sep 07 20:32:55 nbd: is there anything required to access ttyS0 Sep 07 20:33:08 in ath2k on Ubiquiti Sep 07 20:33:34 access ttyS0 for what and with what? Sep 07 20:34:58 im trying to reqad serial data from the port Sep 07 20:34:58 heh read Sep 07 20:34:58 i connected a ttl converter to it, and the other end is connected to a serial port Sep 07 20:35:20 maybe you should move the kernel console away from that port Sep 07 20:35:25 i think there are utilities for that somewhere Sep 07 20:35:29 but i don't know Sep 07 20:35:59 hrmmm i was sure disabllling it in inittab did that Sep 07 20:36:04 no Sep 07 20:36:09 ahhh Sep 07 20:36:39 so theres a kernel console set to run on the port, which would essentially prevent anything else from using it Sep 07 20:36:48 ok Sep 07 20:36:56 ill research this Sep 07 20:36:57 theoretically it shouldn't Sep 07 20:37:11 but if you want to use the port, it is generally a good idea to disable it anyway Sep 07 20:37:22 any fast way to disable it Sep 07 20:37:44 kernel recompile ? Sep 07 20:53:05 Hi there Sep 07 20:54:11 I am trying to create packages for some python apps Sep 07 20:54:30 I spotted what may be a bug, but I am not sure : Sep 07 20:55:28 the dynamic library zlib.so is not present in the staging dir in usr/lib/python2.6/lib-dynload/ Sep 07 20:55:45 while it is in the build_dir and on the target Sep 07 20:55:56 and this is the only missing library Sep 07 20:55:57 strange Sep 07 20:56:15 did you guys already remarked that ? Sep 07 20:57:49 I think this is one of the reasons setuptools is disabled in many existing python packages (setuptools uses zlib and doesn't work due to this bug) Sep 07 20:58:00 any idea ? Sep 07 21:44:52 nbd: wierdness opkg install olsrd_0.5.6-r5-2_brcm-2.4.ipk Collected errors: * Packages were found, but none compatible with the architectures configured Sep 07 21:44:52 Sep 07 21:45:02 its a linksys hahhahah Sep 07 21:45:35 what i gotta build my own now Sep 07 21:47:44 OutBackDingo: the architectures for the backages changed to the branch name awhile back instead of the arch Sep 07 21:48:26 OutBackDingo: you can add a /etc/opkg/arch.conf file to override the arches opkg looks for Sep 07 21:49:27 thepeople: how can i do this for broadcom? Sep 07 21:49:50 err wait Sep 07 21:50:13 http://pastebin.ca/1557737 Sep 07 21:56:42 thepeople: thanks that worked Sep 08 00:58:11 Bumping my apf and libv4l patches :) Sep 08 01:32:19 tonsofpcs: oh well that theory didnt work quite so well **** ENDING LOGGING AT Tue Sep 08 02:59:57 2009