RouterOS5beta3 metarouter bug report. Hanging/crashing

Description: Running a the OpenWRT image on RB1100 either hangs the host mikrotik and does not recover, or spontanously reboot under trivial load.

How to reproduce:
Put http://www.mikrotik.com/download/metarouter/openwrt-mr-ppc-rootfs.tgz on the RB1100.

[admin@MikroTik] > metarouter import-image file-name=openwrt-mr-ppc-rootfs.tgz memory-size=32 enabled=yes
  imported: 100%



MetaRouter (built at Thu Jun 17 13:47:21 EEST 2010)
[admin@MikroTik] > metarouter console 0

[Ctrl-A is the prefix key]


Using RB MetaROUTER machine description
Memory CAM mapping: 16/16/0 Mb, residual: 0Mb
Linux version 2.6.31.10 (maris@bumba) (gcc version 4.4.3 (GCC) ) #1 Tue Apr 13 12:25:26 EEST 2010
Zone PFN ranges:
  DMA      0x00000000 -> 0x00002000
  Normal   0x00002000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: console=hvc0 board=vm boot=1
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 30024k/32768k available (2212k kernel code, 2744k reserved, 96k data, 89k bss, 108k init)
Kernel virtual memory layout:
  * 0xffffe000..0xfffff000  : fixmap
  * 0xf0000000..0xf0000000  : early ioremap
  * 0x83000000..0xf0000000  : vmalloc & ioremap
NR_IRQS:512
clocksource: timebase mult[5000347] shift[22] registered
console [hvc0] enabled
Mount-cache hash table entries: 512
NET: Registered protocol family 16
rstcr compatible register does not exist!
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
MFS init
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 58
io scheduler noop registered
io scheduler deadline registered (default)
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (metafs filesystem) readonly on device 0:10.
Freeing unused kernel memory: 108k init
Please be patient, while OpenWrt loads ...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -

Please press Enter to activate this console. PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (512 buckets, 2048 max)



BusyBox v1.16.1 (2010-04-13 12:10:23 EEST) 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
 KAMIKAZE (bleeding edge, r20828) ------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# while /bin/true; do /bin/true; done

After a few seconds:

RouterBOOT booter 2.27

RouterBoard 1100

CPU frequency: 800 MHz
  Memory size: 512 MB

Press any key within 2 seconds to enter setup

do you have watchdog enabled?

and do you have anything else happening on the router?



 [admin@MikroTik] /system watchdog> export
# jan/02/1970 00:00:17 by RouterOS 5.0beta3
# software id = K5SQ-1FFG
#
/system watchdog
set auto-send-supout=no automatic-supout=yes no-ping-delay=5m watch-address=none watchdog-timer=yes

This is the default setting.

and do you have anything else happening on the router?

No. This is with a /system reset-configuration no-defaults=yes.

set watchdog-timer=no