**** BEGIN LOGGING AT Sun Jan 13 02:59:59 2013 Jan 13 10:36:01 dwmw2_gone: I have one more suggestion, start upsdrvctl before upsd in the init script, as upsd relies on the driver Jan 13 10:47:26 nbd: fyi, with r34912 reverted the problem is even worse, ~10MB/s download from wan to lan (wired), and I see load average of 9.5 Jan 13 10:47:47 and the router becomes laggy Jan 13 10:48:46 and on my router, the unaligned instructions number is crazy high, 5747533 after only 23min uptime Jan 13 10:49:06 on my 2nd rspro with the same image, that doesn't happen Jan 13 10:49:21 but that isn't routing or nat, it's just a bridged AP Jan 13 10:51:17 ok Jan 13 10:52:16 and even when there is almost no traffic the number of unaligned instructions keeps increasing, about 500/s Jan 13 10:53:22 fyi, panic_on_oops=1 is a workaround for not rebooting after sysupgrade :) Jan 13 10:59:32 nbd: not sure if this helps, but when I echo 2 > unaligned_action (on the 2nd rspro), I get this: http://pastebin.com/kw7VNd4W Jan 13 11:10:53 build #138 of rb532 is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/rb532/builds/138 Jan 13 11:11:55 build #138 of ppc44x is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/ppc44x/builds/138 Jan 13 11:13:35 nbd: this could be related: http://www.bufferbloat.net/issues/360 Jan 13 11:18:52 yeah, i know some bufferbloat guys have worked on more comprehensive fixes for the unaligned stuff, but they haven't produced a patch suitable for merging yet Jan 13 11:19:06 i think i found the critical place that kills performance Jan 13 11:34:45 nbd r35123 trunk/Config.in * kernel: fix enabling coredump support on 3.7+ Jan 13 11:34:49 nbd r35124 trunk/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch Jan 13 11:34:49 ar71xx: extend the unaligned access hacks to a few more places that showed up in the new kernel Jan 13 11:34:53 nbd r35125 trunk/target/linux/ar71xx/patches-3.7/220-add_cpu_feature_overrides.patch * ar71xx: add more cpu feature overrides, slightly reduces kernel size Jan 13 11:35:00 stintel: there, performance should be good now Jan 13 11:35:18 nbd: awesome, thanks Jan 13 11:57:43 nbd: awesome, thanks Jan 13 12:24:46 nbd r35126 trunk/target/linux/generic/patches-3.7/305-mips_module_reloc.patch * kernel: add back the mips module relocation patch Jan 13 12:31:53 heh already 505922 unaligned instructions after only 5 minutes uptime, wtf is up with this box Jan 13 12:32:18 gonna test the performance soon, but I experienced it when downloading via steam in windows, need to reboot Jan 13 12:34:36 i didn't test routing, there are probably some more places to fix unaligned instructions in Jan 13 12:35:16 got some stack traces? Jan 13 12:35:38 build #148 of ramips is complete: Failure [failed compile_4] Build details are at http://buildbot.openwrt.org:8010/builders/ramips/builds/148 Jan 13 12:50:14 nbd: my router didn't like echo 2 > unaligned_action , and I have no easy way to use it's serial console Jan 13 12:50:58 ok Jan 13 12:51:04 I have some more from my AP, related to ipv6 multicast Jan 13 12:51:31 they are here http://stewie.be.tintel.eu/openwrt/dmesg_rspro_ap.txt Jan 13 13:07:13 nbd r35127 trunk/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch Jan 13 13:07:13 ar71xx: avoid __packed define in the unaligned access hack patch, make the ipv6 address struct also 2-byte-aligned/packed Jan 13 13:07:15 try now Jan 13 13:33:35 make target/linux/clean should be enough? Jan 13 13:35:10 yes Jan 13 13:36:11 nbd: a few more now, mostly in rawv6_rcv Jan 13 13:36:24 you can refresh http://stewie.be.tintel.eu/openwrt/dmesg_rspro_ap.txt to see Jan 13 13:38:42 and seems to go up together with the ipv6 multicast packets on my network, I am running ospf6 Jan 13 13:39:04 2 devices, 2 packets every 10 seconds only for that Jan 13 13:52:24 build #128 of sibyte is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/sibyte/builds/128 Jan 13 13:59:41 luka: Hello Luka, after days of fighting with asterisk11 package it finally works on mips and x86 :-) Jan 13 14:17:05 uhm, cannot figure out where are the Makefiles for the luci-apps in my trunk Jan 13 14:19:49 luka: if you're interested, there's a patch in patchwork/mailing list :) Jan 13 14:29:31 nbd: next to the ones in that dmesg, on my router the unaligned instructions increase still very high when downloading anything from the internet at high speed. seen it increase by 20000 on 1-2 seconds Jan 13 14:29:41 and that was downloading on v4 Jan 13 14:30:07 guess I'll have to get this usb serial thing working under os x Jan 13 14:30:12 and find a decent terminal app Jan 13 14:32:32 nbd r35128 trunk/package/libs/libubox/Makefile Jan 13 14:32:32 libubox: update to latest version, adds small blobmsg enhancements and license fixes - package is now ISC/BSD-3c Jan 13 14:35:22 stintel: i found quite a few more unaligned accesses and a better way to fix them Jan 13 14:35:51 that sounds good Jan 13 14:55:44 nbd r35129 trunk/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch Jan 13 14:55:44 ar71xx: improve unaligned access patches, add a net_hdr_word() macro which assumes 2-byte aligned access and generates better code than {get,put}_unaligned_cpu32 Jan 13 14:55:51 stintel: please test with that one Jan 13 14:56:08 nbd: on it, thanks again Jan 13 14:56:23 ah, waiting till 16:00 for the git sync :) Jan 13 14:56:45 hmm could just wget the patch too Jan 13 15:08:40 somehow ppp doesn't set the link-local address of an ipv6 ppp interface any longer Jan 13 15:08:46 i guess this was introduced with ipv6-support Jan 13 15:08:52 or netifd changes Jan 13 15:09:01 it still shows in the logs Jan 13 15:09:42 and after setting it with ip addr add [...] or ifconfig [...], the dhcp-client also get's the global address from my isp Jan 13 15:11:23 hmmm, is this something to worry about in the future? [ 2.860000] ath79-spi ath79-spi: master is unqueued, this is deprecated Jan 13 15:14:58 nbd: fyi, this is on the AP now: http://stewie.be.tintel.eu/openwrt/dmesg_rspro_ap.txt Jan 13 15:15:03 I believe I see a few new ones Jan 13 15:15:25 in igmp_rcv and br_multicast_rcv Jan 13 15:15:52 might be that they were already there but not visible in dmesg because the log buffer isn't large enough Jan 13 15:16:02 I'll flash it on my router too now Jan 13 15:23:24 nbd: on the router I can still see the number increase by 20000 on 1s when downloading at ~100Mbps Jan 13 15:24:53 yeah, i just found an assembly checksum function in the mips include dir that is causing this Jan 13 15:25:56 aha Jan 13 15:26:11 I also have some dmesg output from my router now, with echo 2 > unaligned_action Jan 13 15:28:05 nbd: here is the dmesg from the router Jan 13 15:28:11 ehr, http://stewie.be.tintel.eu/openwrt/dmesg_rspro_router.txt Jan 13 15:28:17 adding the link can help :) Jan 13 15:28:53 or this is all invalid when the checksum function is fixed ? Jan 13 15:29:49 some new ones in there Jan 13 15:30:19 weird, sometimes this happens on a pppoe wan connection (dual stack) "daemon.err pppd[8140]: Couldn’t rename ppp1 to pppoe-wan" Jan 13 15:30:53 got it on few wr740n routers, reboot solves it Jan 13 15:30:57 nbd: yeah, well with all the layers and features, each of them might add to the number, explains why there are so many Jan 13 15:32:56 dangole: anything in the logs with pppd_debug enabled? Jan 13 15:33:20 dangole: and is the LLADDR info passed to /etc/ppp/ip-up ? Jan 13 15:38:51 jow_laptop: i'll go find out, brb Jan 13 15:39:03 nbd r35130 trunk/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch * ar71xx: fix unaligned access in a few more places Jan 13 15:50:21 nbd: looking good on the AP at least, have 89 unaligned instructions on 4 min uptime Jan 13 15:50:29 before it was about 100 /min there Jan 13 15:51:01 and now 1 min later still 89 Jan 13 15:51:14 ok, so i guess i don't need to make any further changes Jan 13 15:51:20 unaligned accesses are only problematic if they're in a hotpath Jan 13 15:51:44 I'll flash it on the router now and see what it gives there Jan 13 15:58:10 nbd r35131 trunk/package/libs/ ustream-ssl ustream-ssl/Makefile * add ustream-ssl, an ustream abstraction library for SSL stream sockets Jan 13 16:03:46 nbd: http://stewie.be.tintel.eu/openwrt/dmesg_rspro_router.txt Jan 13 16:03:55 tc_classify_compat Jan 13 16:04:41 dmesg | grep "ra :" gives only those Jan 13 16:05:06 (for now, I did echo 0 > unaligned_action already to not crash the router) Jan 13 16:34:42 jow_laptop: wow, this whole 6relayd, 6distributed, ipv6-support story is a mess Jan 13 16:34:59 jow_laptop: i've been using wide-dhcp6c and radvd. worked really nce Jan 13 16:35:21 now this stuff polutes my network with site-local prefixes, though i have never asked it to do so Jan 13 16:35:41 next step will probably be to introduce NAT in ipv6, so the site-local prefix can be static Jan 13 16:35:49 Jan 13 16:36:02 anyway Jan 13 16:36:53 so /lib/netifd/ppp-up does receive correct $LLLOCAL $LLREMOTE, i added some logging to it and it gets them right Jan 13 16:36:56 so does pppd Jan 13 16:37:23 just that the ppp-interface ends up without any ipv6 LL address set, therefore dhcpv6 fails Jan 13 16:39:23 dangole: you can disable the site local prefixes Jan 13 16:39:44 dangole: and yes, next step will be net :) Jan 13 16:39:47 *nat Jan 13 16:40:03 optional of course Jan 13 16:40:25 if you insist on using wide + radvd then don't install ipv6-support Jan 13 16:40:34 they conflict with each other Jan 13 16:40:47 i installed neither of them now, wanted to try ipv6-support Jan 13 16:41:32 anyway, let's leave the nat66-yes-or-no discussion a side for now Jan 13 16:41:38 so to get rid of the ula prefix, simply comment it out in /etc/config/network6 Jan 13 16:41:57 i did that, i commented the whole global section there Jan 13 16:42:09 nbd: fyi, just tested download at ~100Mbps again, load still goes to ~4 on the router, but monitoring agent seems to respond a bit better than before Jan 13 16:42:29 still resulting in different fd29:: and fd27:: prefix being assigned to my lan interface Jan 13 16:42:45 dangole: you need to restart 6distributed, 6relayd Jan 13 16:42:49 stintel: what happens to the unaligned instructions counter? Jan 13 16:42:57 jow_laptop: i did reboot Jan 13 16:43:19 nbd: on the Ap is still on 89, on the router still goes up during download Jan 13 16:43:30 dangole: I left the global section and commented out the ula option, don't get any such addresses in my network Jan 13 16:43:35 and i wouldn't mind an additional site-prefix network to run there, also as a way to reach the openwrt box through local ipv6 if my wan interface is down Jan 13 16:43:41 stintel: ok, so probably a few more things to fix on the router Jan 13 16:43:48 nbd: did you refresh http://stewie.be.tintel.eu/openwrt/dmesg_rspro_router.txt ? Jan 13 16:43:56 there is 1 more: tc_classify_compat Jan 13 16:44:06 it's the only one I see Jan 13 16:44:29 please show me /proc/modules from that router Jan 13 16:44:41 jow_laptop: but it should be done with multi-homing, so once the ipv6 wan is up, local machines also get a global address Jan 13 16:45:18 nbd: http://pastebin.com/2FuZVTTQ Jan 13 16:45:26 dangole: whats reported by ifstatus wan? Jan 13 16:45:37 dangole: it does that here Jan 13 16:45:57 stintel: ah, seems to be cls_u32 match Jan 13 16:46:16 I guess it's used by qos-scripts Jan 13 16:48:14 exactly, /etc/init.d/qos stop and the number no longer goes up Jan 13 16:48:41 jow_laptop: ifstatus wan got the $LLLOCAL address and also the default route with next-hop $LLREMOTE Jan 13 16:48:54 maybe netifd should assign it to the interface? Jan 13 16:49:00 dangole: it does Jan 13 16:49:21 dangole: I suppose ipv6-support interfered, whats your current /etc/config/network6 ? Jan 13 16:49:24 i remember there was a transition from pppd setting up it's interface settings by itself to netifd doing that Jan 13 16:49:28 nbd r35132 trunk/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch * ar71xx: fix unaligned access in cls_u32 Jan 13 16:49:31 stintel: there ;) Jan 13 16:49:42 nbd: awesome, thanks a lot Jan 13 16:49:48 jow_laptop: Jan 13 16:49:48 config interface 'wan' Jan 13 16:49:48 option mode 'dhcpv6' Jan 13 16:49:48 option request_prefix 'auto' Jan 13 16:49:48 option prefix_fallback 'relay' Jan 13 16:49:48 option peerdns '1' Jan 13 16:49:50 option site_border '1' Jan 13 16:49:50 keep up the good work ;-) Jan 13 16:49:52 config interface 'lan' Jan 13 16:49:54 option mode 'router' Jan 13 16:49:58 option advertise_prefix '64' Jan 13 16:50:02 option relay_master 'wan' Jan 13 16:51:58 jow_laptop: dnsmasq also doesn't get the ipv6 nameserver which should be acquired by odhcp6c Jan 13 16:53:40 dangole: in dhcpv6.sh, comment out conf_set "$device" disable_ipv6 1 / conf_set "$device" disable_ipv6 0 Jan 13 16:53:40 dangole: we will get rid of the mess soon though i havent heard of any problems like yours until now Jan 13 16:54:08 cyrusff: I believe the disable_ipv6 will strip pppoe ipv6 ll addreses from the underlying iface Jan 13 16:54:27 ah ok can be Jan 13 16:54:35 cyrusff: how can I prevent 6relayd from starting ? Jan 13 16:54:55 dont use ipv6-support Jan 13 16:55:02 ok :) Jan 13 16:55:02 then it wont start Jan 13 16:56:04 anyway once nbd merges the prefix stuff to netifd there will be no 6distributed etc. any more Jan 13 16:56:35 wide and radvd are even more messy though Jan 13 16:57:38 not using either of them here Jan 13 16:57:50 cyrusff: i agree, given that netifd should manage all interfaces, wide-dhcp6c creates even more of a mess Jan 13 16:57:54 but I tried dnsmasq6 and it couldnt start because 6relayd bound the dhcpv6s port Jan 13 16:58:39 cyrusff: we need a less invasive way of triggering a router solicitation than disable/enable of ipv6 Jan 13 16:58:54 cyrusff: that will mess up any non-ethernet/slaac iface underneath Jan 13 16:59:15 yes i will just make a 6relayd flag that just sends a RS Jan 13 16:59:21 jow_laptop and cyrusff: i'll give it try with the lines commented, if everything goes fine i'll be right back Jan 13 17:00:55 stintel: btw. can you still crash your device by unloading ath9k in the current version? Jan 13 17:01:57 nbd: I think so, let me test, the AP is rebooting with my last build Jan 13 17:02:21 as well as oops during sysupgrade Jan 13 17:03:39 nbd: http://pastebin.com/WX8HBuZw Jan 13 17:04:10 jow_laptop: didn't do the trick :( Jan 13 17:04:54 still no ll? Jan 13 17:05:02 still, my l2tp-wan interface ends up without the IPv6 LL address set Jan 13 17:05:30 can you place an "ifconfig l2tp-wan" call there and see if the addrs are still set at this stage? Jan 13 17:05:51 cyrusff: does 6relayd / odhcp6c anything with the ll addrs? Jan 13 17:05:59 stintel: odd, i can't seem to reproduce it here Jan 13 17:06:13 nope Jan 13 17:06:46 but i'll remove the disable_ipv6 stuff anyway Jan 13 17:06:48 stintel: what kind of wifi card do you have in there? Jan 13 17:06:59 jow_laptop: where to add it? in /etc/netifd/ppp-up ? Jan 13 17:07:20 dangole: there and in dhcpv6.sh, pipe the output to logger or something Jan 13 17:11:41 nbd: 2x ath9k, Ubiquiti SR71a and Mikrotik r52n Jan 13 17:12:00 btw, root@wrt0:~# cat /sys/kernel/debug/mips/unaligned_instructions Jan 13 17:12:00 45 Jan 13 17:12:06 that's on the router :) Jan 13 17:12:37 sweet, just did speedtest and it's still 45, nice work! Jan 13 17:15:30 jow_laptop: can it be that with L2tp the ppp doesn't enable ipv6? Jan 13 17:16:30 stintel: please try this patch: http://nbd.name/ini-fix.patch Jan 13 17:17:26 (for package/mac80211/patches) Jan 13 17:18:16 cyrusff: unlikely, it uses the same ppp ip-up infrastructure which offloads the address setting to netifd Jan 13 17:18:21 then I guessed it well ;) Jan 13 17:19:26 hmm no i rather meant the pppd parameters Jan 13 17:19:32 used when doing l2tp Jan 13 17:26:03 nbd: now I get more: http://pastebin.com/ZqZKquNN Jan 13 17:26:18 if this helps : 00:11.0 Network controller: Atheros Communications Inc. AR9160 Wireless Network Adapter [AR9001 802.11(a)bgn] (rev 01) Jan 13 17:26:21 00:12.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01) Jan 13 17:26:38 this was after reinstalling and rebooting? Jan 13 17:26:43 cyrus r35133 trunk/package/network/ipv6/ 6relayd/files/6relayd.init 6relayd/files/6relayd.config 6relayd/Makefile 6relayd/files/6relayd.hotplug * 6relayd: Rewrite init-script logic Jan 13 17:26:48 cyrus r35134 trunk/package/network/ipv6/ipv6-support/ Makefile files/dhcpv6.sh * ipv6-support: don't use disable_ipv6 Jan 13 17:26:49 reflash or module reinstall? Jan 13 17:26:49 nbd: oh wait Jan 13 17:27:21 nbd: yes Jan 13 17:27:58 which one? Jan 13 17:28:11 reflash Jan 13 17:28:15 ok Jan 13 17:28:26 and make target/linux/clean package/kernel/clean package/mac80211/clean world -j12 Jan 13 17:28:35 ok Jan 13 17:28:51 can you try if it also happens if you remove the SR71a? Jan 13 17:30:04 I'll have a hard time getting it back in afterwards because the pigtails are too short :P Jan 13 17:30:12 ok Jan 13 17:30:14 but let me get to it Jan 13 17:32:58 Hello, in latest revisions my x86 builds won't boot. It fails on SQUASHFS error: xz_dec_run error, data probably corrupt, on Unable to read data cache entry. Jan 13 17:33:23 even on default config Jan 13 17:34:25 nbd: root@wrt1:/# rmmod ath9k Jan 13 17:34:25 [ 98.260000] ath9k: ath9k: Driver unloaded Jan 13 17:34:38 nbd: seems to work fine without the sr71a Jan 13 17:35:31 ok Jan 13 17:35:35 that narrows it down Jan 13 17:35:50 but is it the sr71a, or is it the fact that it are two cards Jan 13 17:36:02 i think it's more likely that it's sr71a specific Jan 13 17:36:14 cyrus r35135 trunk/package/network/ipv6/odhcp6c/ files/dhcpv6.sh files files/dhcpv6.script Makefile * odhcp6c: Add preliminary proto-handler Jan 13 17:36:16 I dont think I have another ath9k lying around :) Jan 13 17:36:27 because for AR9160 there is some pretty nasty code that has resisted quite a few cleanup attempts so far ;) Jan 13 17:36:38 but i'll dig through it again Jan 13 17:37:03 AR913x might be affected as well Jan 13 17:37:13 let me test if I also get the error on sysupgrade now (it's a different one) Jan 13 17:38:35 but it's not critical now that I know panic_on_oops=1 is a workaround Jan 13 17:40:35 nope, no error now Jan 13 17:55:31 ok, i think i finally found the bug Jan 13 17:56:40 alright, getting the sr71a back in wasn't that hard Jan 13 17:57:10 I just need to connect the sr71a to the pigtails, and then to the board Jan 13 17:57:31 that stationbox has proven to be handy Jan 13 17:58:22 hmmm, or not, lspci doesn't detect it, meh Jan 13 18:02:38 Hi, have anyone tried to use the usb dongle wifi Alfa Awus036h under openwrt? Jan 13 18:04:31 jow r35136 packages/net/ miniupnpd/files/upnpd.config miniupnpd/Makefile * miniupnpd: update to v1.7.20121005 (#9811, #10694, #10829) Jan 13 18:07:28 cyrus r35137 trunk/package/network/ipv6/odhcp6c/ files/dhcpv6.script Makefile * odhcp6c: Send RS on start Jan 13 18:09:35 stintel: new patch, same location Jan 13 18:09:48 jow r35138 branches/packages_12.09/net/ miniupnpd/files/upnpd.config miniupnpd/Makefile * AA: miniupnpd: merge r35136 Jan 13 18:18:39 mirko, luka: ping :-) Jan 13 18:24:20 Hi, i get this error trying to start rtl8187 module: insmod: can't insert 'rtl8187': unknown symbol in module, or unknown parameter Jan 13 18:27:50 what should i do? Jan 13 18:28:11 check dmesg Jan 13 18:28:47 nbd: cool, I just rmmod ath9k with 2 cards in, and it doesn't seem to crash Jan 13 18:29:36 please also test if the sr71a is still working properly Jan 13 18:30:13 ok, good point Jan 13 18:30:24 I have 4x the same ssid, I might never notice that it doesn't work :P Jan 13 18:30:47 nbd: the two lines where rtl8187 appears in dmesg are these two: Jan 13 18:30:49 [ 12.116000] rtl8187: Unknown symbol eeprom_93cx6_multiread (err 0) Jan 13 18:30:51 [ 12.120000] rtl8187: Unknown symbol eeprom_93cx6_read (err 0) Jan 13 18:31:36 the problem is that during the boot the module rtl8187 isn't loaded by default (with lsmod i can't see it) Jan 13 18:33:10 hm, the module has a dependency on the eeprom module Jan 13 18:33:14 and it's supposed to load that one Jan 13 18:34:56 is it a package? Jan 13 18:35:11 yes Jan 13 18:35:20 kmod-eeprom-93cx6 Jan 13 18:35:45 ok i don't have it installed Jan 13 18:36:48 ok i try see you soon :D Jan 13 18:38:11 nbd: I disabled the 5GHz radio in the AP so my macbook connected on the 2.4 (the sr71a), I got around 50Mbps download fromt internet, so seems to work still Jan 13 18:38:54 great Jan 13 18:38:57 iperf gives 88.6Mbps Jan 13 18:38:59 so looks good Jan 13 18:39:06 it's 130Mbps max for some reason Jan 13 18:39:19 I guess that's OS X and 2.4 --> no 40MHz channel Jan 13 18:39:37 right Jan 13 18:46:52 Noltari: and the patch also seems to fix the kernel error after sysupgrade Jan 13 18:46:55 ehr Jan 13 18:46:59 nbd: ^ Jan 13 18:56:36 nbd: thanks now the router recognise the usb dongle buti can't connect to the wifi Jan 13 18:56:44 nbd r35139 trunk/package/mac80211/ (7 files) * ath9k: fix memory corruption issues on ar5416/ar91xx Jan 13 18:56:58 toketin: well, rtl8187 is a crappy chipset Jan 13 18:56:59 ;) Jan 13 18:57:02 wpa_supplicant tells me wlan1: SME: Authentication request to the driver failed Jan 13 18:57:21 nbd: yes i know that under linux it's ugly Jan 13 18:57:43 but i've read users able to use it Jan 13 18:58:55 nbd: with my archlinux i can connect using the alfa awus036h Jan 13 18:59:13 which openwrt version are you using Jan 13 18:59:22 r34388 Jan 13 18:59:37 root@OpenWrt:~# wifi up radio1 Jan 13 18:59:38 hm Jan 13 18:59:39 command failed: Operation not supported (-122) Jan 13 19:00:11 i had a similar problem with another usb dongle that uses the driver ath9k_htc, i've fixed with this: iw dev wlan1 del; iw phy1 interface add wlan1 type station; ifconfig wlan1 up; Jan 13 19:00:23 i've tried now with this rtl8187 but nothing Jan 13 19:00:29 same error Jan 13 19:02:12 updated openwrt/upstream, https://home.comcast.net/~sdwalker/uscan/index.html Jan 13 19:16:29 nothing it doesn't work :/ Jan 13 19:17:40 afaik that driver still uses wext so the openwrt scripts will not work Jan 13 19:18:04 you need to set it up manually with iwconfig and wpa_supplicant -Dwext ... Jan 13 19:20:14 it's a mac80211 driver Jan 13 19:20:46 ah ok, might have confused it then Jan 13 19:21:23 nothing also with -D wext, the output http://dpaste.com/876008/ Jan 13 19:23:45 what can i try jow_laptop? Jan 13 19:27:04 find out why its busy, looks like some other process is using wlan1 already Jan 13 19:28:23 killall hostapd? Jan 13 19:31:45 jow_laptop: i've tried also with these commands: iw dev wlan1 del; iw phy1 interface add wlan1 type station; ifconfig wlan1 up; Jan 13 19:33:56 how can i see what is using the wlan1? Jan 13 19:37:57 in ps probably Jan 13 19:39:03 just "ps" as command? Jan 13 19:39:18 ps ww Jan 13 19:40:16 http://dpaste.com/876015/ Jan 13 19:41:27 now look for wlan1... Jan 13 19:41:39 yes i've seen Jan 13 19:41:49 3903 root 1724 S wpa_supplicant -B -P /var/run/wifi-wlan1.pid -D nl80211 -i wlan1 -c /var/run/wpa_supplicant-wlan1.conf Jan 13 19:41:51 3925 root 1500 S udhcpc -p /var/run/udhcpc-wlan1.pid -s /lib/netifd/dhcp.script -f -t 0 -i wlan1 -C Jan 13 19:42:11 it's right because i've set "wifi up radio1" Jan 13 19:42:44 the same configuration is working with another usb dongle (ath9k_htc chipset) Jan 13 19:44:34 then something is probably broken with the driver Jan 13 19:45:01 strange, it's working under archlinux Jan 13 19:48:28 build #115 of iop32x is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/iop32x/builds/115 Jan 13 19:49:57 jow r35140 trunk/package/network/config/netifd/Makefile * netifd: update to git head, adds 64bit counters Jan 13 19:50:06 jow r35141 trunk/package/ubus/Makefile * ubus: update to git head, passes u64 blob types as doubles to Lua Jan 13 19:50:11 jow r35142 trunk/package/libs/libnfnetlink/Makefile * libnfnetlink: update to v1.0.1 Jan 13 19:54:14 build #112 of gemini is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/gemini/builds/112 Jan 13 20:45:19 juhosg r35143 trunk/package/mac80211/patches/605-rt2x00-pci-eeprom.patch * mac80211: rt2x00: fix PCI eeprom patch Jan 13 21:00:56 jow r35144 trunk/rules.mk * rules.mk: only select latest libgcc.a with wildcard match (#12798) Jan 13 22:11:20 nbd r35145 trunk/package/mac80211/patches/300-pending_work.patch * mac80211: fix monitor mode injection Jan 14 00:16:29 mazilo r35146 packages/net/ freeswitch/patches/001-build-modules_conf_in.patch freeswitch/Makefile freeswitch/files/etc.packages Jan 14 00:16:29 Added an option to compile with latest git HEAD (default disabled). Please use this option with care. It may break he compilation. Jan 14 00:57:55 cyrusff, jow_laptop: doing some more logging now, I can see that pppd sets the LL addresses and they shortly after disappear. sometimes odhcp6c had already acquired an address by that time and 6distributed did it's job, but the missing LL address still prevents the interface from routing **** ENDING LOGGING AT Mon Jan 14 02:59:59 2013