**** BEGIN LOGGING AT Sun Jun 21 03:00:04 2009 Jun 21 07:28:23 does anybody knows which version of the 2.6.29 kernel is supported? 2.6.29.5 is not working (patches are not updated) Jun 21 10:39:56 florian * r16524 /packages/net/btpd/ (Makefile files/btpd.config files/btpd.init): [package] add startup script and sample uci configuration file (#5329) Jun 21 10:47:27 florian * r16525 /packages/libs/libconfig/Makefile: [package] update libconfig to 1.3.2 (#5386) Jun 21 10:56:20 florian * r16526 /packages/libs/libdaemon/Makefile: [package] update libdaemon to 0.13 (#5387) Jun 21 11:00:13 florian * r16527 /packages/net/tsocks/Makefile: [package] update tsocks to 1.8 final and make it compile again (#5388) Jun 21 11:13:23 florian * r16528 /packages/mail/xmail/Makefile: [package] update xmail to 1.26pre06 (#5389) Jun 21 11:20:01 florian * r16529 /packages/libs/libdnet/ (4 files in 2 dirs): [package] update libdnet to 1.11 (#5390) Jun 21 11:33:36 florian * r16530 /packages/libs/fftw3/ (Makefile patches/001-makefile.patch): [package] update fftw3 to 3.2.1 (#5391) Jun 21 12:50:16 mb * r16531 /packages/utils/ucmb/Makefile: Allow compilation on >=2.6.30 Jun 21 13:13:07 a few days ago I've submitted two new packages (jtg and mgen) but I've got no feedback on them (like if they can or cannot be accepted) Jun 21 13:14:37 hello every one Jun 21 13:15:17 nbd:ping Jun 21 13:26:39 mb * r16532 /packages/utils/ucmb/microcontroller_examples/atmel_avr8_optimized/ (ucmb.c ucmb.h): Update the optimized AVR8 example implementation. Jun 21 13:50:11 hamvil: strange Jun 21 14:05:47 danage: can you check them in? Jun 21 14:09:08 mb__ still not interested in fixing the mmc-over-gpio driver? Jun 21 14:09:29 Dogge: What do you mean by fixing? Jun 21 14:09:41 Dogge: Porting to the new spi-gpio driver? Jun 21 14:10:23 make it working again :) Jun 21 14:10:42 Who broke it? Jun 21 14:10:52 no idea Jun 21 14:11:28 svn blame Jun 21 14:11:56 last time I tested it, it worked. Jun 21 14:12:58 mb__ can you please write to the forum what you did to get it working? for lots of users it's not working. just take a look at the forum Jun 21 14:13:22 I compiled it and set the right config options. Jun 21 14:13:37 hamvil: /me no dev, sorry Jun 21 14:14:31 please post your working config options to the forum Jun 21 14:14:48 The config is device specific. That won't help anybody Jun 21 14:15:10 bad Jun 21 14:16:12 :( Jun 21 14:31:11 florian * r16533 /packages/libs/ (4 files in 3 dirs): [package] update libdvbpsi to 0.1.6, move to libdvbpsi (#5392) Jun 21 14:36:46 florian * r16534 /packages/libs/libelf/Makefile: [package] update libelf to 0.8.11 (#5393) Jun 21 14:38:16 juhosg * r16535 /trunk/package/mac80211/ (Makefile patches/201-ath5k-WAR-for-AR71xx-PCI-bug.patch): [package] mac80211/ath5k: add workaround for the AR71xx PCI bug Jun 21 15:51:42 Ok, I tested mmc on trunk and it works properly. Jun 21 16:09:23 lars * r16536 /feeds/phone/fso-frameworkd/patches/020-fix-paths.patch: Add device paths from newer kernel versions. Jun 21 18:32:02 nbd: ping Jun 21 18:32:08 kaloz * r16537 /trunk/target/linux/generic-2.6/patches-2.6.25/ (150-netfilter_imq.patch 190-netfilter_rtsp.patch): refresh 2.6.25 patches Jun 21 18:34:08 kaloz * r16538 /trunk/ (17 files in 10 dirs): add preliminary coldfire v4e support Jun 21 18:34:47 phaidros: hi. work on the wiki to be done? what was the next template we decided would be important to create Jun 21 19:30:58 danage: dunno, lets ave a look at the todo in meta :) Jun 21 21:43:15 nbd: ping Jun 21 21:49:02 does anybody has openwrt-root's running within a xen-instance? Jun 21 21:49:37 not the openwrt-buildroot - but a running openwrt Jun 21 22:28:51 mirko: yes Jun 21 22:29:36 you want to route virtual packets? Jun 21 22:43:26 hi, Jun 21 22:43:57 is pppd supposed to set the dns entry in the uci database? Jun 21 22:44:59 so that it is visible if I run: uci -p /var/state/ show network.umts Jun 21 22:50:06 mirko: yes, we have Jun 21 22:56:51 xMff: phaidros: is there anything to mind to setup such openwrt-vm's? Jun 21 23:02:11 hamvil1: yes Jun 21 23:02:27 mirko: wait a sec, I'll just write it down somewhere .. Jun 21 23:02:44 xMff: it doesn't Jun 21 23:07:21 which script should set the dns in the uci db? Jun 21 23:17:36 /lib/network/ppp.sh or /lib/network/3g.sh or sth. similar Jun 21 23:23:47 mirko: http://forkbomb.dadacafe.org/blog/OpenWrt_as_Xen_instance/ Jun 21 23:24:11 hth Jun 21 23:36:59 xMff: what can be happend I get error 'Segmentation fault' in this line 'ptr->package = strsep(&str, ".");' this is part of util.c of libuci Jun 21 23:43:09 phaidros: thanks a lot! :) Jun 22 00:12:30 fofware, on possibility is that ptr is null Jun 22 00:14:26 previous line is memset(ptr, 0, sizeof(struct uci_ptr)); Jun 22 00:15:04 but only fail when str have "." the supposed separator Jun 22 00:15:44 * russell_ doesn't remember strsep semantics Jun 22 00:16:46 Function: char * strsep (char **string_ptr, const char *delimiter) Jun 22 00:16:49 Now i will try use strsep in other program, maybe I need include somethin more or other library Jun 22 00:18:23 where is ptr initialized? Jun 22 00:18:56 or, allocated, rather Jun 22 00:19:05 memset will initialize it, after a fashion Jun 22 00:19:24 this lines are in libuci, and are part of uci_parse_ptr function Jun 22 00:20:51 and uci_parse_ptr is called from uci_lookup_ptr, this functions is that I call in my program Jun 22 00:20:57 where does libuci come from? Jun 22 00:21:09 like, where in the tree does it live? Jun 22 00:21:53 ah, found it i think Jun 22 00:22:55 libuci is part of openwrt, /lib/libuci.so.0.7 Jun 22 00:23:26 the program call externall functions Jun 22 00:23:28 i found it in $(TOPDIR)/build_dir/target-mipsel_uClibc-0.9.30.1/uci-0.7.5 Jun 22 00:23:36 yes Jun 22 00:24:47 this lines are in utlil.c Jun 22 00:25:32 you need to have allocated a struct uci_ptr for ptr in your program Jun 22 00:25:38 but all work because cli.c use the same functions and work Jun 22 00:25:46 check that ptr != NULL Jun 22 00:25:59 yes Jun 22 00:26:09 I did that Jun 22 00:26:43 okay, then i'm out of guesses Jun 22 00:27:28 if I send in tuple str "network" everything work Jun 22 00:28:09 but If i send "network.lan" for example when call strsep Jun 22 00:28:36 givme a Segmentation fault Jun 22 00:30:36 I thinking is something wrong in my Makefile, missing library or something Jun 22 00:31:21 because cli is uci command line and it don't have problems Jun 22 00:47:31 yes I did use strsep in other program and I get the same error Jun 22 00:53:34 fofware, why not show how you are using it Jun 22 00:53:58 ok Jun 22 00:54:17 i will paste Jun 22 00:54:24 'cause you might be using it wrong. that's one of the possibilities, anyway. Jun 22 00:54:35 the other being that it's broken somehow. Jun 22 00:55:36 shure I did something wrong Jun 22 00:56:22 It's a long time i don't use "c" Jun 22 00:56:35 and never I did use gnu c Jun 22 00:59:00 http://openwrt.pastebin.com/d265aa26f this is the prog Jun 22 01:01:30 http://openwrt.pastebin.com/d63caa212 this is Makefile of program Jun 22 01:03:04 and Makefile of package http://openwrt.pastebin.com/d5ec7ea94 Jun 22 01:07:16 for kicks, try making the ptr a global variable and see if the segfault goes away. Jun 22 01:07:36 ok Jun 22 01:07:43 move line 36 to line 10 or something Jun 22 01:09:24 this definitio is a copy of use in cli of uci command line, but I will try Jun 22 01:11:39 compiling.... Jun 22 01:15:43 nope... same problem Segmentation fault Jun 22 01:16:41 I guess is something wrong in Makefiles Jun 22 01:49:14 hi, I found this channel reading a pdf...asking very advanced questions nobody could answer during more than 3 days in #openwrt is ok here? it's about the build process Jun 22 02:27:31 any shell-fm users around? Jun 22 02:28:20 it works!!!! it was the compiler obtimizations Jun 22 02:45:52 fofware, i'd think that a makefile problem would result in a link error or something, not a segfault while running Jun 22 02:54:48 you right, but the same functions and library work on uci and do strsep do not work on any that i do... so I guess is something I do wrong Jun 22 02:55:48 you right, but the same functions and library work on uci and strsep do not work on any that i do... so I guess is something I do wrong **** ENDING LOGGING AT Mon Jun 22 02:59:57 2009