Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1503 - GL-MT300A Crashes and Reboots in a Loop As of 17.01.2 #6476

Closed
openwrt-bot opened this issue Apr 18, 2018 · 7 comments
Closed

FS#1503 - GL-MT300A Crashes and Reboots in a Loop As of 17.01.2 #6476

openwrt-bot opened this issue Apr 18, 2018 · 7 comments
Labels

Comments

@openwrt-bot
Copy link

languagegame:

The GL.iNet GL-MT300A runs stable on LEDE 17.01.1. This device is an ramips/mt7620 target.

However, two users in the LEDE forum have reported that the device becomes unstable after upgrading it to LEDE 17.01.2 or later (including 17.01.4). The device boots but then crashes and reboots in a loop over and over. The only workaround seems to be to go into recovery mode and then flash back to LEDE 17.01.1 after which it becomes stable again.

It's difficult to debug as you can ssh into the device upon boot, but then it crashes within a minute or two. One user in the form post below suggested it is related to the Wi-Fi driver.

More details here:
https://forum.lede-project.org/t/gl-mt300a-wifi-broken-with-newer-lede/10856

@openwrt-bot
Copy link
Author

mkresin:

Are the snapshots affected by the same bug?

If yes, you should find a crashlog after the reboot in /sys/kernel/debug/crashlog. Use 'cat /sys/kernel/debug/crashlog' to get the crashlog contents.

@openwrt-bot
Copy link
Author

StefanTT:

As soon as WIFI is enabled the router crashes / reboots in a loop.
The only possible fix is to enter recovery and flash a fresh firmware.

Is there a way to get the crash log?

@openwrt-bot
Copy link
Author

mkresin:

Well, it doesn't answer my question if the snapshots are affected as well.

Is there a way to get the crash log?

According to the reporter:

It’s difficult to debug as you can ssh into the device upon boot, but then it crashes within a minute or two. One user in the form post below suggested it is related to the Wi-Fi driver.

There should be a 1-2 minute window to ssh into the router, to get the crashlog of the error caused the last reboot.

Of course, the easiest way is to attach a serial console and check the output.

@openwrt-bot
Copy link
Author

WBINVD:

I have no crashes with WiFi on 17.01.4 or a snapshot build.

I ran iperf3 between 2 wireless clients connected to the router and didn't encounter any problems.

Try stress testing the router on 17.01.1 or official firmware to rule out a power supply or cable problem.

@openwrt-bot
Copy link
Author

languagegame:

I connected a serial cable and captured the log. This is for LEDE 17.01.4. Only change to default configuration was to enable Wi-Fi. No ethernet cables plugged in. Just the serial cable and the power cable. I'll try snapshot to see if fails there as well. Note that it crashes when I connected via Wi-Fi and open Luci. It doesn't crash under LEDE 17.01.1. After it reboots, I checked to see if there was a crashlog under /sys/kernel/debug, but I did not see anything.

Anyway, here is the serial log (you can see it rebooted twice, I pulled the power cord after the second reboot so the log gets cut off at the end).

U-Boot 1.1.3 (Dec 23 2015 - 18:37:46)

Board: Ralink APSoC DRAM: 128 MB
relocate_code Pointer2 at: 87fac000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: ef 40 18 0 0 (40180000)
find flash: W25Q128FV
*** Warning - bad CRC, using default environment

======================================================
uboot-gl-mt7620 version: 0.0.0.1

ASIC 7620_MP (Port5<->None)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 128 MBytes
Flash component: SPI Flash
Date:Dec 23 2015 Time:18:37:46

icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

The CPU freq = 580 MHZ
Memory size =128 Mbytes

======================================================

Press press WPS button for more than 2 seconds to run web failsafe mode

WPS button is pressed for: 0 second(s)

Catution: WPS button wasn't pressed or not long enough!
Continuing normal boot...









Hit SPACE to stop autoboot: 0
Found calibration data, checking calibration status...
Device calibrated. Checking MAC address...
Found MAC. Starting firmware...

Booting image at bc050000 ...

Image Name: MIPS LEDE Linux-4.4.92
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1214310 Bytes = 1.2 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd

Transferring control to Linux (at address 80000000) ...

Giving linux memsize in MB, 128

Starting kernel ...

[ 0.000000] Linux version 4.4.92 (buildbot@debian8) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3557-a5e1f7f) ) #0 Mon Oct 16 22:57:05 2017
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is GL-MT300A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00004caa
[ 0.000000] Readback ErrCtl register=00004caa
[ 0.000000] Memory: 125924K/131072K available (3017K kernel code, 147K rwdata, 384K rodata, 156K init, 208K bss, 5148K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007577] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.070070] pid_max: default: 32768 minimum: 301
[ 0.074698] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.081069] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.094517] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.104064] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.110019] pinctrl core: initialized pinctrl subsystem
[ 0.116367] NET: Registered protocol family 16
[ 0.126099] Can't analyze schedule() prologue at 8000acdc
[ 0.144857] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.150302] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.156454] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.161853] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.167970] rt2880_gpio 10000660.gpio: registering 32 gpios
[ 0.173370] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[ 0.179490] rt2880_gpio 10000688.gpio: registering 1 gpios
[ 0.184803] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[ 0.192118] clocksource: Switched to clocksource systick
[ 0.198529] NET: Registered protocol family 2
[ 0.203796] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.210520] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.216746] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.222972] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.228598] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.234961] NET: Registered protocol family 1
[ 0.243493] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.250136] Crashlog allocated RAM at address 0x3f00000
[ 0.271590] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.277259] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.289391] io scheduler noop registered
[ 0.293198] io scheduler deadline registered (default)
[ 0.298370] ralink-usb-phy usbphy: invalid resource
[ 0.303696] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.313517] console [ttyS0] disabled
[ 0.316968] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.326642] console [ttyS0] enabled
[ 0.326642] console [ttyS0] enabled
[ 0.333673] bootconsole [early0] disabled
[ 0.333673] bootconsole [early0] disabled
[ 0.348487] spi spi0.0: force spi mode3
[ 0.353031] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.357877] 5 ofpart partitions found on MTD device spi0.0
[ 0.363522] Creating 5 MTD partitions on "spi0.0":
[ 0.368417] 0x000000000000-0x000000030000 : "u-boot"
[ 0.375322] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.382650] 0x000000040000-0x000000050000 : "factory"
[ 0.389602] 0x000000050000-0x000000fd0000 : "firmware"
[ 1.702350] 2 uimage-fw partitions found on MTD device firmware
[ 1.708416] 0x000000050000-0x0000001787a6 : "kernel"
[ 1.715127] 0x0000001787a6-0x000000fd0000 : "rootfs"
[ 1.721983] mtd: device 5 (rootfs) set to be root filesystem
[ 1.727975] 1 squashfs-split partitions found on MTD device rootfs
[ 1.734311] 0x0000003c0000-0x000000fd0000 : "rootfs_data"
[ 1.741674] 0x000000ff0000-0x000001000000 : "art"
[ 1.749394] rt2880-pinmux pinctrl: pin io40 already requested by pinctrl; cannot claim for 10100000.ethernet
[ 1.759513] rt2880-pinmux pinctrl: pin-40 (10100000.ethernet) status -22
[ 1.766371] rt2880-pinmux pinctrl: could not request pin 40 (io40) from group ephy on device rt2880-pinmux
[ 1.776325] mtk_soc_eth 10100000.ethernet: Error applying setting, reverse things back
[ 1.787286] gsw: setting port4 to ephy mode
[ 1.791795] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.798689] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 1.807714] rt2880_wdt 10000120.watchdog: Initialized
[ 1.814393] NET: Registered protocol family 10
[ 1.822375] NET: Registered protocol family 17
[ 1.827000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.839906] 8021q: 802.1Q VLAN Support v1.8
[ 1.858792] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.866909] Freeing unused kernel memory: 156K
[ 3.971266] init: Console is alive
[ 3.975106] init: - watchdog -
[ 5.946051] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.043422] usbcore: registered new interface driver usbfs
[ 6.049132] usbcore: registered new interface driver hub
[ 6.054734] usbcore: registered new device driver usb
[ 6.065385] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.073579] ehci-platform: EHCI generic platform driver
[ 6.089307] phy phy-usbphy.0: remote usb device wakeup disabled
[ 6.095374] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 6.099944] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 6.105863] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 6.114075] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 6.124628] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 6.132119] hub 1-0:1.0: USB hub found
[ 6.136450] hub 1-0:1.0: 1 port detected
[ 6.143202] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 6.150950] ohci-platform: OHCI generic platform driver
[ 6.156643] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 6.163629] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 6.171820] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 6.202535] hub 2-0:1.0: USB hub found
[ 6.206729] hub 2-0:1.0: 1 port detected
[ 6.214284] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.225899] init: - preinit -
[ 6.946075] 8021q: adding VLAN 0 to HW filter on device eth0
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
[ 9.767604] jffs2: notice: (359) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 9.786423] mount_root: switching to jffs2 overlay
[ 9.802881] urandom-seed: Seeding with /etc/urandom.seed
[ 10.065338] procd: - early -
[ 10.068999] procd: - watchdog -
[ 10.497990] procd: - watchdog -
[ 10.501537] procd: - ubus -
[ 10.716176] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.727568] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.737337] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.746658] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.760173] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.769481] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.778877] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.788279] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.797941] procd: - init -
Please press Enter to activate this console.
[ 11.156858] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.169397] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.185212] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 11.193458] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 11.256873] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.271766] nf_conntrack version 0.5.0 (1970 buckets, 7880 max)
[ 11.322991] xt_time: kernel timezone is -0000
[ 11.339497] PPP generic driver version 2.4.2
[ 11.346810] NET: Registered protocol family 24
[ 11.368726] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[ 11.376191] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 11.384126] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 11.494971] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.403315] random: jshn: uninitialized urandom read (4 bytes read, 24 bits of entropy available)
[ 12.501821] random: ubusd: uninitialized urandom read (4 bytes read, 24 bits of entropy available)
[ 18.754599] 8021q: adding VLAN 0 to HW filter on device eth0
[ 18.775788] device eth0.1 entered promiscuous mode
[ 18.780699] device eth0 entered promiscuous mode
[ 18.796474] br-lan: port 1(eth0.1) entered forwarding state
[ 18.802278] br-lan: port 1(eth0.1) entered forwarding state
[ 20.800942] br-lan: port 1(eth0.1) entered forwarding state
[ 22.502810] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 22.529863] device wlan0 entered promiscuous mode
[ 23.047697] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 23.054417] br-lan: port 2(wlan0) entered forwarding state
[ 23.060074] br-lan: port 2(wlan0) entered forwarding state
[ 23.820273] br-lan: port 2(wlan0) entered forwarding state
[ 33.759203] random: nonblocking pool is initialized

U-Boot 1.1.3 (Dec 23 2015 - 18:37:46)

Board: Ralink APSoC DRAM: 128 MB
relocate_code Pointer2 at: 87fac000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: ef 40 18 0 0 (40180000)
find flash: W25Q128FV
*** Warning - bad CRC, using default environment

======================================================
uboot-gl-mt7620 version: 0.0.0.1

ASIC 7620_MP (Port5<->None)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 128 MBytes
Flash component: SPI Flash
Date:Dec 23 2015 Time:18:37:46

icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

The CPU freq = 580 MHZ
Memory size =128 Mbytes

======================================================

Press press WPS button for more than 2 seconds to run web failsafe mode

WPS button is pressed for: 0 second(s)

Catution: WPS button wasn't pressed or not long enough!
Continuing normal boot...









Hit SPACE to stop autoboot: 0
Found calibration data, checking calibration status...
Device calibrated. Checking MAC address...
Found MAC. Starting firmware...

Booting image at bc050000 ...

Image Name: MIPS LEDE Linux-4.4.92
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1214310 Bytes = 1.2 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd

Transferring control to Linux (at address 80000000) ...

Giving linux memsize in MB, 128

Starting kernel ...

[ 0.000000] Linux version 4.4.92 (buildbot@debian8) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3557-a5e1f7f) ) #0 Mon Oct 16 22:57:05 2017
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is GL-MT300A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00004ca1
[ 0.000000] Readback ErrCtl register=00004ca1
[ 0.000000] Memory: 125924K/131072K available (3017K kernel code, 147K rwdata, 384K rodata, 156K init, 208K bss, 5148K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007577] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.070070] pid_max: default: 32768 minimum: 301
[ 0.074698] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.081069] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.094518] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.104065] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.110019] pinctrl core: initialized pinctrl subsystem
[ 0.116367] NET: Registered protocol family 16
[ 0.126099] Can't analyze schedule() prologue at 8000acdc
[ 0.144856] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.150303] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.156454] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.161853] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.167970] rt2880_gpio 10000660.gpio: registering 32 gpios
[ 0.173370] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[ 0.179490] rt2880_gpio 10000688.gpio: registering 1 gpios
[ 0.184802] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[ 0.192117] clocksource: Switched to clocksource systick
[ 0.198528] NET: Registered protocol family 2
[ 0.203796] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.210521] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.216747] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.222972] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.228599] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.234961] NET: Registered protocol family 1
[ 0.243494] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.250137] Crashlog allocated RAM at address 0x3f00000
[ 0.271591] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.277260] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.289391] io scheduler noop registered
[ 0.293199] io scheduler deadline registered (default)
[ 0.298370] ralink-usb-phy usbphy: invalid resource
[ 0.303697] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.313518] console [ttyS0] disabled
[ 0.316969] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.326644] console [ttyS0] enabled
[ 0.326644] console [ttyS0] enabled
[ 0.333674] bootconsole [early0] disabled
[ 0.333674] bootconsole [early0] disabled
[ 0.348488] spi spi0.0: force spi mode3
[ 0.353033] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.357878] 5 ofpart partitions found on MTD device spi0.0
[ 0.363523] Creating 5 MTD partitions on "spi0.0":
[ 0.368418] 0x000000000000-0x000000030000 : "u-boot"
[ 0.375322] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.382651] 0x000000040000-0x000000050000 : "factory"
[ 0.389602] 0x000000050000-0x000000fd0000 : "firmware"
[ 1.702357] 2 uimage-fw partitions found on MTD device firmware
[ 1.708424] 0x000000050000-0x0000001787a6 : "kernel"
[ 1.715134] 0x0000001787a6-0x000000fd0000 : "rootfs"
[ 1.721989] mtd: device 5 (rootfs) set to be root filesystem
[ 1.727981] 1 squashfs-split partitions found on MTD device rootfs
[ 1.734317] 0x0000003c0000-0x000000fd0000 : "rootfs_data"
[ 1.741680] 0x000000ff0000-0x000001000000 : "art"
[ 1.749401] rt2880-pinmux pinctrl: pin io40 already requested by pinctrl; cannot claim for 10100000.ethernet
[ 1.759520] rt2880-pinmux pinctrl: pin-40 (10100000.ethernet) status -22
[ 1.766378] rt2880-pinmux pinctrl: could not request pin 40 (io40) from group ephy on device rt2880-pinmux
[ 1.776332] mtk_soc_eth 10100000.ethernet: Error applying setting, reverse things back
[ 1.787290] gsw: setting port4 to ephy mode
[ 1.791799] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.798693] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 1.807719] rt2880_wdt 10000120.watchdog: Initialized
[ 1.814399] NET: Registered protocol family 10
[ 1.822382] NET: Registered protocol family 17
[ 1.827007] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.839912] 8021q: 802.1Q VLAN Support v1.8
[ 1.858797] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.866915] Freeing unused kernel memory: 156K
[ 3.971446] init: Console is alive
[ 3.975292] init: - watchdog -
[ 5.947566] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.044972] usbcore: registered new interface driver usbfs
[ 6.050683] usbcore: registered new interface driver hub
[ 6.056284] usbcore: registered new device driver usb
[ 6.066939] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.075131] ehci-platform: EHCI generic platform driver
[ 6.090859] phy phy-usbphy.0: remote usb device wakeup disabled
[ 6.096925] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 6.101495] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 6.107414] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 6.115627] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 6.125623] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 6.133166] hub 1-0:1.0: USB hub found
[ 6.137477] hub 1-0:1.0: 1 port detected
[ 6.144306] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 6.151976] ohci-platform: OHCI generic platform driver
[ 6.157674] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 6.164635] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 6.172835] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 6.203545] hub 2-0:1.0: USB hub found
[ 6.207736] hub 2-0:1.0: 1 port detected
[ 6.215377] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.226958] init: - preinit -
[ 6.946992] 8021q: adding VLAN 0 to HW filter on device eth0
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
[ 9.767690] jffs2: notice: (359) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 9.786525] mount_root: switching to jffs2 overlay
[ 9.802915] urandom-seed: Seeding with /etc/urandom.seed
[ 10.064774] procd: - early -
[ 10.067822] procd: - watchdog -
[ 10.497018] procd: - watchdog -
[ 10.500513] procd: - ubus -
[ 10.715244] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.726640] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.736413] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.745735] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.758513] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.768397] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.778182] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.787633] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 10.797257] procd: - init -
Please press Enter to activate this console.
[ 11.155418] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.167908] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.183698] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 11.191944] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 11.255613] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.270166] nf_conntrack version 0.5.0 (1970 buckets, 7880 max)
[ 11.321090] xt_time: kernel timezone is -0000
[ 11.337980] PPP generic driver version 2.4.2
[ 11.345216] NET: Registered protocol family 24
[ 11.367206] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[ 11.374673] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 11.382608] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 11.493631] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.399625] random: jshn: uninitialized urandom read (4 bytes read, 24 bits of entropy available)
[ 12.498038] random: ubusd: uninitialized urandom read (4 bytes read, 24 bits of entropy available)
[ 18.746598] 8021q: adding VLAN 0 to HW filter on device eth0
[ 18.766443] device eth0.1 entered promiscuous mode
[ 18.771353] device eth0 entered promiscuous mode
[ 18.788216] br-lan: port 1(eth0.1) entered forwarding state
[ 18.794020] br-lan: port 1(eth0.1) entered forwarding state
[ 20.791601] br-lan: port 1(eth0.1) entered forwarding state
[ 22.499411] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 22.526761] device wlan0 entered promiscuous mode
[ 23.044001] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 23.050677] br-lan: port 2(wlan0) entered forwarding state
[ 23.056390] br-lan: port 2(wlan0) entered forwarding state

U-Boot 1.1.3 (Dec 23 2015 - 18:37:46)

Board: Ralink APSoC DRAM: 128 MB
relocate_code Pointer2 at: 87fac000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: ef 40 18 0 0 (40180000)
find flash: W25Q128FV
*** Warning - bad CRC, using default environment

======================================================
uboot-gl-mt7620 version: 0.0.0.1

ASIC 7620_MP (Port5<->None)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 128 MBytes
Flash component: SPI Flash
Date:Dec 23 2015 Time:18:37:46

icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

The CPU freq = 580 MHZ
Memory size =128 Mbytes

======================================================

Press press WPS button for more than 2 seconds to run web failsafe mode

WPS button is pressed for: 0 second(s)

Catution: WPS button wasn't pressed or not long enough!
Continuing normal boot...









Hit SPACE to stop autoboot: 0
Found calibration data, checking calibration status...
Device calibrated. Checking MAC address...
Found MAC. Starting firmware...

Booting image at bc050000 ...

Image Name: MIPS LEDE Linux-4.4.92
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1214310 Bytes = 1.2 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd

Transferring control to Linux (at address 80000000) ...

Giving linux memsize in MB, 128

Starting kernel ...

[ 0.000000] Linux version 4.4.92 (buildbot@debian8) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3557-a5e1f7f) ) #0 Mon Oct 16 22:57:05 2017
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is GL-MT300A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00004ca0
[ 0.000000] Readback ErrCtl register=00004ca0
[ 0.000000] Memory: 125924K/131072K available (3017K kernel code, 147K rwdata, 384K rodata, 156K init, 208K bss, 5148K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007577] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.070069] pid_max: default: 32768 minimum: 301
[ 0.074697] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.081069] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.094518] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.104064] futex hash table entries: 256 (or[ 1.702349] 2 uimage-fw partitions found on MTD device firmware
[ 1.708416] 0x000000050000-0x0000001787a6 : "kernel"
[ 1.715127] 0x0000001787a6-0x000000fd0000 : "rootfs"
[ 1.721982] mtd: device 5 (rootfs) set to be root filesystem
[ 1.727975] 1 squashfs-split partitions found on MTD device rootfs
[ 1.734310] 0x0000003c0000-0x000000fd0000 : "rootfs_data"
[ 1.741673] 0x000000ff0000-0x000001000000 : "art"
[ 1.749394] rt2880-pinmux pinctrl: pin io40 already requested by pinctrl; cannot claim for 10100000.ethernet
[ 1.759513] rt2880-pinmux pinctrl: pin-40 (10100000.ethernet) status -22
[ 1.766371] rt2880-pinmux pinctrl: could not request pin 40 (io40) from group ephy on device rt2880-pinmux
[ 1.776325] mtk_soc_eth 10100000.ethernet: Error applying setting, reverse things back
[ 1.787285] gsw: setting port4 to ephy mode
[ 1.791793] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.798688] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 1.807714] rt2880_wdt 10000120.watchdog: Initialized
[ 1.814394] NET: Registered protocol family 10
[ 1.822378] NET: Registered protocol family 17
[ 1.827004] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.839909] 8021q: 802.1Q VLAN Support v1.8
[ 1.858795] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.866912] Freeing unused kernel memory: 156K

@openwrt-bot
Copy link
Author

languagegame:

I wonder if it could be a power supply issue. I was using a 5W iPhone USB Charger originally. As a test, I switched to the larger 10W iPad USB Charger, and now it seems to be running. Will let it run overnight and see if anything changes.

@openwrt-bot
Copy link
Author

languagegame:

This is now resolved by changing to a more powerful USB charger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant