**** BEGIN LOGGING AT Fri Apr 18 02:59:59 2014 Apr 18 04:37:55 nbd: ping. :P Apr 18 05:36:05 adri: pong Apr 18 05:47:29 build #582 of orion is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/orion/builds/582 Apr 18 06:36:30 build #575 of cobalt is complete: Failure [failed compile_8] Build details are at http://buildbot.openwrt.org:8010/builders/cobalt/builds/575 Apr 18 06:47:27 build #31 of pxa is complete: Failure [failed shell compile_4] Build details are at http://buildbot.openwrt.org:8010/builders/pxa/builds/31 Apr 18 07:06:08 DonkeyHotei: the post is at http://adrianchadd.blogspot.com/ Apr 18 07:49:41 build #31 of omap is complete: Failure [failed compile_4] Build details are at http://buildbot.openwrt.org:8010/builders/omap/builds/31 Apr 18 09:37:59 vampo: have you had success with vlans with the ARV7519PW or the ar9 based Zyxel? Apr 18 09:38:00 the routers that have the RTL8306 Apr 18 09:41:10 Pteridium: I have not done any extended testing but at least port based vlans should work Apr 18 09:41:33 not sure about full 802.1q Apr 18 09:41:48 what problems do you see? Apr 18 09:42:50 i haven't success with the arv4518, maybe the reset gpio is wrong or bad defined Apr 18 09:43:29 so no port based vlans for now Apr 18 09:44:23 I don't have that board but maybe I can help if you gave me some details of the setup Apr 18 09:45:00 which details do you need? a complete bootlog? Apr 18 09:45:26 wit a lot of debug, of course Apr 18 09:45:32 ifconfig and swconfig dev eth0 show Apr 18 09:45:37 ok Apr 18 09:58:38 vampo: excuse me the delay. http://pastebin.com/xVuddqT8 Apr 18 09:59:30 the gpio 13 is the switch reset signal AFAIK Apr 18 10:00:25 at least it was defined as 13 in AA Apr 18 10:01:28 build #33 of x86_64 is complete: Failure [failed compile_4] Build details are at http://buildbot.openwrt.org:8010/builders/x86_64/builds/33 Apr 18 10:02:27 ok, first things first, the vlan config doesn't look good Apr 18 10:02:42 you have untagged ports on multiple vlans Apr 18 10:02:49 start with: Apr 18 10:03:08 swconfig dev eth0 vlan 0 set ports ' ' Apr 18 10:03:27 and repeat for vlans 2, 3, 4 and 5 Apr 18 10:04:16 until you see only vlan1 in the list Apr 18 10:09:39 ok, give me some minutes to test Apr 18 10:09:52 and thanks for your advices Apr 18 10:10:00 Pteridium: sure :) Apr 18 10:10:16 and this is the dts: http://pastebin.com/06fGhsbU Apr 18 10:10:37 these changes will be lost on reboot. you should transfer them to the config Apr 18 10:10:54 ok Apr 18 10:11:15 the current driver tries to initialise port isolation and creates these vlans on every reset Apr 18 10:35:35 vampo: no luck Apr 18 10:35:37 http://pastebin.com/xyCbsBaV Apr 18 10:36:46 tried with eth0 and switch0 Apr 18 10:39:07 maybe my fault: in the dts i've defined gpios = <&gpio 13 1>, while you defined gpios = <&gpio 19 0> Apr 18 10:40:27 does network work with this dts without vlans? The gpio is for reset/power the switch Apr 18 10:42:01 yes, with option vlan '0' and option ifname 'eth0' works fine Apr 18 10:42:52 'eth0' instead 'eth0.1' Apr 18 10:43:12 ok, so the gpio is correct Apr 18 10:43:36 sure? Apr 18 10:43:50 sure it is correct?* Apr 18 10:44:07 well, at least it's not powering off the switch :) Apr 18 10:44:17 ok :) Apr 18 10:45:00 if you toggle that gpio, eth should stop even without vlans Apr 18 10:45:13 and at least then you know if you have the right one Apr 18 10:46:07 ok, give me a moment to make the tests. Apr 18 11:45:02 vampo: you are right. setting gpio 13 to value 0 rtl8306 works, while with 1 it is reseted or powered off Apr 18 11:46:50 but only setting option ifname 'eth0' Apr 18 11:47:01 with option ifname 'eth0.1' nothing Apr 18 11:48:05 Pteridium: good, so we have confirmed that 13 is the correct GPIO Apr 18 11:48:44 yes, thanks to you Apr 18 11:48:47 now, before we try vlans, let's check if the switch - cpu link recovers after a reset Apr 18 11:49:04 checked and recovers Apr 18 11:49:13 good :) Apr 18 11:49:41 reset of the switch only, right? not the whole board Apr 18 11:50:00 yes, only the switch Apr 18 11:50:02 as in flipping the gpio, connectivity does return Apr 18 11:50:08 yes Apr 18 11:50:47 cool, so it isn't the initial vlan setup that kills the connection, it is the vlans themselves Apr 18 11:51:07 i.e. the cpu - switch still works Apr 18 11:51:30 ah Apr 18 11:51:40 but... Apr 18 11:52:19 can you check if any packets come out of the switch when vlans are configured? and if they do, are they tagged? Apr 18 11:53:14 how can i check it? with wireshark? Apr 18 11:53:24 to test, set up vlans, set up eth0.1 and start a ping from the board to the connected PC Apr 18 11:53:35 ok Apr 18 11:54:12 yes, on the pc check if wireshark can see anything coming out and check for the vlan headers Apr 18 11:54:40 i'll do as you say, but now is time to lunch Apr 18 11:55:00 ;) enjoy Apr 18 11:55:27 thanks for your help Apr 18 11:55:39 see you in a while Apr 18 13:23:09 zajec__: I took a look at the nested form thing Apr 18 13:23:42 zajec__: however there are a number of logical things that need to be sorted out Apr 18 14:17:05 karlp: just read your mail regarding local modifications Apr 18 14:17:16 karlp: there is a feature for that (CONFIG_SOURCE_TREE_OVERRIDE) Apr 18 14:17:59 karlp: you enable source tree override in menuconfig, then you symlink the .git directory of a local clone of the package source to git-src within the openwrt package folder Apr 18 14:18:46 karlp: e.g. I do for netifd, ln -s /home/jow/devel/netifd.git/.git package/network/config/netifd/git-src Apr 18 14:19:22 karlp: then a "make package/netifd/{clean,compile}" will pick the sources from my local clone regardless of whats defined in the Makefile Apr 18 14:20:40 jow_laptop: yeah, i've relaized that Apr 18 14:20:50 jow_laptop: all these classes seem a bit overcomplicated to me :( Apr 18 14:21:22 zajec__: there is no way to make it significantly easier, that structure evolved over th course of six years Apr 18 14:21:42 of course you can trim down the abstraction dramaticly, but then your views will get extremely complicated Apr 18 14:21:58 because you end up recoding the crud logic every time Apr 18 14:22:47 I played a bit around with nesting entire forms and its quite complicated Apr 18 14:23:07 the rendering part is easy, a form will render itself into arbritary parent containers Apr 18 14:23:22 but the event delegation is a nightmare Apr 18 14:23:46 for example a nested form shall have no own save/reset etc. buttons but react on the actions of the parent form Apr 18 14:24:16 right Apr 18 14:25:26 structure wise you can already declare your wifi-device + related wifi-iface form layout, even without nesting support Apr 18 14:26:52 ah no, you can't... a few things are missing Apr 18 14:27:19 I'll try another approach... nested sections Apr 18 14:49:03 zajec__: the subsection approach looks more promising and fits more logically into the existing structure Apr 18 14:51:34 ok... Apr 18 14:51:42 but i still wonder if this could be simplified Apr 18 14:53:00 for example i find it confusing *Section handle the way data is displayed Apr 18 14:53:17 i was wondering if we could have something like a layouts Apr 18 14:53:48 like... DefaultLayout, TabbedLayout, TableLayout? Apr 18 14:54:18 well, I guess I need to understand code better before going deeper Apr 18 14:55:32 jow_laptop: [ot] do you know who could commit/push my [PATCH][packages] ntfs-3g: bump to 2014.2.15 Apr 18 14:58:58 nbd r40527 trunk/include/package.mk * build: reimplement package build directory override Apr 18 15:02:53 jow_laptop: is "taboption" used for anything else than TypedSection? Apr 18 15:02:59 zajec__: and what would the introduction of layouts simplify? Apr 18 15:03:23 taboptions are supported by TypedSections, NamedSections, SingleSections Apr 18 15:03:29 basically by all except TableSections Apr 18 15:03:37 oh Apr 18 15:03:43 because tabbing within a grid view of sections does not really make sense Apr 18 15:04:11 but I could implement it Apr 18 15:04:31 tabbing in a table section could devide the table rows Apr 18 15:04:34 erm table cols Apr 18 15:05:14 so yeah, out of lazyness I coded TableSections to ignore the tabbing, it currently simply renders the fields fro mthe first tab Apr 18 15:06:37 jow_laptop: honestly, I don't know how to proceed Apr 18 15:06:50 I just get irritated every time I try to understand some part :( Apr 18 15:08:32 don't worry Apr 18 15:08:47 I'm still wokring on the subsection support, then we can look over it together if you like Apr 18 15:11:10 well, maybe it just needs documenting Apr 18 15:11:14 maybe it would be easier then Apr 18 15:11:48 crtainly :) Apr 18 15:12:38 Right now I look at L.cbi.Map and... WTH is finish? WTH is section? WTH is formvalue? and so on... Apr 18 15:17:01 jow_laptop: thanks for those suggestions, I'll try them out at work next week, and try and write some edits to the "creating packages" wiki page with how to do this Apr 18 15:17:16 I'd asked here when it was removed what an alternative workflow was, but hadn't heard anything, Apr 18 15:17:31 if this way handles make clean properly (whch it sounds like it does) then it's better anyway :) Apr 18 15:18:07 jow_laptop: btw. what I wanted some layout classes? to for example avoid duplicating tabs implementation in Map and TypedSection Apr 18 15:20:39 zajec__: reason for the two distinct implementations is that the underlying object model fundamentally differs Apr 18 15:54:04 adri: SIOCSIFHWADDR never reaches the ath9k code Apr 18 15:57:52 jow_laptop: what are fields? why ever tab has fields instead of options directly? Apr 18 16:29:20 build #49 of sunxi is complete: Failure [failed shell] Build details are at http://buildbot.openwrt.org:8010/builders/sunxi/builds/49 Apr 18 17:17:22 build #32 of mpc83xx is complete: Failure [failed shell compile_8] Build details are at http://buildbot.openwrt.org:8010/builders/mpc83xx/builds/32 Apr 18 17:28:37 nbd r40528 trunk/package/base-files/files/etc/rc.button/wps * base-files: remove duplicate wps button handler (#15621) Apr 18 17:40:11 build #538 of ppc44x is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/ppc44x/builds/538 Apr 18 17:40:16 build #538 of rb532 is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/rb532/builds/538 Apr 18 18:05:36 build #31 of adm8668 is complete: Failure [failed compile_8] Build details are at http://buildbot.openwrt.org:8010/builders/adm8668/builds/31 Apr 18 18:07:51 build #507 of sibyte is complete: Failure [failed shell_10 shell_15] Build details are at http://buildbot.openwrt.org:8010/builders/sibyte/builds/507 Apr 18 19:08:03 build #571 of lantiq is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/lantiq/builds/571 Apr 18 19:37:54 zajec__: fields are options Apr 18 19:39:27 jow_laptop: what do u think about my p910nd module? Apr 18 19:40:29 it looks okay Apr 18 19:40:52 will you apply & push it? ;) Apr 18 19:41:58 soon Apr 18 19:42:13 alrighty :) Apr 18 19:42:29 I want to cleanup some internal cbi functions as well Apr 18 19:43:07 for example sections() in *Section classes should be called section_ids() Apr 18 19:43:42 and I think about renaming section() to addSection(), option() to addOption() etc. Apr 18 19:43:52 ack! Apr 18 19:43:55 the current names are more or less transcriptions of cbi.lua Apr 18 19:44:04 functions like section() are confusing Apr 18 19:44:38 I already started renaming internal members Apr 18 19:44:45 i also find it a bit confusing to use "package" for what uci usually calls "config" Apr 18 19:44:56 uci on the cli calls it package too Apr 18 19:45:00 err Apr 18 19:45:02 no? Apr 18 19:45:03 as does the uci library Apr 18 19:45:22 but yeah, its switching back and forth here and there Apr 18 19:45:29 $ uci help Apr 18 19:45:31 show [[.
[.