**** BEGIN LOGGING AT Tue Aug 23 02:59:56 2005 Aug 23 03:31:11 03xora 07org.openembedded.dev * r7cb05b4c... 10/packages/ (6 files in 4 dirs): Aug 23 03:31:12 gnumeric: updated devel version to 1.5.3 Aug 23 03:31:12 goffice: Updated to 0.0.3 as required by gnumeric Aug 23 03:31:12 libgsf: Updated to 1.12.2 as required by gnumeric Aug 23 03:41:18 03koen 07org.openembedded.dev * r46e0039f... 10/conf/distro/preferred-gpe-versions-2.7.inc: GPE 2.7: turn of minimo cvsdate Aug 23 03:41:21 03xora 07org.openembedded.dev * r7e0579c4... 10/packages/gnumeric/gnumeric-1.5.2/remove-docs.patch: gnumeric: cleanup old versions Aug 23 04:16:08 03rpurdie 07org.openembedded.dev * r3fc63b4e... 10/packages/linux/linux-openzaurus_2.6.13-rc5-mm1.bb: linbux-oz-2.6: Add Spitz USB Host support (tested and working) Aug 23 05:06:27 03mickeyl 07org.openembedded.dev * r024765e1... 10/packages/zaurus-updater/borzoi/updater.sh: add better borzoi updater.sh Aug 23 05:43:42 monotone.nslu2-linux.org has been updated to *not* serve org.openembedded.nslu2-linux or org.openembedded.dreambox any more. Aug 23 05:50:01 is this why we got the #oe guys' CIA stuff here before? Aug 23 05:50:21 yep, we all share the same branch now Aug 23 05:50:25 i see. Aug 23 05:53:07 Do you know if the monotone 0.22 changes (--lca) are in the Makefile now? Aug 23 06:26:27 morning :) Aug 23 06:26:45 where i have to put things like OPENSLUG_EXTRA_DEPENDS in the actual buildsystem? Aug 23 06:27:00 the local.conf seems to be much different as a few weeks before Aug 23 06:29:14 ok, it still the local.conf Aug 23 06:29:29 but a lot of things are gone out of that file it seems Aug 23 06:30:14 just add it to local.conf Aug 23 06:31:43 yeah. I was wondering the same thing. The number of config file has quadrupled Aug 23 06:32:22 Actually, I don't think it matters much, as long as it's in a config-file that is being read :P Aug 23 06:32:35 And if I want to add a private package to my package?? Aug 23 06:32:46 Yeah, but the blind method never works for me. Aug 23 06:32:54 I don't like guesswork. Aug 23 06:33:30 'cause then people change stuff and it breaks things and they'll say it shouldn't have been there anyways. Aug 23 06:34:03 yay Aug 23 06:34:17 my integrated USB Hub works Aug 23 06:34:40 nice. Aug 23 06:34:46 usb 1 or 2? Aug 23 06:34:54 integrated into the nslu2? Aug 23 06:35:04 2 - integrated into my larger case Aug 23 06:35:09 ok, i added my lines and run "make build-openslug" again, but no result with new packages Aug 23 06:35:34 nothing special - just removing all of the USB connectors to make it fit, then resoldering them in different places Aug 23 06:35:49 and powering it from the internal 'mega' power supply (3A) Aug 23 06:37:06 ah Aug 23 06:37:32 meh Aug 23 06:37:50 meh? Aug 23 06:37:51 * NAiL doesn't have a ds101 any longer. All stores are out of stock. Aug 23 06:38:09 I've checked all (I think) the stores in Trondheim Aug 23 06:38:49 openslug/conf/local.conf is the right one? Aug 23 06:47:08 argll, disconnect :/ Aug 23 06:47:10 openslug/conf/local.conf is the right one? Aug 23 06:47:51 yes Aug 23 06:48:36 hmm, why the buildproccess did not compile the additional package? Aug 23 06:49:54 pacakges you added? Aug 23 06:50:14 I had to add mine to a package*.conf somewhere. not sure where again Aug 23 06:50:43 i want to compile an available package to get it into the image Aug 23 06:50:58 Then make sure it's in both RDEPENDS and DEPENDS Aug 23 06:51:10 it worked a fews weeks ago Aug 23 06:51:30 well, I get that a lot too. :( Aug 23 06:51:45 That's why I have not built anything in weeks. Aug 23 06:53:56 I'll wait until things stabilize a bit. Aug 23 06:55:02 hmm, but it looks ok to me, the compile goes through without any error, i think i have done something wrong here Aug 23 06:57:29 I have a problem (just posted on the ML) with rtorrent on openslug 2.5 Aug 23 06:57:45 it seems to be a 'allignment error'. Aug 23 06:58:00 is there someone that can help me? Aug 23 06:58:10 Well, it should be fixed in rtorrent Aug 23 06:58:35 a workaround is to do 'echo 3 > /proc/cpu/alignment' Aug 23 06:58:53 and the system continues to work? Aug 23 06:59:36 is rtorrent that doesn't support the big-endian system? Aug 23 06:59:43 yes, but every time an alignment error occurs, the slug throws an exception (or something) and spends time fixing it up Aug 23 07:00:22 so you say that I should contact the rtorrent author Aug 23 07:01:00 Yes Aug 23 07:01:39 if the author doesn't have a arm big-endian system it is not easy to fix Aug 23 07:02:23 I have no idea how hard it is to fix. I know that there is a patch for ctorrent that fixes this issue in ctorrent Aug 23 07:03:08 It's not the fact it's a big endian system Aug 23 07:03:20 no? Aug 23 07:03:25 could you explain Aug 23 07:04:04 ARM has certain rules for accessing memory. You have to align words to certain boundaries. It won't let you put it at an odd numbered address for example Aug 23 07:04:17 x86 will let you do it. ARM won't Aug 23 07:04:25 (nasty!) Aug 23 07:04:35 That's the quick explanation of it anyway. It's a bit more complicated than that Aug 23 07:05:10 are the openslug authors working on the packaging of rtorrent? it is a great tool Aug 23 07:05:10 What NAiL told you to do is to get the kernel to enable the handler for alignment traps. The kernel will trap the error and do it for you Aug 23 07:05:25 However, the trap takes time so you take a performance hit for using it Aug 23 07:05:26 I hunderstand Aug 23 07:05:49 What the author (or you) needs to do is fix the code so it doesn't do unaligned memory access Aug 23 07:06:16 is it possible from high level language (c/C++)? Aug 23 07:06:24 Possible to do what? Aug 23 07:06:36 to choose the memory allignment of the data Aug 23 07:06:44 Yes. It will do it by default Aug 23 07:06:51 is there an example of patch to fix this kind of problems? Aug 23 07:06:55 What is probably causing this is accessing a packed structure Aug 23 07:07:05 No. you have to read the code and work out what it is doing first Aug 23 07:07:46 GCC will add padding to a structure so it complies with the alignment rules. You can tell GCC to not do this which means no gaps Aug 23 07:07:47 hmm, nail told that there must be a patch available for ctorrent which solve that problem Aug 23 07:07:48 I will contact the author but it is difficult for him if he hasn't a nslu Aug 23 07:08:13 mr_claus_: yes, look in packages/ctorrent/files Aug 23 07:08:18 which is the option of gcc to fix the allignment? Aug 23 07:08:25 My guess is that it is assigning an incoming/outgoing packet to a packed structure to read it Aug 23 07:08:36 mr_claus_: or, http://www.rahul.net/dholmes/ctorrent/ Aug 23 07:08:55 GCC will align by default unless you tell it not to Aug 23 07:09:12 There is no automatic option to fix it. you need to modify the code to fix the problem Aug 23 07:09:12 anakin76: there is an "example" patch. The ctorrent one. http://www.rahul.net/dholmes/ctorrent/ Aug 23 07:09:19 NAiL: i would not fix it because it's to difficult for me but i'm reading because it sounds interesting Aug 23 07:09:20 should I remove the optimization of gcc? Aug 23 07:09:25 No Aug 23 07:09:33 That won't fix it. You have to modify the code Aug 23 07:09:43 Any reason why you can't use ctorrent? Aug 23 07:10:01 rtorrent is better. ctorrent can handle >2gb? Aug 23 07:10:10 rtorrent is multi-file Aug 23 07:10:42 it seems the OPENSLUG_EXTRA_DEPENDS and OPENSLUG_EXTRA_RDEPENDS will be ignored because i can set them like i want, nothing happens Aug 23 07:11:04 multi-file? Aug 23 07:11:09 multi-torrents. :) Aug 23 07:11:16 look at the web-site Aug 23 07:11:25 it has good features Aug 23 07:11:41 ctorrent looks not-supported and no-more-developed Aug 23 07:11:55 *shrug* I don't use either one Aug 23 07:12:01 ok :) Aug 23 07:12:12 You'll have to convince the author or somebody else to fix rtorrent if what you say is true Aug 23 07:12:56 is this a problem too on a debian-slug (little-endian)? Aug 23 07:13:25 yes, endianness doesn't matter Aug 23 07:13:42 nasty stuff! Aug 23 07:13:58 it's nasty code Aug 23 07:14:04 not a problem with the architecture Aug 23 07:14:13 do you know if someone is working on the packaging of rtorrent? Aug 23 07:14:18 No clue Aug 23 07:14:40 I think someone was Aug 23 07:14:51 who? Aug 23 07:15:13 Can't remember. Feel free to add a rtorrent .bb ;) Aug 23 07:15:33 http://libtorrent.rakshasa.no/search?q=alignment&wiki=on&changeset=on&ticket=on Aug 23 07:15:38 there are a lot of dependency (librtorrent, curl, libsigc++) Aug 23 07:15:43 Two patches for some sort of alignment bugs very recently Aug 23 07:16:27 great! thanks! Aug 23 07:17:56 I should try these patches Aug 23 07:18:24 is it usefull if I copy&past this discussion on the ML in the thread I opened? Aug 23 07:18:33 ~lart experts-exchange Aug 23 07:18:33 * jbot frags experts-exchange with his BFG9000 Aug 23 07:19:53 don't really need to. you can post about the alignment patches if you want Aug 23 07:20:53 I will test them Aug 23 07:21:01 thanks guys! Aug 23 07:21:19 np Aug 23 07:35:45 OPENSLUG_EXTRA_DEPENDS is defined in openembedded/conf/distro/openslug.conf too, it that a problem? Aug 23 08:33:15 general question: What's the cleanest way to determine glibc version from a script in linux? Aug 23 08:35:26 ldd ....? Aug 23 08:36:24 ldd --version Aug 23 08:36:52 how? I have to share an application (xfig) from a server to old/new machines and need a script to determine which xfig version to run. ugly but temporary Aug 23 08:37:17 That works. thanks. I thought I tried that but I guess not. :) Aug 23 08:37:37 thats easy, i dont know if its a clean way :) Aug 23 08:37:53 that is a quick way :) Aug 23 08:38:13 yep. Aug 23 08:49:26 hmm, as described in the local.conf.sample it should work to use OPENSLUG_EXTRA_DEPENDS and OPENSLUG_EXTRA_RDEPENDS but it's not working. is anybody using that feature with success? Aug 23 09:05:22 hi folks anyone suceeded with the PL-2303 usb->serial talking to uart before? Aug 23 09:21:23 its flakey. Aug 23 09:21:42 speed is 115.2kb/s and it just acts flakey Aug 23 09:25:49 amen to that... on flakiness that is Aug 23 11:05:06 blaster8: there? Aug 23 11:05:11 allo Aug 23 11:05:29 do you use your slug as a router? Aug 23 11:05:42 if so, have you ever had problems with the ip_dst_cache? Aug 23 11:05:54 I haven't tested NAT as I don't have a USB-Ethernet Aug 23 11:06:12 I was mostly interested in getting Packet Filtering up Aug 23 11:06:27 one minute Aug 23 11:06:46 I don't have usb ethernet either Aug 23 11:07:00 I have a public ip and a local one to the internal nic Aug 23 11:07:02 aah Aug 23 11:07:23 which modules are you using (lsmod) Aug 23 11:07:28 but after enough traffic/time, I get this in the syslog and the nic doesn't respond: Aug 23 11:07:31 kernel: dst cache overflow Aug 23 11:07:41 can probably work out what's happening Aug 23 11:07:48 Module Size Used by Aug 23 11:07:48 iptable_nat 12482 1 Aug 23 11:07:48 ip_conntrack 26584 1 iptable_nat Aug 23 11:07:48 iptable_filter 800 1 Aug 23 11:07:48 ip_tables 15168 2 iptable_nat,iptable_filter Aug 23 11:07:48 af_packet 11464 0 Aug 23 11:07:50 ixp425_eth 15364 0 Aug 23 11:07:52 ixp400 615208 1 ixp425_eth Aug 23 11:07:54 ipv6 191488 12 Aug 23 11:07:56 ext3 96744 1 Aug 23 11:08:00 jbd 36536 1 ext3 Aug 23 11:08:02 mbcache 5060 1 ext3 Aug 23 11:08:12 the ip_dst_cache var in /proc/slabinfo keeps growing Aug 23 11:08:32 and /proc/sys/net/ipv4/route/max_size is set to 8192 Aug 23 11:08:47 I believe it fails when ip_dst_cache reaches that value Aug 23 11:09:20 http://lkml.org/lkml/2005/1/27/158 Aug 23 11:09:24 same problem as you Aug 23 11:09:30 the max size on my debian box here is 131072, so the slug's is _way_ smaller Aug 23 11:10:37 yup, seems to be the same Aug 23 11:12:02 this is why I use BSD :) Aug 23 11:17:06 hmm, but it seems as if it should have been fixed in 2.6.11 Aug 23 11:22:20 just because there was a big discussion doesn't mean anyone did anything Aug 23 11:22:25 this is Linux, remember Aug 23 11:23:27 at least the patch mentioned in the mails made it into the kernel, just checked the source.. Aug 23 11:24:30 I somehow doubt that that patch fixed the problem Aug 23 11:25:25 time to increase /proc/sys/net/ipv4/route/max_size Aug 23 11:25:30 and reboot your slug every month Aug 23 11:25:40 there are discussions about dst_cache overflow issues with the ixp425... have you got any idea what that may be about? Aug 23 11:25:59 googling Aug 23 11:26:03 naw, it will eat my memory too, don't have too much of that Aug 23 11:26:06 ;) Aug 23 11:27:30 for a start, we should update to the latest Intel drivers Aug 23 11:27:33 cough, NAiL Aug 23 11:27:56 before we do that, we can't blame the kernel outright Aug 23 11:28:32 what? Aug 23 11:28:38 ip_dst_cache 7590 Aug 23 11:28:49 my audio stream will die soon ;) Aug 23 11:28:53 has anyone tried the latest Intel drivers with Openslug Aug 23 11:29:04 it's just the current ones seem to have a bug Aug 23 11:29:18 http://mailman.uclinux.org/pipermail/uclinux-dev/2005-April/031926.html Aug 23 11:29:53 or some part of the kernel has a bug, but this seems nslu / ixp425 related Aug 23 11:30:57 well, I'd ask ByronT about the Intel stuff Aug 23 11:31:57 ByronT: ping Aug 23 11:34:34 hmm Aug 23 11:35:05 "If you are running a 2.4.x Linux kernel with "ebtables" and "bridge-netfilter (br-nf)" patches applied from http://ebtables.sourceforge.net, or a 2.6.x Linux kernel, a memory leak may occur if both the bridge (CONFIG_BRIDGE) and netfilter (CONFIG_NETFILTER) options are enabled in the kernel configuration, and traffic is passed through the driver for the NPE interfaces. (Intel internal reference number: SCR #3321)" Aug 23 11:35:14 http://www.intel.com/design/network/swsup/ixp400LinuxEthernetDriverPatch-1_4_readme.txt Aug 23 11:35:48 and they've kludged the solution too Aug 23 11:35:56 b****** Aug 23 11:36:28 oh sorry Aug 23 11:36:35 maybe not Aug 23 11:36:42 what? yes? who? Aug 23 11:36:56 heh Aug 23 11:36:57 having issues with the Intel Ethernet drivers Aug 23 11:37:04 and netfilter Aug 23 11:37:05 they suck! Aug 23 11:37:08 indeed Aug 23 11:37:13 whoops, did I say that out loud? Aug 23 11:37:20 look at that readme for example Aug 23 11:37:23 no, we didn't hear anything :P Aug 23 11:38:23 Someone: can you check the Openslug kernel to see if a patch with a name similar to this is used: ixp400_eth_update_nf_bridge Aug 23 11:38:27 I heard kludgy somewheres Aug 23 11:38:27 there goes my slug... time for a reboot Aug 23 11:38:42 what intel version is in openslug now? Aug 23 11:38:46 1.1? Aug 23 11:39:10 <- has to leave.... client at office and waiting for me! Aug 23 11:39:25 Matta: I think I have something here Aug 23 11:39:40 the patch? Aug 23 11:39:55 can you check in openembedded/packages/linux/nslu2-kernel-2.6.12.2 Aug 23 11:40:08 and see if that patch is included?? Aug 23 11:40:49 one moment, don't have ipv4 internet right now... ;) Aug 23 11:52:04 checking now Aug 23 12:04:37 can't seem to find anything that could be that patch Aug 23 12:09:58 I have it Aug 23 12:10:29 not in the openembedded repository, mind Aug 23 12:17:10 NAiL: would it be possible to have 2 versions of the ixp425 driver Aug 23 12:17:33 it's just I need to apply a simple patch, but only to 2.6 kernels (and technically 2.4 kernels with ebtables patch) Aug 23 12:17:35 blaster8: no idea Aug 23 12:17:57 I just mean to have 2 seperate bb files in the monotone repository Aug 23 12:18:05 ah, that's not a problem Aug 23 12:18:15 one for 2.6 and one for 2.4 Aug 23 12:18:30 that, I don't know though Aug 23 12:19:01 well, we can just include one in the Openslug build and a different one in the Unslung build Aug 23 12:19:31 yeah Aug 23 12:20:43 I'll find the document that explains the problem Aug 23 12:21:56 http://www.intel.com/design/network/swsup/ixp400LinuxEthernetDriver-1_1_readme.txt Aug 23 12:22:01 it's instruction 2 Aug 23 12:46:43 I can test it here, but I don't have a working build environment so need a binary kernel to test with Aug 23 14:53:51 Any libusb experts around? Aug 23 15:02:05 blaster8, Matta, the update_nf_bridge patch is in. Aug 23 15:02:36 ixp425_eth_1_1_update_nf_bridge.patch Aug 23 15:26:24 I've just added a slugbug on libusb (recent versions). We see this: Aug 23 15:26:25 usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 64 rq 0 len 0 ret -32 Aug 23 15:26:25 Versions before 0.1.10a are fine. Perhaps the patches from Debian have caused this? Aug 23 15:26:25 If anyone can look at this it would be a big help. Aug 23 15:26:56 what are you trying to get running with libusb? Aug 23 15:27:08 oww Aug 23 15:27:22 libusb is a monster that has a lot of heads. Aug 23 15:27:29 oww? Aug 23 15:27:34 Indeed - but it worked before! Aug 23 15:27:40 One-wire weather Aug 23 15:27:44 k Aug 23 15:27:57 unslung or openslug? Aug 23 15:28:02 unslung Aug 23 15:28:06 k Aug 23 15:28:32 since I don't have any 1-wire stuff I cant' test and fix. Aug 23 15:28:51 So it's not broken anything else? Aug 23 15:29:07 dunno...haven't used it. Aug 23 15:29:51 Any chance of backing out to 0.1.8-3? That works just fine. Aug 23 15:33:41 weird, I believe that going to 0.1.10a fixed ftpd-topfield ... Aug 23 15:35:13 It's never simple. :) Aug 23 15:38:11 Anyway, time to go horizontal. One for cogitation by those of you who know libusb! Aug 23 21:13:37 03bzhou * 10unslung/make/sqlite.mk: upstream upgrade from 3.2.2 to 3.2.3; stripped binaries, removed static lib **** ENDING LOGGING AT Wed Aug 24 02:59:56 2005