Community discussions

MikroTik App

Search found 43 matches

by guy1with1mr1problems
Tue Oct 16, 2012 3:05 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

then send it to support@mikrotik.com
mail sent from my personal account, its subject is: 'powerpc metarouter image that crashes RB800' (without the quotes). Thanks.
by guy1with1mr1problems
Tue Oct 16, 2012 2:57 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

can you share the image, so i could get it?
no problem, but due to its proprietary nature, could we agree on exchange via e-mail or something like that? It's a single 3.3 MB .tar.gz file
by guy1with1mr1problems
Tue Oct 16, 2012 1:11 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I think I might have an idea. Looks like our code mistakenly uses binary incompatible fpu instructions, it should be using fpe. But still, it definitely shouldn't crash the host, maybe just the vm kernel.
by guy1with1mr1problems
Tue Oct 16, 2012 1:00 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I just got a crash on powerpc (rb800) with both 6.0rc1 and 5.21. When I load the 'malicious' image, the board prints this on its serial port BUG(1): unhandled unknown exception! pc=0x30023064 cpc=0x80000f64 lr=0x10013750 ctr=0x30023108 regs=0xfc926f60 cr=0x30000093 xer=0xc000006b r0=0x10013750 r1=0x...
by guy1with1mr1problems
Sat Sep 15, 2012 2:32 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I just found out that at least on some routerboards, they use LM87 as their sensor, which is i2c + alert irq line. It can generate interrupts when set alert values are passed, so any big noise on power lines or near that chip could make bad stuff happen.
by guy1with1mr1problems
Sat Sep 15, 2012 2:15 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I've startetd some simple tests right now. One thing I did notice immediatly: The health values now are a little crazy, my voltage reading now jumps from 12 to 14 to 20 Volts randomly and the temperature readings jump from 58 to 68 randomly ;-) janisk, could you provide a little insight on how the ...
by guy1with1mr1problems
Sat Sep 15, 2012 1:24 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I've startetd some simple tests right now. One thing I did notice immediatly: The health values now are a little crazy, my voltage reading now jumps from 12 to 14 to 20 Volts randomly and the temperature readings jump from 58 to 68 randomly ;-) janisk, could you provide a little insight on how the ...
by guy1with1mr1problems
Wed Sep 12, 2012 1:42 am
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I can no longer establish openvpn tunnels with this new build. I can not even see it trying to establish a tcp connection when it says it is dialing. EDIT: please increment something next time. - I can not post a bug unambiguously - I can't rollback since I can't get the old download anymore - I ca...
by guy1with1mr1problems
Tue Sep 11, 2012 6:19 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I can no longer establish openvpn tunnels with this new build. I can not even see it trying to establish a tcp connection when it says it is dialing. EDIT: please increment something next time. - I can not post a bug unambiguously - I can't rollback since I can't get the old download anymore - I ca...
by guy1with1mr1problems
Thu Sep 06, 2012 4:13 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Also janisk, could you please ask how memory protection works? Specifically, do the guests have 'their own' fully functional MMUs or not? We're asking because we're not sure if we should compile various stack protections, optimize for mmu-less system, etc. Any answer much appreciated, thanks. Guest...
by guy1with1mr1problems
Thu Sep 06, 2012 2:57 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Also janisk, could you please ask how memory protection works? Specifically, do the guests have 'their own' fully functional MMUs or not? We're asking because we're not sure if we should compile various stack protections, optimize for mmu-less system, etc.
Any answer much appreciated, thanks.
by guy1with1mr1problems
Thu Sep 06, 2012 2:54 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Ok we have good news - we are very happy to report that after putting a RB435G to a pretty extreme stress, Metarouter performed pretty slow but was stable, which is most important for us. But when kernel was compiled with unionfs support: we got a 'unable to handle kernel paging request' crash almos...
by guy1with1mr1problems
Tue Sep 04, 2012 12:22 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Fair enough, then they don't use tun/tap. As you say, getting <10ms latency with that would be impossible with HZ_100. But metarouter still needs to run inside a thread at least. That means it needs to sleep and can 'wake up' at 100Hz at most. If you send it icmp request just before it wakes up, th...
by guy1with1mr1problems
Tue Sep 04, 2012 11:42 am
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

1.) I am getting 1ms latency to a MR, which wouldn't be possible with 100Hz polling frequency at all. 2.) Ever heard of of interrupt controllers which might be able to trigger software interrupts? Have a look at the "active" interrupts when you run one or more M instances. Fair enough, then they do...
by guy1with1mr1problems
Tue Sep 04, 2012 11:08 am
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I got those 60ms while running two idling MR instances, most of the pings where at arroung 1-2ms. Also the host responded in about 1ms to external pings. I don't think this variance is caused by load but by the same problem which causes the system to freeze up. I'm still hilding my theorie that thi...
by guy1with1mr1problems
Tue Sep 04, 2012 7:25 am
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Also forgot another suggestion: since barkas needs high interactive responsiveness, it might be a good idea to provide option that sets CONFIG_HZ in hosts kernels to a higher value, so that metarouter gets its turn more often and the ping decreases. This + making the vm a realtime task + the hard CP...
by guy1with1mr1problems
Tue Sep 04, 2012 7:12 am
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

... No it's not. I can get 60ms through my DSL over the Atlantic and back again. And my DSL router is not faster than the RB450G, which is actually pretty fast for such a device. Yes it is. It is a virtual machine, you have to remember that. It may not be full virtualization but I'm pretty sure som...
by guy1with1mr1problems
Mon Sep 03, 2012 2:00 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

my explanation is about variable ping times when ICMP echo is sent from MR to itself or other MR. Of course, 60ms is excessive, but as i understand, that happens rarely. Well it happens frequently, 60ms is an extreme value but 14-30ms seem to happen quite often. I think, considering the hardware co...
by guy1with1mr1problems
Thu Aug 30, 2012 3:20 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

some time ago there was someone saying that using liquidcz basic image he could hang RB1100AH using logread command. in this build that problem should go away: http://www.mikrotik.com/download/share/routeros-powerpc-5.21rc1.npk it is newer build, however there are no additional mipsbe changes and p...
by guy1with1mr1problems
Wed Aug 22, 2012 9:00 am
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I'm testing MetaROUTER using liquidcz basic image (http://openwrt.wk.cz/trunk/mr-ppc/openwrt-mr-ppc-rootfs-31206-basic.tar.gz) with no extra packages installed (I just want to use it for dnsmasq). It can run fine for days but whenever I try to logread or go to /dev/log the RB1100AH freezes and only...
by guy1with1mr1problems
Wed Aug 22, 2012 8:56 am
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I'm testing MetaROUTER using liquidcz basic image (http://openwrt.wk.cz/trunk/mr-ppc/openwrt-mr-ppc-rootfs-31206-basic.tar.gz) with no extra packages installed (I just want to use it for dnsmasq). It can run fine for days but whenever I try to logread or go to /dev/log the RB1100AH freezes and only...
by guy1with1mr1problems
Sat Aug 11, 2012 3:46 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

and by the way, when you release kernel patches for metarouter guests, you can at least expect they will be developed, so the least you can do is to set up some open source infrastructure (maybe a git repo? or even a stupid html page with changes and e-mail to send patches to) - and no -forum pages ...
by guy1with1mr1problems
Sat Aug 11, 2012 3:42 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

It seems to take quite a while for such a simple hotfix. Are you kidding? You think making a hypervisor is simple ? Allright then, show us your own mips hypervisor, then you can talk. The first thing I thought when MT released metarouter was: 'wow, MikroTik have some serious balls'. But nothing can...
by guy1with1mr1problems
Wed Aug 01, 2012 9:58 am
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

it is not possible to run 3rd party code dirrectly as a part of RouterOS. You have to have MetaROUTER guest or have to use other OS on the hardware directly to run them. Allright, so then I guess you're also willing to release all the modifications to wireless drivers (including for example nstreme...
by guy1with1mr1problems
Mon Jul 30, 2012 5:52 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

because of constant problems with Metarouter, we're trying to run custom programs alongside router os. Whenever we put a native mips binary in there and modify an init script to run it, something removes it before it runs. Is this some intentional protection? What is Mikrotik official standpoint on ...
by guy1with1mr1problems
Wed Jul 18, 2012 4:40 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Thats why they talked about "soon" and are ignoring any request for comment in this thread. Sure... Yeah, it frustrates us too because we have to keep renaming voltage.ko modules inside mips routerboards. By the way not easy on boards without official serial port. We have a 3.3V to RS232 level conv...
by guy1with1mr1problems
Wed Jul 18, 2012 1:35 pm
Forum: Virtualization
Topic: OpenWRT metarouter patch v1.2
Replies: 40
Views: 37067

Re: OpenWRT metarouter patch v1.2

Hello, as I already posted elsewhere: This fixes a problem where mounting a squashfs loop device inside linux guest would get autodetected as 'metafs' instead, wrongly mounting metafs (the mikrotik-shared filesystem) in place of the squashfs contents. Also note: from that point on, you need to speci...
by guy1with1mr1problems
Wed Jul 18, 2012 1:22 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Thats why they talked about "soon" and are ignoring any request for comment in this thread. Sure... Yeah, it frustrates us too because we have to keep renaming voltage.ko modules inside mips routerboards. By the way not easy on boards without official serial port. We have a 3.3V to RS232 level conv...
by guy1with1mr1problems
Wed Jul 11, 2012 1:07 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Lets not get to OT in this thread, which is about stabillity issues with the MetaROUTER feature itself.
Which by now still aren't fixed even on some PPC boards.

So MT staff, what about news? You claimed to be able to provide a fix "soon" on june 19.
Request for comment seconded.
by guy1with1mr1problems
Fri Jun 29, 2012 6:00 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

This should do the trick, I'll recompile and confirm: ... edit: improved At the very least, I think you'll then need to modify kernel config then: CONFIG_CMDLINE="init=/etc/preinit rootfstype=metafs root=none" (didn't need the root specification before because it for some reason always found metafs...
by guy1with1mr1problems
Fri Jun 29, 2012 5:32 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

This should do the trick, I'll recompile and confirm: --- old/fs/metafs/inode.c 2012-06-29 16:31:48.331049440 +0200 +++ new/fs/metafs/inode.c 2012-06-29 16:32:31.652047941 +0200 @@ -841,7 +841,6 @@ .name = "metafs", .get_sb = mfs_get_sb, .kill_sb = kill_block_super, - .fs_flags = FS_REQUIRES_DEV, };...
by guy1with1mr1problems
Fri Jun 29, 2012 5:25 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Found the root of the metafs autodetection problem: / # cat /proc/filesystems nodev sysfs nodev rootfs nodev bdev nodev proc nodev sockfs nodev pipefs nodev anon_inodefs nodev tmpfs nodev inotifyfs nodev devpts metafs squashfs nodev ramfs nodev autofs metafs should have nodev too.
by guy1with1mr1problems
Fri Jun 29, 2012 5:18 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

is this into OpenWRT guest, if it is not, i cannot comment on internals of the RouterOS.
sounds like I'll have to post the patch here myself, once I have a little time.
by guy1with1mr1problems
Fri Jun 29, 2012 3:49 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

what and where exactly you are mounting that causes you these issues on MetaROUTER? The umount problem is easy to replicate, just do in openwrt: # mkdir /tmp/test # mount -t metafs none /tmp/test -- this mounted the metafs that is already mounted rw, that shouldn't be allowed to happen. And then: #...
by guy1with1mr1problems
Fri Jun 29, 2012 2:26 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Metafs autodetection for mount is broken. When I try to mount a loop file, kernel detects the filesystem incorrectly as metafs (actually is squashfs) and mounts the metafs that is already mounted as root read/write without slightest hesitation. I think metafs should only be considered to be autodete...
by guy1with1mr1problems
Tue Jun 19, 2012 3:10 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

I can see right away that indeed it helped. If Mikrotik doesn't have some free ram in reserve for itself, it causes very strange behavior in metarouter VMs - disappearing files, segfaulting programs, etc. I now stressed out the VM to severe OOM conditions (many php processes running silex and using ...
by guy1with1mr1problems
Tue Jun 19, 2012 2:57 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

guy1with1mr1problems, ... I have experienced similar weird crashes after what seemed like an OOM (out-of-memory) condition within the MetaROUTER instance itself ... Actually that makes perfect sense ! i gave the VM so much memory that there wasn't too much left over for Mikrotik. I'll try reducing ...
by guy1with1mr1problems
Tue Jun 19, 2012 2:44 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

if possible, check memory usage of the guest. Try to increase the RAM available for the guest as i know that apache uses a lot of ram if compared to lighttpd 1) there are lots of free RAM there 2) OOM killer should kill the offending process and NOT cause the entire system to start segfaulting like...
by guy1with1mr1problems
Tue Jun 19, 2012 1:52 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

Well after testing a PHP app we developed for apache running on Metarouter (rb411ah), my experience is that it is extremely unstable. Sometimes for no apparent reason php crashes mid-script and EVERY program executed on the vm from that point on segfaults until vm reboot. Can't post dmesg because dm...
by guy1with1mr1problems
Fri Jun 15, 2012 1:05 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

about PPC - using ssh it does not reboot? only when console output? If you are using ssh how long do your guest OSes stay up? Yes exactly. I think our record was about two days? But we didn't try any longer, it didn't crash. On the other hand - EVERY time we did dmesg or opkg list (after fetching p...
by guy1with1mr1problems
Fri Jun 15, 2012 1:03 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

about PPC - using ssh it does not reboot? only when console output? If you are using ssh how long do your guest OSes stay up? Yes exactly. I think our record was about two days? But we didn't try any longer, it didn't crash. On the other hand - EVERY time we did dmesg or opkg list (after fetching p...
by guy1with1mr1problems
Thu Jun 14, 2012 11:28 am
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

on mips board you can try the NathanA trick, problem on ppc boards is under ivestigation Thank you ! For future readers : that means mounting the yaffs2 filesystem of router os (I used openwrt running from RAM booted over network.) and renaming the 'voltage.ko' module . This worked like a charm for...
by guy1with1mr1problems
Wed Jun 13, 2012 1:12 pm
Forum: Virtualization
Topic: MetaROUTER stability issues on certain MIPSBE and PPC boards
Replies: 490
Views: 133701

Re: MetaROUTER stability issues on certain MIPSBE and PPC bo

We are also having metarouter problems. On RB800 (PPC), it reliably crashes when transmitting too much text (like dmesg or opkg list) over the metarouter virtual console (either winbox or over ssh in mikrotik). Otherwise, it was stable. On RB411AH (MIPS) though, it crashes about 20 seconds after con...