1 (edytowany przez chemik89 2021-11-23 08:56:14)

Temat: r6220, błędy SQUASHFS

Wczoraj, po 96 dniach bezawaryjnej pracy - główny router przywitał mnie bootloopem, nie widać jakoś bledów nand, ale odczytać danych nie może ... Mój pierwszy i najstarszy r6220.

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

             MT7621   stage1 code 13:15:05 (ASIC)

             CPU=50000000 HZ BUS=16666666 HZ

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

Change MPLL source from XTAL to CR...

do MEMPLL setting..

MEMPLL Config : 0x11100000

3PLL mode + External loopback

=== XTAL-40Mhz === DDR-1200Mhz ===

PLL3 FB_DL: 0xf, 1/0 = 635/389 3D000000

PLL2 FB_DL: 0x16, 1/0 = 732/292 59000000

PLL4 FB_DL: 0x17, 1/0 = 600/424 5D000000

do DDR setting..[00320381]

Apply DDR3 Setting...(use customer AC)

          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120

      --------------------------------------------------------------------------------

0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1

000E:|    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1

000F:|    0    0    0    0    0    1    1    1    1    1    1    1    1    1    0    0

0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0

0011:|    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0

0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

rank 0 coarse = 16

rank 0 fine = 32

B:|    0    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0

opt_dle value:11

DRAMC_R0DELDLY[018]=00001F1E

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

        RX    DQS perbit delay software calibration 

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

1.0-15 bit dq delay value

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

bit|     0  1  2  3  4  5  6  7  8  9

--------------------------------------

0 |    13 7 13 9 13 5 13 6 3 11 

10 |    6 13 9 12 7 11 

--------------------------------------



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

2.dqs window

x=pass dqs delay value (min~max)center 

y=0-7bit DQ of every group

input delay:DQS0 =30 DQS1 = 31

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

bit    DQS0     bit      DQS1

0  (1~59)30  8  (1~54)27

1  (1~57)29  9  (1~56)28

2  (1~58)29  10  (1~59)30

3  (1~59)30  11  (1~57)29

4  (1~59)30  12  (1~61)31

5  (1~59)30  13  (1~57)29

6  (1~57)29  14  (2~60)31

7  (1~59)30  15  (1~57)29

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

3.dq delay value last

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

bit|    0  1  2  3  4  5  6  7  8   9

--------------------------------------

0 |    13 8 14 9 13 5 14 6 7 14 

10 |    7 15 9 14 7 13 

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

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

     TX  perbyte calibration 

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

DQS loop = 15, cmp_err_1 = ffff0000 

dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1 

dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2 

DQ loop=15, cmp_err_1 = ffff01aa

DQ loop=14, cmp_err_1 = ffff00a0

dqs_perbyte_dly.last_dqdly_pass[1]=14,  finish count=1 

DQ loop=13, cmp_err_1 = ffff0080

DQ loop=12, cmp_err_1 = ffff0080

DQ loop=11, cmp_err_1 = ffff0000

dqs_perbyte_dly.last_dqdly_pass[0]=11,  finish count=2 

byte:0, (DQS,DQ)=(a,8)

byte:1, (DQS,DQ)=(8,8)

20,data:8a

[EMI] DRAMC calibration passed




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

             MT7621   stage1 code done 

             CPU=50000000 HZ BUS=16666666 HZ

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



U-Boot 1.1.3 (Sep 25 2015 - 10:29:47)


Board: Ralink APSoC DRAM:  128 MB

relocate_code Pointer at: 87fac000


Config XHCI 40M PLL 

******************************

Software System Reset Occurred

******************************

Allocate 16 byte aligned buffer: 87fe1bb0

Enable NFI Clock

# MTK NAND # : Use HW ECC

NAND ID [C2 F1 80 95 02]

Device found in MTK table, ID: c2f1, EXT_ID: 809502

Support this Device in MTK table! c2f1 

select_chip

[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16

Signature matched and data read!

load_fact_bbt success 1023

load fact bbt success

[mtk_nand] probe successfully!

mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8

Env addr : 0x100000

.*** Warning - bad CRC, using default environment


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

Ralink UBoot Version: 4.2.1.0

-------------------------------------------- 

ASIC MT7621AS (MAC to MT7530 Mode)

DRAM_CONF_FROM: Auto-Detection 

DRAM_TYPE: DDR3 

DRAM bus: 16 bit

Xtal Mode=3 OCP Ratio=1/3

Flash component: NAND Flash

Date:Sep 25 2015  Time:10:29:47

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

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:256, ways:4, linesz:32 ,total:32768 


 ##### The CPU freq = 880 MHZ #### 

 estimate memory size =128 Mbytes


Reset switch ...

#Reset_MT7530

set LAN/WAN LLLLW

..Example expects ABI version 2

Actual U-Boot ABI version 2


******************************************

    Uboot StandAlone Entry

******************************************

0, cmd

1, 0x0000000D

cmd : 0x0000000D





Press Ctrl+C to Enter the Main loop...

Example expects ABI version 2

Actual U-Boot ABI version 2


******************************************

    Uboot StandAlone Entry

******************************************

0, cmd

1, 0x0000000F

cmd : 0x0000000F

Enter NMRP_main

Flash Sector Number : 1024.



 NetTxPacket = 0x87FE5B40 


 KSEG1ADDR(NetTxPacket) = 0xA7FE5B40 


 NetLoop,call eth_halt ! 


 NetLoop,call eth_init ! 

Trying Eth0 (10/100-M)


 Waitting for RX_DMA_BUSY status Start... done



 ETH_STATE_ACTIVE!! 

NMRP_FLASH_SIZE_buffer --> a1000000.

NMRP:LISTENING

### No NMRP Server found ###


 KSEG1ADDR(NetTxPacket) = 0xA7FE5B40 


 NetLoop,call eth_halt ! 


 NetLoop,call eth_init ! 

Trying Eth0 (10/100-M)


 ETH_STATE_ACTIVE!! 

STANDALONE_LOAD_ADDR is 0xa0600000

Example expects ABI version 2

Actual U-Boot ABI version 2


******************************************

    Uboot StandAlone Entry

******************************************

0, boot

Flash Sector Number : 1024.




***************************************************


    Sercomm Boot Version 1.19.0




***************************************************


Upgrade flag check pass!Entering Firmware : Everything is OK.


kernel addr :0xbfe00000 

   

 System Boot system code via Flash.

## Booting image at bfe00000 ...

   Image Name:   MIPS X-WRT Linux-5.4.134

   Image Type:   MIPS Linux Kernel Image (uncompressed)

   Data Size:    2444390 Bytes =  2.3 MB

   Load Address: 80001000

   Entry Point:  80001000

......................................   Verifying Checksum ... OK

OK

 



commandline in boot is : <NULL>  !!!!




No initrd

## Transferring control to Linux (at address 80001000) ...

## Giving linux memsize in MB, 128


Starting kernel ...




OpenWrt kernel loader for MIPS based SoC

Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>

Decompressing kernel... done!

Starting kernel at 80001000...


[    0.000000] Linux version 5.4.134 (ptpt52@SC-GAME) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r17137+1-81482e9286)) #0 SMP Thu Jul 29 04:21:28 2021
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Netgear R6220
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2} total 2
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    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] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=0004a010
[    0.000000] Readback ErrCtl register=0004a010
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120376K/131072K available (5851K kernel code, 229K rwdata, 1272K rodata, 1272K init, 232K bss, 10696K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x364/0x54c with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000008] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015487] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.087785] pid_max: default: 32768 minimum: 301
[    0.097072] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.111471] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.128759] rcu: Hierarchical SRCU implementation.
[    0.138605] smp: Bringing up secondary CPUs ...
[    8.206605] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.206613] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.206624] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.206721] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.198349] Synchronize counters for CPU 1: done.
[    0.257981] smp: Brought up 1 node, 2 CPUs
[    0.266582] devtmpfs: initialized
[    0.276825] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.296270] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.309863] pinctrl core: initialized pinctrl subsystem
[    0.321534] NET: Registered protocol family 16
[    0.344010] pstore: Registered ramoops as persistent store backend
[    0.356236] ramoops: using 0x80000@0x3f00000, ecc: 0
[    0.385916] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.407021] clocksource: Switched to clocksource GIC
[    0.420601] thermal_sys: Registered thermal governor 'step_wise'
[    0.421061] NET: Registered protocol family 2
[    0.441677] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.456457] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.472957] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.488156] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.502142] TCP: Hash tables configured (established 1024 bind 1024)
[    0.514862] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.527750] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.541781] NET: Registered protocol family 1
[    0.550337] PCI: CLS 0 bytes, default 32
[    0.796978] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    0.808472] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.832454] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.843987] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.867268] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.878738] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.890128] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.902345] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.916921] printk: console [ttyS0] disabled
[    0.925399] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 15, base_baud = 3125000) is a 16550A
[    0.943301] printk: console [ttyS0] enabled
[    0.943301] printk: console [ttyS0] enabled
[    0.959846] printk: bootconsole [early0] disabled
[    0.959846] printk: bootconsole [early0] disabled
[    0.980617] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.995462] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    1.008114] nand: Macronix MX30LF1G18AC
[    1.015732] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.030808] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    1.043842] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    1.058397] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    1.072949] Scanning device for bad blocks
[    2.373797] 6 fixed-partitions partitions found on MTD device mt7621-nand
[    2.387311] Creating 6 MTD partitions on "mt7621-nand":
[    2.397723] 0x000000000000-0x000000100000 : "u-boot"
[    2.409318] 0x000000100000-0x000000200000 : "SC PID"
[    2.420829] 0x000000200000-0x000000600000 : "kernel"
[    2.432509] 0x000000600000-0x000002200000 : "ubi"
[    2.443791] 0x000002e00000-0x000002f00000 : "factory"
[    2.455554] 0x000004200000-0x000007e00000 : "reserved"
[    2.469203] libphy: Fixed MDIO Bus: probed
[    2.550892] libphy: mdio: probed
[    2.557726] random: fast init done
[    3.965653] ralink_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    3.985553] ralink_soc_eth 1e100000.ethernet: PPE started
[    3.997265] ralink_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 17
[    4.016958] mt7621-pci 1e140000.pcie: Parsing DT failed
[    4.030003] NET: Registered protocol family 10
[    4.040235] Segment Routing with IPv6
[    4.047669] NET: Registered protocol family 17
[    4.056553] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.082616] 8021q: 802.1Q VLAN Support v1.8
[    4.094479] pstore: Using crash dump compression: deflate
[    4.106728] rt2880-pinmux pinctrl: pcie is already enabled
[    4.117895] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    4.132828] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    4.247604] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    4.258712] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    4.369745] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[    4.383606] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    4.393320] mt7621-pci 1e140000.pcie: PCIE2 enabled
[    4.403035] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    4.421749] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    4.434425] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    4.448120] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    4.461815] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.472776] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    4.484770] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    4.497255] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    4.509805] pci 0000:00:00.0: supports D1
[    4.517789] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    4.529659] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    4.541660] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    4.554153] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    4.566696] pci 0000:00:01.0: supports D1
[    4.574685] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    4.587885] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    4.599913] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    4.613474] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    4.626919] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    4.640564] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    4.650996] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    4.663128] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    4.676651] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    4.691038] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.704432] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    4.716441] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    4.729065] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    4.742726] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    4.753153] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    4.765291] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    4.778814] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    4.793202] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    4.806419] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    4.819595] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    4.833464] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    4.846631] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    4.860505] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    4.874029] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    4.888413] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    4.901936] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    4.916317] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    4.929846] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    4.943370] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    4.956886] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    4.970432] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    4.985003] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    4.999384] pci 0000:00:00.0: PCI bridge to [bus 01]
[    5.009275] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    5.022790] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    5.036310] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    5.050701] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    5.064223] pci 0000:00:01.0: PCI bridge to [bus 02]
[    5.074112] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    5.087637] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    5.101157] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    5.117075] UBI: auto-attach mtd3
[    5.123682] ubi0: attaching mtd3
[    5.413381] ubi0: scanning is finished
[    5.437432] ubi0: attached mtd3 (name "ubi", size 28 MiB)
[    5.448205] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.461898] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.475412] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.489273] ubi0: good PEBs: 224, bad PEBs: 0, corrupted PEBs: 0
[    5.501233] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.515609] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1627532488
[    5.533791] ubi0: available PEBs: 0, total reserved PEBs: 224, PEBs reserved for bad PEB handling: 20
[    5.552170] ubi0: background thread "ubi_bgt0d" started, PID 436
[    5.555951] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.575160] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.589031] hctosys: unable to open rtc device (rtc0)
[    5.606458] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    5.624980] devtmpfs: mounted
[    5.635146] Freeing unused kernel memory: 1272K
[    5.644252] This architecture does not have kernel memory protection.
[    5.657079] Run /sbin/init as init process
[    6.112800] SQUASHFS error: xz decompression failed, data probably corrupt
[    6.126508] SQUASHFS error: squashfs_read_data failed to read block 0x4f138e
[    6.140548] SQUASHFS error: Unable to read fragment cache entry [4f138e]
[    6.153891] SQUASHFS error: Unable to read page, block 4f138e, size 19ac8
[    6.167467] SQUASHFS error: Unable to read fragment cache entry [4f138e]
[    6.180814] SQUASHFS error: Unable to read page, block 4f138e, size 19ac8
[    6.194340] SQUASHFS error: Unable to read fragment cache entry [4f138e]
[    6.207683] SQUASHFS error: Unable to read page, block 4f138e, size 19ac8
[    6.221218] SQUASHFS error: Unable to read fragment cache entry [4f138e]
[    6.234555] SQUASHFS error: Unable to read page, block 4f138e, size 19ac8
[    6.248091] SQUASHFS error: Unable to read fragment cache entry [4f138e]
[    6.261434] SQUASHFS error: Unable to read page, block 4f138e, size 19ac8
Error loading shared library libjson-c.so.5: I/O error (needed by /sbin/init)
[    6.366076] SQUASHFS error: Unable to read fragment cache entry [4f138e]
[    6.379451] SQUASHFS error: Unable to read page, block 4f138e, size 19ac8
Error loading sh[    6.394802] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
ared library lib[    6.422397] Rebooting in 1 seconds..

2

Odp: r6220, błędy SQUASHFS

Hej,
Czyli w takim wypadku lepiej byłoby przeniesc system na nośnik USB?

3

Odp: r6220, błędy SQUASHFS

Wgraj sobie jeszcze raz soft, niech zaora ubi ponownie i być może wykryje wadliwe bloki. Bo sam powinien to już zrobić...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

4

Odp: r6220, błędy SQUASHFS

inna sprawa że przestał też działać port USB, nie daje napięcia. on sie jakoś załączał programowo później  ?

5

Odp: r6220, błędy SQUASHFS

Nie pamiętam czy on dawał zasilanie od razu po starcie. Mogę sprawdzić wieczorem w domu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

6 (edytowany przez chemik89 2021-11-23 10:10:01)

Odp: r6220, błędy SQUASHFS

w sumie mam 5 innych obok ;p

7

Odp: r6220, błędy SQUASHFS

Sprawdź sam smile będzie szybciej

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8 (edytowany przez chemik89 2021-11-23 10:10:38)

Odp: r6220, błędy SQUASHFS

załacza się później, chwile przed wejsciem w etap "migania pierwszej diody".
Mój trup nie dochodzi aż tak daleko

9

Odp: r6220, błędy SQUASHFS

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

             MT7621   stage1 code 13:15:05 (ASIC)

             CPU=50000000 HZ BUS=16666666 HZ

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

Change MPLL source from XTAL to CR...

do MEMPLL setting..

MEMPLL Config : 0x11100000

3PLL mode + External loopback

=== XTAL-40Mhz === DDR-1200Mhz ===

PLL3 FB_DL: 0xe, 1/0 = 563/461 39000000

PLL2 FB_DL: 0x16, 1/0 = 561/463 59000000

PLL4 FB_DL: 0x18, 1/0 = 593/431 610000 0    0    0    0    0    0    0

000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1

000E:|    0    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1

000F:|    0    0    0    0    0    1    1    1    1    1    1    1    1    1    1    0

0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0

0011:|    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0

0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

rank 0 coarse = 15

rank 0 fine = 80

B:|    0    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0

opt_dle value:11

DRAMC_R0DELDLY[018]=00001F1F

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

        RX    DQS perbit delay software calibration 

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

1.0-15 bit dq delay value

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

bit|     0  1  2  3  4  5  6  7  8  9

--------------------------------------

0 |    13 7 14 10 13 5 13 6 3 11 

10 |    5 13 9 12 7 11 

--------------------------------------



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

2.dqs window

x=pass dqs delay value (min~max)center 

y=0-7bit DQ of every group

input delay:DQS0 =31 DQS1 = 31

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

bit    DQS0     bit      DQS1

0  (1~61)31  8  (2~56)29

1  (0~58)29  9  (1~57)29

2  (1~60)30  10  (1~58)29

3  (1~61)31  11  (1~58)29

4  (1~61)31  12  (1~61)31

5  (1~59)30  13  (1~56)28

6  (1~59)30  14  (1~61)31

7  (1~62)31  15  (1~59)30

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

3.dq delay value last

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

bit|    0  1  2  3  4  5  6  7  8   9

--------------------------------------

0 |    13 9 15 10 13 6 14 6 5 13 

10 |    7 15 9 15 7 12 

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

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

     TX  perbyte calibration 

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

DQS loop = 15, cmp_err_1 = ffff0000 

dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1 

dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2 

DQ loop=15, cmp_err_1 = ffff01aa

DQ loop=14, cmp_err_1 = ffff0080

dqs_perbyte_dly.last_dqdly_pass[1]=14,  finish count=1 

DQ loop=13, cmp_err_1 = ffff0080

DQ loop=12, cmp_err_1 = ffff0000

dqs_perbyte_dly.last_dqdly_pass[0]=12,  finish count=2 

byte:0, (DQS,DQ)=(9,8)

byte:1, (DQS,DQ)=(8,8)

20,data:89

[EMI] DRAMC calibration passed




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

             MT7621   stage1 code done 

             CPU=50000000 HZ BUS=16666666 HZ

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



U-Boot 1.1.3 (Sep 25 2015 - 10:29:47)


Board: Ralink APSoC DRAM:  128 MB

relocate_code Pointer at: 87fac000


Config XHCI 40M PLL 

Allocate 16 byte aligned buffer: 87fe1bb0

Enable NFI Clock

# MTK NAND # : Use HW ECC

NAND ID [C2 F1 80 95 02]

Device found in MTK table, ID: c2f1, EXT_ID: 809502

Support this Device in MTK table! c2f1 

select_chip

[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16

Signature matched and data read!

load_fact_bbt success 1023

load fact bbt success

[mtk_nand] probe successfully!

mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8

Env addr : 0x100000

.*** Warning - bad CRC, using default environment


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

Ralink UBoot Version: 4.2.1.0

-------------------------------------------- 

ASIC MT7621AS (MAC to MT7530 Mode)

DRAM_CONF_FROM: Auto-Detection 

DRAM_TYPE: DDR3 

DRAM bus: 16 bit

Xtal Mode=3 OCP Ratio=1/3

Flash component: NAND Flash

Date:Sep 25 2015  Time:10:29:47

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

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:256, ways:4, linesz:32 ,total:32768 


 ##### The CPU freq = 880 MHZ #### 

 estimate memory size =128 Mbytes


Reset switch ...

#Reset_MT7530

set LAN/WAN LLLLW

..Example expects ABI version 2

Actual U-Boot ABI version 2


******************************************

    Uboot StandAlone Entry

******************************************

0, cmd

1, 0x0000000D

cmd : 0x0000000D





Press Ctrl+C to Enter the Main loop...

Example expects ABI version 2

Actual U-Boot ABI version 2


******************************************

    Uboot StandAlone Entry

******************************************

0, cmd

1, 0x0000000F

cmd : 0x0000000F

Enter NMRP_main

Flash Sector Number : 1024.



 NetTxPacket = 0x87FE5B40 


 KSEG1ADDR(NetTxPacket) = 0xA7FE5B40 


 NetLoop,call eth_halt ! 


 NetLoop,call eth_init ! 

Trying Eth0 (10/100-M)


 Waitting for RX_DMA_BUSY status Start... done



 ETH_STATE_ACTIVE!! 

NMRP_FLASH_SIZE_buffer --> a1000000.

NMRP:LISTENING

### No NMRP Server found ###


 KSEG1ADDR(NetTxPacket) = 0xA7FE5B40 


 NetLoop,call eth_halt ! 


 NetLoop,call eth_init ! 

Trying Eth0 (10/100-M)


 ETH_STATE_ACTIVE!! 

STANDALONE_LOAD_ADDR is 0xa0600000

Example expects ABI version 2

Actual U-Boot ABI version 2


******************************************

    Uboot StandAlone Entry

******************************************

0, boot

Flash Sector Number : 1024.




***************************************************


    Sercomm Boot Version 1.19.0




***************************************************


Upgrade flag check pass!Entering Firmware : Everything is OK.


kernel addr :0xbfe00000 

   

 System Boot system code via Flash.

## Booting image at bfe00000 ...

   Image Name:   MIPS X-WRT Linux-5.4.158

   Image Type:   MIPS Linux Kernel Image (uncompressed)

   Data Size:    2461455 Bytes =  2.3 MB

   Load Address: 80001000

   Entry Point:  80001000

......................................   Verifying Checksum ... OK

OK

 



commandline in boot is : <NULL>  !!!!




No initrd

## Transferring control to Linux (at address 80001000) ...

## Giving linux memsize in MB, 128


Starting kernel ...




OpenWrt kernel loader for MIPS based SoC

Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>

Decompressing kernel... done!

Starting kernel at 80001000...


[    0.000000] Linux version 5.4.158 (ptpt52@SC-GAME) (gcc version 11.2.0 (OpenWrt GCC 11.2.0 r16279-5cc0535800)) #0 SMP Fri Nov 19 03:56:45 2021
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Netgear R6220
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2} total 2
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    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] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=0004201f
[    0.000000] Readback ErrCtl register=0004201f
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120312K/131072K available (5962K kernel code, 236K rwdata, 1244K rodata, 1248K init, 232K bss, 10760K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x360/0x548 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015482] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.087776] pid_max: default: 32768 minimum: 301
[    0.097056] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.111463] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.128680] rcu: Hierarchical SRCU implementation.
[    0.138511] smp: Bringing up secondary CPUs ...
[    8.196516] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.196526] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.196536] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.196627] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.198263] Synchronize counters for CPU 1: done.
[    0.257895] smp: Brought up 1 node, 2 CPUs
[    0.266495] devtmpfs: initialized
[    0.276566] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.296010] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.309599] pinctrl core: initialized pinctrl subsystem
[    0.321255] NET: Registered protocol family 16
[    0.343168] pstore: Registered ramoops as persistent store backend
[    0.355389] ramoops: using 0x80000@0x3f00000, ecc: 0
[    0.384553] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.405819] clocksource: Switched to clocksource GIC
[    0.418928] thermal_sys: Registered thermal governor 'step_wise'
[    0.419356] NET: Registered protocol family 2
[    0.439968] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.454706] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.471207] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.486402] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.500388] TCP: Hash tables configured (established 1024 bind 1024)
[    0.513111] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.525994] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.540011] NET: Registered protocol family 1
[    0.548561] PCI: CLS 0 bytes, default 32
[    0.795678] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    0.807112] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.830582] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.842112] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.865189] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.876675] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.888078] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.900534] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.914999] printk: console [ttyS0] disabled
[    0.923475] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 15, base_baud = 3125000) is a 16550A
[    0.941373] printk: console [ttyS0] enabled
[    0.941373] printk: console [ttyS0] enabled
[    0.957922] printk: bootconsole [early0] disabled
[    0.957922] printk: bootconsole [early0] disabled
[    0.978651] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.993512] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    1.006163] nand: Macronix MX30LF1G18AC
[    1.013781] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.028856] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    1.041887] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    1.056440] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    1.070991] Scanning device for bad blocks
[    2.371365] 6 fixed-partitions partitions found on MTD device mt7621-nand
[    2.384874] Creating 6 MTD partitions on "mt7621-nand":
[    2.395289] 0x000000000000-0x000000100000 : "u-boot"
[    2.406894] 0x000000100000-0x000000200000 : "SC PID"
[    2.418434] 0x000000200000-0x000000600000 : "kernel"
[    2.430089] 0x000000600000-0x000002200000 : "ubi"
[    2.441304] 0x000002e00000-0x000002f00000 : "factory"
[    2.453101] 0x000004200000-0x000007e00000 : "reserved"
[    2.466619] libphy: Fixed MDIO Bus: probed
[    2.549572] libphy: mdio: probed
[    2.825734] random: fast init done
[    3.957382] ralink_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    3.977270] ralink_soc_eth 1e100000.ethernet: PPE started
[    3.988904] ralink_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 17
[    4.006655] i2c /dev entries driver
[    4.015362] mt7621-pci 1e140000.pcie: Parsing DT failed
[    4.028459] NET: Registered protocol family 10
[    4.038603] Segment Routing with IPv6
[    4.046056] NET: Registered protocol family 17
[    4.054933] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.080942] 8021q: 802.1Q VLAN Support v1.8
[    4.092685] pstore: Using crash dump compression: deflate
[    4.104954] rt2880-pinmux pinctrl: pcie is already enabled
[    4.116090] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    4.131012] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    4.145809] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[    4.260126] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    4.271233] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    4.382253] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[    4.396114] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    4.409977] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    4.419691] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    4.438402] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    4.451083] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    4.464770] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    4.478465] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.489428] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    4.501416] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    4.513900] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    4.526450] pci 0000:00:00.0: supports D1
[    4.534415] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    4.547300] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.563482] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    4.575502] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    4.589061] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    4.602508] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    4.616058] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    4.626471] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    4.638607] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    4.652132] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    4.666518] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.679728] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    4.692896] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    4.706765] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    4.720287] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    4.734667] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    4.748198] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    4.761726] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    4.776293] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    4.790674] pci 0000:00:00.0: PCI bridge to [bus 01]
[    4.800559] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    4.814079] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    4.827597] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    4.843410] UBI: auto-attach mtd3
[    4.850083] ubi0: attaching mtd3
[    4.982087] UBI: EOF marker found, PEBs from 99 will be erased
[    4.993829] ubi0: scanning is finished
[    5.040367] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 103 LEBs
[    5.054502] ubi0: attached mtd3 (name "ubi", size 28 MiB)
[    5.065283] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.078974] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.092490] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.106347] ubi0: good PEBs: 224, bad PEBs: 0, corrupted PEBs: 0
[    5.118304] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.132678] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1637294205
[    5.150864] ubi0: available PEBs: 0, total reserved PEBs: 224, PEBs reserved for bad PEB handling: 20
[    5.169246] ubi0: background thread "ubi_bgt0d" started, PID 433
[    5.173018] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.192243] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.206129] hctosys: unable to open rtc device (rtc0)
[    5.234253] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    5.261906] devtmpfs: mounted
[    5.273189] Freeing unused kernel memory: 1248K
[    5.282245] This architecture does not have kernel memory protection.
[    5.295089] Run /sbin/init as init process
[    5.919328] init: Console is alive
[    5.926443] init: - watchdog -
[    8.471236] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.551367] usbcore: registered new interface driver usbfs
[    8.562482] usbcore: registered new interface driver hub
[    8.573173] usbcore: registered new device driver usb
[    8.617668] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.637671] SCSI subsystem initialized
[    8.649951] ehci-fsl: Freescale EHCI Host controller driver
[    8.662803] ehci-platform: EHCI generic platform driver
[    8.677112] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    8.696556] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    8.710493] ohci-platform: OHCI generic platform driver
[    8.729587] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    8.747332] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    8.757947] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    8.785936] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    8.804225] xhci-mtk 1e1c0000.xhci: irq 16, io mem 0x1e1c0000
[    8.817168] hub 1-0:1.0: USB hub found
[    8.824703] hub 1-0:1.0: 2 ports detected
[    8.833339] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    8.843960] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    8.858886] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    8.871732] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    8.888912] hub 2-0:1.0: USB hub found
[    8.896485] hub 2-0:1.0: 1 port detected
[    8.916094] usbcore: registered new interface driver usb-storage
[    8.930554] usbcore: registered new interface driver uas
[    8.941899] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    8.976122] init: - preinit -
[    9.878411] random: jshn: uninitialized urandom read (4 bytes read)
[    9.954964] random: jshn: uninitialized urandom read (4 bytes read)
[   10.111791] random: jshn: uninitialized urandom read (4 bytes read)
[   12.549750] urandom_read: 6 callbacks suppressed
[   12.549763] random: procd: uninitialized urandom read (4 bytes read)
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
[   16.756987] mount_root: loading kmods from internal overlay
[   16.824794] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   16.842300] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   17.043250] UBIFS (ubi0:1): default file-system created
[   17.055005] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   17.066478] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 629
[   17.192653] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   17.208289] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   17.228034] UBIFS (ubi0:1): FS size: 11808768 bytes (11 MiB, 93 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[   17.248460] UBIFS (ubi0:1): reserved for root: 557756 bytes (544 KiB)
[   17.261279] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 86270A51-5AB3-407A-83BF-0025BCD27FAD, small LPT model
[   17.285530] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   17.299716] block: unable to load configuration (fstab: Entry not found)
[   17.313234] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   17.326277] block: unable to load configuration (fstab: Entry not found)
[   17.339818] block: attempting to load /etc/config/fstab
[   17.353893] block: unable to load configuration (fstab: Entry not found)
[   17.367431] block: no usable configuration
[   17.380460] UBIFS (ubi0:1): un-mount UBI device 0
[   17.389882] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   17.408403] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   17.419952] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 632
[   17.546000] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   17.561640] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   17.581406] UBIFS (ubi0:1): FS size: 11808768 bytes (11 MiB, 93 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[   17.601834] UBIFS (ubi0:1): reserved for root: 557756 bytes (544 KiB)
[   17.614664] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 86270A51-5AB3-407A-83BF-0025BCD27FAD, small LPT model
[   17.779126] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   17.793244] block: unable to load configuration (fstab: Entry not found)
[   17.806766] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   17.819821] block: unable to load configuration (fstab: Entry not found)
[   17.833316] block: attempting to load /etc/config/fstab
[   17.843916] block: unable to load configuration (fstab: Entry not found)
[   17.857410] block: no usable configuration
[   17.867759] mount_root: overlay filesystem has not been fully initialized yet
[   17.882706] mount_root: switching to ubifs overlay
[   17.927720] urandom-seed: Seed file not found (/etc/urandom.seed)
[   18.093627] procd: - early -
[   18.099636] procd: - watchdog -
[   18.726012] procd: - watchdog -
[   18.760667] procd: - ubus -
[   18.932732] procd: - init -
Please press Enter to activate this console.
[   19.743954] kmodloader: loading kernel modules from /etc/modules.d/*
[   19.994732] RPC: Registered named UNIX socket transport module.
[   20.006614] RPC: Registered udp transport module.
[   20.015981] RPC: Registered tcp transport module.
[   20.025331] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   20.053840] urngd: v1.0.2 started.
[   20.058162] tun: Universal TUN/TAP device driver, 1.6
[   20.108764] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   20.143630] nat46: module (version 1fdf2a3cf90843ef65b8e84ff25d5e0507eaa3fe) loaded.
[   20.165117] gre: GRE over IPv4 demultiplexor driver
[   20.178539] ip_gre: GRE over IPv4 tunneling driver
[   20.197278] ip6_gre: GRE over IPv6 tunneling driver
[   20.217125] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   20.451845] random: crng init done
[   20.538924] GACT probability on
[   20.548112] Mirror/redirect action on
[   20.588824] u32 classifier
[   20.594218]     input device check on
[   20.601586]     Actions configured
[   20.643950] fuse: init (API version 7.31)
[   20.673837] {natcap}:natcap_init(): version: 8.0.0
[   20.683472] {natcap}:natcap_init(): natcap_major=250, natcap_minor=0
[   20.709821] {natcap}:natcap_peer_init(): natcap_peer_major=249, natcap_peer_minor=0
[   20.739013] {natflow}:natflow_init(): natflow_major=248, natflow_minor=0
[   20.753921] {natflow}:natflow_zone_init(): natflow_zone_major=247, natflow_zone_minor=0
[   20.771982] {natflow}:natflow_user_init(): natflow_user_major=246, natflow_user_minor=0
[   20.795617] {natflow}:userinfo_init(): userinfo_major=245, userinfo_minor=0
[   20.815459] {natflow}:conntrackinfo_init(): conntrackinfo_major=244, conntrackinfo_minor=0
[   20.833983] {natflow}:natflow_urllogger_init(): urllogger_major=243, urllogger_minor=0
[   20.873494] Bridge firewalling registered
[   20.888081] usbcore: registered new interface driver cdc_wdm
[   20.905360] Loading modules backported from Linux version v5.15-rc6-0-g519d81956ee2
[   20.920752] Backport generated by backports.git v5.15-rc6-1-0-gd44432d6
[   20.948154] usbcore: registered new interface driver ipheth
[   21.131845] nf_conntrack_rtsp v0.7 loading
[   21.171130] nf_nat_rtsp v0.7 loading
[   21.275026] ntfs3: Index binary search
[   21.282620] ntfs3: Hot fix free clusters
[   21.290469] ntfs3: Max link count 1024
[   21.297947] ntfs3: Activated 32 bits per cluster
[   21.307134] ntfs3: Read-only lzx/xpress compression included
[   21.336659] usbcore: registered new interface driver r8152
[   21.362814] usbcore: registered new interface driver usblp
[   21.393325] usbcore: registered new interface driver usbserial_generic
[   21.406569] usbserial: USB Serial support registered for generic
[   21.494894] xt_time: kernel timezone is -0000
[   21.508206] usbcore: registered new interface driver cdc_ether
[   21.526770] usbcore: registered new interface driver cdc_ncm
[   21.667429] usbcore: registered new interface driver huawei_cdc_ncm
[   21.833348] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=19
[   21.844203] pci 0000:00:00.0: enabling device (0004 -> 0007)
[   21.855494] mt76x2e 0000:01:00.0: enabling device (0000 -> 0002)
[   21.867751] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   22.546399] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   22.563582] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   22.574550] mt76x2e 0000:01:00.0: Build: 1
[   22.582711] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   22.615751] mt76x2e 0000:01:00.0: Firmware running!
[   22.648588] usbcore: registered new interface driver pl2303
[   22.659970] usbserial: USB Serial support registered for pl2303
[   22.677397] PPP generic driver version 2.4.2
[   22.688131] PPP MPPE Compression module registered
[   22.700243] NET: Registered protocol family 24
[   22.712321] PPTP driver version 0.8.5
[   22.725429] usbcore: registered new interface driver qmi_wwan
[   22.742930] usbcore: registered new interface driver rndis_host
[   22.760431] usbcore: registered new interface driver sierra
[   22.771825] usbserial: USB Serial support registered for Sierra USB modem
[   22.790363] usbcore: registered new interface driver sierra_net
[   22.815853] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   22.831475] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   22.861805] batman_adv: B.A.T.M.A.N. advanced 2021.3-openwrt-1 (compatibility version 15) loaded
[   22.883631] usbcore: registered new interface driver cdc_mbim
[   22.899021] usbcore: registered new interface driver option
[   22.910434] usbserial: USB Serial support registered for GSM modem (1-port)
[   22.934976] usbcore: registered new interface driver qcserial
[   22.946804] usbserial: USB Serial support registered for Qualcomm USB modem
[   22.962881] kmodloader: done loading kernel modules from /etc/modules.d/*
[   34.088261] /dev/sda1: Can't open blockdev
[   52.636675] {natflow}:natflow_netdev_event(): catch NETDEV_UNREGISTER event for dev=SQM_IFB_47be2
[   52.965908] {natflow}:natflow_netdev_event(): catch NETDEV_UNREGISTER event for dev=SQM_IFB_c96c8
[   53.295929] {natflow}:natflow_netdev_event(): catch NETDEV_UNREGISTER event for dev=SQM_IFB_421a3
[   53.625925] {natflow}:natflow_netdev_event(): catch NETDEV_UNREGISTER event for dev=SQM_IFB_e9b8f
[   53.895905] {natflow}:natflow_netdev_event(): catch NETDEV_UNREGISTER event for dev=SQM_IFB_4df62
[   57.994379] {natflow}:natflow_netdev_event(): catch NETDEV_UP event for dev=eth0, add ingress hook
[   58.040168] {natflow}:natflow_netdev_event(): catch NETDEV_UP event for dev=eth0.1, add ingress hook
[   58.059789] br-lan: port 1(eth0.1) entered blocking state
[   58.070660] br-lan: port 1(eth0.1) entered disabled state
[   58.082004] device eth0.1 entered promiscuous mode
[   58.091634] device eth0 entered promiscuous mode
[   58.113285] br-lan: port 1(eth0.1) entered blocking state
[   58.124090] br-lan: port 1(eth0.1) entered forwarding state
[   58.135605] {natflow}:natflow_netdev_event(): catch NETDEV_UP event for dev=br-lan, add ingress hook
[   58.197749] {natflow}:natflow_netdev_event(): catch NETDEV_UP event for dev=eth0.2, add ingress hook
[   59.064059] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   59.255910] {natflow}:natflow_netdev_event(): catch NETDEV_UNREGISTER event for dev=wlan0
[   62.844680] {natflow}:natflow_netdev_event(): catch NETDEV_UP event for dev=wlan0, add ingress hook
[   62.878653] br-lan: port 2(wlan0) entered blocking state
[   62.889306] br-lan: port 2(wlan0) entered disabled state
[   62.900586] device wlan0 entered promiscuous mode
[   74.756561] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   74.769652] br-lan: port 2(wlan0) entered blocking state
[   74.780339] br-lan: port 2(wlan0) entered forwarding state

po wgraniu nmrpflashem, widać coś niepokojacego ? klasycznych bledow nand nie widze.

10

Odp: r6220, błędy SQUASHFS

Nie, nie widać.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: r6220, błędy SQUASHFS

najgorzej, wiadomo że coś jest skopane ale sprzęt sobie nie zdaje z tego sprawy big_smile

najchętniej wlutowałbym tam kostke SPI, ale pewnie nie powstał żaden obraz który z tego zabootuje.

12 (edytowany przez chemik89 2023-05-26 19:13:45)

Odp: r6220, błędy SQUASHFS

wczoraj część urządzeń z esp mi przestała działać, się okazało że mam jeszcze jeden 6220 na poddaszu big_smile myślałem że wszystkich się już pozbyłem.
Oczywiście klasycznie - żył sobie w trybie zombie do czasu aż zresetowałem główny router (xiaomi 4 giga z xwrt, uptime 675dni ) wink
od tej chwili utracił kontakt ze światem zarówno po lan jak i wifi, po próbie restartu - błąd jak w pierwszym poście, nie wstaje.
5/6 moich 6220 tak skończyło, różne wersje openwrt. Aż dziw mnie bierze Cezary że z twoim nie było takiego problemu big_smile
Po drugim razie już ich nawet nie stawiam, mają odemnie flagę "unreliable", nie warte używania na "produkcji"

Może z jednego poświęcę na testy czy z exroota też problem kiedyś wystąpi.

13

Odp: r6220, błędy SQUASHFS

O, albo puszcze ze spi
https://github.com/updateing/openwrt-r6220/issues/6

Odp: r6220, błędy SQUASHFS

chemik89 napisał/a:

O, albo puszcze ze spi
https://github.com/updateing/openwrt-r6220/issues/6

Pod tym linkiem pozamykane wszystko w 2017