Hi @alzhao
Short recap of the issue: I have many x750V2 and some of them do not reboot properly when restarting them from command line, and sometimes unplugging/pugging them do not work either, meaning I have to do it up to three times so the router can actually boot.
The device stays at this state forever
I took your advice on this issue GL-B1300 - Reboot Issue, I opened the case, connected an uart adapter to get the output on the serial.
The weird thing is once I welded the adapter, the issue just dissapeared ! I soft rebooted the device every 5 minutes for 2 days and I had not a single problem… Of course, the serial output seems normal to me, I get this output at every reboot, what do you think ?
Blockquote
[12:10:33:437] [ 0.000000] Initrd not found or empty - disabling initrd␍␊
[12:10:33:437] [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.␍␊
[12:10:33:437] [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes␍␊
[12:10:33:437] [ 0.000000] Zone ranges:␍␊
[12:10:33:437] [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]␍␊
[12:10:33:437] [ 0.000000] Movable zone start for each node␍␊
[12:10:33:437] [ 0.000000] Early memory node ranges␍␊
[12:10:33:463] [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]␍␊
[12:10:33:463] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]␍␊
[12:10:33:515] [ 0.000000] random: get_random_bytes called from start_kernel+0x98/0x494 with crng_init=0␍␊
[12:10:33:515] [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512␍␊
[12:10:33:515] [ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 rootfstype=squashfs,jffs2␍␊
[12:10:33:515] [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)␍␊
[12:10:33:515] [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)␍␊
[12:10:33:515] [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)␍␊
[12:10:33:515] [ 0.000000] Writing ErrCtl register=00000000␍␊
[12:10:33:569] [ 0.000000] Readback ErrCtl register=00000000␍␊
[12:10:33:569] [ 0.000000] Memory: 122404K/131072K available (4427K kernel code, 156K rwdata, 1008K rodata, 1244K init, 218K bss, 8668K reserved, 0K cma-reserved)␍␊
[12:10:33:569] [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1␍␊
[12:10:33:569] [ 0.000000] NR_IRQS: 51␍␊
[12:10:33:569] [ 0.000000] CPU clock: 650.000 MHz␍␊
[12:10:33:569] [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns␍␊
[12:10:33:569] [ 0.000008] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns␍␊
[12:10:33:639] [ 0.008255] Calibrating delay loop… 432.53 BogoMIPS (lpj=2162688)␍␊
[12:10:33:689] [ 0.074862] pid_max: default: 32768 minimum: 301␍␊
[12:10:33:689] [ 0.079934] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)␍␊
[12:10:33:689] [ 0.086910] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)␍␊
[12:10:33:689] [ 0.098707] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns␍␊
[12:10:33:689] [ 0.109127] futex hash table entries: 256 (order: -1, 3072 bytes)␍␊
[12:10:33:689] [ 0.115657] pinctrl core: initialized pinctrl subsystem␍␊
[12:10:33:729] [ 0.122382] NET: Registered protocol family 16␍␊
[12:10:33:729] [ 0.134012] PCI host bridge /ahb/pcie-controller@180c0000 ranges:␍␊
[12:10:33:729] [ 0.140444] MEM 0x0000000010000000…0x0000000013ffffff␍␊
[12:10:33:729] [ 0.145996] IO 0x0000000000000000…0x0000000000000000␍␊
[12:10:33:782] [ 0.168526] PCI host bridge to bus 0000:00␍␊
[12:10:33:782] [ 0.172861] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]␍␊
[12:10:33:782] [ 0.180162] pci_bus 0000:00: root bus resource [io 0x0000]␍␊
[12:10:33:782] [ 0.186031] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]␍␊
[12:10:33:782] [ 0.193186] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]␍␊
[12:10:33:782] [ 0.202012] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]␍␊
[12:10:33:782] [ 0.209773] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]␍␊
[12:10:33:833] [ 0.220163] clocksource: Switched to clocksource MIPS␍␊
[12:10:33:833] [ 0.226527] NET: Registered protocol family 2␍␊
[12:10:33:833] [ 0.231383] IP idents hash table entries: 2048 (order: 2, 16384 bytes)␍␊
[12:10:33:833] [ 0.238936] TCP established hash table entries: 1024 (order: 0, 4096 bytes)␍␊
[12:10:33:833] [ 0.246350] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)␍␊
[12:10:33:833] [ 0.253067] TCP: Hash tables configured (established 1024 bind 1024)␍␊
[12:10:33:833] [ 0.259918] UDP hash table entries: 256 (order: 0, 4096 bytes)␍␊
[12:10:33:898] [ 0.266132] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)␍␊
[12:10:33:898] [ 0.273028] NET: Registered protocol family 1␍␊
[12:10:33:898] [ 0.280716] Crashlog allocated RAM at address 0x3f00000␍␊
[12:10:33:898] [ 0.287551] workingset: timestamp_bits=30 max_order=15 bucket_order=0␍␊
[12:10:33:898] [ 0.299511] squashfs: version 4.0 (2009/01/31) Phillip Lougher␍␊
[12:10:33:898] [ 0.305701] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.␍␊
[12:10:33:898] [ 0.326770] io scheduler noop registered␍␊
[12:10:33:943] [ 0.330958] io scheduler deadline registered (default)␍␊
[12:10:33:943] [ 0.338530] pinctrl-single 1804002c.pinmux: 576 pins at pa b804002c size 72␍␊
[12:10:33:943] [ 0.346581] gpio-export gpio-export: 3 gpio(s) exported␍␊
[12:10:33:943] [ 0.352879] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled␍␊
[12:10:33:943] [ 0.361975] console [ttyS0] disabled␍␊
[12:10:33:943] [ 0.365780] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A␍
We use a lot of x750v2 so it was not long until I found two more devices with this behavior, they could be let plugged for hours and the router would not boot. This time I only opened the case, removed all the screws and fastened them again and the issue is gone.
It’s a long shot but I think the card may have a electronic/magnetic issue (whether induced or inherent) preventing the router to boot.