[ 10.932185] ...
[ 10.934709] Call Trace:
[ 10.937257] [<80069864>] show_stack+0x30/0x100
[ 10.941850] [<80401d08>] ubi_io_read+0x274/0x3a0
[ 10.946615] [<80402360>] ubi_io_read_vid_hdr+0x6c/0x29c
[ 10.952026] [<80407abc>] ubi_attach+0x488/0x150c
[ 10.956793] [<803fb990>] ubi_attach_mtd_dev+0x5e0/0xb70
[ 10.962209] [<8075f07c>] ubi_init+0x33c/0x3e4
[ 10.966712] [<800609f8>] do_one_initcall+0x7c/0x1dc
[ 10.971763] [<8074ae30>] kernel_init_freeable+0x14c/0x230
[ 10.977355] [<805dd398>] kernel_init+0x10/0xf0
[ 10.981945] [<80064cb8>] ret_from_kernel_thread+0x14/0x1c
[ 10.987727] __nand_correct_data: uncorrectable ECC error
[ 10.993210] __nand_correct_data: uncorrectable ECC error
[ 10.998730] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 9:0, read only 64 bytes, retry
[ 11.010411] __nand_correct_data: uncorrectable ECC error
[ 11.015897] __nand_correct_data: uncorrectable ECC error
[ 11.021414] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 9:0, read only 64 bytes, retry
[ 11.033095] __nand_correct_data: uncorrectable ECC error
[ 11.038594] __nand_correct_data: uncorrectable ECC error
[ 11.044091] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 9:0, read only 64 bytes, retry
[ 11.055765] __nand_correct_data: uncorrectable ECC error
[ 11.061270] __nand_correct_data: uncorrectable ECC error
[ 11.066768] ubi0 error: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 9:0, read 64 bytes
[ 11.077017] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.115 #0
[ 11.083034] Stack : 80750000 806ea9e4 00000000 00000000 806e9bb4 83c27c3c 83c28300 80726d43
[ 11.091683] 80678198 00000001 80b932d8 00024000 00000000 00000001 83c27bf0 8091e5be
[ 11.100327] 00000000 00000000 80bc0000 00000258 00000030 00000000 2e342e31 31352023
[ 11.108982] 00000258 ac0780c3 00000000 00012cd9 00000000 83cbe000 00000040 00000009
[ 11.117631] 00000000 00024000 00000000 00000000 00000001 8039a144 00000000 80b90000
[ 11.126264] ...
[ 11.128805] Call Trace:
[ 11.131344] [<80069864>] show_stack+0x30/0x100
[ 11.135933] [<80401d08>] ubi_io_read+0x274/0x3a0
[ 11.140714] [<804020c4>] ubi_io_read_ec_hdr+0x64/0x294
[ 11.146022] [<80407990>] ubi_attach+0x35c/0x150c
[ 11.150810] [<803fb990>] ubi_attach_mtd_dev+0x5e0/0xb70
[ 11.156211] [<8075f07c>] ubi_init+0x33c/0x3e4
[ 11.160728] [<800609f8>] do_one_initcall+0x7c/0x1dc
[ 11.165768] [<8074ae30>] kernel_init_freeable+0x14c/0x230
[ 11.171362] [<805dd398>] kernel_init+0x10/0xf0
[ 11.175955] [<80064cb8>] ret_from_kernel_thread+0x14/0x1c
[ 11.184036] __nand_correct_data: uncorrectable ECC error
[ 11.189549] __nand_correct_data: uncorrectable ECC error
[ 11.195053] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 9:256, read only 64 bytes, retry
[ 11.206915] __nand_correct_data: uncorrectable ECC error
[ 11.212416] __nand_correct_data: uncorrectable ECC error
[ 11.217928] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 9:256, read only 64 bytes, retry
[ 11.229784] __nand_correct_data: uncorrectable ECC error
[ 11.235264] __nand_correct_data: uncorrectable ECC error
[ 11.240782] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 9:256, read only 64 bytes, retry
[ 11.252643] __nand_correct_data: uncorrectable ECC error
[ 11.258147] __nand_correct_data: uncorrectable ECC error
[ 11.263646] ubi0 error: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 9:256, read 64 bytes
[ 11.274073] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.115 #0
[ 11.280105] Stack : 80750000 806ea9e4 00000000 00000000 806e9bb4 83c27c3c 83c28300 80726d43
[ 11.288748] 80678198 00000001 80b932d8 00024100 00000100 00000001 83c27bf0 8091e5be
[ 11.297395] 00000000 00000000 80bc0000 00000276 00000030 00000000 2e342e31 31352023
[ 11.306028] 00000276 90857c45 00000000 00042e99 00000000 83cbe000 00000040 00000009
[ 11.314670] 00000000 00024100 00000100 00000000 00000001 8039a144 00000000 80b90000
[ 11.323316] ...
[ 11.325840] Call Trace:
[ 11.328388] [<80069864>] show_stack+0x30/0x100
[ 11.332981] [<80401d08>] ubi_io_read+0x274/0x3a0
[ 11.337761] [<80402360>] ubi_io_read_vid_hdr+0x6c/0x29c
[ 11.343161] [<80407abc>] ubi_attach+0x488/0x150c
[ 11.347948] [<803fb990>] ubi_attach_mtd_dev+0x5e0/0xb70
[ 11.353350] [<8075f07c>] ubi_init+0x33c/0x3e4
[ 11.357867] [<800609f8>] do_one_initcall+0x7c/0x1dc
[ 11.362907] [<8074ae30>] kernel_init_freeable+0x14c/0x230
[ 11.368496] [<805dd398>] kernel_init+0x10/0xf0
[ 11.373084] [<80064cb8>] ret_from_kernel_thread+0x14/0x1c
[ 11.378873] __nand_correct_data: uncorrectable ECC error
[ 11.384358] __nand_correct_data: uncorrectable ECC error
[ 11.389881] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 10:0, read only 64 bytes, retry
[ 11.401650] __nand_correct_data: uncorrectable ECC error
[ 11.407153] __nand_correct_data: uncorrectable ECC error
[ 11.412652] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 10:0, read only 64 bytes, retry
[ 11.424414] __nand_correct_data: uncorrectable ECC error
[ 11.429911] __nand_correct_data: uncorrectable ECC error
[ 11.435410] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 10:0, read only 64 bytes, retry
[ 11.447174] __nand_correct_data: uncorrectable ECC error
[ 11.452661] __nand_correct_data: uncorrectable ECC error
[ 11.458176] ubi0 error: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 10:0, read 64 bytes
[ 11.468514] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.115 #0
[ 11.474533] Stack : 80750000 806ea9e4 00000000 00000000 806e9bb4 83c27c3c 83c28300 80726d43
[ 11.483182] 80678198 00000001 80b932d8 00028000 00000000 00000001 83c27bf0 8091e5be
[ 11.491826] 00000000 00000000 80bc0000 00000294 00000030 00000000 2e342e31 31352023
[ 11.500473] 00000294 62877568 00000000 00072622 00000000 83cbe000 00000040 0000000a
[ 11.509119] 00000000 00028000 00000000 00000000 00000001 8039a144 00000000 80b90000
[ 11.517765] ...
[ 11.520291] Call Trace:
[ 11.522834] [<80069864>] show_stack+0x30/0x100
[ 11.527436] [<80401d08>] ubi_io_read+0x274/0x3a0
[ 11.532206] [<804020c4>] ubi_io_read_ec_hdr+0x64/0x294
[ 11.537526] [<80407990>] ubi_attach+0x35c/0x150c
[ 11.542293] [<803fb990>] ubi_attach_mtd_dev+0x5e0/0xb70
[ 11.547706] [<8075f07c>] ubi_init+0x33c/0x3e4
[ 11.552204] [<800609f8>] do_one_initcall+0x7c/0x1dc
[ 11.557255] [<8074ae30>] kernel_init_freeable+0x14c/0x230
[ 11.562833] [<805dd398>] kernel_init+0x10/0xf0
[ 11.567440] [<80064cb8>] ret_from_kernel_thread+0x14/0x1c
[ 11.573205] __nand_correct_data: uncorrectable ECC error
[ 11.578703] __nand_correct_data: uncorrectable ECC error
[ 11.584201] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 10:256, read only 64 bytes, retry
[ 11.596153] __nand_correct_data: uncorrectable ECC error
[ 11.601656] __nand_correct_data: uncorrectable ECC error
[ 11.607168] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 10:256, read only 64 bytes, retry
[ 11.619114] __nand_correct_data: uncorrectable ECC error
[ 11.624595] __nand_correct_data: uncorrectable ECC error
[ 11.630111] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 10:256, read only 64 bytes, retry
[ 11.642063] __nand_correct_data: uncorrectable ECC error
[ 11.647568] __nand_correct_data: uncorrectable ECC error
[ 11.653065] ubi0 error: ubi_io_read: error -77 (ECC error) while reading 64 bytes from PEB 10:256, read 64 bytes
[ 11.663583] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.115 #0
[ 11.669613] Stack : 80750000 806ea9e4 00000000 00000000 806e9bb4 83c27c3c 83c28300 80726d43
[ 11.678257] 80678198 00000001 80b932d8 00028100 00000100 00000001 83c27bf0 8091e5be
[ 11.686891] 00000000 00000000 80bc0000 000002b2 00000030 00000000 2e342e31 31352023
[ 11.695539] 000002b2 ccb3242c 00000000 000a201f 00000000 83cbe000 00000040 0000000a
[ 11.704190] 00000000 00028100 00000100 00000000 00000001 8039a144 00000000 80b90000
[ 11.712833] ...
[ 11.715358] Call Trace:
[ 11.717907] [<80069864>] show_stack+0x30/0x100
[ 11.722499] [<80401d08>] ubi_io_read+0x274/0x3a0
[ 11.727279] [<80402360>] ubi_io_read_vid_hdr+0x6c/0x29c
[ 11.732678] [<80407abc>] ubi_attach+0x488/0x150c
[ 11.737457] [<803fb990>] ubi_attach_mtd_dev+0x5e0/0xb70
[ 11.742859] [<8075f07c>] ubi_init+0x33c/0x3e4
[ 11.747376] [<800609f8>] do_one_initcall+0x7c/0x1dc
[ 11.752415] [<8074ae30>] kernel_init_freeable+0x14c/0x230
[ 11.758005] [<805dd398>] kernel_init+0x10/0xf0
[ 11.762594] [<80064cb8>] ret_from_kernel_thread+0x14/0x1c
[ 12.444624] ubi0: scanning is finished
[ 12.468014] ubi0: attached mtd2 (name "ubi", size 60 MiB)
[ 12.473605] ubi0: PEB size: 16384 bytes (16 KiB), LEB size: 15872 bytes
[ 12.480487] ubi0: min./max. I/O unit sizes: 512/512, sub-page size 256
[ 12.487254] ubi0: VID header offset: 256 (aligned 256), data offset: 512
[ 12.494175] ubi0: good PEBs: 3840, bad PEBs: 0, corrupted PEBs: 0
[ 12.500479] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 92
[ 12.507863] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1847992553
[ 12.517305] ubi0: available PEBs: 0, total reserved PEBs: 3840, PEBs reserved for bad PEB handling: 80
[ 12.527018] ubi0: background thread "ubi_bgt0d" started, PID 400
[ 12.544312] block ubiblock0_1: created from ubi0:1(rootfs)
[ 12.550049] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[ 12.584912] Freeing unused kernel memory: 4376K
[ 12.589634] This architecture does not have kernel memory protection.
[ 12.596280] Run /init as init process
[ 13.833739] init: Console is alive
[ 13.840664] init: - watchdog -
[ 13.896000] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 13.932016] usbcore: registered new interface driver usbfs
[ 13.937839] usbcore: registered new interface driver hub
[ 13.943412] usbcore: registered new device driver usb
[ 13.966474] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 13.992890] SCSI subsystem initialized
[ 14.013215] ehci-fsl: Freescale EHCI Host controller driver
[ 14.028986] ehci-platform: EHCI generic platform driver
[ 14.034692] ehci-platform 1b000000.usb: EHCI Host Controller
[ 14.040648] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 14.048884] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[ 14.077854] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 14.088249] hub 1-0:1.0: USB hub found
[ 14.095574] hub 1-0:1.0: 1 port detected
[ 14.115016] usbcore: registered new interface driver usb-storage
[ 14.126555] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 14.144599] init: - preinit -
[ 14.467053] usb 1-1: new full-speed USB device number 2 using ehci-platform
[ 14.717032] usb 1-1: device descriptor read/64, error -71
[ 15.077034] usb 1-1: device descriptor read/64, error -71
[ 15.347034] usb 1-1: new full-speed USB device number 3 using ehci-platform
[ 15.597031] usb 1-1: device descriptor read/64, error -71
[ 15.957038] usb 1-1: device descriptor read/64, error -71
[ 16.077088] usb usb1-port1: attempt power cycle
[ 16.788232] usb 1-1: new full-speed USB device number 4 using ehci-platform
[ 17.297093] usb 1-1: device not accepting address 4, error -71
[ 17.373446] eth0: link up (1000Mbps/Full duplex)
[ 17.379811] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.400809] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 17.457329] usb 1-1: new full-speed USB device number 5 using ehci-platform
[ 17.967517] usb 1-1: device not accepting address 5, error -71
[ 17.975054] usb usb1-port1: unable to enumerate USB device
[ 21.639466] eth0: link down
[ 21.664110] procd: - early -
[ 21.667490] procd: - watchdog -
[ 22.247101] procd: - watchdog -
[ 22.250781] procd: - ubus -
[ 22.307837] procd: - init -
[ 23.001710] kmodloader: loading kernel modules from /etc/modules.d/*
[ 23.068174] i2c /dev entries driver
[ 23.076419] i2c-gpio i2c: using lines 11 (SDA) and 21 (SCL)
[ 23.099198] Loading modules backported from Linux version v5.10.34-0-g0aa66717f684
[ 23.107085] Backport generated by backports.git v5.10.34-1-0-g7b5533e1
[ 23.171086] xt_time: kernel timezone is -0000
[ 23.345485] PPP generic driver version 2.4.2
[ 23.352030] urngd: v1.0.2 started.
[ 23.368010] NET: Registered protocol family 24
[ 23.477954] ath9k 18100000.wmac: Direct firmware load for ath9k-eeprom-ahb-18100000.wmac.bin failed with error -2
[ 23.488629] ath9k 18100000.wmac: Falling back to sysfs fallback for: ath9k-eeprom-ahb-18100000.wmac.bin
[ 23.747435] ath: phy0: Unable to initialize hardware; initialization status: -5
[ 23.786992] ath9k 18100000.wmac: failed to initialize device
[ 23.792920] ath9k: probe of 18100000.wmac failed with error -5
[ 23.827518] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 70.170349] eth0: link up (1000Mbps/Full duplex)
[ 70.175152] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 70.187705] device eth0 entered promiscuous mode
[ 70.207592] br-lan: port 1(eth0.1) entered blocking state
[ 70.213180] br-lan: port 1(eth0.1) entered disabled state
[ 70.219188] device eth0.1 entered promiscuous mode
[ 70.233304] br-lan: port 1(eth0.1) entered blocking state
[ 70.238953] br-lan: port 1(eth0.1) entered forwarding state
[ 70.278789] eth1: link up (1000Mbps/Full duplex)
[ 70.283867] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 70.328395] device eth1 entered promiscuous mode
[ 70.350095] br-lan: port 2(eth1.1) entered blocking state
[ 70.355681] br-lan: port 2(eth1.1) entered disabled state
[ 70.361682] device eth1.1 entered promiscuous mode
[ 70.366798] br-lan: port 2(eth1.1) entered blocking state
[ 70.372438] br-lan: port 2(eth1.1) entered forwarding state
[ 71.227059] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
root@OpenWrt:~# cat /proc/cpuinfo
system type : Atheros AR9344 rev 2
machine : MikroTik RouterBOARD 2011UiAS-2HnD
processor : 0
cpu model : MIPS 74Kc V4.12
BogoMIPS : 299.82
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp dsp2
Options implemented : tlb 4kex 4k_cache prefetch mcheck ejtag llsc dc_aliases perf_cntr_intr_bit perf
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
root@OpenWrt:~# cat /etc/board.json
{
"model": {
"id": "mikrotik,routerboard-2011uias-2hnd",
"name": "MikroTik RouterBOARD 2011UiAS-2HnD"
},
"led": {
"eth6": {
"name": "ETH6",
"sysfs": "green:eth6",
"trigger": "switch1",
"type": "switch",
"mode": "",
"port_mask": "0x20",
"speed_mask": ""
},
"eth7": {
"name": "ETH7",
"sysfs": "green:eth7",
"trigger": "switch1",
"type": "switch",
"mode": "",
"port_mask": "0x10",
"speed_mask": ""
},
"eth8": {
"name": "ETH8",
"sysfs": "green:eth8",
"trigger": "switch1",
"type": "switch",
"mode": "",
"port_mask": "0x08",
"speed_mask": ""
},
"eth9": {
"name": "ETH9",
"sysfs": "green:eth9",
"trigger": "switch1",
"type": "switch",
"mode": "",
"port_mask": "0x04",
"speed_mask": ""
},
"eth10": {
"name": "ETH10",
"sysfs": "green:eth10",
"trigger": "switch1",
"type": "switch",
"mode": "",
"port_mask": "0x02",
"speed_mask": ""
}
},
"switch": {
"switch0": {
"enable": true,
"reset": true,
"ports": [
{
"num": 0,
"device": "eth0",
"need_tag": false,
"want_untag": false
},
{
"num": 2,
"role": "lan"
},
{
"num": 3,
"role": "lan"
},
{
"num": 4,
"role": "lan"
},
{
"num": 5,
"role": "lan"
},
{
"num": 1,
"role": "wan"
},
{
"num": 6,
"role": "sfp"
}
],
"roles": [
{
"role": "lan",
"ports": "2 3 4 5 0t",
"device": "eth0.1"
},
{
"role": "wan",
"ports": "1 0t",
"device": "eth0.2"
},
{
"role": "sfp",
"ports": "6 0t",
"device": "eth0.3"
}
]
},
"switch1": {
"enable": true,
"reset": true,
"ports": [
{
"num": 0,
"device": "eth1",
"need_tag": false,
"want_untag": false
},
{
"num": 1,
"role": "lan",
"index": 5
},
{
"num": 2,
"role": "lan",
"index": 4
},
{
"num": 3,
"role": "lan",
"index": 3
},
{
"num": 4,
"role": "lan",
"index": 2
},
{
"num": 5,
"role": "lan",
"index": 1
}
],
"roles": [
{
"role": "lan",
"ports": "1 2 3 4 5 0t",
"device": "eth1.1"
}
]
}
},
"network": {
"lan": {
"ifname": "eth0.1 eth1.1",
"protocol": "static",
"macaddr": "d4:ca:6d:55:15:75"
},
"wan": {
"ifname": "eth0.2",
"protocol": "dhcp",
"macaddr": "d4:ca:6d:55:15:74"
},
"sfp": {
"ifname": "eth0.3",
"protocol": "none"
}
},
"system": {
"label_macaddr": "d4:ca:6d:55:15:74"
}
}
sash