**** BEGIN LOGGING AT Tue Jul 28 02:59:57 2009 Jul 28 06:57:52 kaloz * r17034 /trunk/target/linux/ppc44x/ (9 files in 2 dirs): upgrade ppc44x to 2.6.30.3, enable MSI and USB support, move some patches around Jul 28 07:33:16 good morning Jul 28 08:05:20 how did you solve this bug again? http://openwrt.pastebin.com/m20fe8550 Jul 28 08:26:12 this happened after a make distclean, then make menuconfig, and then make kernel_menuconfig brings this Jul 28 08:41:20 kaloz * r17035 /trunk/toolchain/binutils/Config.in: use binutils 2.19.1 on ppc44x, too Jul 28 09:02:44 ok it works after doing a make - i guess the toolchain needs to be made before kernel_menuconfig works? Jul 28 09:04:04 <[florian]> danage: that's better Jul 28 09:04:15 [florian]: it's a bug though? Jul 28 09:05:02 <[florian]> let me check that Jul 28 09:05:09 <[florian]> grep CONFIG_SOFT_FLOAT .config ? Jul 28 09:05:52 <[florian]> danage: make toolchain/install Jul 28 09:07:09 nbd * r17036 /trunk/target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch: add another lzma pcomp fix by jeff hansen - fixes cleanup at the end of do_lzma processing Jul 28 09:07:30 [florian]: =y Jul 28 09:07:58 [florian]: shouldn't running kernel_menuconfig /know/ it needs the toolchain and check on it? Jul 28 09:07:59 <[florian]> danage: ok, good Jul 28 09:08:09 <[florian]> danage: the depency between both is not clear Jul 28 09:08:14 ah ok Jul 28 09:08:39 i wont be able to check until later today though, me be at work Jul 28 09:08:50 <[florian]> no problem Jul 28 09:08:51 <[florian]> so am I Jul 28 09:09:02 good morning btw :) Jul 28 09:09:09 <[florian]> yeah, moin ;) Jul 28 09:16:18 [florian]: so if this works, the only two other things that would need fixing are PCI and ethernet? Jul 28 09:16:40 <[florian]> danage: exactly Jul 28 09:17:13 wow - and is there some optimizations that were disactivated for the sake of compatibility? like thhe r4k stuff? Jul 28 09:19:08 <[florian]> nothing more Jul 28 09:19:24 <[florian]> the SoC are very very similar Jul 28 09:19:30 cool Jul 28 09:19:46 i have big plans for this router already :) Jul 28 10:41:23 good morning Jul 28 10:43:38 hi Babyface Jul 28 11:09:02 morning Jul 28 11:26:32 Hi all. been a while. Jul 28 11:27:26 how do I add a new profile to x86 . I've defined a makefile in target/linux/x86/generic/profiles/ Jul 28 11:27:44 .. is there some other trick to getting it to show up. Jul 28 12:04:15 Dogge_: I believe your luci problem is fixed, someone reopened the ticket but he seems to have a different issue Jul 28 12:04:54 thanks. will test it later Jul 28 12:05:36 np Jul 28 12:06:10 I tested on x86/trunk, my atheros trunk build does not boot here and I was too lazy to attach a serial cable Jul 28 12:09:47 omg. as said. trunk is a mess at the moment :) Jul 28 12:12:56 Dogge_: more specific? Jul 28 12:14:36 <[florian]> frogonwheels: should be enough, rm -rf tmp; make menuconfig to make it appear Jul 28 12:36:18 [florian]: to my question from yesterday, the sources from linksys wag54g2 include GPLed drivers for the wireless (i hope they are complete) Jul 28 12:36:44 and the only thing the pp boot is able to do is "netboot" ;) Jul 28 12:41:53 <[florian]> Babyface: excellent ! Jul 28 12:41:53 what i want to try next is to boot an openwrt via netboot, maybe it will run (without most of the hardware), but if it will boot, it will help a lot Jul 28 12:42:05 <[florian]> sure Jul 28 12:42:19 is someone here which has more information about pp boot from conexant like me? Jul 28 12:42:35 <[florian]> honestly, this is the first time I see that hardware Jul 28 12:42:45 <[florian]> last I saw a dsl connexant SoC it was an ARM9-nommu Jul 28 12:42:48 well i have two pictures Jul 28 12:42:50 https://ircsex.de/openwrt/linksys-wag54g2-board.png Jul 28 12:43:00 https://ircsex.de/openwrt/linksys-wag54g2-console.png Jul 28 12:44:01 <[florian]> Babyface: can we easily buy that unit? Jul 28 12:44:27 yes, from cisco or linksys, moment Jul 28 12:44:40 https://ircsex.de/openwrt/linksys-wag54g2-bootlog.txt that is the bootlog Jul 28 12:44:42 <[florian]> Babyface: ok Jul 28 12:45:28 http://www.linksysbycisco.com/US/en/support/WAG54G2 thats exactly my device Jul 28 12:45:32 <[florian]> Babyface: do you have a link to the gpl tarball? Jul 28 12:45:34 <[florian]> thanks Jul 28 12:45:49 moment yes Jul 28 12:46:15 http://downloads.linksysbycisco.com/downloads/WAG54G2_GPL_v1.00.17_AnnexB.tar.gz Jul 28 12:46:21 or use AnnexA Jul 28 12:46:23 <[florian]> thanks Jul 28 12:46:46 well later this evening, i just want to test if netboot will work Jul 28 12:47:11 <[florian]> Babyface: you managed to get openwrt build your firmware already? Jul 28 12:47:37 openwrt in general or for that particular device? :) Jul 28 12:48:04 <[florian]> for that particular device Jul 28 12:49:08 no not yet, I want to start this, with netboot i want to test if it will boot a kernel from the original firmware (just for testing) Jul 28 12:49:33 i haven't found any useful information on Solos 461x PP boot v1.5 Jul 28 12:49:36 <[florian]> sure Jul 28 13:43:17 xMff yeah, now even menuconfig isn't running anymore.... Jul 28 13:44:11 ok. rm -rf .config* tmp/ fixed it Jul 28 15:12:32 Dogge_: I take back my comment about atheros trunk, one should look for ip address conflicts ;) works flawless here Jul 28 15:24:29 :) Jul 28 15:28:43 xMff $(SED) 's,-L$$$$libdir,,g' $(1)/usr/bin/apr-1-config Jul 28 15:28:56 xMff this works from the openwrt makefile but not from the command line Jul 28 15:29:14 <[florian]> sed and libdir are variables Jul 28 15:29:16 xMff do you know what i should replace $$$$ with on the command line? Jul 28 15:29:20 <[florian]> $libdir Jul 28 15:29:59 from within the openwrt makefile it does: Jul 28 15:30:03 -flags="$flags -L$libdir -l${APR_LIBNAME}" Jul 28 15:30:13 +flags="$flags -l${APR_LIBNAME}" Jul 28 15:30:56 ta [florian] Jul 28 15:33:58 ah. okie :) Jul 28 15:36:51 Dogge_: literal "$" signs are escaped as "$$" in Makefiles Jul 28 16:10:40 hello, anyone know if va_list macros in "c" have some issues? Jul 28 16:11:04 <[florian]> it can easily blow up your stack Jul 28 16:12:25 thanks, [florian], that it's what happend, so what is an alternative? Jul 28 16:13:17 <[florian]> fofware: using it to implement a vsnprintf or similar? Jul 28 16:15:44 I'm using to implement vstrcat, is like strcat but for a list of string and allocate memory for resutl string Jul 28 16:17:08 and some times works and others givme sementation fault after read last string in list Jul 28 16:17:36 <[florian]> if you do not have an implementation flaw it is likely to be having issues with the stack Jul 28 16:19:21 just out of curiousity, is openwrt running on sheeva plugs already? Jul 28 16:19:38 2 days ago was working, but now work only with 3 string in list Jul 28 16:19:42 phaidros: yes Jul 28 16:20:11 nice :) Jul 28 16:20:19 any pointers to docs already? Jul 28 16:20:46 phaidros: openwrt->no docs Jul 28 16:20:47 :) Jul 28 16:20:50 <[florian]> fofware: do you have profiler/debugging tools to see what is happening? Jul 28 16:21:12 blogic: heh, so where do you it from? Jul 28 16:21:16 [florian]: http://openwrt.pastebin.com/m5067673e Jul 28 16:21:22 phaidros: tail&error Jul 28 16:21:24 phaidros: hi Jul 28 16:21:29 hi danage Jul 28 16:22:04 blogic: so you got it booting? Jul 28 16:22:09 <[florian]> danage: \o/ \o/ Jul 28 16:22:17 I LIKE Jul 28 16:22:32 <[florian]>hmmm, no Jul 28 16:23:08 [florian]: can i haz eth??? Jul 28 16:23:11 :) Jul 28 16:23:44 phaidros: yes Jul 28 16:26:19 phaidros: just build the kirkwood target and try to execute it from an sd-card Jul 28 16:26:30 [florian]: it seems flakey. it just rebooted Jul 28 16:26:41 <[florian]> danage: that's the watchdog probably Jul 28 16:27:03 lemme know if you want me to fetch any kind of debug info Jul 28 16:27:20 xMff: thanx Jul 28 16:27:31 phaidros: any wiki comments? Jul 28 16:27:43 [florian]: it hangs now... Jul 28 16:27:44 <[florian]> danage: should be fine for the moment Jul 28 16:27:57 danage: looks fantastic! Lots of good efforts flowing in atm Jul 28 16:28:09 yeah esp. Bartman007 and his toh efforts Jul 28 16:28:13 <[florian]> danage: could you disable the watchdog in the kernel configuration and recompile? Jul 28 16:28:13 ack Jul 28 16:28:32 so, i try the kirkwood target now Jul 28 16:28:40 [florian]: yeah it hangs, then after couple seconds reboots Jul 28 16:28:53 <[florian]> oh ok, could very well be the watchdog then Jul 28 16:29:21 [florian]: congrats :) Jul 28 16:30:00 <[florian]> danage: was this the watchdog or? Jul 28 16:30:13 how do you mean? Jul 28 16:30:56 <[florian]> I thought you were super quick and rebuilt a kernel with the watchdog disabled, so the board did not rebooted this time and you would tell me this was the issue :p Jul 28 16:31:08 hehehhehe Jul 28 16:31:21 well i wasn't, but let me check Jul 28 16:31:42 i'm on my faster computer today too, so it should be quick. do i make clean? Jul 28 16:32:08 <[florian]> there are the sorces http://openwrt.pastebin.com/dae55d58 I did remove the free() sentences in server_socket Jul 28 16:33:27 [florian]: where's the watchdog? Jul 28 16:34:03 <[florian]> danage: drivers -> Watchdog Jul 28 16:34:20 should i deactivate network device support Jul 28 16:34:59 <[florian]> no Jul 28 16:35:14 <[florian]> I will be leaving in a couple of minutes Jul 28 16:35:23 * danage hurrying Jul 28 16:52:49 [florian]: looking good so far but i gotta wait couple minutes Jul 28 16:53:45 [florian]: nah it's still b0rked Jul 28 16:53:55 [florian]: sometimes commands don't do anything Jul 28 17:18:52 hi when compiling kamikaze release 8.09.1 with patch for supporing wrt160n I get http://pastebin.com/d13571747 any idea? Jul 28 17:20:59 compile trunk Jul 28 17:21:58 I will try that Jul 28 18:33:57 <[Fate]> as long as I do not use "make kernel_menuconfig", saving the .config will suffice to backup a particular openwrt config, right? Jul 28 18:34:11 right Jul 28 18:34:28 well the feeds state is not saved Jul 28 18:34:40 <[Fate]> what when I do "make kernel_menuconfig", do I have to manually backup build_dir/linux-x86-generic/linux-2.*/.config or can it be appended/referenced by the top-level .config in some way? Jul 28 18:37:55 the config in target/linux/platform/config-vernum is updated after kernel_menuconfig Jul 28 18:38:17 so I think it's sufficiant to backup that Jul 28 18:42:33 <[Fate]> ah I see. thx. Jul 28 19:00:01 I guess I get a good way to control va_list, my solutions is check if the value of pointer is 0xFFFFFFFF and not if it's NULL Jul 28 19:14:23 I get fatal: You must specify a repository to clone. when trying to compile trunk Jul 28 19:14:33 is this expected? Jul 28 20:31:02 <[florian]> danage: saw your messages Jul 28 20:47:37 hi everyone Jul 28 21:04:44 Why doesn't this create a WEP network (it creates an open network): http://pastebin.org/4919 Jul 28 21:08:57 <[florian]> s/key1/key/ Jul 28 21:09:06 <[florian]> I know it should be able to support different key indexes Jul 28 21:09:14 <[florian]> but last I tried it did not Jul 28 21:10:22 huh? All docs on the net say we need key1 Jul 28 21:10:46 [florian]: madwifi supports the key syntax mb__ used last time I checked, (which I admit was probably dec 08) is this mac80211 specific? Jul 28 21:11:20 <[florian]> Bartman007: I think so Jul 28 21:12:28 [florian]: no luck http://pastebin.org/4921 Jul 28 21:12:33 * Bartman007 looks at the respective config scripts. Jul 28 21:12:42 <[florian]> the key index should be parsed correctly Jul 28 21:12:43 <[florian]> the Jul 28 21:12:52 <[florian]> script is doing things the proper way imho Jul 28 21:12:59 <[florian]> might be a wext/mac80211 bug Jul 28 21:13:12 K, I'll flash kamikaze Jul 28 21:13:20 mb__: wait Jul 28 21:13:32 can you capture the output of `sh -x /sbin/wifi' ? Jul 28 21:13:53 (it will be quite large) Jul 28 21:14:06 uhm, any idea how to do that over serial console? Jul 28 21:14:35 <[florian]> minicom -> log to a file Jul 28 21:14:40 <[florian]> ctrl+a l Jul 28 21:16:03 screen -> ctrl-a H Jul 28 21:16:15 <[florian]> works too :p Jul 28 21:16:23 I dunno how minicom works at all. Any way to do it with picocom? Jul 28 21:16:36 picocom can't log IIRC. Jul 28 21:16:54 I've tried to find such a feature before, but that's what makes it pico :) Jul 28 21:18:04 so how does minicom work? I'm not going to read docs now :) Jul 28 21:19:48 mb@homer:~$ minicom Jul 28 21:19:50 minicom: cannot open /dev/tty8: Permission denied Jul 28 21:19:57 minicom is just weird and bloated Jul 28 21:22:12 mb__: screen /dev/tty8 Jul 28 21:22:58 Ok, that works. How to dump, loswillios? Jul 28 21:23:08 ctrl-a H Jul 28 21:23:25 and again, to close the log Jul 28 21:25:17 that doesn't work. It just dumps the screen. Jul 28 21:26:03 ctrl-a ? then Jul 28 21:26:13 look for the "log" option Jul 28 21:27:22 ah it's uppercase H Jul 28 21:27:46 that's what he said :) Jul 28 21:28:12 http://pastebin.org/4924 Jul 28 21:31:57 [florian]: so what do you think could be the reason Jul 28 21:32:53 <[florian]> danage: Jul 28 21:33:05 <[florian]> danage: sorry, no idea yet Jul 28 21:33:42 [florian]: it's reall flakey. sometimes doesn't respond to keypresses Jul 28 21:33:45 ok nice. Kamikaze works :) Jul 28 21:33:58 <[florian]> danage: then it could be an issue with the uart Jul 28 21:34:07 and crashas about a minute into the boot. is there a way to do diagnosis? Jul 28 21:34:26 mb__: it runs `iwconfig wlan0 enc 112233445566778899AABBCCDD' Jul 28 21:35:06 but the device doesn't like `iwconfig wlan0 essid weptest' (see line 1674) Jul 28 21:37:29 so you think it's a kernel bug? Jul 28 21:38:33 Bartman007: xMff: what do you think about grouping doc: into howto (instruction manual) and techref (technical reference) - the latter being something along the lines of linux manpages? also, would it make sense to create a third category called "packages" Jul 28 21:38:38 I don't know. my knee jerk reaction is to blame compat-wireless, but I don't have time to regress the issue Jul 28 21:38:51 k Jul 28 21:39:14 mb__: my opionion is a rather uneducated one too, don't trust it :) Jul 28 21:39:40 I haven't touched mac80211 drivers in a while, I really need to though... Jul 28 21:39:44 yeah well, kamikaze works for me. That's fine. I just need a stupid AP for client testing :) Jul 28 21:41:04 danage: fine with me Jul 28 21:42:35 danage: I don't have a problem with that idea. Jul 28 21:42:53 trying to bring some structure Jul 28 21:48:40 [florian]: when the watchdog is disabled, it will simply crash after a minute or so, when it's on, it will reboot at that time Jul 28 22:33:08 i successfully damaged my usb port :) Jul 28 22:33:17 http://spring.pastebin.com/m528973ac Jul 28 22:33:22 ohh sorry wrong chan Jul 28 22:38:56 blogic: how did you make the kirkwoo ext2 image? Jul 28 22:39:02 kirkwood Jul 28 22:43:50 and how did you make it boot? Jul 29 01:07:00 is 106F here, my gateway box just said "too effing hot!" Jul 29 01:13:55 russell--: hmm.. not surprised. **** ENDING LOGGING AT Wed Jul 29 02:59:57 2009