Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1] 2
Author Topic: Support for E3000v1
stevester
Pro
Posts: 136
Permalink
Post Support for E3000v1
on: June 12, 2011, 02:30
Quote

The E3000v1 is now user supported, please see the following wiki page for more info: http://dev.debwrt.net/wiki/LinksysE3000

Before posting any questions in this thread please check the RT-N16 thread here: http://www.debwrt.net/forum/hardware-group3/other-devices-forum6/support-for-rt-n16-thread4/ as they both use the same hardware/plugin and your question may have already been answered. Hope this helps!

stevester
Pro
Posts: 136
Permalink
Post Re: Support for E3000v1
on: June 15, 2011, 03:17
Quote

Updated the wiki page with pre-compiled firmware/modules which are UNTESTED. If you do give them a go please report your results back here in the forum to benefit the community.

ttr
Newbie
Posts: 8
Permalink
Post Re: Support for E3000v1
on: October 14, 2011, 12:11
Quote

Hey
First of all - hello to all debwrt community and beer for project devs as they saved me quite loads of time to creating loader image for native debian.

Now here are few of my findings:

On hardware list webpage, might be worth to mention that "user workable" is not taht some one run it out from the box. Wehn I've flashed my e3000 with loader from 2.0 release it got bricked (no worries - recovered with serial cable) and after goggling around I've found the debwrt e3000 wiki page. Adding links to custom webpages for each device (if needed) would not harm.

Second - patching of source code failed:
- some patches seems to be already done (cant tell no but I think three last files)
- patch for fs.mk (not in home right now to put full path name) was failing - seems that due to windows EOL but might be imstaken (did in manually)

after compile file that was used for flas was not debwrt-firmware-brcm47xx-squashfs.trx but *E3000-v1.bin (the documentation is mentioning the .trx one and this one was also 'bricking my router')

After that it's was more less ok (but did not go with configuration of it yet). Currently I'm bit stuck with network things:
1) after loading wl drivers I have only one wireless interface (a/g one) and can figure out how to make the N one - any ideas
2) any /etc/network/interfaces config file other than failsafe (default one) is failing (here did not spend to much time yet but if any one have working one I'll be really happy)

Over weekend I'll try to put more feed back.

PS - apologies for bad grammar.

ttr
Newbie
Posts: 8
Permalink
Post Re: Support for E3000v1
on: October 15, 2011, 00:01
Quote

OK, small Update:
ad 1 - it's in fact bgn but only 2.4Ghz still missing 5ghz
ad 2:
When running `swconfig dev eth0 help` I'm getting unable to connect to switch - does not matter if switch-rob and switch-core are loaded. Quite familiar situation is with `robocfg switch show` - here while probing eth0 I'm getting "driver not supported by bgmac'.
As result I have only eth0 (4 internal ports) and wl0 (2.4Ghz) interfaces.

this is happening when using release 2.0 root file system whit custom made modules (3.0.3) or fully custom made fs.

Also - the patches that where failing are after checkout openrwt revision 28457:
(file ./openwrt/patches/trunk/006_reverse-changeset27849-changes.patch)
patching file package/kernel/modules/fs.mk
Hunk #1 FAILED at 77.
Hunk #2 FAILED at 95.
Hunk #3 FAILED at 115.
Hunk #4 succeeded at 176 with fuzz 2.
3 out of 4 hunks FAILED -- saving rejects to file package/kernel/modules/fs.mk.rej

ttr
Newbie
Posts: 8
Permalink
Post Re: Support for E3000v1
on: October 15, 2011, 00:03
Quote

OK,
patch issue is openwrt i assume and did worked around by manually patching files

Networking was solved (thanks to RT-N16 Thread ) - access to switch config can be done by accessing /proc/ filesystem directly:

- load switch-core and switch-robo modules (add them to /etc/modules for autoload)
and use this minimalistic /etc/network/interface config (no wireless settings)

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual
  pre-up ifconfig eth0 0.0.0.0 up
  pre-up echo 1> /proc/switch/eth0/reset
  pre-up echo "1 2 3 4 8*"> /proc/switch/eth0/vlan/2/ports
  pre-up echo "0 8"> /proc/switch/eth0/vlan/3/ports
  post-down ifconfig eth0 down
  
auto vlan2
iface vlan2 inet manual 
  vlan-raw-device eth0

auto wl0
iface wl0 inet manual

auto br0
iface br0 inet static
  address 192.168.1.1
  netmask 255.255.255.0
  bridge_ports vlan2 wl0
  bridge_stp no

auto vlan3
iface vlan3 inet dhcp
  vlan-raw-device eth0

There is no need for

echo 1> /proc/switch/eth0/enable
echo 1> /proc/switch/eth0/enable_vlan

as doing reset is enabling them. In fact issuing 1 to enable/enable_vlan after reset is disabling them.

amain
Administrator
Posts: 222
Permalink
Post Re: Support for E3000v1
on: November 12, 2011, 15:47
Quote

Welcome to you too ttr! Great work. Since you've come so far already, could you update http://dev.debwrt.net/wiki/LinksysE3000 (open wiki)? Or maybe even supply working rootfs/kernel which can be downloaded from the user download section?

ttr
Newbie
Posts: 8
Permalink
Post Re: Support for E3000v1
on: December 5, 2011, 18:41
Quote

amain, I'll post it in next 2 days, as I need to snatch it directly from my E3000 (can't find copy of it on my desktop...).

Also, I'm re-doing image today also, as probably found some issues with previous one and not sure if its related to kernel or hardware, but whole things start dying when there is loads of new connection opened (ie p2p or just 50-70 concurrent connections to any service).

Also, patching image from current trunk (rev: r29420) is almost no problematic as I've need to correct one patch from BCM plugin:

--- a/brcm4716/openwrt/002-openwrt4716-TARGET_brcm4716-deps.patch
+++ b/brcm4716/openwrt/002-openwrt4716-TARGET_brcm4716-deps.patch
@@ -95,8 +95,8 @@ Signed-off-by: George Kashperko <george@znau.edu.ua>
    SUBMENU:=$(WMENU)
    URL:=http://linuxwireless.org/
    MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
--  DEPENDS:=@(!(TARGET_avr32||TARGET_ep93xx||TARGET_ps3||TARGET_pxcab)||BROKEN)
-+  DEPENDS:=@(!(TARGET_avr32||TARGET_ep93xx||TARGET_ps3||TARGET_pxcab||TARGET_brcm4716)||BROKEN)
+-  DEPENDS:=@(!(TARGET_avr32||TARGET_ep93xx||TARGET_ps3||TARGET_pxcab||LINUX_3_2)||BROKEN)
++  DEPENDS:=@(!(TARGET_avr32||TARGET_ep93xx||TARGET_ps3||TARGET_pxcab||LINUX_3_2||TARGET_brcm4716)||BROKEN)
  endef
  
  define KernelPackage/cfg80211

in short in openwrt code "LINUX_3_2" is missing from original DEPENDS line (line 51)

ttr
Newbie
Posts: 8
Permalink
Post Re: Support for E3000v1
on: December 11, 2011, 16:32
Quote

ok - the dying router part is most likely kernel cfg issue:

CPU 0 Unable to handle kernel paging request at virtual address 00100104, epc =4
Oops[#1]:                                                                       
Cpu 0                                                                           
$ 0   : 00000000 00000000 00200200 00100100                                     
$ 4   : 8033b1e0 00000024 0f01fc00 00000000                                     
$ 8   : 82d0a800 82d0a000 82d0b800 82d0b000                                     
$12   : 82d08800 82faa800 00000800 82d08000                                     
$16   : 8392fcec 00000000 00000040 000000ac                                     
$20   : 80300000 80350000 80300000 ffff60b8                                     
$24   : 00000000 801e6190                                                       
$28   : 802f0000 802f1d60 802f0000 801fcdd4                                     
Hi    : 00000016                                                                
Lo    : 00000000                                                                
epc   : 801fce30 0x801fce30                                                     
    Tainted: P                                                                  
ra    : 801fcdd4 0x801fcdd4                                                     
Status: 1100bc02    KERNEL EXL                                                  
Cause : 0080000c                                                                
BadVA : 00100104                                                                
PrId  : 00019740 (MIPS 74Kc)                                                    
Modules linked in: ipt_MASQUERADE ipt_REJECT xt_recent xt_tcpudp xt_state iptabg
Process swapper (pid: 0, threadinfo=802f0000, task=802f3ce0, tls=00000000)      
Stack : 00000004 00000001 00000001 00000000 8034808c 00000001 00000003 00000100 
        0000000a 80350000 80350000 802f5868 802f5e50 80029f68 80320000 8032a9e6 
        802f0000 00000002 00000001 80400000 00000000 80326788 80320000 8032a9e6 
        802f0000 00000002 00000001 80400000 ffffffff 8002a170 34b0c500 00000088 
        00001000 80326788 00001000 8002a350 802f0000 00000002 00000001 80400000 
        ...                                                                     
Call Trace:[<80029f68>] 0x80029f68                                              
[<80320000>] 0x80320000                                                         
[<80320000>] 0x80320000                                                         
[<8002a170>] 0x8002a170                                                         
[<8002a350>] 0x8002a350                                                         
[<800020bc>] 0x800020bc                                                         
[<80041bc4>] 0x80041bc4                                                         
[<80004fac>] 0x80004fac                                                         
[<80005180>] 0x80005180                                                         
[<80320000>] 0x80320000                                                         
[<8001f93c>] 0x8001f93c                                                         
[<80006ae8>] 0x80006ae8                                                         
[<800051a0>] 0x800051a0                                                         
[<803088d4>] 0x803088d4                                                         
[<8030821c>] 0x8030821c                                                         
                                                                                
                                                                                
Code: 0807f397  000000c0  8e030000 <ac620004> ac430000  3c028030  244377c0  8c6 
Kernel panic - not syncing: Fatal exception in interrupt                      

will try to debug more it in next days.

ttr
Newbie
Posts: 8
Permalink
Post Re: Support for E3000v1
on: December 11, 2011, 20:39
Quote

fresh recompile.
Image and headers (actually whole copy of bin directory) is here: http://firstborn.ttrsite.net/debwrt/20111211/ (directly from e3000 so if its down, let me know).

will post some stress results later on.

ttr
Newbie
Posts: 8
Permalink
Post Re: Support for E3000v1
on: December 15, 2011, 15:38
Quote

ok, compiled 3.0.4 kernel with new patch set that should solve problem with kernel panic, but for some reason network at all is not working - will need troubleshoot it.

Also - 3.0.3 version works quite well IF there is no huge amount of connection in same time (was working stable with about 1500 cnx) and if there is no huge mount of new connections (about 30-50/sec was ok) - ergo NO p2p via it 🙂

Pages: [1] 2
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.042 seconds.