Hi all! I want to use in your project OpenWrt on HLK-RM04, but I have the following problems arise. I can not set up a wireless network, if I turn it and then reboot the system at the next startup everything hangs, and then the message "out of memory"
Log:
[ 0.290000] io scheduler deadline registered (default)
[ 0.310000] gpio-export gpio_export.5: 2 gpio(s) exported
[ 0.330000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.330000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 0.360000] console [ttyS0] enabled, bootconsole disabled
[ 0.360000] console [ttyS0] enabled, bootconsole disabled
[ 0.380000] 10000500.uart: ttyS1 at MMIO 0x10000500 (irq = 13) is a 16550A
[ 0.400000] m25p80 spi32766.0: found w25q32, expected s25fl064k
[ 0.420000] m25p80 spi32766.0: w25q32 (4096 Kbytes)
[ 0.420000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.440000] Creating 4 MTD partitions on "spi32766.0":
[ 0.440000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.460000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.470000] 0x000000040000-0x000000050000 : "factory"
[ 0.490000] 0x000000050000-0x000000400000 : "firmware"
[ 0.500000] 0x00000013af7a-0x000000400000 : "rootfs"
[ 0.510000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.540000] mtd: partition "rootfs" set to be root filesystem
[ 0.550000] mtd: partition "rootfs_data" created automatically, ofs=0x3a0000, len=0x60000
[ 0.570000] 0x0000003a0000-0x000000400000 : "rootfs_data"
[ 0.590000] eth0: done loading
[ 0.600000] rt3xxx-usbphy ubsphy.2: loaded
[ 0.610000] rt2880_wdt 10000120.watchdog: Initialized
[ 0.620000] TCP: cubic registered
[ 0.630000] NET: Registered protocol family 17
[ 0.640000] 8021q: 802.1Q VLAN Support v1.8
[ 0.670000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.690000] Freeing unused kernel memory: 184K (80292000 - 802c0000)
procd: Console is alive
procd: - watchdog -
[ 7.000000] usbcore: registered new interface driver usbfs
[ 7.000000] usbcore: registered new interface driver hub
[ 7.020000] usbcore: registered new device driver usb
[ 7.040000] Button Hotplug driver version 0.4.1
[ 7.050000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 7.070000] ehci-platform: EHCI generic platform driver
[ 7.410000] rt3xxx-usbphy ubsphy.2: remote usb device wakeup disabled
[ 7.410000] rt3xxx-usbphy ubsphy.2: UTMI 16bit 30MHz
[ 7.410000] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 7.410000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 7.410000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 7.730000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 7.750000] hub 1-0:1.0: USB hub found
[ 7.750000] hub 1-0:1.0: 1 port detected
[ 7.770000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 7.770000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[ 7.790000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 7.810000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 7.890000] hub 2-0:1.0: USB hub found
[ 7.890000] hub 2-0:1.0: 1 port detected
[ 7.910000] input: gpio-keys-polled.3 as /devices/gpio-keys-polled.3/input/input0
kmod: ran 20 iterations
procd: - preinit -
[ 8.720000] rt305x-esw 10110000.esw: link changed 0x00
Press the [f] key and hit [enter] to enter failsafe mode
mount_root: jffs2 is ready
[ 12.640000] jffs2: notice: (291) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 8 of xref (0 dead, 0 orphan) found.
procd: - early -
procd: - watchdog -
procd: - init -
/sbin/hotplug-call: /etc/hotplug.d/usb/20-usb_mode: line 1: service_triggers: not found
Please press Enter to activate this console.
glob failed on /etc/init.d/usbmode
glob failed on /etc/init.d/usbmode
[ 17.570000] NET: Registered protocol family 10
[ 17.600000] nf_conntrack version 0.5.0 (208 buckets, 832 max)
[ 17.630000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 17.680000] usbcore: registered new interface driver cdc_acm
[ 17.700000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 17.700000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[ 17.730000] Backport generated by backports.git backports-20130617-4-ge3220f5
[ 17.750000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 17.810000] usbcore: registered new interface driver usbserial
[ 17.830000] usbcore: registered new interface driver usbserial_generic
[ 17.850000] usbserial: USB Serial support registered for generic
[ 17.890000] xt_time: kernel timezone is -0000
[ 17.900000] usbcore: registered new interface driver asix
[ 17.900000] usbcore: registered new interface driver cdc_ether
[ 18.310000] cfg80211: Calling CRDA to update world regulatory domain
[ 18.340000] cfg80211: World regulatory domain updated:
[ 18.350000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 18.370000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 18.390000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 18.390000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 18.420000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 18.420000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 19.940000] usbcore: registered new interface driver ch341
[ 19.960000] usbserial: USB Serial support registered for ch341-uart
[ 20.520000] usbcore: registered new interface driver ftdi_sio
[ 20.520000] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 24.310000] usbcore: registered new interface driver mos7720
[ 24.310000] usbserial: USB Serial support registered for Moschip 2 port adapter
[ 25.050000] usbcore: registered new interface driver pl2303
[ 25.050000] usbserial: USB Serial support registered for pl2303
[ 25.070000] PPP generic driver version 2.4.2
[ 25.090000] NET: Registered protocol family 24
[ 25.760000] usbcore: registered new interface driver rndis_host
[ 25.760000] usbcore: registered new interface driver option
[ 25.760000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 26.160000] rt2800_wmac 10180000.wmac: failed to load eeprom property
[ 26.180000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[ 26.200000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[ 26.220000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
[ 40.730000] device eth0.1 entered promiscuous mode
[ 40.750000] device eth0 entered promiscuous mode
[ 40.770000] br-lan: port 1(eth0.1) entered forwarding state
[ 40.770000] br-lan: port 1(eth0.1) entered forwarding state
[ 40.970000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 42.770000] br-lan: port 1(eth0.1) entered forwarding state
[ 146.350000] askfirst invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=0
[ 146.350000] CPU: 0 PID: 339 Comm: askfirst Not tainted 3.10.12 #10
[ 146.350000] Stack : 00000006 00000000 00000000 00000000 00000000 00000000 802e2b16 00000036
80873818 80238544 802c2a8c 802811fb 00000153 000200da 00000000 00000000
802812d0 8001ba10 80280000 80019428 00000000 00000000 80239dec 80519a7c
80519a00 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 80519a08
...
[ 146.730000] Call Trace:
[ 146.730000] [<80010670>] show_stack+0x48/0x70
[ 146.750000] [<80059e6c>] dump_header.isra.16+0x4c/0x138
[ 146.750000] [<8005a1b8>] oom_kill_process+0xd4/0x3b0
[ 146.770000] [<8005a8f8>] out_of_memory+0x290/0x2ec
[ 146.770000] [<8005d970>] __alloc_pages_nodemask+0x558/0x63c
[ 146.790000] [<80072c4c>] handle_pte_fault+0x1d4/0x918
[ 146.790000] [<80073440>] handle_mm_fault+0xb0/0xdc
[ 146.810000] [<80013da0>] do_page_fault+0x148/0x38c
[ 146.810000] [<80004820>] ret_from_exception+0x0/0xc
[ 146.830000] [<80135640>] n_tty_read+0x4d0/0x6ec
[ 146.830000] [<80130604>] tty_read+0x9c/0x100
[ 146.850000] [<80087380>] vfs_read+0xb4/0x14c
[ 146.850000] [<80087588>] SyS_read+0x60/0xa4
[ 146.850000] [<80006544>] stack_done+0x20/0x40
[ 146.870000]
[ 146.870000] Mem-Info:
[ 146.880000] Normal per-cpu:
[ 146.880000] CPU 0: hi: 0, btch: 1 usd: 0
[ 146.890000] active_anon:742 inactive_anon:7 isolated_anon:0
[ 146.890000] active_file:3 inactive_file:39 isolated_file:0
[ 146.890000] unevictable:0 dirty:0 writeback:0 unstable:0
[ 146.890000] free:114 slab_reclaimable:240 slab_unreclaimable:843
[ 146.890000] mapped:1 shmem:13 pagetables:110 bounce:0
[ 146.890000] free_cma:0
[ 146.950000] Normal free:456kB min:456kB low:568kB high:684kB active_anon:2968kB inactive_anon:28kB active_file:12kB inactive_file:156kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:16384kB managed:13180kB mlocked:0kB dirty:0kB writeback:0kB mapped:4kB shmem:52kB slab_reclaimable:960kB slab_unreclaimable:3372kB kernel_stack:408kB pagetables:440kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:84 all_unreclaimable? yes
[ 147.030000] lowmem_reserve[]: 0 0
[ 147.040000] Normal: 0*4kB 3*8kB (U) 1*16kB (U) 1*32kB (U) 0*64kB 1*128kB (U) 1*256kB (U) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 456kB
[ 147.060000] 65 total pagecache pages
[ 147.070000] 0 pages in swap cache
[ 147.080000] Swap cache stats: add 0, delete 0, find 0/0
[ 147.080000] Free swap = 0kB
[ 147.100000] Total swap = 0kB
[ 147.100000] 4096 pages RAM
[ 147.100000] 756 pages reserved
[ 147.100000] 264181 pages shared
[ 147.120000] 2956 pages non-shared
[ 147.120000] [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
[ 147.140000] [ 336] 0 336 219 15 4 0 0 ubusd
[ 147.160000] [ 339] 0 339 191 13 3 0 0 askfirst
[ 147.170000] [ 544] 0 544 372 49 4 0 0 netifd
[ 147.190000] [ 545] 0 545 397 44 3 0 0 network
[ 147.210000] [ 582] 0 582 288 18 4 0 0 dropbear
[ 147.210000] [ 598] 0 598 371 15 3 0 0 telnetd
[ 147.240000] [ 610] 0 610 285 18 5 0 0 uhttpd
[ 147.250000] [ 659] 65534 659 240 22 4 0 0 dnsmasq
[ 147.270000] [ 691] 0 691 211 20 4 0 0 ser2net
[ 147.290000] [ 703] 0 703 384 30 3 0 0 hotplug-call
[ 147.300000] [ 732] 0 732 384 30 3 0 0 hotplug-call
[ 147.320000] [ 734] 0 734 373 19 3 0 0 udhcpc
[ 147.340000] [ 741] 0 741 415 62 5 0 0 wifi
[ 147.350000] [ 745] 0 745 444 45 4 0 0 fw3
[ 147.370000] [ 746] 0 746 395 42 5 0 0 dhcp.script
[ 147.390000] [ 760] 0 760 415 63 5 0 0 wifi
[ 147.390000] [ 761] 0 761 415 64 5 0 0 wifi
[ 147.420000] [ 766] 0 766 384 29 4 0 0 hotplug-call
[ 147.430000] [ 768] 0 768 204 20 4 0 0 6relayd
[ 147.450000] [ 770] 0 770 387 32 4 0 0 S95done
[ 147.470000] [ 773] 0 773 372 17 4 0 0 6relayd-update
[ 147.470000] [ 777] 0 777 371 15 4 0 0 killall
[ 147.500000] [ 779] 0 779 371 16 3 0 0 sh
[ 147.520000] [ 780] 0 780 384 29 4 0 0 hotplug-call
[ 147.520000] [ 781] 0 781 277 15 3 0 0 ubus
[ 147.550000] [ 782] 0 782 370 13 4 0 0 sed
[ 147.560000] [ 783] 0 783 370 13 3 0 0 sysctl
[ 147.580000] [ 784] 0 784 370 13 3 0 0 logger
[ 147.600000] Out of memory: Kill process 659 (dnsmasq) score 7 or sacrifice child
[ 147.600000] Killed process 659 (dnsmasq) total-vm:960kB, anon-rss:88kB, file-rss:0kB