Dzień dobry, mam na pokładzie openwrt ale niestety nie mogę się dostać do LANu(serwer DHCP nie przydziela adresu). Możecie zerknąć w log:? Procedura wg opisu:
https://eko.one.pl/?p=openwrt-nsa310 Z góry dziękuję za pomoc!
U-Boot 2019.01 (May 16 2020 - 18:32:20 +0000)
ZyXEL NSA310 1-Bay Power Media Server
SoC: Kirkwood 88F6281_A1
DRAM: 256 MiB
NAND: 128 MiB
MMC:
Loading Environment from NAND... OK
In: serial
Out: serial
Err: serial
Net: egiga0
PHY reset timed out
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot: 0
ubi0: attaching mtd3
ubi0: scanning is finished
ubi0: attached mtd3 (name "ubi", size 126 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
ubi0: VID header offset: 512 (aligned 512), data offset: 2048
ubi0: good PEBs: 1013, bad PEBs: 1, corrupted PEBs: 0
ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 428444877
ubi0: available PEBs: 0, total reserved PEBs: 1013, PEBs reserved for bad PEB handling: 19
No size specified -> Using max size (2193408)
Read 2193408 bytes from volume kernel to 00800000
## Booting kernel from Legacy Image at 00800000 ...
Image Name: ARM OpenWrt Linux-4.14.180
Created: 2020-05-16 18:32:20 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2081562 Bytes = 2 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.180 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11063-85e04e9f46)) #0 Sat May 16 18:32:20 2020
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: ZyXEL NSA310b
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] random: get_random_bytes called from 0xc0700980 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 252208K/262144K available (4807K kernel code, 163K rwdata, 728K rodata, 1024K init, 208K bss, 9936K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05b1cd0 (5800 kB)
[ 0.000000] .init : 0xc0700000 - 0xc0800000 (1024 kB)
[ 0.000000] .data : 0xc0800000 - 0xc0828c20 ( 164 kB)
[ 0.000000] .bss : 0xc0828c20 - 0xc085d004 ( 209 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.000038] Switching to timer-based delay loop, resolution 5ns
[ 0.000120] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[ 0.000143] pid_max: default: 32768 minimum: 301
[ 0.000273] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000293] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000829] CPU: Testing write buffer coherency: ok
[ 0.001580] Setting up static identity map for 0x100000 - 0x10003c
[ 0.001847] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[ 0.005289] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.005315] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.005398] pinctrl core: initialized pinctrl subsystem
[ 0.006419] NET: Registered protocol family 16
[ 0.006761] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.007676] cpuidle: using governor ladder
[ 0.008032] Feroceon L2: Enabling L2
[ 0.008076] Feroceon L2: Cache support initialised.
[ 0.011880] No ATAGs?
[ 0.027797] SCSI subsystem initialized
[ 0.028461] usbcore: registered new interface driver usbfs
[ 0.028518] usbcore: registered new interface driver hub
[ 0.028573] usbcore: registered new device driver usb
[ 0.030443] clocksource: Switched to clocksource orion_clocksource
[ 0.031223] NET: Registered protocol family 2
[ 0.031801] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.031836] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.031866] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.031941] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.031963] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.032093] NET: Registered protocol family 1
[ 0.033197] Crashlog allocated RAM at address 0x3f00000
[ 0.034798] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 0.039005] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.039019] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.046575] io scheduler noop registered
[ 0.046589] io scheduler deadline registered (default)
[ 0.047756] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.049185] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[ 0.049205] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 0.049216] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[ 0.049227] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.049455] PCI: bus0: Fast back to back transfers disabled
[ 0.049470] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.049895] PCI: bus1: Fast back to back transfers disabled
[ 0.049948] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[ 0.049962] pci 0000:00:01.0: BAR 7: assigned [io 0x10000-0x10fff]
[ 0.049979] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[ 0.049994] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[ 0.050015] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[ 0.050034] pci 0000:01:00.0: BAR 0: assigned [io 0x10000-0x100ff]
[ 0.050048] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.050059] pci 0000:00:01.0: bridge window [io 0x10000-0x10fff]
[ 0.050072] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff]
[ 0.050546] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.052311] console [ttyS0] disabled
[ 0.052379] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[ 0.566600] console [ttyS0] enabled
[ 0.571155] sata_mv f1080000.sata: slots 32 ports 2
[ 0.579375] scsi host0: sata_mv
[ 0.583053] scsi host1: sata_mv
[ 0.586351] ata1: SATA max UDMA/133 irq 32
[ 0.590498] ata2: SATA max UDMA/133 irq 32
[ 0.595076] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 0.601482] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 0.606123] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.613749] Scanning device for bad blocks
[ 0.666299] Bad eraseblock 507 at 0x000003f60000
[ 0.720214] 3 fixed-partitions partitions found on MTD device orion_nand
[ 0.726960] Creating 3 MTD partitions on "orion_nand":
[ 0.732135] 0x000000000000-0x0000000c0000 : "uboot"
[ 0.737565] 0x0000000c0000-0x000000140000 : "uboot_env"
[ 0.743309] 0x000000140000-0x000008000000 : "ubi"
[ 0.749419] libphy: Fixed MDIO Bus: probed
[ 0.753775] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.760335] ehci-pci: EHCI PCI platform driver
[ 0.764865] ehci-orion: EHCI orion driver
[ 0.769049] orion-ehci f1050000.ehci: EHCI Host Controller
[ 0.774601] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 0.782436] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[ 0.810464] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 0.817056] hub 1-0:1.0: USB hub found
[ 0.821051] hub 1-0:1.0: 1 port detected
[ 0.825428] usbcore: registered new interface driver usb-storage
[ 0.831847] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[ 0.838822] i2c /dev entries driver
[ 0.843433] orion_wdt: Initial timeout 21 sec
[ 0.854162] marvell-cesa f1030000.crypto: CESA device successfully registered
[ 0.862194] NET: Registered protocol family 10
[ 0.868221] Segment Routing with IPv6
[ 0.872003] NET: Registered protocol family 17
[ 0.876500] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.889532] 8021q: 802.1Q VLAN Support v1.8
[ 0.896511] UBI: auto-attach mtd2
[ 0.899852] ubi0: attaching mtd2
[ 1.076909] ubi0: scanning is finished
[ 1.092291] ubi0: attached mtd2 (name "ubi", size 126 MiB)
[ 1.097857] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 1.104781] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 1.111522] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[ 1.118335] ubi0: good PEBs: 1013, bad PEBs: 1, corrupted PEBs: 0
[ 1.124474] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[ 1.131745] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 428444877
[ 1.140847] ubi0: available PEBs: 0, total reserved PEBs: 1013, PEBs reserved for bad PEB handling: 19
[ 1.150847] block ubiblock0_1: created from ubi0:1(rootfs)
[ 1.156355] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[ 1.163557] rtc-mv f1010300.rtc: setting system clock to 2020-08-17 11:23:37 UTC (1597663417)
[ 1.172548] ata1: SATA link down (SStatus 0 SControl F300)
[ 1.178245] ubi0: background thread "ubi_bgt0d" started, PID 451
[ 1.240462] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 1.442560] hub 1-1:1.0: USB hub found
[ 1.446699] hub 1-1:1.0: 4 ports detected
[ 1.512153] ata2: SATA link down (SStatus 0 SControl F300)
[ 1.522190] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 1.532224] Freeing unused kernel memory: 1024K
[ 1.730466] random: fast init done
[ 1.843159] init: Console is alive
[ 1.846726] init: - watchdog -
[ 1.982995] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.049767] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.067368] init: - preinit -
[ 2.569895] random: jshn: uninitialized urandom read (4 bytes read)
[ 2.606065] random: jshn: uninitialized urandom read (4 bytes read)
[ 2.849048] random: jshn: 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
[ 6.114116] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 543
[ 6.147606] UBIFS (ubi0:2): recovery needed
[ 6.289248] UBIFS (ubi0:2): recovery completed
[ 6.293817] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[ 6.301696] UBIFS (ubi0:2): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 6.311673] UBIFS (ubi0:2): FS size: 122314752 bytes (116 MiB, 948 LEBs), journal size 6064128 bytes (5 MiB, 47 LEBs)
[ 6.322341] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[ 6.328983] UBIFS (ubi0:2): media format: w4/r0 (latest is w5/r0), UUID E694CD51-AA43-4F5C-B327-03CA29B757B5, small LPT model
[ 6.342802] mount_root: switching to ubifs overlay
[ 6.359773] urandom-seed: Seeding with /etc/urandom.seed
[ 6.408332] procd: - early -
[ 6.411784] procd: - watchdog -
[ 7.028000] procd: - watchdog -
[ 7.031395] procd: - ubus -
[ 7.112976] urandom_read: 3 callbacks suppressed
[ 7.112982] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.161027] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.167775] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.175146] procd: - init -
Please press Enter to activate this console.
[ 7.503853] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.525111] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 7.547768] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 7.562773] hwmon_vid: Unknown VRM version of your CPU
[ 7.580471] lm85 0-002e: Starting monitoring
[ 7.588908] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[ 7.639407] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 7.645087] pci 0000:00:01.0: enabling device (0140 -> 0143)
[ 7.650811] r8169 0000:01:00.0: enabling device (0140 -> 0143)
[ 7.657500] r8169 0000:01:00.0 eth0: RTL8168d/8111d at 0xd0b4c000, 00:00:00:00:00:30, XID 083000c0 IRQ 36
[ 7.667139] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 7.724950] urngd: v1.0.2 started.
[ 7.814808] xt_time: kernel timezone is -0000
[ 7.836056] PPP generic driver version 2.4.2
[ 7.842039] NET: Registered protocol family 24
[ 7.862495] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 7.935963] random: crng init done
[ 7.939391] random: 1 urandom warning(s) missed due to ratelimiting
[ 13.200631] r8169 0000:01:00.0 eth0: link down
[ 13.205476] r8169 0000:01:00.0 eth0: link down
[ 13.213792] br-lan: port 1(eth0) entered blocking state
[ 13.219066] br-lan: port 1(eth0) entered disabled state
[ 13.224572] device eth0 entered promiscuous mode
[ 13.250641] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 15.533042] r8169 0000:01:00.0 eth0: link up
[ 15.538125] br-lan: port 1(eth0) entered blocking state
[ 15.543396] br-lan: port 1(eth0) entered forwarding state
[ 15.550156] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Edit:
Okazało się,że MAC adres nie ustawił się wg opisu na eko.one.pl. Połączyłem się raz jeszcze po serialu i wbiłem polecenie w openwrt:
uci set network.lan.macaddr=MAC urządzenia
uci commit
Jest już dostęp. Pozdrawiam