As janisk reported it does not boot, no error messages, nothing, just CPU goes up to 100% and stays there. I have tested on rb800 with ros 6.10 .... mipsbe version is running great for days now on my rb493g ... great work, tnx!Any error messages or detailed description? I'm unable to test PPC because I dont have any PPC hardware.
I cant get ppc version running on RB800 ... mipsbe runs fine on my rb493.
JF
Great work! Thanks. But it looks like there is no "asterisk-gui" in package repository. It would be great if someone could build one.
For me everything is working perfect! Thank You!!! Build 36088 is now my gold standard.Enjoy!
Great news! Works great for me with samba 36.I just create new "experimental" repositories for Attitude Adjustment 12.09 build 36088 + ALL packages + Asterisk GUI.
OpenWrt milestone info: https://dev.openwrt.org/milestone/Attit ... nt%2012.09
Modifications:
- Experimental MetaRouter Patch for Kernel 3.3.8
- changed root password to: master
- changed eth0 to DHCP
- changed opkg source to my repositories
MIPS:
http://openwrt.wk.cz/attitude_adjustmen ... tfs.tar.gz
CONFIG MIPS:
http://openwrt.wk.cz/attitude_adjustmen ... 8-20140311
PACKAGES:
http://openwrt.wk.cz/attitude_adjustmen ... /packages/
PPC:
http://openwrt.wk.cz/attitude_adjustmen ... tfs.tar.gz
CONFIG PPC:
http://openwrt.wk.cz/attitude_adjustmen ... 8-20140311
PACKAGES:
http://openwrt.wk.cz/attitude_adjustmen ... /packages/
Enjoy!
root@metarouter:/# ifconfig
eth0 Link encap:Ethernet HWaddr 02:97:24:54:0D:20
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:399 errors:0 dropped:115 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27692 (27.0 KiB) TX bytes:31205 (30.4 KiB)
[admin@MikroTik] /metarouter> export
# mar/14/2014 15:38:57 by RouterOS 6.11rc1
# software id = 2BME-LLFU
#
/metarouter
add name=mr1
/metarouter interface
add static-interface=ether2-master-local virtual-machine=mr1 vm-mac-address=\
02:97:24:54:0D:20
[admin@MikroTik] /ip dhcp-server> export
# mar/14/2014 15:37:28 by RouterOS 6.11rc1
# software id = 2BME-LLFU
#
/ip dhcp-server
add add-arp=yes address-pool=default-dhcp disabled=no interface=\
ether2-master-local lease-time=1d name=home_network
I see, Im going to try to build these packages.Great news! Works great for me with samba 36.
But it looks like there are some dependencies problems for asterisk gui (asterisk18-res-phoneprov, asterisk18-app-meetme and asterisk18-app-page)
Anyway, this is unbelievably cool! Thanks.
Lets try to use another (ether3,4,5) static interface for metarouter then ether2-master-local where DHCP server is binding.liquidcz
Thanx for builds. I have try last build for mips and something go strange.
My rb951 have 5 ethernets.
ether1 for my isp
etrer2-5 for my local devices.
I have no bridges.
When i import image into metarouter, it was started corectly, but dhcp-client dont work. And i see droped packegesI try to set up VM interface to ether1 port(my isp) and VM get IP. No droped packets and so on.Code: Select allroot@metarouter:/# ifconfig eth0 Link encap:Ethernet HWaddr 02:97:24:54:0D:20 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:399 errors:0 dropped:115 overruns:0 frame:0 TX packets:79 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:27692 (27.0 KiB) TX bytes:31205 (30.4 KiB)
What i do wrong?
Code: Select all[admin@MikroTik] /metarouter> export # mar/14/2014 15:38:57 by RouterOS 6.11rc1 # software id = 2BME-LLFU # /metarouter add name=mr1 /metarouter interface add static-interface=ether2-master-local virtual-machine=mr1 vm-mac-address=\ 02:97:24:54:0D:20
Code: Select all[admin@MikroTik] /ip dhcp-server> export # mar/14/2014 15:37:28 by RouterOS 6.11rc1 # software id = 2BME-LLFU # /ip dhcp-server add add-arp=yes address-pool=default-dhcp disabled=no interface=\ ether2-master-local lease-time=1d name=home_network
Well, lets try to create dynamic metarouter interface and bridge it with ether2.liquidcz
I tried another ether, but my lan dhcp dont work. Work only on ether1. Metarouter catch ip from isp dhcp server. Pings and so on work perfect.
May be root of problem is droped packets in eth0 interface, how can i diagnostic why packets drop?
P.S. can you add nano text editor at next builds? vi not friendly for me...
I'm sorry, I had to reinforce the server.liquidcz: your site is now unreachable?
EDIT: is online again!
liquidcz, hehey!!! it work!!! DHCP not work again, but i configure interface manualy.Well, lets try to create dynamic metarouter interface and bridge it with ether2.liquidcz
I tried another ether, but my lan dhcp dont work. Work only on ether1. Metarouter catch ip from isp dhcp server. Pings and so on work perfect.
May be root of problem is droped packets in eth0 interface, how can i diagnostic why packets drop?
P.S. can you add nano text editor at next builds? vi not friendly for me...
Ad nano,.. just opkg update, opkg install nano .
Installing asterisk-gui (2.1.0-rc1) to root...
Downloading http://openwrt.wk.cz/attitude_adjustment/mr-mips/packages/asterisk-gui_2.1.0-rc1_mr-mips.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for asterisk-gui:
* asterisk18-res-phoneprov * asterisk18-app-meetme * asterisk18-app-page *
* opkg_install_cmd: Cannot install package asterisk-gui.
I am curious what the issue seems to be. Your own kernel can boot on PPC inside of Metarouter. Can't MikroTik just share what is different about their kernel that allows it to work?unfortunately this is not as trivial as it might seem.As I remember this is an old issue, still not fixed.
Check your DHCP server: most likely there will be a red line mentioning that wrong interface is selected.liquidcz, hehey!!! it work!!! DHCP not work again, but i configure interface manualy.
Hello Bino, see this other thread for the patch:Could you please share your metarouter patch ?
Hi liquidcz,I just create new "experimental" repositories for Attitude Adjustment 12.09 build 36088 + ALL packages + Asterisk GUI.
OpenWrt milestone info: https://dev.openwrt.org/milestone/Attit ... nt%2012.09
Modifications:
- Experimental MetaRouter Patch for Kernel 3.3.8
- changed root password to: master
- changed eth0 to DHCP
- changed opkg source to my repositories
MIPS:
http://openwrt.wk.cz/attitude_adjustmen ... tfs.tar.gz
CONFIG MIPS:
http://openwrt.wk.cz/attitude_adjustmen ... 8-20140311
PACKAGES:
http://openwrt.wk.cz/attitude_adjustmen ... /packages/
PPC:
http://openwrt.wk.cz/attitude_adjustmen ... tfs.tar.gz
CONFIG PPC:
http://openwrt.wk.cz/attitude_adjustmen ... 8-20140311
PACKAGES:
http://openwrt.wk.cz/attitude_adjustmen ... /packages/
Enjoy!
It looks like you have to switch to other repository or build image/packages yourself as it seems that either mirror is down or packages pulled, or packages has never been there.
It looks like you have to switch to other repository or build image/packages yourself as it seems that either mirror is down or packages pulled, or packages has never been there.
Hello , Could you please share with me the way you built the image and module? I have been trying with no success for couple of days now.Hello All,
First of all, thanks again liquidcz for the metarouter image.
Any chance to see an upgrade to libopenssl ? The provided one is impacted by heartbleed (1.0.1e) and used by OpenVPN.
In the meantime I'll try to do it on my side.
Thank you
Edit: If someone wants it -> https://www.dropbox.com/s/1cgk3xempsa3m ... s.ipk?dl=0
I have only built the SDK to compile packages but this should apply (using menuconfig) to anything else.Hello , Could you please share with me the way you built the image and module? I have been trying with no success for couple of days now.
I have only built the SDK to compile packages but this should apply (using menuconfig) to anything else.Hello , Could you please share with me the way you built the image and module? I have been trying with no success for couple of days now.
As I played around for quite a while, it might not be as accurate as it should be but the idea is there:
1. Install docker
2. Download and instanciate noonien's OpenWRT image (thanks to him btw!) - docker run -t -i noonien/openwrt-buildroot:12.09 sudo -iu openwrt bash
3. Once prompt is available: apt-get install -y wget unzip python
4. cd ~/openwrt
5. run: git pull
6. run: ./scripts/feeds update -a
7. run: ./scripts/feeds install -a
8. Download and apply patch for 12.09 mentioned in http://forum.mikrotik.com/viewtopic.php ... 49#p403419
9. run: make menuconfig and select mr-mips architecture
10. run: make defconfig (I guess this steps make previous step the default configuration)
11. run once more: make menuconfig and select things to be built
12. run make and wait
Hope this helps. As long as I'm able to help you, I will remain available for questions you may have.
root@OpenWrt:/# passwd
Changing password for root
New password:
Retype password:
Password for root changed by root
root@OpenWrt:/# [ 0.000000] skbuff: skb_over_panic: text:c02d30e4 len:14272 put:14272 head:c1bd0e80 data:c1bd0ec0 tail:0xc1bd4680 end:0xc
1bd1500 dev:<NULL>
[ 0.000000] Kernel bug detected[#1]:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.10.49 #2
[ 0.000000] task: c0338558 ti: c032e000 task.ti: c032e000
[ 0.000000] $ 0 : 00000000 10008200 0000007f c0330000
[ 0.000000] $ 4 : 10008200 00000001 00001248 c0372020
[ 0.000000] $ 8 : 35303020 c0373268 0000004b 00000000
[ 0.000000] $12 : 0000004b 00000000 00000000 00000000
[ 0.000000] $16 : c1929c80 00000180 00000060 00000000
[ 0.000000] $20 : c0380000 c037d340 c037db44 c0378198
[ 0.000000] $24 : 00000000 c02cff58
[ 0.000000] $28 : c032e000 c032faf8 c0330000 c02ce660
[ 0.000000] Hi : 00000000
[ 0.000000] Lo : 83126e98
[ 0.000000] epc : c02ce660 skb_panic+0x58/0x5c
[ 0.000000] Not tainted
[ 0.000000] ra : c02ce660 skb_panic+0x58/0x5c
[ 0.000000] Status: 10008202 KERNEL EXL
[ 0.000000] Cause : 00000024
[ 0.000000] PrId : 0001800a (MIPS 4Kc)
[ 0.000000] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4 ipt_MASQUERADE xt_time xt_tcpu
dp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_nat_irc nf_
nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_REJECT ip_tables crc_ccitt ip6
t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ipv6
[ 0.000000] Process swapper (pid: 0, threadinfo=c032e000, task=c0338558, tls=00000000)
[ 0.000000] Stack : 00000740 c0306098 c02d30e4 000037c0 000037c0 c1bd0e80 c1bd0ec0 c1bd4680
c1bd1500 c0321eb4 00000000 c02833dc 00000000 c1ad87b0 c1868c70 00000170
0000005c c02d30e4 00000011 00000001 58b9db23 00000043 c1883a90 00010000
00000000 00000000 00000043 c033c04c c03331e0 c0330000 c0330000 c01cfa78
c1ade000 c0330e50 c1ade000 c0290740 00010000 c01fa9e8 c033c04c 00010000
...
[ 0.000000] Call Trace:
[ 0.000000] [<c02ce660>] skb_panic+0x58/0x5c
[ 0.000000] [<c02833dc>] skb_put+0x48/0x50
[ 0.000000] [<c02d30e4>] veth_interrupt+0x198/0x31c
[ 0.000000] [<c01cfa78>] handle_irq_event_percpu+0x58/0x260
[ 0.000000] [<c01cf9fc>] handle_irq_event+0x3c/0x60
[ 0.000000] [<c01cf838>] handle_edge_irq+0x164/0x1b4
[ 0.000000] [<c01c76b0>] generic_handle_irq+0x3c/0x54
[ 0.000000] [<c018ee10>] do_IRQ+0x1c/0x2c
[ 0.000000] [<c02d595c>] virq_cascade_irq+0x3c/0x70
[ 0.000000] [<c01cfa78>] handle_irq_event_percpu+0x58/0x260
[ 0.000000] [<c01cfda4>] handle_percpu_irq+0x54/0x84
[ 0.000000] [<c01c76b0>] generic_handle_irq+0x3c/0x54
[ 0.000000] [<c018ee10>] do_IRQ+0x1c/0x2c
[ 0.000000] [<c01015c8>] ret_from_irq+0x0/0x4
[ 0.000000] [<c0127fa4>] __do_softirq+0x9c/0x1d4
[ 0.000000] [<c019cba0>] do_softirq+0x48/0x68
[ 0.000000] [<c01f8288>] irq_exit+0x54/0x70
[ 0.000000] [<c01015c8>] ret_from_irq+0x0/0x4
[ 0.000000] [<c0101880>] __r4k_wait+0x20/0x40
[ 0.000000] [<c017b7a8>] cpu_startup_entry+0xd0/0x140
[ 0.000000] [<c0344948>] start_kernel+0x3a0/0x3b8
[ 0.000000]
[ 0.000000]
Code: 24841ebc 0c0b3835 00603821 <000c000d> 27bdffc0 afb00034 afbf003c afb10038 00808021
[ 0.000000] ---[ end trace 461164077349d5ee ]---
[ 0.000000] Kernel panic - not syncing: Fatal exception in interrupt
[ 0.000000] Rebooting in 3 seconds..[ 0.000000] Linux version 3.10.49 (zentavr@zentavr-ig) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-
2014.04 r44162) ) #2 Sun Feb 8 19:32:34 EET 2015
[ 0.000000] CPU revision is: 0001800a (MIPS 4Kc)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 00243000 @ 00101000 (usable)
[ 0.000000] memory: 0002c000 @ 00344000 (usable after init)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00000000-0x01ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=hvc0 board=vm mem=32M init=/etc/preinit
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Memory: 28820k/32768k available (1936k kernel code, 3948k reserved, 377k data, 176k init, 0k highmem)
[ 0.000000] NR_IRQS:168
[ 0.000000] console [hvc0] enabled
[ 0.000000] Calibrating delay loop... 242.94 BogoMIPS (lpj=485888)
[ 0.000000] pid_max: default: 32768 minimum: 301
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] bio: create slab <bio-0> at 0
[ 0.000000] Switching to clocksource MIPS
[ 0.000000] NET: Registered protocol family 2
[ 0.000000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] TCP: Hash tables configured (established 512 bind 512)
[ 0.000000] TCP: reno registered
[ 0.000000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.000000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.000000] NET: Registered protocol family 1
[ 0.000000] MFS init
[ 0.000000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.000000] msgmni has been set to 56
[ 0.000000] io scheduler noop registered
[ 0.000000] io scheduler deadline registered (default)
[ 0.000000] TCP: cubic registered
[ 0.000000] NET: Registered protocol family 17
[ 0.000000] Bridge firewalling registered
[ 0.000000] 8021q: 802.1Q VLAN Support v1.8
[ 0.000000] VFS: Mounted root (metafs filesystem) readonly on device 0:9.
[ 0.000000] Freeing unused kernel memory: 176K (c0344000 - c0370000)
procd: Console is alive
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
mounting /dev/root
procd: - early -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
BusyBox v1.22.1 (2015-02-08 19:20:44 EET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Barrier Breaker, r44162)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@(none):/# [ 0.000000] NET: Registered protocol family 10
[ 0.000000] nf_conntrack version 0.5.0 (469 buckets, 1876 max)
[ 0.000000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 0.000000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 0.000000] xt_time: kernel timezone is -0000
[ 0.000000] PPP generic driver version 2.4.2
[ 0.000000] NET: Registered protocol family 24
root@OpenWrt:/# uptime me
21:16:58 up 0 min, load average: 1.85, 0.48, 0.16
root@OpenWrt:/# uptime
21:17:02 up 0 min, load average: 1.94, 0.52, 0.17
root@OpenWrt:/# [ 0.000000] device eth0 entered promiscuous mode
[ 0.000000] br-lan: port 1(eth0) entered forwarding state
[ 0.000000] br-lan: port 1(eth0) entered forwarding state
[ 0.000000] br-lan: port 1(eth0) entered forwarding state
procd: - init complete -
Interesting. Does the panic report look similar every time? The one that you posted seems to indicate that something went wrong during packet receive over the virtual ethernet interface.virtual machine dies periodically with hangings or kernel panic.
[Ctrl-A is the prefix key]
[ 0.000000] Linux version 3.10.49 (zentavr@zentavr-ig) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44162) ) #2 Sun Feb 8 19:32:34 EET 2015
[ 0.000000] CPU revision is: 0001800a (MIPS 4Kc)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 00243000 @ 00101000 (usable)
[ 0.000000] memory: 0002c000 @ 00344000 (usable after init)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00000000-0x03ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=hvc0 board=vm mem=64M init=/etc/preinit
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 61308k/65536k available (1936k kernel code, 4228k reserved, 377k data, 176k init, 0k highmem)
[ 0.000000] NR_IRQS:168
[ 0.000000] console [hvc0] enabled
[ 0.000000] Calibrating delay loop... 242.94 BogoMIPS (lpj=485888)
[ 0.000000] pid_max: default: 32768 minimum: 301
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] bio: create slab <bio-0> at 0
[ 0.000000] Switching to clocksource MIPS
[ 0.000000] NET: Registered protocol family 2
[ 0.000000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] TCP: Hash tables configured (established 512 bind 512)
[ 0.000000] TCP: reno registered
[ 0.000000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.000000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.000000] NET: Registered protocol family 1
[ 0.000000] MFS init
[ 0.000000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.000000] msgmni has been set to 119
[ 0.000000] io scheduler noop registered
[ 0.000000] io scheduler deadline registered (default)
[ 0.000000] TCP: cubic registered
[ 0.000000] NET: Registered protocol family 17
[ 0.000000] Bridge firewalling registered
[ 0.000000] 8021q: 802.1Q VLAN Support v1.8
[ 0.000000] VFS: Mounted root (metafs filesystem) readonly on device 0:9.
[ 0.000000] Freeing unused kernel memory: 176K (c0344000 - c0370000)
procd: Console is alive
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
mounting /dev/root
procd: - early -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 0.000000] NET: Registered protocol family 10
[ 0.000000] nf_conntrack version 0.5.0 (976 buckets, 3904 max)
[ 0.000000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 0.000000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 0.000000] xt_time: kernel timezone is -0000
[ 0.000000] PPP generic driver version 2.4.2
[ 0.000000] NET: Registered protocol family 24
BusyBox v1.22.1 (2015-02-08 19:20:44 EET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Barrier Breaker, r44162)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/# [ 0.000000] device eth0 entered promiscuous mode
[ 0.000000] br-lan: port 1(eth0) entered forwarding state
[ 0.000000] br-lan: port 1(eth0) entered forwarding state
[ 0.000000] br-lan: port 1(eth0) entered forwarding state
[ 0.000000] unaligned data access af at (null) (null)
[ 0.000000] unaligned data access 1b61 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#1]:
[ 0.000000] unaligned data access 182d at (null) (null)
[ 0.000000] unaligned data access 1b61 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#2]:
[ 0.000000] unaligned data access 182d at (null) (null)
[ 0.000000] unaligned data access 1b61 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#3]:
[ 0.000000] unaligned data access 182d at (null) (null)
[ 0.000000] unaligned data access 1b61 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#4]:
[ 0.000000] unaligned data access 182d at (null) (null)
[ 0.000000] unaligned data access 1b61 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#5]:
[ 0.000000] unaligned data access 182d at (null) (null)
[ 0.000000] unaligned data access 571 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#6]:
[ 0.000000] unaligned data access 23d at (null) (null)
[ 0.000000] CPU: 0 PID: 1930035277 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 17d at (null) (null)
[ 0.000000] unaligned data access 29d at (null) (null)
[ 0.000000] unaligned data access fdd at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 12d1 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#7]:
[ 0.000000] unaligned data access 23d at (null) (null)
[ 0.000000] CPU: 0 PID: 1930035277 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 17d at (null) (null)
[ 0.000000] unaligned data access 29d at (null) (null)
[ 0.000000] unaligned data access fdd at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 12d1 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#8]:
[ 0.000000] unaligned data access 23d at (null) (null)
[ 0.000000] CPU: 0 PID: 1930035277 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 17d at (null) (null)
[ 0.000000] unaligned data access 29d at (null) (null)
[ 0.000000] unaligned data access fdd at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 12d1 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#9]:
[ 0.000000] unaligned data access 23d at (null) (null)
[ 0.000000] CPU: 0 PID: 1930035277 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 17d at (null) (null)
[ 0.000000] unaligned data access 29d at (null) (null)
[ 0.000000] unaligned data access fdd at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 12d1 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#10]:
[ 0.000000] unaligned data access 23d at (null) (null)
[ 0.000000] CPU: 0 PID: 1930035277 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 17d at (null) (null)
[ 0.000000] unaligned data access 29d at (null) (null)
[ 0.000000] unaligned data access fdd at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 12d1 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#11]:
[ 0.000000] unaligned data access 23d at (null) (null)
[ 0.000000] CPU: 0 PID: 1930035277 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 17d at (null) (null)
[ 0.000000] unaligned data access 29d at (null) (null)
[ 0.000000] unaligned data access fdd at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 12d1 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#12]:
[ 0.000000] unaligned data access 23d at (null) (null)
[ 0.000000] CPU: 0 PID: 1930035277 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 17d at (null) (null)
[ 0.000000] unaligned data access 29d at (null) (null)
[ 0.000000] unaligned data access fdd at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 1381 at (null) (null)
[ 0.000000] unaligned data access 12d1 at (null) (null)
[ 0.00000c8198 c3bca028 c013810c
[ 0.000000] Hi : 00000000
[ 0.000000] Lo : 20c49ba6
[ 0.000000] epc : c0105640 __copy_user_common+0x198/0x2d8
[ 0.000000] Not tainted
[ 0.000000] ra : c013810c __probe_kernel_read+0x24/0x48
[ 0.000000] Status: 10008202 KERNEL EXL
[ 0.000000] Cause : 40008210
[ 0.000000] BadVA : 00000f45
[ 0.000000] PrId : 0001800a (MIPS 4Kc)
[ 0.000000] Modules linked in: graph.css /(C)[ 0.000000] unaligned data access d91 at (null) (null)
[ 0.000000] unaligned data access d91 at (null) (null)
[ 0.000000] unaligned data access d91 at (null) (null)
[ 0.000000] unaligned data access d91 at (null) (null)
[ 0.000000] unaligned data access d91 at (null) (null)
[ 0.000000] unaligned data access d91 at (null) (null)
[ 0.000000] unaligned data access d91 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#15]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#16]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#17]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#18]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#19]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#20]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#21]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#22]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#23]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#24]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#25]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#26]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#27]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#28]:
[ 0.000000] CPU: 0 PID: 1919246692 Comm: (null) Not tainted 3.10.49 #2
[ 0.000000] unaligned data access 13dd at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#29]:
[ 0.000000] unaligned data access 5b233305 at (null) (null)
[ 0.000000] unaligned data access fa5 at (null) (null)
[ 0.000000] Unhandled kernel unaligned access[#30]:
You didn't say what you had the MTU set to before. What did you have the MTU set to before?Ok, I set up MTU of 1300 for vif interface, which is attached to that virtual machine.
Yeah, I wondered if you were eventually going to run into this... However, are you sure that the guest was hung after it showed these messages? It might have still been running. Did you try pressing Enter after that to see if you still got a prompt?Probably this is an another error, but the machine hanged too :(Code: Select all[ 0.000000] unaligned data access 1b61 at (null) (null) [ 0.000000] Unhandled kernel unaligned access[#1]:
thanks for your job!I just create new "experimental" repositories for Attitude Adjustment 12.09 build 36088 + ALL packages + Asterisk GUI.
OpenWrt milestone info: https://dev.openwrt.org/milestone/Attit ... nt%2012.09
Modifications:
- Experimental MetaRouter Patch for Kernel 3.3.8
- changed root password to: master
- changed eth0 to DHCP
- changed opkg source to my repositories
MIPS:
http://openwrt.wk.cz/attitude_adjustmen ... tfs.tar.gz
CONFIG MIPS:
http://openwrt.wk.cz/attitude_adjustmen ... 8-20140311
PACKAGES:
http://openwrt.wk.cz/attitude_adjustmen ... /packages/
[/url]
Enjoy!
I just noticed that both in OpenWRT trunk and in the Barrier Breaker branch that it looks like somebody already developed similar fixes for the same memory accesses that MikroTik included in their official patch: https://dev.openwrt.org/browser/branche ... acks.patch. Maybe some of them got missed?I just had a look into the 3.3.5-patch mentioned by Nathan - I think I will start to incorporate it piece by piece... and as far as I know any unaligned memory access on a mips box should lead to a crash.
I installed liquidcz's "Attitude Adjustment 12.09 build 36088 + ALL packages + Asterisk GUI" and from it's sources I installed openvpn. It seems that this version of openvpn supports saved password usage (which means it is already compiled with "--enable-password-save parameter").Hi all,
I'm using OpenWrt as a VM to connect my own openvpn server. (Hardware: RB2011UiAS-2HnD-IN, 6.27)
I have compiled the OpenWrt image according to the guide (http://wiki.mikrotik.com/wiki/Manual:Metarouter) to implement Nathan's solution (http://forum.mikrotik.com/viewtopic.php?t=86765)
To install openvpn I used liquidcz's sources (http://openwrt.wk.cz/trunk/mr-mips/packages) but when I try to connect openvpn it says:
"Sorry, 'Auth' password cannot be read from a file"
And after searching I found out that the openvpn package needs to be compiled with "--enable-password-save" parameter.
(https://forums.openvpn.net/topic9918.html)
So anyone have this version of openvpn or where can I find it ?
BTW I would like to thank to liquidcz and Nathan for their efforts
As the error message clearly says, this means you do not have the res-phoneprov, app-meetme, and app-page Asterisk packages installed, and asterisk-gui requires those because some features of the GUI won't work without them (e.g., paging/intercom both rely on the Page and MeetMe applications, and phone provisioning/templating won't work without the PhoneProv resource). So install the packages it is telling you about first.Any news regarding the installation of asterisk-gui? I still have the error :
* satisfy_dependencies_for: Cannot satisfy the following dependencies for asterisk-gui:
* asterisk18-res-phoneprov * asterisk18-app-meetme * asterisk18-app-page *
A MetaROUTER doesn't see any interfaces except for the ones that you assign to that MetaROUTER. Also, MetaROUTERs do not have direct control over the interfaces, so they won't see things like link statistics and the like. The physical interface is abstracted from the MetaROUTER. (Thus MetaROUTERs have no idea that a wireless interface is anything other than an ethernet-like interface, for example...you can't run scans, change wireless modes, set SSIDs, etc.)I installed openwrt image from liquidcz and openwrt does not see SFP interface
Is there a way to use in openwrt images SFP interfaces from RouterOS?
yes, I assigned SFP interface to Metarouter:A MetaROUTER doesn't see any interfaces except for the ones that you assign to that MetaROUTER.
Yes, I know it but there is only eth0 in openwrt and nothing elseAlso, MetaROUTERs do not have direct control over the interfaces, so they won't see things like link statistics and the like. The physical interface is abstracted from the MetaROUTER.
thanks for the advice, I will try also this way.Best way to make an interface available to a MetaROUTER is to create a virtual interface, assign it to the MetaROUTER, and bridge it to the SFP (or ethernet, or wireless, or whatever) interface.
Okay, you didn't explain this. Your problem is not your RouterOS configuration. You need to edit /etc/config/network in OpenWRT and make sure that there is a section for every interface. If you run "ifconfig eth1" you will see that it exists, but it just isn't up and configured to do anything (because you didn't configure it).Yes, I know it but there is only eth0 in openwrt and nothing else
"ifconfig" by itself on Linux very famously only displays information on "up" interfaces. If the interface is not "up" then it will not show up in the list. You need to do "ifconfig -a" on Linux to show all interfaces, up or not. If you are used to other Unixes, this may come as a surprise, but this is Linux Networking 101. "man 8 ifconfig" should help.root@metarouter:/# ifconfig
I tried to combine the 902-unaligned_access_hacks.patch, hecke's patch and original 3.3.5-patch here: https://github.com/iqt4/openwrtI just noticed that both in OpenWRT trunk and in the Barrier Breaker branch that it looks like somebody already developed similar fixes for the same memory accesses that MikroTik included in their official patch: https://dev.openwrt.org/browser/branche ... acks.patch. Maybe some of them got missed?I just had a look into the 3.3.5-patch mentioned by Nathan - I think I will start to incorporate it piece by piece... and as far as I know any unaligned memory access on a mips box should lead to a crash.
-- Nathan
Let's not run ahead of ourselves and make assumptions. This may or may not be because of the patches. You need to do more testing to prove your hypothesis of where the problem lies. Have you tried other OpenWRT MetaROUTER images (NOT Barrier Breaker based, but ones that have been proven solid and are being used on production routers by others) on the same router that you are getting these kernel panics on, and are they stable, or are you seeing similar problems?The good news: system boots, no "unaligned" messages so far. The bad news: the whole system reboots without warning. ROS log entry: System rebooted because of kernel failure
Nathan, I have a RB450G with ROS 6.25 and OpenWRT AA from liquidcz was running without a problem. Barrier Breaker recently got security patches (and has newer versions, which is not my main focus), that was reason to try it. I don't have a spare Routerboard available to check different ROS versions - my children would kill me if I shut down the internetLet's not run ahead of ourselves and make assumptions. This may or may not be because of the patches. You need to do more testing to prove your hypothesis of where the problem lies. Have you tried other OpenWRT MetaROUTER images (NOT Barrier Breaker based, but ones that have been proven solid and are being used on production routers by others) on the same router that you are getting these kernel panics on, and are they stable, or are you seeing similar problems?The good news: system boots, no "unaligned" messages so far. The bad news: the whole system reboots without warning. ROS log entry: System rebooted because of kernel failure
In my opinion, a MetaROUTER guest should never be able to cause the host to crash. If it does, then I count that as a RouterOS bug. As I have mentioned in other posts to this forum in the past, I have seen many bizarre things re: MetaROUTER on MIPSBE in recent versions (6.2x) of RouterOS to the point where I don't trust it anymore. What version of RouterOS are you trying this image of yours on, and what model of RouterBoard are you testing against? I can personally vouch for RouterOS 6.9 running on RB450G. If you are running a current version of RouterOS, try downgrading to something before 6.12 and see if those kernel panics of yours go away.
If you run further tests and the kernel panics prove to be specific to this Barrier Breaker image of yours, shoot a copy of a prebuilt image to me (either as a URL or an attachment) via e-mail to nathana@fsr.com and I'll take a look.
-- Nathan
19:27:39 system,error,critical System rebooted because of kernel failure
19:27:39 system,error,critical router was rebooted without proper shutdown
I can confirm the very same but on RouterOS 6.28 version running hecke's BB image as MetaROUTER.Nathan, I have a RB450G with ROS 6.25 and OpenWRT AA from liquidcz was running without a problem. Barrier Breaker recently got security patches (and has newer versions, which is not my main focus), that was reason to try it. I don't have a spare Routerboard available to check different ROS versions - my children would kill me if I shut down the internet ;)
I agree with you, that MetaROUTER guest must not crash the host. However, according to autosupout.rif it happens:Reboot happened approximately every 30 minutes, until I stopped the MetaROUTER. ROS 6.25 was running without a problem for several month (without Barrier Breaker as MetaROUTER).Code: Select all19:27:39 system,error,critical System rebooted because of kernel failure 19:27:39 system,error,critical router was rebooted without proper shutdown
To conclude: The Mikrotik Wiki is providing a MetaROUTER patch for an ancient release of OpenWRT. liquidcz provides AA (thank you for your work!). hecke and others tried to apply the known patches to recent Barrier Breaker without success (and without support from Mikrotik). As you mentioned, recent versions of ROS (6.2x) do not look very promising at all. Thus, I will stay with my current ROS 6.25 and for missing features I use my age-old Qnap TS-109 running Debain wheezy ;)
Thank you for your support - Dirk
I agree with you, that MetaROUTER guest must not crash the host. However, according to autosupout.rif it happens:
Right, but hecke was referring to the crashes that were happening only within the guest because of OpenWRT kernel bugs, not crashes that were happening on the host, which until now nobody else had even brought up in previous discussions about this image (this is totally new information; all previous discussions about BB instability referred to the guest crashing whenever it received data over the virtual ethernet interface), and which he likely cannot do anything about since fixing this kind of crash is MikroTik's responsibility...I don't know why you would expect that any changes that hecke might make to the BB image would fix the router crashes and reboots. It's certainly possible that he or somebody else might find a way to work around the RouterOS bug by making changes in the BB kernel, but it is a RouterOS bug! If Windows running on top of VMware crashed, and that caused VMware itself to also crash (taking all other running guests down with it), you would not blame the VMware crash on Windows, even if Windows itself was known to be buggy. The host should never crash as a result of something that the guest does, legally or illegally.I can confirm the very same but on RouterOS 6.28 version running hecke's BB image as MetaROUTER.
Even Hecke confirmed it's not stable and needs more patching to make it functional.
skb_over_panic: text:ceea47bc len:202688 put:202688 head:cefaa800 data:cefaa840 tail:0xcefdc000 end:0xcefaaf40 dev:<NULL>
Kernel bug detected[#1]:
Cpu 0
$ 0 : 00000000 00000000 00000080 c03c0000
$ 4 : 00000001 c03c1418 00000001 c0266a54
$ 8 : 0000000a 00000000 0000000a 20646576
$12 : 00000000 00000001 00000000 00000000
$16 : cefa47a8 ced98d80 cee15c00 00000001
$20 : 000000d0 0000000d 00000080 c03c0000
$24 : 00000002 c0266330
$28 : c03b2000 c03b3d00 00000009 c02a59f0
Hi : 00000000
Lo : 19d60000
epc : c02a59f0 skb_put+0x78/0x84
Not tainted
ra : c02a59f0 skb_put+0x78/0x84
Status: 1000d203 KERNEL EXL IE
Cause : 10000024
PrId : 0001800a (MIPS 24Kc)
Process swapper (pid: 0, threadinfo=c03b2000, task=c03b5c10, tls=00000000)
Stack : ced98e40 ceea47bc 000317c0 000317c0 cefaa800 cefaa840 cefdc000 cefaaf40
c03958fc c03c0000 00000009 ceea47bc ced98e40 6cb2ecc0 00000000 00000001
cefa47a8 0000012c c03d0000 c03d0000 c0420000 00000080 c03c0000 c03d0000
c03d7e88 c02afa74 c040e018 00000fbf 00000000 c010eaa0 ffffe03f c0383e9c
00000001 00000001 c0410000 c0410000 c040e024 00000100 c040e018 c03c14a0
...
Call Trace:
[<c02a59f0>] skb_put+0x78/0x84
[<ceea47bc>] vm_release_queue+0x7a8/0x1468 [net-back@0xceea4000]
Code: 2484595c 0c0ce9ee 01202821 <0200000d> 03e00008 00000000 27bdffc0 afb20020 afb1001c
---[ end trace dd086ffc4df0a0d9 ]---
Kernel panic - not syncing: Fatal exception in interrupt
panicSaver: dumping panic to flash
flash: erase f
flash: prg f
spi_program_sector 0000000f
I would guess because OpenWRT is a constant moving target that changes kernel versions like every few weeks. MikroTik tends to stick with one kernel and fine-tunes it over the course of an entire release (RouterOS 6.x has used a heavily-patched Linux 3.3.5 kernel for the entirely of the 6.x series). MikroTik trying to keep up with OpenWRT changes would be nuts; I don't blame them one bit for not constantly updating the MR guest patches for OWRT.I'm also not sure why Mikrotik stopped with providing new patches and modification since it can only make their product better and even more widely used.
I tried to address this earlier in this post. The problem is that liquidcz only took the asterisk-gui package from my Kamikaze patch, and did not port over my modified version of the asterisk18 package included in the same patch sets. My asterisk-gui package is not compatible with the stock asterisk18 package from any version of OpenWRT. He will need to port my asterisk18 packages over to his AA buildroot and rebuild the Asterisk packages for his repository. (It looks like -force-depends won't work in this case because there is just too much missing/different between stock OpenWRT asterisk18 and mine.)By the way, anyone got Liquid's AA with asterisk gui running? It's missing 3 dependency packages and I'm wondering if they can be compiled on our own machines (not sure if they [packages] need some patching as well for AA or we can just patch using standard mips subversion)?
Exactly, but my point was if they (Mikrotik) isn't much interested in fixing the source of a problem then we (as community, but mostly thinking of you, hacke and liquid as main contributors) can maybe do a temporarily fix just to avoid guest crashes which in the end will avoid host crashes (basically fixing it from the inside-out instead of outside-in as it should be).Right, but hecke was referring to the crashes that were happening only within the guest because of OpenWRT kernel bugs, not crashes that were happening on the host, which until now nobody else had even brought up in previous discussions about this image (this is totally new information; all previous discussions about BB instability referred to the guest crashing whenever it received data over the virtual ethernet interface), and which he likely cannot do anything about since fixing this kind of crash is MikroTik's responsibility...I don't know why you would expect that any changes that hecke might make to the BB image would fix the router crashes and reboots. It's certainly possible that he or somebody else might find a way to work around the RouterOS bug by making changes in the BB kernel, but it is a RouterOS bug! If Windows running on top of VMware crashed, and that caused VMware itself to also crash (taking all other running guests down with it), you would not blame the VMware crash on Windows, even if Windows itself was known to be buggy. The host should never crash as a result of something that the guest does, legally or illegally.I can confirm the very same but on RouterOS 6.28 version running hecke's BB image as MetaROUTER.
Even Hecke confirmed it's not stable and needs more patching to make it functional.
Even if the host router was not crashing and rebooting all the time with the BB image, I'm not sure why anybody would want to use this image since the guest itself is constantly kernel panicing whenever it receives network data from the host.
Now, it turns out that the kernel panic occurring on the host is also happening within exactly the same function (skb_put) as when the BB guest's kernel panics, and it is panicing for a very similar reason (packet length received by guest is some ridiculously astronomical value), which is very interesting. It does suggest that if the bug in the guest's kernel is fixed, it might very well also stabilize the host. But that doesn't mean that there isn't still a bug in the host that needs to be fixed.
That's very true but there is slight difference in a way that Mikrotik actually provides virtualization enviroment unlike most of mentioned manufacturers of SOHO network equipment. When you're applying OpenWRT ifmrware on such equipment you're losing warranty and support so it's totally user/community based operating system which is running on compatible chipsets and CPUs. Mikrotik, howerver, can be used as host for virtual machines running OpenWRT so it0s a bit different. It's not, by all means, their duty to patch and provide support for every possible build and operating system but it would be nice if they make some patch for at least major versions of most popular OSes or provide more details about it so people can make patches themselves much easier. It's just a suggestion and it's not some kind of forced expectation or a must have option.I would guess because OpenWRT is a constant moving target that changes kernel versions like every few weeks. MikroTik tends to stick with one kernel and fine-tunes it over the course of an entire release (RouterOS 6.x has used a heavily-patched Linux 3.3.5 kernel for the entirely of the 6.x series). MikroTik trying to keep up with OpenWRT changes would be nuts; I don't blame them one bit for not constantly updating the MR guest patches for OWRT.I'm also not sure why Mikrotik stopped with providing new patches and modification since it can only make their product better and even more widely used.
Ideally, if OWRT wants MetaROUTER to be a supported platform, then somebody on the OpenWRT development team needs to be the one to keep the MR release working and up-to-date. That's how all of the other officially-supported OWRT platforms work. Do you see any of the other router manufacturers (Linksys, Netgear, etc.) actively contributing to OpenWRT development for their particular products? Yeah, didn't think so.
Yeah, that sheds more light on the issue. I have seen your post regarding that on a previous page but I was just checking if someone else maybe managed to recompile missing dependencies or provide new ones for Liquid's AA build. It would be too much to actually expect someone who voluntarily did some work and shared it with everyone to do whatever we (the end users / consumer of such a free piece of someone else's code and work) wish and fix whatever we find somehow important or necessary for our own needs, so I just wanted to keep some discussion regarding it just in case someone else's maybe found a solution or so..I tried to address this earlier in this post. The problem is that liquidcz only took the asterisk-gui package from my Kamikaze patch, and did not port over my modified version of the asterisk18 package included in the same patch sets. My asterisk-gui package is not compatible with the stock asterisk18 package from any version of OpenWRT. He will need to port my asterisk18 packages over to his AA buildroot and rebuild the Asterisk packages for his repository. (It looks like -force-depends won't work in this case because there is just too much missing/different between stock OpenWRT asterisk18 and mine.)By the way, anyone got Liquid's AA with asterisk gui running? It's missing 3 dependency packages and I'm wondering if they can be compiled on our own machines (not sure if they [packages] need some patching as well for AA or we can just patch using standard mips subversion)?
-- Nathan
Just to clarify for everyone, the patch that I provided in that other post does not fix or workaround the RouterOS MR reboot bug. It only enables the ability to send shutdown or reboot command to OpenWRT guests from the host. It is still possible (and likely) that the host will crash and reboot if you shut down or reboot the guest in this way (or any other way).Edit: discard last two paragraphs because I didn't do my homework with reading previous posts correctly. Reboot issue is addressed in this thread: http://forum.mikrotik.com/viewtopic.php?f=2&t=86765 and I thought that Nathan fixes were applied as well but didn't read carefully how to use it.
New RouterOS 6.29 (final) can be expected this week, so I will test it for sure, thus no need to test any of it's RCs.Supposedly 6.29rc15 finally fixes this RouterOS bug. I have not yet had the chance to test and verify this claim. But if anybody is encountering this problem, they might try to upgrade to the latest 6.29rc release and see if the MR reboot host crash problem goes away.
-- Nathan
liquidcz, hehey!!! it work!!! DHCP not work again, but i configure interface manualy.Well, lets try to create dynamic metarouter interface and bridge it with ether2.liquidcz
I tried another ether, but my lan dhcp dont work. Work only on ether1. Metarouter catch ip from isp dhcp server. Pings and so on work perfect.
May be root of problem is droped packets in eth0 interface, how can i diagnostic why packets drop?
P.S. can you add nano text editor at next builds? vi not friendly for me...
Ad nano,.. just opkg update, opkg install nano .
But another one question. When i try to ping mikrotik host, i see latency over 1-10ms. It normal?
And in repo broken depenciesCode: Select allInstalling asterisk-gui (2.1.0-rc1) to root... Downloading http://openwrt.wk.cz/attitude_adjustment/mr-mips/packages/asterisk-gui_2.1.0-rc1_mr-mips.ipk. Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for asterisk-gui: * asterisk18-res-phoneprov * asterisk18-app-meetme * asterisk18-app-page * * opkg_install_cmd: Cannot install package asterisk-gui.
Just to clarify for everyone, the patch that I provided in that other post does not fix or workaround the RouterOS MR reboot bug. It only enables the ability to send shutdown or reboot command to OpenWRT guests from the host. It is still possible (and likely) that the host will crash and reboot if you shut down or reboot the guest in this way (or any other way).Edit: discard last two paragraphs because I didn't do my homework with reading previous posts correctly. Reboot issue is addressed in this thread: http://forum.mikrotik.com/viewtopic.php?f=2&t=86765 and I thought that Nathan fixes were applied as well but didn't read carefully how to use it.
Supposedly 6.29rc15 finally fixes this RouterOS bug. I have not yet had the chance to test and verify this claim. But if anybody is encountering this problem, they might try to upgrade to the latest 6.29rc release and see if the MR reboot host crash problem goes away.
-- Nathan
Use this...LukeHello!
I'm Install OpenWRT in Metarouter and configure it. But the opkg source not found (wget returned 1). The network is okay I think, I can ping sites: facebook.com, google.com.. I'm test downloads.openwrt.com and get IP from DNS, but can't ping that ip. After test it from realPC, I can't ping it. I think the site is dead (or don't answer the ICMP packet I know, but why?). In opkg.conf "http://downloads.openwrt.org/snapshots/ ... s/packages" the default, but I'm search a lot and find things to use like".../generic/packages", ".../packages/packages" after try to add this line "src/gz metarouter http://openwrt.pantele.com.ua/trunk/metarouter/packages" but doesn't work... The DNS server can't translate openwrt.pantele.com.ua..
OpenWRT close aid for metarouter or I'm doing something wrong?
I am not add a password to root but it's funny if it is the problem...
Has anyone can help me?
Thanks, and sorry for horrible english.
Thank you for your answer! And sorry..Use this...Luke
#src/gz packages http://download.bmsoft.de/mikrotik/12.0 ... -mips/pack
#src/gz packages http://openwrt.wk.cz/attitude_adjustmen ... s/packages
Let me google that for you: http://bfy.tw/6dekhow can i install virtual linux on RB951
i need to run php on this virtual to control hotspot
u know i don't have time to search all of this topicLet me google that for you: http://bfy.tw/6dekhow can i install virtual linux on RB951
i need to run php on this virtual to control hotspot
All the upcoming questions you will run into have an answer right on this thread... Read it, doesn't hurt.
there is so much spam post like ur postMany of people are like this here... Shame on them.
gdate.c: In function 'g_date_strftime':
gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
^~~~~~
cc1: some warnings being treated as errors
make[4]: Entering directory '/home/dkowis/gitwork/metarouter/openwrt/build_dir/host/u-boot-2014.10'
#
# configuration written to .config
#
*** Default configuration is based on 'sandbox_defconfig'
make[4]: Leaving directory '/home/dkowis/gitwork/metarouter/openwrt/build_dir/host/u-boot-2014.10'
make -C /home/dkowis/gitwork/metarouter/openwrt/build_dir/host/u-boot-2014.10 tools-only
make[4]: Entering directory '/home/dkowis/gitwork/metarouter/openwrt/build_dir/host/u-boot-2014.10'
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
GEN include/autoconf.mk
In file included from include/linux/compiler.h:54:0,
from /home/dkowis/gitwork/metarouter/openwrt/build_dir/host/u-boot-2014.10/arch/sandbox/include/asm/bitops.h:20,
from include/linux/bitops.h:110,
from /home/dkowis/gitwork/metarouter/openwrt/build_dir/host/u-boot-2014.10/include/common.h:20:
include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory
#include gcc_header(__GNUC__)
^
compilation terminated.
make[6]: *** [/home/dkowis/gitwork/metarouter/openwrt/build_dir/host/u-boot-2014.10/scripts/Makefile.autoconf:64: include/autoconf.mk] Error 1
make[5]: *** [/home/dkowis/gitwork/metarouter/openwrt/build_dir/host/u-boot-2014.10/Makefile:464: silentoldconfig] Error 1
make[4]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop.
make[4]: Leaving directory '/home/dkowis/gitwork/metarouter/openwrt/build_dir/host/u-boot-2014.10'
make[3]: *** [Makefile:48: /home/dkowis/gitwork/metarouter/openwrt/build_dir/host/u-boot-2014.10/.built] Error 2
make[3]: Leaving directory '/home/dkowis/gitwork/metarouter/openwrt/tools/mkimage'
make[2]: *** [tools/Makefile:123: tools/mkimage/compile] Error 2
make[2]: Leaving directory '/home/dkowis/gitwork/metarouter/openwrt'
make[1]: *** [tools/Makefile:121: /home/dkowis/gitwork/metarouter/openwrt/staging_dir/target-powerpc_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyynyyyyyyyyynyyyyynnyyynnyynynyy] Error 2
make[1]: Leaving directory '/home/dkowis/gitwork/metarouter/openwrt'
make: *** [/home/dkowis/gitwork/metarouter/openwrt/include/toplevel.mk:183: world] Error 2
make kernel_menuconfig
#
# configuration written to .config
#
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
make[3]: Leaving directory '/home/dkowis/gitwork/metarouter/openwrt/build_dir/target-powerpc_uClibc-0.9.33.2/linux-mr-ppc/linux-3.3.8'
/home/dkowis/gitwork/metarouter/openwrt/scripts/kconfig.pl '>' /home/dkowis/gitwork/metarouter/openwrt/build_dir/target-powerpc_uClibc-0.9.33.2/linux-mr-ppc/linux-3.3.8/.config > /home/dkowis/gitwork/metarouter/openwrt/target/linux/mr-ppc/config-3.3
Parse error at /home/dkowis/gitwork/metarouter/openwrt/scripts/kconfig.pl line 137, <FILE> line 856.
Makefile:19: recipe for target 'menuconfig' failed
make[2]: *** [menuconfig] Error 255
make[2]: Leaving directory '/home/dkowis/gitwork/metarouter/openwrt/target/linux/mr-ppc'
Makefile:13: recipe for target 'menuconfig' failed
make[1]: *** [menuconfig] Error 2
make[1]: Leaving directory '/home/dkowis/gitwork/metarouter/openwrt/target/linux'
/home/dkowis/gitwork/metarouter/openwrt/include/toplevel.mk:134: recipe for target 'kernel_menuconfig' failed
make: *** [kernel_menuconfig] Error 2
Are you sure? It does not work for me. It's RB450G, ROS 6.37.2.For running RouterOS in MetaRouter you don't need an image! That is the default image.
[expert@rb] /metarouter> add name="test" memory-size=32
[expert@rb] /metarouter> console test
[Ctrl-A is the prefix key]
Starting...
Generating SSH 2048bit RSA host key...
Generating SSH 1024bit DSA host key...
Starting services...
info failed: std failure: timeout (13)
It seems that OpenWRT under metarouter not supported by neither MikroTik (anymore) nor by OpenWRT upstream project.Is there some stable openwrt image for 6.38.1(951G-2HnD)? I tried different version from http://openwrt.wk.cz/ (AA, trunk) on some last few ROS versions and it's very unstable with:
"system,error,critical router was rebooted without proper shutdown by watchdog timer"
Nice!! Could you please share with us which RoterOS and OpenWRT versions did you use? if possible also include what repositoriesHi everyone, I had many problems with metarouters when I had Asterisk . But last month I tried again and it works fine . I can use it but Im worried to set it up in other places.
The image link for that wiki article is broken.I have created an OpenWRT metarouter image that comes with anonymity software Tor and Privoxy pre-installed and configured. Wiki article is available in the wiki at http://wiki.mikrotik.com/wiki/Use_Metar ... y_Software which describes how to set up a NAT network that uses Tor to protect user privacy.As you know, new RouterOS versions now support other OS images for MetaRouter, so we welcome you - the users - to try this, and make new images that work. If you share your ready made images, that actually work with RouterOS MetaRouter, and add meaningful features (for example Asterix for VOIP, IPcop for firewall etc.), I will give you a Level6 license for an article in the Wiki and the Image.
Any pre-built images available?This is lede for metaroute:
https://github.com/cuihaoleo/lede-mr-mips
Same here, I'm completely new to building a kernel... I can barely install ubuntu from a livecd LOL.So using someone else build+packages would be greatly appreciated.Any pre-built images available?This is lede for metaroute:
https://github.com/cuihaoleo/lede-mr-mips
Unfortunately I think yo're right...we all got so excited when CCR came out that it could be an inexpensive hypervisor but I don't think it will happen.I think Metarouter running something else than RouterOS is a long abandoned concept...
For RB2011: viewtopic.php?f=15&t=128998 it does work with ROS v6.42.6Any pre-built images available?This is lede for metaroute:
https://github.com/cuihaoleo/lede-mr-mips
wget http://openwrt.wk.cz/trunk/mr-mips/packages/libpthread_0.9.33-104_mr-mips.ipk
wget http://openwrt.wk.cz/trunk/mr-mips/packages/zlib_1.2.5-1_mr-mips.ipk
wget http://openwrt.wk.cz/trunk/mr-mips/packages/libffi_3.0.10-1_mr-mips.ipk
wget http://openwrt.wk.cz/trunk/mr-mips/packages/python-mini_2.7.3rc2-2_mr-mips.ipk
wget http://openwrt.wk.cz/trunk/mr-mips/packages/python_2.7.3rc2-2_mr-mips.ipk
opkg install *.ipk
rm -v *.ipk
https://archive.openwrt.org/chaos_calmer/15.05/ar71xx/mikrotik/packages/
i think you can get the ssl packages directly from the openwrt website, available with each release
exampleCode: Select allhttps://archive.openwrt.org/chaos_calmer/15.05/ar71xx/mikrotik/packages/
i think you can get the ssl packages directly from the openwrt website, available with each release
exampleCode: Select allhttps://archive.openwrt.org/chaos_calmer/15.05/ar71xx/mikrotik/packages/
http://openwrt.wk.cz/trunk/mr-mips/packages/openssl-util_1.0.1-1_mr-mips.ipk
opkg install libopenssl_1.0.1-1_mr-mips.ipk openssl-util_1.0.1-1_mr-mips.ipk zlib_1.2.5-1_mr-mips.ipk
I need openssl tools.Lede project Reboot (17.01-SNAPSHOT, r4046-beaa2ecc10).
Error relocating /usr/bin/openssl: COMP_zlib_cleanup: symbol not found
Error relocating /usr/bin/openssl: BIO_f_zlib: symbol not found
root@LEDE:/# opkg info libopenssl
Package: libopenssl
Version: 1.0.2t-1
Depends: libc
Status: install user installed
Architecture: mips_mips32
Installed-Time: 1574142675
root@LEDE:/# opkg info openssl-util
Package: openssl-util
Version: 1.0.2t-1
Depends: libc, libopenssl
Status: install user installed
Architecture: mips_mips32
Conffiles:
/etc/ssl/openssl.cnf 06baa8f15992bacd3e5b113cd571d828c0544d0482ccd2e15969fe819957271d
Installed-Time: 1577460901
Hi , i have same Problem and use CRS125 i can not import any MetaRouter Image and everytime show me "Couldn't continue - import failed: file in archive goes out of root directory: ./jffs/ (6)Hi everyone! I'm new around here as well I'm new in using Mikrotik features.
Now I wanted to try Metarouter. So I tryed to install OpenWRT as it is shown here https://wiki.mikrotik.com/wiki/Manual:Metarouter
But every time I'm trying get it done I see an error like this - import failed: file in archive goes out of root directory: ./www/
I've been doing exactly as it written in Wiki so I have no any idea why I got that error.
Could anyone give me an explanation what I did wrong.
My Router is RB2011, RouterOS ver.6.46.1
I wonder, why's that so? I'm running 6.46.1 on 951Ui-2HnD, lots of bugs were fixed and a new features were added since back then. Do they completely discontinued support for Metarouter after 6.45.6 or do they plan to enable it in future releases? Why to even include Matarouter ability in releases after 6.45.6 when it's not working? It's at least weird. Or there's something we don't know...Metarouter Work Just to v6.45.6 if they have any problem most be Downgrade to this Version
Metarouter Work Just to v6.45.6 if they have any problem most be Downgrade to this Version
Has anyone tried 7.0beta5? I tried it in VirtualBox - the MetaRouter menu isn't present at all here.
Use CHR or x86 to.... ops, but at that point you can directly virtualize OpenWRT...Did anyone managed to make a stable minimal metarouter with mqtt broker (OpenWrt or other).