1

(11 odpowiedzi, napisanych Oprogramowanie / Software)

Ten target będzie razem z aktualizacją obrazów ?

2

(11 odpowiedzi, napisanych Oprogramowanie / Software)

przepraszam to RAM...
dysk 66 MiB, po instalacji i aktualizacji pakietów
OpenWrt 25.12.2 r32802-f505120278 / LuCI openwrt-25.12 branch 26.112.70337~8405d22

3

(11 odpowiedzi, napisanych Oprogramowanie / Software)

To ja ładnie poproszę... smile
A czy w 24.10 jest możliwe zbudowanie tej platformy ? Jakoś to apk na razie mnie nie przekonuje... jest gałąź sprzętowa, ale bez tego routera.
Zainstalowałem openwrt w flash.
Jeszcze jedno: obraz 25.12  Luci zajmuje 300 mb, czemu aż tyle ?

@Cezary
Czy było by możliwe dodanie Twojego wsparcia dla tej platformy, obrazy Check point v81 ?
Wsparcie Openwrt jest od 25.12, kupiłem ten sprzęt za połowę ceny mikrotika RB5009, a lepszy procek, no ale gołe openwrt i brak twoich skryptów i pakietów... hmm

A może taka konfiguracja:
OpenWRT + Docker /zigbee2mqtt, inne/ + LXC /vps - dietpi, yunohost/ + VM /qemu, homeassistant - superviced 4 GB ram/ + WiFI /AP - iot tylko N/ + Apek - do internetu /unifi, mikrotik N/AC/ + dyski na dane, backup itp.
Albo Proxmox LXC /openwrt  i inne  - nie uruchmiłem AP/, VM, problem z magazynowaniem danych, to służy do wirtualizacji nie do NAS + 2 AP.
Przewaga LXC nad VM - nie zamraża zasobów na sztywno, nad Docker jeden gość dla wielu aplikacji (lxc z vps).
Przy pierwszej konfiguracji przy sprzętowym ograniczeniu do 8 GB ram - 4 GB zostaje dla OpenWRT, Docker, LXC. Jeśli komuś wystarcza Homeassistant Core to ma 8 GB ram do dyspozycji.
Sprzęt - terminale, Odroid H2, H3 itd, chińskie mini pc.

6

(95 odpowiedzi, napisanych Oprogramowanie / Software)

Docker Openwrt 22.03
NIe mam sieci wewnątrz kontenera, uruchmiłem Domoticza i chciałem go przebudować, więc daję:

 docker exec -it domoticz /bin/bash
 apt update 

i błąd że repo niedostępne.
W firewallu wyłączyłem filtry ale to nic nie zmieniło, zrobiłem też reboot...

7

(14 odpowiedzi, napisanych Mini komputery)

Lenovo M600
Dysk
1. M.2
2. Sata
4x USB 3.0
2x USB 2.0
rs232
Slot M.2 do karty wifi
Mój ma proc Celeron N3000
RAM max 8G
Pobiera ok 7W
Dodałem kartę ethernet usb 3.0 AX88179
WIFI QCA6174 (niestety jeden tor)

8

(63 odpowiedzi, napisanych Oprogramowanie / Software)

Winowajcą jest poprawka libustream-wolfssl20201210 oraz użyszkodnik który ją wgrał big_smile, razem z nią jest dogrywana biblioteka.
Po tej operacji nie ściąga się część aktualizacji, po odinstalowaniu poprawki brak repozystoriów.
Komunikat: wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
Można przesłać ręcznie pakiet tylko trzeba wiedzieć który... , a że to system testowy postawiłem na nowo.

edit
A swoją drogą jak zablokować/ukryć takie ciekawe poprawki ?

9

(63 odpowiedzi, napisanych Oprogramowanie / Software)

@Cezary
Czy te problemy są w związku z tymi nowościami?

Collected errors:
* opkg_download: Failed to download https://dl.eko.one.pl/openwrt-21.02/tar … ckages.gz, wget returned 5.
* opkg_download: Failed to download https://dl.eko.one.pl/openwrt-21.02/pac … ckages.gz, wget returned 5.
* opkg_download: Failed to download https://dl.eko.one.pl/openwrt-21.02/pac … ckages.gz, wget returned 5.
* opkg_download: Failed to download https://dl.eko.one.pl/openwrt-21.02/pac … ckages.gz, wget returned 5.
* opkg_download: Failed to download https://dl.eko.one.pl/openwrt-21.02/pac … ckages.gz, wget returned 5.
* opkg_download: Failed to download https://dl.eko.one.pl/openwrt-21.02/pac … ckages.gz, wget returned 5.
* opkg_download: Failed to download https://dl.eko.one.pl/openwrt-21.02/tar … ckages.gz, wget returned 5.

tak jest od wczoraj, świeża instalka...

10

(10 odpowiedzi, napisanych Sprzęt / Hardware)

Na próbę wgrałem oryginalny soft - to tylko AP i router wstał i chodzi. smile

11

(10 odpowiedzi, napisanych Sprzęt / Hardware)

Jest możliwość przemapowania flasha na tą część nie wykorzystaną (tak jak rozszerzenie) - budowa obrazu z takimi ustawieniami?
, albo przeniesienie na nośnik zewnętrzny ?

12

(10 odpowiedzi, napisanych Sprzęt / Hardware)

wgrałem openwrt 21.02, niestety nadal to samo...
Przed tą awarią był problem z przepełnianiem pamięci. Po ostatni flashowaniu chodził prawie 2 miesiące - on robi za " głupie ap", więc  to mi aż tak nie przeszkadzało.

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.154 (cezary@eko.one.pl) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15819-0011c7ad12)) #0 SMP Mon Nov 1 14:35:25 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 s26768 r8192 d22384 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    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=00054880
[    0.000000] Readback ErrCtl register=00054880
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 121076K/131072K available (6089K kernel code, 210K rwdata, 748K rodata, 1260K init, 238K bss, 9996K 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 25 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 0x806e5a3c 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.015493] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055802] pid_max: default: 32768 minimum: 301
[    0.065127] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079525] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097284] rcu: Hierarchical SRCU implementation.
[    0.107207] smp: Bringing up secondary CPUs ...
[    8.136540] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.136551] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.136562] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.136662] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144263] Synchronize counters for CPU 1: done.
[    0.203910] smp: Brought up 1 node, 2 CPUs
[    0.216259] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.235531] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.249147] pinctrl core: initialized pinctrl subsystem
[    0.260837] NET: Registered protocol family 16
[    0.299031] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.320647] clocksource: Switched to clocksource GIC
[    0.331803] thermal_sys: Registered thermal governor 'step_wise'
[    0.332324] NET: Registered protocol family 2
[    0.352986] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.368136] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.384700] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.399848] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.413848] TCP: Hash tables configured (established 1024 bind 1024)
[    0.426586] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.439487] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.453563] NET: Registered protocol family 1
[    0.462134] PCI: CLS 0 bytes, default 32
[    0.560625] 4 CPUs re-calibrate udelay(lpj = 1163264)
[    0.572183] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.597946] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.609485] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.631315] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.648228] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.659653] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.670924] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.682794] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.699456] printk: console [ttyS0] disabled
[    0.707916] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 15, base_baud = 3125000) is a 16550A
[    0.725839] printk: console [ttyS0] enabled
[    0.725839] printk: console [ttyS0] enabled
[    0.742384] printk: bootconsole [early0] disabled
[    0.742384] printk: bootconsole [early0] disabled
[    0.764475] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.779441] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    0.792101] nand: Macronix MX30LF1G18AC
[    0.799744] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.814830] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.827866] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.842433] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.856997] Scanning device for bad blocks
[    1.015925] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 7553.2
[    1.207385] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 16513.0
[    1.617611] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 36481.1
[    1.709377] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 40385.1
[    1.991219] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 53889.0
[    2.055528] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 56385.3
[    2.083572] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 57089.1
[    2.264438] 6 fixed-partitions partitions found on MTD device mt7621-nand
[    2.277961] Creating 6 MTD partitions on "mt7621-nand":
[    2.288377] 0x000000000000-0x000000100000 : "u-boot"
[    2.299858] 0x000000100000-0x000000200000 : "SC PID"
[    2.311274] 0x000000200000-0x000000600000 : "kernel"
[    2.322747] 0x000000600000-0x000002200000 : "ubi"
[    2.333833] 0x000002e00000-0x000002f00000 : "factory"
[    2.345445] 0x000004200000-0x000007e00000 : "reserved"
[    2.358915] libphy: Fixed MDIO Bus: probed
[    2.395062] libphy: mdio: probed
[    2.401777] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.418269] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 17
[    2.437219] mt7621-pci 1e140000.pcie: Parsing DT failed
[    2.450818] NET: Registered protocol family 10
[    2.461292] Segment Routing with IPv6
[    2.468738] NET: Registered protocol family 17
[    2.477672] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.504064] 8021q: 802.1Q VLAN Support v1.8
[    2.515089] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.539292] random: fast init done
[    2.547622] libphy: dsa slave smi: probed
[    2.556057] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    2.574069] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    2.592033] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    2.610032] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    2.628019] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    2.645900] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.663543] DSA: tree 0 setup
[    2.669863] rt2880-pinmux pinctrl: pcie is already enabled
[    2.680945] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.695882] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.810425] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.821545] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    2.932343] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[    2.946216] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    2.955929] mt7621-pci 1e140000.pcie: PCIE2 enabled
[    2.965656] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.984380] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    2.997063] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    3.010767] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    3.024465] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.035433] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    3.047433] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.059923] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    3.072478] pci 0000:00:00.0: supports D1
[    3.080467] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.092326] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    3.104336] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.116844] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    3.129388] pci 0000:00:01.0: supports D1
[    3.137374] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    3.150490] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    3.162524] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    3.176088] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    3.189546] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    3.203155] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.213585] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.225735] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.239261] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.253658] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.267063] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    3.279086] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    3.291710] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    3.305351] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    3.315769] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    3.327923] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    3.341452] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    3.355842] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.369069] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    3.382248] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.396117] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    3.409296] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.423169] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    3.436709] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    3.451098] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    3.464639] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    3.479030] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    3.492558] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    3.506089] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    3.519616] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    3.533153] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    3.547731] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    3.562121] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.572011] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    3.585537] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.599062] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.613463] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    3.626988] pci 0000:00:01.0: PCI bridge to [bus 02]
[    3.636883] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    3.650411] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    3.663936] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    3.679722] UBI: auto-attach mtd3
[    3.686381] ubi0: attaching mtd3
[    3.693372] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    3.785796] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 7553.2
[    3.800178] ubi0 warning: 0x803bae6c: error -77 (ECC error) while reading 64 bytes from PEB 70:2048, read only 0 bytes, retry
[    3.823196] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 7553.2
[    3.837591] ubi0 warning: 0x803bae6c: error -77 (ECC error) while reading 64 bytes from PEB 70:2048, read only 0 bytes, retry
[    3.860635] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 7553.2
[    3.875010] ubi0 warning: 0x803bae6c: error -77 (ECC error) while reading 64 bytes from PEB 70:2048, read only 0 bytes, retry
[    3.898031] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 7553.2
[    3.912419] ubi0 error: 0x803baf6c: error -77 (ECC error) while reading 64 bytes from PEB 70:2048, read 0 bytes
[    3.932520] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.154 #0
[    3.944458] Stack : 00000000 80850000 87c37000 8007e0d8 00000000 00000000 00000000 00000000
[    3.961076]         00000000 00000000 00000000 00000000 00000000 00000001 87c25bc8 0a890d21
[    3.977687]         87c25c60 00000000 00000000 00000000 00000038 805ebea4 342e3520 3435312e
[    3.994300]         00000000 00000000 00000000 000e3aa8 00000000 87c25ba8 00000000 00000046
[    4.010911]         008c0800 00000000 00000800 00000000 00000003 8035cbf4 00000000 80820000
[    4.027523]         ...
[    4.032373] Call Trace:
[    4.032384] [<8007e0d8>] 0x8007e0d8
[    4.044154] [<805ebea4>] 0x805ebea4
[    4.051078] [<8035cbf4>] 0x8035cbf4
[    4.058003] [<8000b05c>] 0x8000b05c
[    4.064926] [<8000b064>] 0x8000b064
[    4.071850] [<805d17d8>] 0x805d17d8
[    4.078773] [<803baf6c>] 0x803baf6c
[    4.085698] [<803baf74>] 0x803baf74
[    4.092622] [<803bfc88>] 0x803bfc88
[    4.099547] [<803bb5f0>] 0x803bb5f0
[    4.106470] [<803bac38>] 0x803bac38
[    4.113395] [<803c10f8>] 0x803c10f8
[    4.120324] [<803b47a8>] 0x803b47a8
[    4.127248] [<8007e2a4>] 0x8007e2a4
[    4.134173] [<806fd7c8>] 0x806fd7c8
[    4.141097] [<806fd48c>] 0x806fd48c
[    4.148021] [<806e51b8>] 0x806e51b8
[    4.154946] [<80001530>] 0x80001530
[    4.161869] [<8004b2a0>] 0x8004b2a0
[    4.168796] [<806e5e44>] 0x806e5e44
[    4.175720] [<806e51b8>] 0x806e51b8
[    4.182644] [<805ec208>] 0x805ec208
[    4.189569] [<805ec218>] 0x805ec218
[    4.196493] [<805ec208>] 0x805ec208
[    4.203415] [<80006718>] 0x80006718
[    4.210345]
[    4.213620] UBI assert failed in ubi_io_read at 190 (pid 1)
[    4.224722] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.154 #0
[    4.236655] Stack : 00000000 80850000 87c37000 8007e0d8 00000000 00000000 00000000 00000000
[    4.253269]         00000000 00000000 00000000 00000000 00000000 00000001 87c25bc8 0a890d21
[    4.269881]         87c25c60 00000000 00000000 00000000 00000038 805ebea4 342e3520 3435312e
[    4.286493]         00000000 00000000 00000000 00036dd2 00000000 87c25ba8 00000000 00000046
[    4.303104]         008c0800 00000000 00000800 00000000 00000003 8035cbf4 00000000 80820000
[    4.319716]         ...
[    4.324565] Call Trace:
[    4.324572] [<8007e0d8>] 0x8007e0d8
[    4.336340] [<805ebea4>] 0x805ebea4
[    4.343264] [<8035cbf4>] 0x8035cbf4
[    4.350188] [<8000b05c>] 0x8000b05c
[    4.357112] [<8000b064>] 0x8000b064
[    4.364035] [<805d17d8>] 0x805d17d8
[    4.370957] [<8007ab80>] 0x8007ab80
[    4.377880] [<803baf6c>] 0x803baf6c
[    4.384804] [<803bafac>] 0x803bafac
[    4.391730] [<803bb5f0>] 0x803bb5f0
[    4.398653] [<803bac38>] 0x803bac38
[    4.405577] [<803c10f8>] 0x803c10f8
[    4.412503] [<803b47a8>] 0x803b47a8
[    4.419428] [<8007e2a4>] 0x8007e2a4
[    4.426353] [<806fd7c8>] 0x806fd7c8
[    4.433278] [<806fd48c>] 0x806fd48c
[    4.440201] [<806e51b8>] 0x806e51b8
[    4.447124] [<80001530>] 0x80001530
[    4.454047] [<8004b2a0>] 0x8004b2a0
[    4.460974] [<806e5e44>] 0x806e5e44
[    4.467899] [<806e51b8>] 0x806e51b8
[    4.474822] [<805ec208>] 0x805ec208
[    4.481746] [<805ec218>] 0x805ec218
[    4.488669] [<805ec208>] 0x805ec208
[    4.495591] [<80006718>] 0x80006718
[    4.502520]
[    4.505808] ubi0 error: 0x803b4bc8: failed to attach mtd3, error -5
[    4.518353] UBI error: cannot attach mtd3
[    4.526364] hctosys: unable to open rtc device (rtc0)
[    4.537234] /dev/root: Can't open blockdev
[    4.545458] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    4.560361] Please append a correct "root=" boot option; here are the available partitions:
[    4.577013] 1f00            1024 mtdblock0
[    4.577017]  (driver?)
[    4.590045] 1f01            1024 mtdblock1
[    4.590049]  (driver?)
[    4.603074] 1f02            4096 mtdblock2
[    4.603078]  (driver?)
[    4.616107] 1f03           28672 mtdblock3
[    4.616111]  (driver?)
[    4.629137] 1f04            1024 mtdblock4
[    4.629140]  (driver?)
[    4.642168] 1f05           61440 mtdblock5
[    4.642171]  (driver?)
[    4.655195] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    4.671657] Rebooting in 1 seconds..

13

(10 odpowiedzi, napisanych Sprzęt / Hardware)

Witam,
jak w temacie, mogę wgrać soft, ale użyteczny jest do restartu, mogę to jakoś przemapować ?
@ Cezary to sztuka od Ciebie... więc może się da...
Czy to już koniec...
Poniżej log

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

             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 ===

PLL2 FB_DL: 0x8, 1/0 = 766/258 21000000

PLL3 FB_DL: 0x12, 1/0 = 643/381 49000000

PLL4 FB_DL: 0x16, 1/0 = 580/444 59000000

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    1    1

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

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

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

0011:|    1    1    1    0    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 = 64

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

opt_dle value:10

DRAMC_R0DELDLY[018]=00001C1E

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

        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 9 12 11 13 9 15 7 2 11

10 |    6 12 7 11 5 10

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

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

2.dqs window

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

y=0-7bit DQ of every group

input delay:DQS0 =30 DQS1 = 28

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

bit    DQS0     bit      DQS1

0  (1~58)29  8  (1~52)26

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

2  (0~58)29  10  (1~56)28

3  (1~55)28  11  (1~52)26

4  (1~58)29  12  (1~55)28

5  (1~58)29  13  (1~56)28

6  (1~58)29  14  (1~55)28

7  (1~59)30  15  (1~54)27

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

3.dq delay value last

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

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

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

0 |    14 10 13 13 14 10 15 7 4 11

10 |    6 14 7 11 5 11

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

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

     TX  perbyte calibration

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

DQS loop = 15, cmp_err_1 = ffff0200

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

DQS loop = 14, cmp_err_1 = ffff0000

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

DQ loop=15, cmp_err_1 = ffff01a0

DQ loop=14, cmp_err_1 = ffff0080

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

DQ loop=13, cmp_err_1 = ffff0000

dqs_perbyte_dly.last_dqdly_pass[0]=13,  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

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

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 OpenWrt Linux-4.14.232

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    1878677 Bytes =  1.8 MB

   Load Address: 80001000

   Entry Point:  80001000

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

   Uncompressing Kernel Image ... OK


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


No initrd

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

## Giving linux memsize in MB, 128


Starting kernel ...


[    0.000000] Linux version 4.14.232 (cezary@eko.one.pl) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11261-3f5fecfd33)) #0 SMP Sun May 16 21:55:26 2021
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Netgear R6220
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    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] random: get_random_bytes called from 0x80579744 with crng_init=0
[    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] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00054880
[    0.000000] Readback ErrCtl register=00054880
[    0.000000] Memory: 122620K/131072K available (4760K kernel code, 243K rwdata, 588K rodata, 1244K init, 255K bss, 8452K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 256
[    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.015495] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.087793] pid_max: default: 32768 minimum: 301
[    0.097087] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110104] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.125625] Hierarchical SRCU implementation.
[    0.134873] smp: Bringing up secondary CPUs ...
[    0.144355] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.144363] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.144374] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.144501] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.204357] Synchronize counters for CPU 1: done.
[    0.264012] smp: Brought up 1 node, 2 CPUs
[    0.275728] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.295197] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.307398] pinctrl core: initialized pinctrl subsystem
[    0.319120] NET: Registered protocol family 16
[    0.335429] pull PCIe RST: RALINK_RSTCTRL = 0
[    0.644380] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.654455] ***** Xtal 40MHz *****
[    0.661177] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.671385] Port 0 N_FTS = 1b105000
[    0.678278] Port 1 N_FTS = 1b102800
[    0.685204] Port 2 N_FTS = 1b105000
[    1.843699] PCIE1 no card, disable it(RST&CLK)
[    1.852392]  -> 12007f2
[    1.857207] PCIE0 enabled
[    1.862404] PCIE2 enabled
[    1.867585] PCI host bridge /pcie@1e140000 ranges:
[    1.877116]  MEM 0x0000000060000000..0x000000006fffffff
[    1.887468]   IO 0x000000001e160000..0x000000001e16ffff
[    1.897841] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    1.923530] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.934993] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.946206] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.959221] PCI host bridge to bus 0000:00
[    1.967275] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.980893] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    1.992648] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.006122] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.024176] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.037205] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.051025] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.064154] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.077978] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.091461] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    2.105803] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    2.119276] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    2.132764] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    2.146248] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.160759] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.175097] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.184925] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.198419] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.212770] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    2.226246] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.236077] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.251388] clocksource: Switched to clocksource GIC
[    2.262666] NET: Registered protocol family 2
[    2.272240] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.285982] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    2.298583] TCP: Hash tables configured (established 1024 bind 1024)
[    2.311313] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.322816] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.335434] NET: Registered protocol family 1
[    2.581346] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.592422] Crashlog allocated RAM at address 0x3f00000
[    2.603244] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    2.624083] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.635582] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.658812] io scheduler noop registered
[    2.666493] io scheduler deadline registered (default)
[    2.677717] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.694298] console [ttyS0] disabled
[    2.701316] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 15, base_baud = 3125000) is a 16550A
[    2.719310] console [ttyS0] enabled
[    2.719310] console [ttyS0] enabled
[    2.733079] bootconsole [early0] disabled
[    2.733079] bootconsole [early0] disabled
[    2.751689] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.765720] Enable NFI Clock
[    2.771462] # MTK NAND # : Use HW ECC
[    2.778753] Device not found, ID: c2f1
[    2.786216] Not Support this Device!


[    2.793677] chip_mode=00000001
[    2.799741] Support this Device in MTK table! c2f1


[    2.809642] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.822514] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    2.835165] nand: Macronix NAND 128MiB 3,3V 8-bit
[    2.844531] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.859621] Scanning device for bad blocks
[    3.109398] 6 fixed-partitions partitions found on MTD device MT7621-NAND
[    3.122914] Creating 6 MTD partitions on "MT7621-NAND":
[    3.133332] 0x000000000000-0x000000100000 : "u-boot"
[    3.144339] 0x000000100000-0x000000200000 : "SC PID"
[    3.155271] 0x000000200000-0x000000600000 : "kernel"
[    3.166244] 0x000000600000-0x000002200000 : "ubi"
[    3.176874] 0x000002e00000-0x000002f00000 : "factory"
[    3.188054] 0x000004200000-0x000007e00000 : "reserved"
[    3.199829] [mtk_nand] probe successfully!
[    3.208711] Signature matched and data read!
[    3.217219] load_fact_bbt success 1023
[    3.225454] libphy: Fixed MDIO Bus: probed
[    3.303943] libphy: mdio: probed
[    4.710022] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.722543] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 17
[    4.742196] NET: Registered protocol family 10
[    4.752656] Segment Routing with IPv6
[    4.760030] NET: Registered protocol family 17
[    4.769017] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.794812] 8021q: 802.1Q VLAN Support v1.8
[    4.806323] UBI: auto-attach mtd3
[    4.813009] ubi0: attaching mtd3
[    5.059804] mtk_nand: UnCorrectable at PageAddr=16513
[    5.070296] ubi0 warning: 0x803036d4: error -5 while reading 64 bytes from PEB 210:2048, read only 0 bytes, retry
[    5.090896] mtk_nand: UnCorrectable at PageAddr=16513
[    5.101370] ubi0 warning: 0x803036d4: error -5 while reading 64 bytes from PEB 210:2048, read only 0 bytes, retry
[    5.121969] mtk_nand: UnCorrectable at PageAddr=16513
[    5.132430] ubi0 warning: 0x803036d4: error -5 while reading 64 bytes from PEB 210:2048, read only 0 bytes, retry
[    5.153025] mtk_nand: UnCorrectable at PageAddr=16513
[    5.163486] ubi0 error: 0x803036f0: error -5 while reading 64 bytes from PEB 210:2048, read 0 bytes
[    5.181494] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.232 #0
[    5.193608] Stack : 00000000 00000000 00000000 000000d2 00000000 00000000 00000000 00000000
[    5.210239]         00000000 00000000 00000000 00000000 00000000 00000001 87c31bb8 53261609
[    5.226867]         87c31c50 00000000 00000000 00003848 00000038 8049f0f8 00000007 00000000
[    5.243496]         00000000 80550000 0002c4f6 00000000 87c31b98 00000000 00000000 00000000
[    5.260123]         01a40800 00000000 00000800 000000d2 00000000 802ae9f0 00000004 806b0004
[    5.276750]         ...
[    5.281607] Call Trace:
[    5.281623] [<8049f0f8>] 0x8049f0f8
[    5.293396] [<802ae9f0>] 0x802ae9f0
[    5.300322] [<8000c1a0>] 0x8000c1a0
[    5.307249] [<8000c1a8>] 0x8000c1a8
[    5.314177] [<80580000>] 0x80580000
[    5.321101] [<80487ed4>] 0x80487ed4
[    5.328028] [<803036f0>] 0x803036f0
[    5.334956] [<803036f8>] 0x803036f8
[    5.341889] [<80303cc8>] 0x80303cc8
[    5.348815] [<803033fc>] 0x803033fc
[    5.355742] [<803093e0>] 0x803093e0
[    5.362674] [<8030a7dc>] 0x8030a7dc
[    5.369600] [<802fd1fc>] 0x802fd1fc
[    5.376528] [<80071df0>] 0x80071df0
[    5.383459] [<805912c0>] 0x805912c0
[    5.390386] [<80590f7c>] 0x80590f7c
[    5.397314] [<80579248>] 0x80579248
[    5.404243] [<80001560>] 0x80001560
[    5.411169] [<8004ba00>] 0x8004ba00
[    5.418099] [<80579ccc>] 0x80579ccc
[    5.425029] [<80579248>] 0x80579248
[    5.431957] [<8049f448>] 0x8049f448
[    5.438882] [<8049f458>] 0x8049f458
[    5.445808] [<8049f448>] 0x8049f448
[    5.452736] [<80006f78>] 0x80006f78
[    5.459666]
[    5.462798] ubi0 error: 0x802fd21c: failed to attach mtd3, error -5
[    5.475300] UBI error: cannot attach mtd3
[    5.483301] hctosys: unable to open rtc device (rtc0)
[    5.493601] usb_vbus: disabling
[    5.500414] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    5.515348] Please append a correct "root=" boot option; here are the available partitions:
[    5.531989] 1f00            1024 mtdblock0
[    5.531995]  (driver?)
[    5.544992] 1f01            1024 mtdblock1
[    5.544997]  (driver?)
[    5.557999] 1f02            4096 mtdblock2
[    5.558004]  (driver?)
[    5.571001] 1f03           28672 mtdblock3
[    5.571006]  (driver?)
[    5.584020] 1f04            1024 mtdblock4
[    5.584025]  (driver?)
[    5.597033] 1f05           61440 mtdblock5
[    5.597038]  (driver?)
[    5.610033] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    5.628550] Rebooting in 1 seconds..

Wersja Gargoyle:1.11.0.5 (9998713a)

W fastcgi_params w pierwszej linii brak fastcgi_param  SCRIPT_FILENAME - tak ma być?
Zostało usunięte czy to kwestia konfiguracji?

mam go zapisany, dodam niezbędne zmiany i spróbuję,
ten config jest defaultowy z nextclouda ze zmianami

ok, zmienię, a co jeśli zmienię na:
listen 91 default_server ?

to jest mój config,

user www-data www-data;
worker_processes  1;

error_log  /var/log/nginx/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;

events {
    worker_connections  1024;
}

http {
    include       mime.types;
    index index.php index.html index.htm;
    default_type text/html;

    sendfile        on;
    keepalive_timeout  65;
    #gzip  on;

  server {
    listen 91;
    listen [::]:91;
    server_name localhost;
    # enforce https
    return 301 https://$server_name:443$request_uri;
    }

  server {
    #listen 443 ssl http2;
    #listen [::]:443 ssl http2;
    #server_name cloud.example.com;

    # Use Mozilla's guidelines for SSL/TLS settings
    # https://mozilla.github.io/server-side-t … generator/
    # NOTE: some settings below might be redundant
    #ssl_certificate /etc/ssl/nginx/cloud.example.com.crt;
    #ssl_certificate_key /etc/ssl/nginx/cloud.example.com.key;

    # Add headers to serve security related headers
    # Before enabling Strict-Transport-Security headers please read into this
    # topic first.
    #add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
    #
    # WARNING: Only add the preload option once you read about
    # the consequences in https://hstspreload.org/. This option
    # will add the domain to a hardcoded list that is shipped
    # in all major browsers and getting removed from this list
    # could take several months.
    #add_header Referrer-Policy "no-referrer" always;
    #add_header X-Content-Type-Options "nosniff" always;
    #add_header X-Download-Options "noopen" always;
    #add_header X-Frame-Options "SAMEORIGIN" always;
    #add_header X-Permitted-Cross-Domain-Policies "none" always;
    #add_header X-Robots-Tag "none" always;
    #add_header X-XSS-Protection "1; mode=block" always;

    # Remove X-Powered-By, which is an information leak
    #fastcgi_hide_header X-Powered-By;

    # Path to the root of your installation
    root /www/nextcloud;
    #root /mnt/sda1/nextcloud/;

    location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
    }

    # The following 2 rules are only needed for the user_webfinger app.
    # Uncomment it if you're planning to use this app.
    #rewrite ^/.well-known/host-meta /nextcloud/public.php?service=host-meta last;
    #rewrite ^/.well-known/host-meta.json /nextcloud/public.php?service=host-meta-json last;

    # The following rule is only needed for the Social app.
    # Uncomment it if you're planning to use this app.
    #rewrite ^/.well-known/webfinger /nextcloud/public.php?service=webfinger last;

    location = /.well-known/carddav {
      return 301 $scheme://$host:$server_port/nextcloud/remote.php/dav;
    }
    location = /.well-known/caldav {
      return 301 $scheme://$host:$server_port/nextcloud/remote.php/dav;
    }

    location /.well-known/acme-challenge { }

    location ^~ /nextcloud {

        # set max upload size
        client_max_body_size 512M;
        fastcgi_buffers 64 4K;

        # Enable gzip but do not remove ETag headers
        gzip on;
        gzip_vary on;
        gzip_comp_level 4;
        gzip_min_length 256;
        gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
        gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;

        # Uncomment if your server is build with the ngx_pagespeed module
        # This module is currently not supported.
        #pagespeed off;

        location /nextcloud {
            rewrite ^ /nextcloud/index.php;
        }

        location ~ ^\/nextcloud\/(?:build|tests|config|lib|3rdparty|templates|data)\/ {
            deny all;
        }
        location ~ ^\/nextcloud\/(?:\.|autotest|occ|issue|indie|db_|console) {
            deny all;
        }

        location ~ ^\/nextcloud\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/) {
            fastcgi_split_path_info ^(.+?\.php)(\/.*|)$;
            set $path_info $fastcgi_path_info;
            try_files $fastcgi_script_name =404;
            include fastcgi_params;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param PATH_INFO $path_info;
            fastcgi_param HTTPS off;
            # Avoid sending the security headers twice
            fastcgi_param modHeadersAvailable true;
            # Enable pretty urls
            fastcgi_param front_controller_active true;
            fastcgi_pass unix:/var/run/php7-fpm.sock;
            fastcgi_intercept_errors on;
            fastcgi_request_buffering off;
        }

        location ~ ^\/nextcloud\/(?:updater|oc[ms]-provider)(?:$|\/) {
            try_files $uri/ =404;
            index index.php;
        }

        # Adding the cache control header for js, css and map files
        # Make sure it is BELOW the PHP block
        location ~ ^\/nextcloud\/.+[^\/]\.(?:css|js|woff2?|svg|gif|map)$ {
            try_files $uri /nextcloud/index.php$request_uri;
            add_header Cache-Control "public, max-age=15778463";
            # Add headers to serve security related headers  (It is intended
            # to have those duplicated to the ones above)
            # Before enabling Strict-Transport-Security headers please read
            # into this topic first.
            #add_header Strict-Transport-Security "max-age=15768000; includeSubDomains;    reload;" always;
            #
            # WARNING: Only add the preload option once you read about
            # the consequences in https://hstspreload.org/. This option
            # will add the domain to a hardcoded list that is shipped
            # in all major browsers and getting removed from this list
            # could take several months.
            add_header Referrer-Policy "no-referrer" always;
            add_header X-Content-Type-Options "nosniff" always;
            add_header X-Download-Options "noopen" always;
            add_header X-Frame-Options "SAMEORIGIN" always;
            add_header X-Permitted-Cross-Domain-Policies "none" always;
            add_header X-Robots-Tag "none" always;
            add_header X-XSS-Protection "1; mode=block" always;

            # Optional: Don't log access to assets
            access_log off;
        }

        location ~ ^\/nextcloud\/.+[^\/]\.(?:png|html|ttf|ico|jpg|jpeg|bcmap)$ {
            try_files $uri /nextcloud/index.php$request_uri;
            # Optional: Don't log access to other assets
            access_log off;
        }
    }
}
}

tak, init to oczywiście uruchamianie...
w configu mam 91, i nie mam pojęcia skąd to bierze...
jeśli zatrzymam uhttpd to ok
w dużym linuxie jest fuser a tutaj?

Znalazłem w /etc/init.d/ nginx jest 80...
dlaczego nie jak w nginx.conf ?

root@Gargoyle:/mnt/sdb1/www/nextcloud/config# ls -la /mnt/sdb1
drwxrwxrwx    3 www-data www-data      4096 Dec  6 23:06 .
drwxr-xr-x    1 www-data www-data      4096 Dec  6 21:09 ..
-rw-r--r--    1 root     root          1001 Nov 26 17:04 lighttpd.conf
-rw-rw-rw-    1 jaro     jaro      56983967 Nov 28 21:28 nextcloud-15.0.13.tar.bz2
-rw-rw-rw-    1 jaro     jaro      62110436 Nov 29 16:08 nextcloud-16.0.6.tar.bz2
-rw-rw-rw-    1 jaro     jaro      19715056 Nov 30 16:58 owncloud-10.3.1.tar.bz2
drwxrwx---    3 root     root          4096 Dec  6 22:59 www
root@Gargoyle:/mnt/sdb1/www/nextcloud/config# ls -la /dev/sdb1
brw-------    1 root     root        8,  17 Jan  1  1970 /dev/sdb1

test.php nie działa

root@Gargoyle:/etc/lighttpd# cat /etc/lighttpd/lighttpd.conf
server.modules = (
#       "mod_access",
        "mod_fastcgi"
)
server.error-log-use-syslog = "enable"
server.network-backend = "write"
server.document-root = "/mnt/sdb1/www"
server.groupname = "www-data"
index-file.names = ( "index.php", "index.html" )
mimetype.assign = (
        ".gif"   => "image/gif",
        ".jpg"   => "image/jpeg",
        ".jpeg"  => "image/jpeg",
        ".png"   => "image/png",
        ".svg"   => "image/svg+xml",
        ".css"   => "text/css",
        ".html"  => "text/html",
        ".htm"   => "text/html",
        ".js"    => "text/javascript",
        ".txt"   => "text/plain",
        ".dtd"   => "text/xml",
        ".xml"   => "text/xml"
)
server.port = 90
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
server.pid-file = "/var/run/lighttpd.pid"
server.upload-dirs = ( "/tmp" )
server.username = "www-data"
#ssl.engine = "enable"
#ssl.pemfile = "/etc/lighttpd/ssl/YOURDOMAIN/server.pem"
fastcgi.server = (
      ".php" => ((
            "host" => "127.0.0.1",
            "port" => 1026,
       ))
)

/var/log/lighttpd - jest pusty, błąd w przeglądarce jest 403 - forbiden

logread działa, grep lighttpd niczego nie zwraca...

php zwraca:
root@Gargoyle:~# php-fcgi -v
PHP 7.2.25 (cgi-fcgi)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
(przeniosłem się na Wingrozę smile )

Wszystko działa do puki nie próbuję uruchomić nextcloud z dysku zewnętrznego, a nie /www.
Jeśli zmienię ścieżkę w lighttpd na /www to nextcloud/owncloud (mam oba) się uruchomi, nic innego nie zmieniam tylko ścieżkę do katalogu z nextcloudem.

Czy wywołanie xxx.xxx.x.x:90/nextcloud jest prawidłowe dla ścieżki dla dysku zewnętrznego "/mnt/sdb1/www"

root@Gargoyle:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 6.0M      6.0M         0 100% /rom
tmpfs                   122.5M    356.0K    122.1M   0% /tmp
/dev/sda1                36.1G    468.6M     33.7G   1% /overlay
overlayfs:/overlay       36.1G    468.6M     33.7G   1% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sdb1               145.7G    462.7M    137.8G   0% /tmp/usb_mount/aabfaabf-01
/dev/sdb1               145.7G    462.7M    137.8G   0% /tmp/share_home/jaro/share_1
/dev/sdb1               145.7G    462.7M    137.8G   0% /tmp/share_home/anonymous/share_1
/dev/sdb1               145.7G    462.7M    137.8G   0% /mnt/sdb1

Mimo że mam:
server.errorlog-use-syslog = "enable" - dodane nie mam logów sad
do tego nie mogę kopiować z putty - używam Linux Mint - LMDE (Debian Edition)
php działa

Tak, jest /mnt/sdb1/www - błąd w kopiowaniu.
Jest zamontowany w /mnt, bo korzystałem również z oficjalnego tutka, a tam jest zamontowanie dysku i taką wersję chcę, poza tym niema długich ścieżek.
W rc.local umieściłem: mount -t ext4 /dev/sdb1 /mnt/sdb1 -o rw,sync.
Dodałem również że dodałem user www-data i używam grupy www-data.
Robię chown -R www-data:www-data nextcloud.
To chyba wszystko... smile

edit: po dodaniu libopenssl openssl-utils, w nextcloud przy konfiguracji nie pojawia się błąd wewnętrzny serwera i ładnie się uruchamia smile.

Witam,
zainstalowałem Nextcloud w /www i chcę go przenieść na drugi dysk.
Korzystałem z poradnika Cezarego oraz oficjalnego OpenWRT - instalacja Owncloud.
Jeśli Nextcloud jest w /overlay, wszystko działa.
Nie mogę sobie poradzić z uruchomieniem Lighttpd przy katalogu na dysku zewnętrznym.
Dysk /dev/sdb1 zamontowany jest w /mnt/sdb1, na nim katalogi /www/nextcloud.
Dysk zamontowany jest też w USB nośniki - Gargoyle i udostepniony.
Jeśli podam ścieżkę w lighttpd.conf - server.document-root = "mnt/sdb1/www" nie uruchamia sie nextcloud (konfiguracja).
Zainstalowane - Gargoyle-pl, 18.06.
Co z tym zrobić?

25

(70 odpowiedzi, napisanych Oprogramowanie / Software)

Wielkie dzięki Cezary, ownCloud działa smile.
Należy utworzyć libmbedtls.so.8 i utworzyć link do biblioteki libmbedtls.so.1.3.11 (w tym przypadku).
Zrestartować system i cieszyć się ownCloudem smile.
Pozostało szyfrowanie, zewnętrzny nośnik, webdav, ale to na później... tongue