**** BEGIN LOGGING AT Sun May 29 23:59:57 2005 May 30 00:05:18 morning, jf-work May 30 00:06:27 03jp30 * 10unslung/make/readline.mk: strip, remove static lib May 30 00:08:30 03jp30 * 10unslung/Makefile: promote freeradius May 30 00:11:29 jf-work, i've been working on porting packages to wiley. what was the problem with postgresql? it builds ok for me May 30 00:16:32 03jp30 * 10unslung/make/textutils.mk: strip textutils May 30 00:18:28 jp30: dunno. I did not test it. May 30 00:18:49 btw: samba relies on openldap which still doesn't build on wiley. May 30 00:20:15 and, more global question, some prerm calls /bin/killall. on wiley it is /sbin/killall. Could we put a PATH=/sbin:/bin in prerm and just call killall ? May 30 00:20:37 that sounds reasonable May 30 00:21:01 what's the status of ipkg? i don't think it's in the feed May 30 00:21:09 according to you, there is no problem defining PATH in either postinst or prerm ? May 30 00:21:39 I'v demote it since it causes a lot of trouble :( even on wiley May 30 00:22:41 re: PATH, the only danger i can think of is if you ran some daemon with a modified path, and it relied on it later May 30 00:23:16 re: ipkg, the other ipkg impls on wiley don't have update-alternatives, which is needed by coreutils and procps May 30 00:23:53 I may ask Oleg to push the last ipkg release on its own feeds May 30 00:23:59 i just fixed ipkg's update-alternatives, btw - it was causing attempts to modify /usr/lib/ipkg/... May 30 00:25:23 I did not understand well how ipkg works before pushing it. That was an error :( May 30 00:27:11 well, ipkg 0.99.148-4 is working happily on my wiley May 30 00:27:52 i see openldap doesn't much like uclibc May 30 00:27:53 it works on me too. the trouble was at install time where it kills ipkg.conf May 30 00:28:40 because it replaces the existing ipkg? May 30 00:29:09 openldap needs wchar_t. Oleg did not add wchar_t to uclibc and when I asked him to, he tried and got edges effects with it May 30 00:30:27 hmm... nasty May 30 00:31:01 how is your wiley ? I got a second one this last week-end May 30 00:31:28 trying to make WDS working over Radius 802.1x auth and still in trouble May 30 00:32:33 working nicely, it had the gx bootloader bug - i borrowed a windows laptop and fixed it today May 30 00:33:05 I did it too. Is there a way to check it has been fixed ? May 30 00:35:13 only sure way is to compare a version number stored in nvram with the ones oleg posted to the chupa forum. ... i've just got freeradius compiling for nslu2. it turns out to be sensitive to whether various sql impls are staged May 30 00:35:50 on the gx bug... if your gx only seems to have 16M, then you definitely have the bug May 30 00:36:16 dyoung had a gx that didn't have the memory problem, but still had the switch security problem May 30 00:36:52 got 32MB visible. Didn't know if I had the issue. So I did the bootloader upgrade May 30 00:37:43 but I really want to have both wiley talk over WDS with either WPA or 802.1x ... May 30 00:37:45 well, then you're ok. i'd have been reluctant to do the upgrade if i wasn't sure i had problems. "friends don't let friends burn bootloaders w/o jtag" and all that May 30 00:38:12 i haven't played with WDS yet May 30 00:41:45 oh, i should mention, about openldap - even if the wchar_t problem can be worked around, cross-compiling it doesn't produce a working binary, even for slug May 30 00:42:25 caplink811 and i sweated blood trying to make it cross-compile a few months ago May 30 00:42:37 are u sure ? I'have been reunning it for 1 mont on my slug May 30 00:42:58 :) May 30 00:43:31 it's natively compiled May 30 00:43:41 ah ok May 30 00:44:32 i take it there's no native compilation suite for wiley? crosstool doesn't seem to support mips very well May 30 00:45:50 there is some uclibc buildroot available. I did not investigate on it May 30 00:46:07 (coz we need a 0.9.19 uclibc which is pretty old May 30 00:51:07 jf-work, nice talking to you, i've gotta get some sleep now... catch you later. oh, and please do check with oleg about whether he can update ipkg to provide update-alternatives May 30 00:51:40 jp30: have a good night. I will drop a mail to Oleg May 30 00:51:56 oh, hey one other thing, have you used "make autoclean" yet? May 30 00:53:08 nop May 30 00:53:39 i think you might find it useful - it detects which packages have had their IPK_VERSIONs changed, and dircleans them May 30 00:54:04 now i really will go to sleep. 'nite May 30 01:40:05 wiley online. May 30 01:47:05 yeah... May 30 01:47:25 Just swapped out the WRT put wiley in place. May 30 01:47:33 seems to work okay. May 30 01:49:18 have you more than one AP in place ? May 30 01:50:21 yeah. May 30 01:50:34 not talking to each other though. May 30 01:50:36 good. WDS ? May 30 01:50:51 I could help you figure out WDS. May 30 01:51:00 I have a extra WRT now. :-) May 30 01:51:47 back in 5 min, gotta reboot it, turned off upnp. May 30 01:54:07 looks like it worked. May 30 01:58:02 Trying to setup WDS over WEP encryption and 802.1x authentication May 30 02:07:17 802.1x auth. with EAP/TLS works fine betwwen client and wiley but both wiley cannot talk May 30 02:10:00 Hmm May 30 02:10:21 Lemme check if I can configure this WRT to that level. May 30 02:23:41 how do you configure this on the wiley side? I cant seem do it through the webinterface May 30 02:24:13 (woth wep AND 802.1x May 30 02:24:14 ) May 30 02:26:11 wireless/.interface menu on the left May 30 02:26:32 you can then choose Radius with 802.1x as auth method May 30 02:26:42 and WEP as encryption May 30 02:38:18 what are you using for a radius server? May 30 02:39:53 to authenticate end user using a pki infrastructure May 30 02:40:23 yes, but I meant what program or device are you using as the radius server? May 30 02:40:32 wiley May 30 02:40:45 plus freeradius May 30 02:40:49 Ah, okay. May 30 02:41:03 I dunno how freeradius works... yet. May 30 03:00:58 Hmm, I havnt some issues with making the WRT talk to the Wiley with WEP only. May 30 03:01:04 so maybe I cant help you. May 30 03:01:15 or maybe I'm just not lickin it right. May 30 03:01:31 did you setup wds between the two ? May 30 03:05:54 set a common encryption key, ssid, set the farside macs, and told them to do it. May 30 03:06:32 wep or wpa-psk ? May 30 03:08:37 right now just wep/ May 30 03:08:49 with shared keys May 30 03:09:14 I have to admit though, I have only played with this once before, and it was with two identical units, so it was easy. May 30 03:09:54 and the did not talk each others... I assume your using hexa keys, not passphrases May 30 03:11:11 yeah. May 30 03:11:20 passphrases can bite me. :-) May 30 03:19:11 got my zd1211 wlan usb dongle today May 30 03:22:14 module build under Ubuntu. now to try and put it in OE May 30 03:22:36 going to use dyoung's pwc module as a template May 30 03:22:43 but must eat first ... May 30 03:26:51 Cool. May 30 03:26:54 what is this sd1211? May 30 03:26:56 zd1211 ? May 30 03:27:02 wireless thingee eh? May 30 03:27:26 yep - cheap wireless interface for the slug May 30 03:27:34 USD$26 May 30 03:27:51 I got a more stylish, but more expensive version :-) May 30 03:27:57 I should probably buy one. May 30 03:28:08 since my Netgear WG111 seems hopeless. May 30 03:28:40 jf-work, I think I'm gonna give up on WDS for today. May 30 03:28:55 since I obviously dont know what the * I'm doing. May 30 03:29:29 dyoung : I don't know either, but I want it to work May 30 03:29:54 T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 6 Spd=480 MxCh= 0 May 30 03:29:54 D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 May 30 03:29:54 P: Vendor=6891 ProdID=a727 Rev=43.30 May 30 03:29:54 S: Manufacturer=3COM May 30 03:29:54 S: Product=3CRUSB10075 May 30 03:29:55 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA May 30 03:29:57 I: If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) May 30 03:29:59 E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms May 30 03:30:01 E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms May 30 03:30:03 E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=125us May 30 03:30:05 E: Ad=04(O) Atr=03(Int.) MxPS= 64 Ivl=125us May 30 03:30:14 that's the /proc/bus/usb/devices content for it, installed on AccessSlug (OpenSlug) May 30 03:30:23 so it passes the smoke test ... May 30 03:30:42 jf-work, I'll look at tommrow with a clear mind. I'm sure I've missed something obvious. May 30 03:33:07 rwhitby-away, does its driver have a host mode too? May 30 03:35:41 dyoung: I know nothing about it May 30 03:38:49 how would you tell? May 30 03:43:00 hmm, dunno. guess gotta read. But it would allow you to use it as a AP. May 30 03:48:12 would that be part of the usb key, or host software on the linux box? May 30 03:48:55 part of the driver. May 30 03:49:08 the hdriver would need to know how to put it into that mode. May 30 03:53:57 the zd1205.c code has IW_MODE_ADHOC, IW_MODE_INFRA and IW_MODE_MASTER (which is the AP mode) May 30 03:55:09 so looks like it does support that May 30 03:56:52 yep that all looks sorta famliiar. May 30 03:56:56 Cool! May 30 03:57:20 I can use one of these with AccessSlug and eliminte a AP/ May 30 03:59:18 I would be very pleased to have a kernel module developer of your calibre on the case too :-) May 30 03:59:52 heh, I was hoping you would just do it and I would just use it. ;-) May 30 04:00:50 hmm - I just build infrastructure and wait for others to do the work. Looks like we need a third person to actually do the work for us .... May 30 04:00:54 I'm sure it will be a easy adaptation to OE. May 30 04:01:12 Yeah, I've inherieted some rwhitby qualities. May 30 04:01:37 Okay point me to the source. May 30 04:01:55 zd1211.sf.net May 30 04:02:08 inheriting rwhitby qualities can't be a good thing .... May 30 04:02:51 Please tell me your initial target is openslug. May 30 04:03:04 yep May 30 04:03:33 ok I'll do it. May 30 04:03:40 well lookat it at least. May 30 04:04:04 but the source has 2.4 kernel support too, so I might want Unslung too ... May 30 04:19:39 parsing May 30 04:20:41 have you written the .bb file already? May 30 04:21:06 * rwhitby-away is still getting his openslug environment back in shape so he can build pwc ... May 30 04:24:25 Bah. I need the new bitbake and berlios is down. May 30 04:24:43 it's on nudi May 30 04:25:05 ~rwhitby/openslug probably May 30 04:25:48 make that /home/openslug May 30 04:26:17 ok May 30 04:26:20 are you sure berlios is down? I got something from it just 10 minutes ago May 30 04:26:32 "connection refused" May 30 04:26:54 svn.berlios.de ? May 30 04:27:24 svn+ssh May 30 04:34:05 Ok, maybe I'm using the wrong url? May 30 04:34:08 what is the bitbake url? May 30 04:34:11 ~bitbake May 30 04:34:29 well, bitbake is a simple tool for the execution of tasks. It is derived from Portage, which is the package management system used by the Gentoo Linux distribution. It is most commonly used to build packages, and is used as the basis of the OpenEmbedded project. See http://developer.berlios.de/projects/bitbake/ and http://openembedded.org/. May 30 04:41:20 okay pilfered it from nudi. May 30 04:41:26 bitbaking again. May 30 04:45:52 guess its been a while, gotta rebuild a pile of stuffs. May 30 04:47:16 summary inspection seems to indicate that its written endian agnostic. May 30 05:12:43 some guy on the mailing list says he's got it to work in Unslung May 30 05:16:22 I'm having pebkac right now. May 30 05:35:09 Ah hell. May 30 05:35:22 this will compile but I think I'm gonna have to finish it up tommrow. May 30 05:35:36 the Makefile needs patching beyond what I want to do right now. May 30 05:35:49 you can wait that long right? ;-) May 30 05:36:15 if you cant, I'll push the busted one adn someone can fix it. May 30 05:36:28 I'd ratner not push broke stuff tnough May 30 05:46:20 I'm in no hurry May 30 05:46:28 too late I think I just finished it. May 30 05:46:30 heh May 30 05:49:43 03dyoung 07 * r1.3374.1.1 10openembedded/packages/zd1211/ (zd1211_20050315.bb zd1211-20050315/Makefile.patch): Add zd1211 family of wireless usb dongle drivers May 30 05:50:02 Totally untested. May 30 05:50:17 I think it already has the endian patch in it though. May 30 05:50:51 rwhitby-away, if you can modprobe / insmod it and it doesnt crash on load, the patches are in. May 30 05:51:59 (I cheated on the makefile patch) May 30 05:53:20 pulling now May 30 05:54:21 dyoung has the potential of being the MAN here ..... May 30 05:59:54 I'm still thinking about how to make it work under unslung. May 30 05:59:57 Makefile.patch didn't apply May 30 06:00:22 okay lemme look May 30 06:01:00 DOS file May 30 06:01:29 it applied for me from a cleaned build. May 30 06:02:29 strange. it was made in linux... May 30 06:02:39 I wonder why it thinks its a dos file. May 30 06:02:46 the Makefile has DOS line endings May 30 06:03:22 do you have a easy fix for that? May 30 06:04:03 cuz it works for me so I will have a hard time to diagnose/fix it... May 30 06:05:56 03rwhitby 07 * r1.3378 10openembedded/packages/zd1211/zd1211-20050315/Makefile.patch: Added DOS line endings to the zd1211 Makefile patch May 30 06:06:04 done May 30 06:06:08 ta. May 30 06:07:31 so does it load/work? May 30 06:09:03 May 31 16:56:48 access user.notice kernel: zd1211 - version 5000 May 30 06:09:03 May 31 16:56:48 access user.notice kernel: Release Ver = 3043 May 30 06:09:03 May 31 16:56:48 access user.notice kernel: EEPORM Ver = 4330 May 30 06:09:03 May 31 16:56:49 access user.warn kernel: usb 1-2.1: insmod timed out on ep0out May 30 06:09:03 May 31 16:56:49 access user.err kernel: zd1211: usb_control_msg 1 fail: FFFFFF92 May 30 06:09:05 May 31 16:56:49 access user.err kernel: zd1211_Download_IncludeFile failed May 30 06:09:06 May 31 16:56:49 access user.warn kernel: zd1211: probe of 1-2.1:1.0 failed with error -5 May 30 06:09:08 May 31 16:56:49 access user.info kernel: usbcore: registered new driver zd1211 May 30 06:09:29 haha in a strange twist of irony, the patch doesnt apply for me now. May 30 06:11:18 May 31 16:59:05 access user.info kernel: usbcore: deregistering driver zd1211 May 30 06:11:18 May 31 16:59:18 access user.notice kernel: zd1211 - version 5000 May 30 06:11:18 May 31 16:59:18 access user.notice kernel: Release Ver = 3043 May 30 06:11:18 May 31 16:59:18 access user.notice kernel: EEPORM Ver = 4330 May 30 06:11:19 May 31 16:59:19 access user.warn kernel: usb 1-2.1: insmod timed out on ep0out May 30 06:11:19 May 31 16:59:19 access user.err kernel: zd1211: usb_control_msg 1 fail: FFFFFF92 May 30 06:11:21 May 31 16:59:20 access user.warn kernel: usb 1-2.1: insmod timed out on ep0out May 30 06:11:23 May 31 16:59:20 access user.err kernel: zd1211: usb_control_msg 1 fail: FFFFFF92 May 30 06:11:25 May 31 16:59:20 access user.err kernel: zd1211_Download_IncludeFile failed May 30 06:11:27 May 31 16:59:20 access user.warn kernel: zd1211: probe of 1-2.1:1.0 failed with error -5 May 30 06:11:29 May 31 16:59:20 access user.info kernel: usbcore: registered new driver zd1211 May 30 06:11:31 repeatable May 30 06:11:47 and lsmod doesnt show its there? May 30 06:11:55 yeah, lsmod shows it there May 30 06:12:18 Module Size Used by May 30 06:12:18 zd1211 197936 0 May 30 06:12:41 http://sourceforge.net/tracker/index.php?func=detail&aid=1154655&group_id=129083&atid=713756 May 30 06:13:08 thats the extent of what I know about the BE patch. May 30 06:13:46 same here May 30 06:13:58 so it doesnt quite work then? May 30 06:14:06 like you cant iwconfig it? May 30 06:14:20 (do we even have iwconfig?) May 30 06:16:47 dunno May 30 06:17:03 * rwhitby-away has no idea about this stuff, and wonders why he even bought the thing :-) May 30 06:18:23 if you ifconfig, does it show up? May 30 06:18:31 nope May 30 06:18:43 ok its probably busted then. May 30 06:19:10 oh well, valiant attempt. May 30 06:19:12 :-) May 30 06:19:24 it's there now - someone will fix it :-) May 30 06:19:27 I guess now its time to bug pjstewart about it. May 30 06:19:51 I'll be more interested when I have one. May 30 06:19:52 I just sent him an email to the sf.net account May 30 06:20:00 Cool. May 30 06:29:51 hopefully someone can fix it. May 30 06:30:17 yep May 30 06:30:46 ~emulate rwhitby May 30 06:30:48 Another Satisfied Customer! May 30 06:30:59 not that one! May 30 06:31:01 ~emulate rwhitby May 30 06:31:03 Well, my work here is done. May 30 06:33:52 dyoung-zzzz: thx for the effort May 30 06:34:08 np. May 30 06:37:00 hi May 30 06:38:41 i installed samba-3.14a and smbclient needs libreadline.so.5, which package is providing that library? May 30 06:41:58 readline ? May 30 06:48:07 smbclient: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory May 30 06:48:43 ah, there is a package readline available May 30 06:48:58 sorry, I should have been clearer May 30 06:49:06 yep, try to install readline optware May 30 06:49:16 hmm, perhaps somebody can insert the dep into the samba package May 30 06:51:35 sure May 30 06:51:40 03jeanfabrice * 10unslung/make/samba.mk: Added readline dependency May 30 06:53:54 thx May 30 06:53:57 :) May 30 06:54:54 np May 30 06:55:37 hmm, if i want to add libnss-ldap support to the nslu2 is it enough to build the package and configure the files in /opt/etc/ldap.conf and /opt/etc/ldap.secret? May 30 06:55:53 i changed /etc/nsswitch.conf too May 30 06:56:11 should the machine look for nsslib-ldap.so in /opt/lib? May 30 06:56:20 03jeanfabrice * 10unslung/Makefile: Demote samba for wiley as it depends on openldap May 30 06:57:32 shared libs have to go in /opt/lib, yes May 30 06:57:53 if that was your question May 30 07:03:30 and it will be found by the system there? libnss_dns and libnss_files are in /lib May 30 07:15:37 afaik, optawre also look for shared lib in /opt/lib, so yes May 30 07:18:14 hmm, ok, its not working here, grr, why software cannot only work? :/ May 30 07:19:40 open("/lib/libnss_ldap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) May 30 07:19:40 open("/lib/libnss_files.so.2", O_RDONLY) = 3 May 30 07:19:52 hmm, it looks in /lib instead of /opt/lib it seems May 30 07:20:30 is it openldap taht looks in /lib ? May 30 07:20:57 i dont think so because libnss_ldap will be called before the ldap connect will be done May 30 07:21:23 what did you strace ? May 30 07:21:33 a simple ls -l /root/x May 30 07:22:40 if i link /opt/lib/libnss_ldap-2.3.2.so -> /lib/libnss_ldap.so.2 the call need some time so i think the ldap call will be done May 30 07:26:11 hi, when i try to follow http://www.nslu2-linux.org/wiki/Puppy/BuildingPuppy I noticed that "make toolchain" fails right at the beginning - complaining about an directory not existing (because not created before), building the toolchain using "make puppy-ipk" seems to work, so i believe that there could be an error in the "toolchain" only-Makefile. Can anyone verify this? May 30 07:27:04 did you 'make directories' ? May 30 07:27:50 (even if I dunno anything on "building for slug") May 30 07:27:51 hmm, if i link to /lib it ask my server, there is ldap traffic between nslu2 and the server May 30 07:28:52 now the first question is, why it's not working if the lib is in /opt/lib and second why there is no result if i link to /lib (thats a problem with my installation here i think) May 30 07:29:24 mr_claus, you are having trouble building with the unslung build system? May 30 07:29:27 jp30 question :) May 30 07:29:36 hi jf-lunch :) May 30 07:29:52 jp30: hi, i try to integrate libnss-ldap May 30 07:30:28 mr_claus, that's a package seperate from openldap? May 30 07:31:02 jp30: yes, it's a libnss_ldap-2.3.2.so which is in /lib and will be called like libnss_files or libnss_dns May 30 07:31:18 jp30: it will be activated witn /etc/nsswitch.conf May 30 07:32:11 jp30: openldap itself only serve the ldap service but it doesn't really help to use samba with ldap because the filesystem need informations of ldap too May 30 07:32:54 jp30: what i want to do is to integrate the nslu2 into a pdc structure accross vpn and the ldap server is installed at the pdc May 30 07:33:25 does libnss_ldap actually need to be in /lib? May 30 07:33:27 jp30: now i can use that pdc to authenticate but to store files with the right permissions i need ldap informations on my nslu2 May 30 07:33:49 jp30: i think libc is looking only in /lib for libnss libs perhaps May 30 07:34:04 open("/lib/libnss_ldap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) May 30 07:34:04 open("/lib/libnss_files.so.2", O_RDONLY) = 3 May 30 07:34:27 i see... this looks like a similar job to gconv_modules May 30 07:34:58 have you looked at the glibc sources to check that this can't be configured anywhere? May 30 07:35:10 not there a two ways to solve, 1. let libc look into /opt/lib or 2. use a postinst script to link the lib into /lib May 30 07:35:34 (2) is what i did with gconv-modules May 30 07:35:44 (1) might be better if it can be done May 30 07:35:57 yes but whats happening if you upgrade your base system? you will be missing that links i think May 30 07:36:23 you use a startup script to put the link in again if it doesn't exist on every startup May 30 07:36:56 so the postinst script should add that information to a list of links which should be checked at startup? May 30 07:37:17 that would be the quick way i think May 30 07:37:39 this is the content of gconv-modules' postinst: May 30 07:37:50 i never looked into glibc, most of the time i worked with uclibc because glibc is a code monster May 30 07:37:50 #!/bin/sh May 30 07:37:51 ### establish a symlink to missing glibc bits May 30 07:37:51 test -e /lib/gconv || ln -sf /opt/lib/gconv /lib May 30 07:38:17 it also copies the same file to /opt/etc/init.d/SXXgconv May 30 07:38:46 jp30: ok, thats dirty but it will work :) May 30 07:38:55 well, libc on unslung is glibc, no changing that May 30 07:39:00 jp30: so you dont like to look into glibc too? :) May 30 07:39:30 glibc source is not great bedtime reading May 30 07:39:39 hehe May 30 07:40:08 jf-away, do you have a minute before you become really -away? May 30 07:41:59 mr_claus, we should look at glibc before using the dirty method May 30 07:43:02 jp30: i think thats a very important thing because all libs which are not basic unslung are going to /opt/lib May 30 07:43:36 whats with /etc/ld.so.conf? May 30 07:43:55 i will try to create the file and see whats happening May 30 07:44:32 it's important not to install anything outside /opt. manipulating outside /opt runtime is different May 30 07:44:43 with /etc/ld.so.conf - there isn't one. is there? May 30 07:45:08 no there is none, but perhaps it would help to have that file May 30 07:46:25 i've not looked at this myself, but i believe that the lack of ld.so.conf and ldconfig is a linksys legacy issue, and can't easily be fixed without breaking linksys software May 30 07:46:33 firmware guys would know more May 30 07:47:32 ld.so.conf makes no sense without ldconfig, hmm, i compiled the toolchain but cannot find the glibc sources in my buildtree May 30 07:48:13 look in toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/glibc-2.2.5/nss May 30 07:48:58 i think the only way to configure glibc to look elsewhere for nss modules would be via ld.so.conf May 30 07:49:36 nsswitch.c line 340 is where it does the loading May 30 07:50:34 __libc_dlopen will be search different dirs i think May 30 07:52:23 looks like a neutral wrapper for dlopen to me: elf/dl-libc.c May 30 07:54:14 all it does is throw away errors so they don't confuse the application May 30 07:56:35 i think the right way is to use ld.so.conf May 30 07:57:13 well, that would be great if unslung had a working ldconfig May 30 07:57:41 we could try and see if there's one in the toolchain May 30 07:58:02 not there is none May 30 07:58:28 wrong, there is one May 30 07:58:42 ./armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/armv5b-softfloat-linux/sbin/ldconfig May 30 07:59:03 do you want to try copying it onto a slug and seeing what happens if you run it? May 30 07:59:14 yes of course May 30 07:59:19 just one moment .... May 30 08:00:12 ldconfig is 500kb May 30 08:01:58 ldconfi: Input file /lib/librt-2.2.5 not found. May 30 08:02:00 ...... May 30 08:02:05 ldconfi: Input file /lib/libixml. not found. May 30 08:02:05 Segmentation fault May 30 08:02:26 thats not a native file perhaps May 30 08:03:08 ldconfig isn't stripped - that's why it's 500k May 30 08:03:38 Program received signal SIGSEGV, Segmentation fault. May 30 08:03:38 0x00015ca8 in chunk_free () May 30 08:03:38 (gdb) bt May 30 08:03:38 #0 0x00015ca8 in chunk_free () May 30 08:03:38 #1 0x00015b6c in free () May 30 08:03:39 #2 0x0000979c in search_dir () May 30 08:03:41 #3 0x00009914 in search_dirs () May 30 08:03:43 #4 0x00009e50 in main () May 30 08:04:46 before we continue we should check if there is reason why ldconfig is not available in the firmware May 30 08:05:40 "it segfaults" is a reason i've heard. rwhitby and jacques might be good people to ask May 30 08:07:47 nothing to stop us looking more closely ourselves too May 30 08:09:07 ok, i will paste some interesting waste now May 30 08:09:23 -bash-2.05b# ./ldconfig --help May 30 08:09:23 Usag ldconfi [OPTION...] May 30 08:09:23 Configure Dynamic Linker Run Time Bindin May 30 08:09:23 -C CACH Use CACHE as cache f May 30 08:09:23 -f CONF Use CONF as configuration fi May 30 08:09:24 --form=FORM Format to use: new, old or compat (defau May 30 08:09:30 -n Only process directories specified on the command May 30 08:09:32 line. Don't build cac May 30 08:09:34 -N Don't build cach May 30 08:09:36 -p --print-ca Print ca May 30 08:09:38 -r ROOT Change to and use ROOT as root directory May 30 08:09:40 -v --verb Generate verbose message May 30 08:09:42 -X Don't generate links May 30 08:09:44 --help Give this help l May 30 08:09:46 --usag Give a short usage messa May 30 08:09:48 -V --vers Print program versio May 30 08:09:50 there are missing a lot of characters May 30 08:09:52 in every line May 30 08:09:55 perhaps its a conversion problem May 30 08:10:12 that does look rather garbled May 30 08:11:29 i've also heard that the version of glibc we're using doesn't make a working static libc. ldconfig is a static binary, ergo... May 30 08:11:35 http://www.nslu2-linux.org/wiki/Unslung/OEPackagesForUnslung May 30 08:11:40 The ldconfig executable built from OE segfaults on the slug (lots of package postinst scripts call ldconfig) May 30 08:12:44 debian sarge is using 2.3.2 too May 30 08:13:24 the static lib problem is an endian issue. debian arm is little endian May 30 08:14:26 ok May 30 08:14:56 i would like to see a ldconfig build with -g so we could get line numbers out of the gdb backtrace May 30 08:25:22 i dont know a lot about the buildsystem so it would be hard to change the flag at the right code part May 30 08:27:33 03g2 07 * r1.3380 10openembedded/conf/distro/openslug.conf: Add jbd kernel module becase ext3 turnup needs it May 30 08:27:36 03jbowler 07OpenSlug-1.20-pre1 * r1.3360 10openembedded/ (5 files in 4 dirs): May 30 08:27:36 Image description changes: packages not required for a May 30 08:27:36 bootable image have been moved to the openslug.conf May 30 08:27:36 file so that an image can be built without them (by May 30 08:27:36 overriding the OPENSLUG_EXTRA_RDEPENDS variable.) May 30 08:27:37 Image release name changed to 1.20-pre1 May 30 08:31:04 mr_claus, i'm looking at ldconfig now. i think it's safe to assume that if you want to get nss modules working with existing firmware, you'll need to use the kludgey method May 30 08:31:24 kludgey? May 30 08:34:20 i mean installing libnss_ldap in /opt/lib, and linking it to /lib in a startup script May 30 08:38:18 how much space is needed of a "make all" (all packages) within the unslung-CVS? May 30 08:42:40 jp30: ok, i will see to get libnss_ldap support running May 30 08:42:55 dzlabing, lots... May 30 08:45:07 this is a guesstimate, but it wouldn't try it without 5 gig to spare May 30 08:47:53 mr_claus, good luck with libnss_ldap May 30 08:48:46 i've got 30gig available, but in the meantime i failed on some not available servers, 100 bit/s internet does not necassary mean to have global connectivity... but it works, after updating my tar (yes, the suse9.0 tar is outdated...) May 30 08:55:30 dzlabing, if an sf.net server isn't available, interrupt and restart, it will pick a different server May 30 08:56:24 jp30: it's working May 30 08:56:48 jp30: slow but it's working, next step is to replicate the ldap part to the nslu2 May 30 08:57:24 jp30: would anybody be interested in the libnss-ldap.mk if i finished the packaging? May 30 08:57:47 if it works, then you should contribute it May 30 08:58:42 ok, i would send the file with email May 30 08:59:01 but i have to cleanup some things and integrate the dynamic linking May 30 09:01:35 jp30: will the binary available with the standard repository? May 30 09:04:16 damn, my flash is full! May 30 09:04:28 I'll have to clean up big time. May 30 09:04:34 mr_claus, post the .mk file to the yahoo list, and you will get cvs write access. then you can add it to cvs, and i will push it into the feeds if i can get it to work May 30 09:04:49 * VoodooZ_Work leaves for lunch... May 30 09:05:22 jp30: ok, i will do it if i finished it and if the file looks nice May 30 09:33:40 Is berlios down, or is it just this box? (Yes, my box is acting up a bit) May 30 09:37:28 03jp30 * 10unslung/make/usbutils.mk: usbutils: autoreconf -f does not work with automake-1.4 - use 1.9 instead, and take advantage of install-strip May 30 09:37:55 bbl May 30 10:38:09 hi May 30 10:40:21 hi macsat May 30 10:46:02 03jp30 * 10unslung/ (4 files in 2 dirs): check in ldconfig for unslung/slug May 30 11:08:39 hi there May 30 11:13:39 hi, bofh_omega May 30 11:23:16 03jp30 * 10unslung/ (make/sed.mk sources/sed/wchar_t.patch): patch sed to compile for wiley May 30 11:40:25 03jp30 * 10unslung/Makefile: promote ldconfig; sed and postgresql are ready for testing on wiley May 30 11:49:54 03jp30 * 10unslung/make/usbutils.mk: usbutils: bump ipk version May 30 12:02:04 x May 30 12:02:27 ....and now right away reboot ;) May 30 12:02:36 comeone... May 30 12:02:37 ;) May 30 12:21:41 bye May 30 12:58:47 hi, llagendijk. any progress with quagga? May 30 13:02:33 the ldd problem is because we aren't using glibc binaries which we created on unslung May 30 13:02:40 because when we try, they segfault May 30 13:03:18 so we are using the glibc binaries from the firmware dist, and some difference in our glibc build causes our ldd to not work with them May 30 13:03:38 ldd is tightly coupled with glibc May 30 13:04:32 jacques, you mean ldconfig? ldd is a shell script and works fine May 30 13:04:46 lol yeah that's what I meant - sorry May 30 13:05:20 i knew I should have let myself wake up before saying anything :-) May 30 13:05:24 my experiments suggest that the problem with ldconfig is only that it's a static binary, and the static lib built with the toolchain is broken May 30 13:05:53 the ldconfig i've packaged up is dynamically linked, so no segfault May 30 13:10:56 jp30, hmm interesting May 30 13:11:35 but I think you would find the dynamic libs are also broken May 30 13:11:47 tho I may be misremembering - it's been a while May 30 13:11:55 yes, that would make sense May 30 13:11:58 I do know the static is definitely broken, as you say May 30 13:12:25 the dynamic libs only have to be working link-time, though May 30 13:12:34 so you build a dynamic ldconfig and it works? fantastic! May 30 13:12:48 damn, why didn't I think of that :-\ May 30 13:12:48 yeah, so far as i can tell May 30 13:13:20 I'm sure lots of ppl will test it - we've been needing a working ldconfig for quite a while :-) May 30 13:13:41 * jacques goes to see if the water's boiling yet. May 30 13:17:36 jp30, yes, I am making progress, I patched configure.ac to properly detect systems without IPv6 support, but ran into some debug statements in quagga that will still try some IPv6 conversions May 30 13:18:12 jp30, I had some problems with my server today, so I spent most of the evening to get that running again May 30 13:25:01 llagendijk, ok, let us know when you have quagga working. good luck with the server problems May 30 14:27:31 03jp30 * 10unslung/make/expat.mk: strip and remove static lib May 30 15:04:57 rwhitby-away, the endian patches are already in zd1211. May 30 15:05:06 just double checked it. May 30 15:06:51 endian patches? zd1211? May 30 15:45:15 zd1211 is rwhitby's wireless dongle. May 30 15:45:49 and on the sf page someone posted a patch for BE systems, but its already in the latest tree. May 30 22:29:59 Debian GNU/Linux 3.1 (none) ttyS0 May 30 22:30:00 -bash-2.05b# uname -a May 30 22:30:01 Linux (none) 2.6.11.2 #8 Sun May 29 20:00:53 CEST 2005 armv5tel GNU/Linux May 30 22:30:05 wee! ;) May 30 22:41:31 Cool. May 30 22:58:00 dyoung-zzzz: Now I just need to get ethernet running May 30 22:58:26 dyoung-zzzz: How's the build procedure for that? It's not in the kernel config is it? May 30 22:58:41 Me is clueless regarding the intel source May 30 23:00:31 Well, right now it wont build LE. May 30 23:00:39 thats because only 1.4 is in OE. May 30 23:01:04 someone needs to finish working out the patches required to make 1.5 build for kernel 2.6 . May 30 23:01:14 (1.5 has LE capability) May 30 23:01:15 dyoung-zzzz: oh yes, I'll have a look at what's in oe and try to upgrade it May 30 23:01:36 I have around h alf of it done. May 30 23:02:02 nice May 30 23:02:12 but I havnt looked at it for a long time. May 30 23:02:57 dyoung-zzzz: Where is it in oe? what is it called? May 30 23:03:29 dyoung-zzzz: could you put your work up somewhere, then I might have a look at it May 30 23:08:49 I was going to, but I cant find it right now. May 30 23:09:02 its in the middle of a hard drive re-org. May 30 23:09:14 in oe, its ixp425_eth and ixp400_csr May 30 23:09:37 thats for 1.4 though, so theres no LE. The 1.5 sources are from Intel. May 30 23:09:46 ok, thanks - I'll have a look May 30 23:11:34 you might look at beewoolies work too. May 30 23:11:58 I shamelessly pilfered a bunch of stuff from his patchset. May 30 23:12:41 ok May 30 23:13:38 http://wiki.buici.com/twiki/bin/view/Main/IXPAccessLibrary May 30 23:14:59 someone else popped in claiming to have a workable patchset and was gonna mail me patches, but I havnt heard from him. May 30 23:15:17 so you may want to google and search LAK ML for clues too. May 30 23:15:41 ok, I'll do - thanks! May 30 23:17:38 np May 30 23:18:09 (i've secretly been hoping that someone else will work out how to make CSR1.5 work, so I dont have to...) May 30 23:21:29 dyoung-zzzz, heh me too May 30 23:22:10 heh **** ENDING LOGGING AT Mon May 30 23:59:57 2005