Temat: 1.14 extroot i problem
Właśnie wgrałem sobie wersje 1.14 i nie przyszło mi do głowy, że trzeba robić extroota od nowa. Stanąłem w punkcie wykrywania dysku usb. Z poradnika https://eko.one.pl/forum/viewtopic.php?id=1062
Albo ślepnę albo nie widzi dysku, może ktoś sprawdzić czy widać tam dwie partycje ? Jedna to stara ext2 z 1.13 a druga to ntfs.
root@Gargoyle:~# dmesg
[ 0.000000] Linux version 5.10.176 (cezary@eko.one.pl) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r20134-5f15225c1e) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Thu Apr 27 20:28:15 2023
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] MIPS: machine is TP-Link TL-WR1043ND v3
[ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 57088K/65536K available (5145K kernel code, 581K rwdata, 692K rodata, 1188K init, 195K bss, 8448K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 720.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[ 0.000008] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[ 0.008351] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[ 0.075035] pid_max: default: 32768 minimum: 301
[ 0.080075] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.087852] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.097705] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.108070] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.118576] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.125850] pinctrl core: initialized pinctrl subsystem
[ 0.132784] NET: Registered protocol family 16
[ 0.183443] clocksource: Switched to clocksource MIPS
[ 0.189880] NET: Registered protocol family 2
[ 0.194824] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.203089] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.212061] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.220236] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.227759] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.234656] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.241627] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.249339] NET: Registered protocol family 1
[ 0.254042] PCI: CLS 0 bytes, default 32
[ 0.263355] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.273106] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.279370] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.293197] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.299840] gpio-export gpio-export: 1 gpio(s) exported
[ 0.306260] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.313698] printk: console [ttyS0] disabled
[ 0.318309] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
[ 0.327530] printk: console [ttyS0] enabled
[ 0.336435] printk: bootconsole [early0] disabled
[ 0.356491] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[ 0.361502] 3 fixed-partitions partitions found on MTD device spi0.0
[ 0.368041] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.374784] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.382283] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.389065] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.396035] Creating 3 MTD partitions on "spi0.0":
[ 0.400906] 0x000000000000-0x000000020000 : "u-boot"
[ 0.410390] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.416897] 2 tplink-fw partitions found on MTD device firmware
[ 0.422912] Creating 2 MTD partitions on "firmware":
[ 0.428006] 0x000000000000-0x0000001ea3de : "kernel"
[ 0.433036] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[ 0.443573] 0x0000001ea3e0-0x0000007d0000 : "rootfs"
[ 0.448623] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[ 0.458807] mtd: setting mtd3 (rootfs) as root device
[ 0.464727] 1 squashfs-split partitions found on MTD device rootfs
[ 0.471010] 0x000000650000-0x0000007d0000 : "rootfs_data"
[ 0.477349] 0x0000007f0000-0x000000800000 : "art"
[ 0.858683] switch0: Atheros AR8327 rev. 4 switch registered on mdio.0
[ 1.512812] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[ 1.523917] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.865433] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.875103] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: sgmii
[ 1.881812] i2c /dev entries driver
[ 1.887386] NET: Registered protocol family 10
[ 1.899360] Segment Routing with IPv6
[ 1.903188] NET: Registered protocol family 17
[ 1.907800] 8021q: 802.1Q VLAN Support v1.8
[ 1.923725] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.937306] Freeing unused kernel memory: 1188K
[ 1.941902] This architecture does not have kernel memory protection.
[ 1.948467] Run /sbin/init as init process
[ 1.952618] with arguments:
[ 1.952622] /sbin/init
[ 1.952626] with environment:
[ 1.952630] HOME=/
[ 1.952633] TERM=linux
[ 3.722309] init: Console is alive
[ 3.726272] init: - watchdog -
[ 6.128508] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.638265] usbcore: registered new interface driver usbfs
[ 6.643967] usbcore: registered new interface driver hub
[ 6.649438] usbcore: registered new device driver usb
[ 6.669409] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.678457] fsl-ehci: Freescale EHCI Host controller driver
[ 6.685968] ehci-platform: EHCI generic platform driver
[ 6.691647] ehci-platform 1b000000.usb: EHCI Host Controller
[ 6.697472] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 6.705545] ehci-platform 1b000000.usb: irq 13, io mem 0x1b000000
[ 6.733467] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 6.740522] hub 1-0:1.0: USB hub found
[ 6.745084] hub 1-0:1.0: 1 port detected
[ 6.752864] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.770679] init: - preinit -
[ 7.232247] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 9.262150] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.414849] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.570748] random: jshn: uninitialized urandom read (4 bytes read)
[ 12.413999] eth1: link up (1000Mbps/Full duplex)
[ 12.423554] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 12.430287] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.1: link becomes ready
[ 12.517900] random: procd: uninitialized urandom read (4 bytes read)
[ 17.560226] jffs2: notice: (494) jffs2_build_xattr_subsystem: complete building xattr subsystem, 30 of xdatum (26 unchecked, 4 orphan) and 38 of xref (4 dead, 0 orphan) found.
[ 17.589841] mount_root: loading kmods from internal overlay
[ 17.655698] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[ 17.667304] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[ 17.930134] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 17.942430] block: extroot: not configured
[ 17.947710] mount_root: switching to jffs2 overlay
[ 17.960946] overlayfs: upper fs does not support tmpfile.
[ 17.972834] urandom-seed: Seeding with /etc/urandom.seed
[ 18.017827] eth1: link down
[ 18.042246] procd: - early -
[ 18.045558] procd: - watchdog -
[ 18.640001] procd: - watchdog -
[ 18.647842] procd: - ubus -
[ 19.257671] random: ubusd: uninitialized urandom read (4 bytes read)
[ 19.273045] random: ubusd: uninitialized urandom read (4 bytes read)
[ 19.306636] random: ubusd: uninitialized urandom read (4 bytes read)
[ 19.323675] procd: - init -
[ 21.013022] random: jshn: uninitialized urandom read (4 bytes read)
[ 21.043763] random: ubusd: uninitialized urandom read (4 bytes read)
[ 21.057266] random: ubus: uninitialized urandom read (4 bytes read)
[ 21.820745] kmodloader: loading kernel modules from /etc/modules.d/*
[ 22.111538] urngd: v1.0.2 started.
[ 22.270734] random: crng init done
[ 22.274243] random: 24 urandom warning(s) missed due to ratelimiting
[ 22.298796] tun: Universal TUN/TAP device driver, 1.6
[ 22.423019] GACT probability on
[ 22.428965] Mirror/redirect action on
[ 22.448174] u32 classifier
[ 22.450936] input device check on
[ 22.454691] Actions configured
[ 22.480307] Simple TC action Loaded
[ 22.546229] Loading modules backported from Linux version v5.15.92-0-ge515b9902f5f
[ 22.553967] Backport generated by backports.git v5.15.92-1-0-gdfe0f60c
[ 22.892128] xt_time: kernel timezone is -0000
[ 22.998413] PPP generic driver version 2.4.2
[ 23.007533] NET: Registered protocol family 24
[ 23.018464] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[ 23.026476] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[ 23.101467] ath: EEPROM regdomain: 0x0
[ 23.101479] ath: EEPROM indicates default country code should be used
[ 23.101484] ath: doing EEPROM country->regdmn map search
[ 23.101498] ath: country maps to regdmn code: 0x3a
[ 23.101505] ath: Country alpha2 being used: US
[ 23.101509] ath: Regpair used: 0x3a
[ 23.119382] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 23.121282] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12
[ 23.174055] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 44.300430] eth1: link up (1000Mbps/Full duplex)
[ 44.316687] br-lan: port 1(eth1.1) entered blocking state
[ 44.322177] br-lan: port 1(eth1.1) entered disabled state
[ 44.327978] device eth1.1 entered promiscuous mode
[ 44.332847] device eth1 entered promiscuous mode
[ 44.341213] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 44.373936] br-lan: port 1(eth1.1) entered blocking state
[ 44.379431] br-lan: port 1(eth1.1) entered forwarding state
[ 44.482936] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 3 is up
[ 44.489223] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 4 is up
[ 44.495467] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 5 is up
[ 44.502962] eth0: link up (1000Mbps/Full duplex)
[ 44.543762] device eth0 entered promiscuous mode
[ 44.643530] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 45.373788] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 50.349133] br-lan: port 2(wlan0) entered blocking state
[ 50.354579] br-lan: port 2(wlan0) entered disabled state
[ 50.360387] device wlan0 entered promiscuous mode
[ 50.479373] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 50.486067] br-lan: port 2(wlan0) entered blocking state
[ 50.491467] br-lan: port 2(wlan0) entered forwarding state
[ 93.868593] xt_bandwidth: timezone shift of 60 minutes detected, adjusting
[ 93.875640] old minutes west=0, new minutes west=-60