XamDam DD-WRT Novice
Joined: 03 Nov 2012 Posts: 1
|
Posted: Fri Jan 10, 2025 9:37 Post subject: Edgerouter lite (ER-100) |
|
Hello.
The later versions of DDWRT won't boot properly on Edgerouter lite. It hangs with a kernel panic and reboots. Versions from mid 2023 works as expected. But upgrading to the first beta of 2024 crashes. I have used DD-WRT in the past on cheaper wifi routers. The stock firmware of edgrouter doesn't get any updates and don't have support for wireguard. So that made me want to try DD-WRT again. If the newer betas will start working I will happily pay for a licens.
Best regards,
Tony
Bootlog follows if it helps:
Looking for valid bootloader image....
Jumping to start of image at address 0xbfc80000
U-Boot 1.1.1 (UBNT Build Version: e102_003_eace7) (May 27 2019 - 06:35:40)
BIST check passed.
UBNT_E100 r1:2, r2:18, f:4/71, serial #: 788A207D3D07
MPR 13-16777215-255
Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate)
DRAM: 512 MB
Clearing DRAM....... done
ERROR: Unable to allocate linux reserved memory (addr: 0x100000, size: 0x8000000).
Flash: 4 MB
Net: octeth0, octeth1, octeth2
USB: (port 0) scanning bus for devices... 1 USB Devices found
scanning bus for storage devices...
Device 0: Vendor: Prod.: UDinfo UF2 4GB Rev: PMAP
Type: Removable Hard Disk
Capacity: 3824.0 MB = 3.7 GB (7831552 x 512)
leds_init 206 0
reading vmlinux.64
...........................................
8699920 bytes read
reading vmlinux.64.md5
argv[2]: coremask=0x3
argv[3]: root=/dev/sda2
argv[4]: rootdelay=15
argv[5]: rw
argv[6]: rootsqimg=squashfs.img
argv[7]: rootsqwdir=w
argv[8]: mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@1024k(eeprom)
ELF file is 64 bit
Allocating memory for ELF segment: addr: 0xffffffff81100000 (adjusted to: 0x1100000), size 0x1729000
Allocated memory for ELF segment: addr: 0xffffffff81100000, size 0x1729000
Processing PHDR 0
Loading 6db1a0 bytes at ffffffff81100000
Clearing 104de60 bytes at ffffffff817db1a0
## Loading Linux kernel with entry point: 0xffffffff81608ee8 ...
Bootloader: Done loading app on coremask: 0x3
[ 0.000000] Linux version 4.9.337 (root@server2) (gcc version 13.1.0 (OpenWrt GCC 13.1.0 r22658+9-2c530fcb97) ) #5556 SMP Tue Jan 2 06:17:52 +07 2024
[ 0.000000] board revision 2:18
[ 0.000000] CVMSEG size: 1 cache lines (128 bytes)
[ 0.000000] CPU0 revision is: 000d0601 (Cavium Octeon+)
[ 0.000000] Checking for the multiply/shift bug...
[ 0.000000] no.
[ 0.000000] Checking for the daddiu bug...
[ 0.000000] no.
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 000000000d400000 @ 0000000002900000 (usable)
[ 0.000000] memory: 000000000fc00000 @ 0000000410000000 (usable)
[ 0.000000] memory: 0000000001729000 @ 0000000001100000 (usable)
[ 0.000000] Wasting 243712 bytes for tracking 4352 unused pages
[ 0.000000] software IO TLB: mapped [mem 0x03885000-0x07885000] (64MB)
[ 0.000000] Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
[ 0.000000] Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000001100000-0x00000000efffffff]
[ 0.000000] Normal [mem 0x00000000f0000000-0x000000041fbfffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000001100000-0x0000000002828fff]
[ 0.000000] node 0: [mem 0x0000000002900000-0x000000000fcfffff]
[ 0.000000] node 0: [mem 0x0000000410000000-0x000000041fbfffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000001100000-0x000000041fbfffff]
[ 0.000000] percpu: Embedded 16 pages/cpu s24992 r8192 d32352 u65536
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 123007
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda2 rootfstype=squashfs rootdelay=5 mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),128k(nvram),64k@3072k(eeprom),64k@4032k(env),4096k(fullflash) noinitrd init=/sbin/init
[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.000000] Memory: 401052K/498852K available (5186K kernel code, 389K rwdata, 1172K rodata, 276K init, 16676K bss, 97800K reserved, 0K cma-reserved)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS:127
[ 7.161268] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
[ 7.161782] Calibrating delay loop (skipped) preset value.. 1000.00 BogoMIPS (lpj=5000000)
[ 7.161805] pid_max: default: 32768 minimum: 301
[ 7.162025] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 7.162040] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 7.162872] Checking for the daddi bug...
[ 7.162894] no.
[ 7.165242] SMP: Booting CPU01 (CoreId 1)...
[ 7.165427] CPU1 revision is: 000d0601 (Cavium Octeon+)
[ 7.165606] Brought up 2 CPUs
[ 7.169940] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 7.169975] futex hash table entries: 512 (order: 4, 65536 bytes)
[ 7.170949] NET: Registered protocol family 16
[ 7.201495] Not in host mode, PCI Controller not initialized
[ 7.244135] SCSI subsystem initialized
[ 7.244602] usbcore: registered new interface driver usbfs
[ 7.244829] usbcore: registered new interface driver hub
[ 7.244942] usbcore: registered new device driver usb
[ 7.247428] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[ 7.248662] NET: Registered protocol family 2
[ 7.248909] IP idents hash table entries: 8192 (order: 4, 65536 bytes)
[ 7.250025] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 7.250127] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[ 7.250246] TCP: Hash tables configured (established 4096 bind 4096)
[ 7.250343] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 7.250380] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 7.250659] NET: Registered protocol family 1
[ 7.259170] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[ 7.259465] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 7.279555] io scheduler noop registered
[ 7.279573] io scheduler deadline registered (default)
[ 7.283706] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[ 7.284071] serial8250_init
[ 7.284090] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 7.285123] console [ttyS0] disabled
[ 7.285191] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 41, base_baud = 31250000) is a OCTEON
[ 7.718012] console [ttyS0] enabled
[ 7.722424] octeon_rng octeon_rng: Octeon Random Number Generator
[ 7.731564] mdio_octeon 1180000001800.mdio: Probed
[ 7.737183] PPP generic driver version 2.4.2
[ 7.741766] PPP BSD Compression module registered
[ 7.746484] PPP Deflate Compression module registered
[ 7.751615] PPP MPPE Compression module registered
[ 7.756418] NET: Registered protocol family 24
[ 7.761064] usbcore: registered new interface driver usb-storage
[ 7.767081] i2c /dev entries driver
[ 7.771157] i2c-octeon 1180000001000.i2c: probed
[ 7.776739] octeon_wdt: Initial granularity 5 Sec
[ 7.784903] Interface 0 has 3 ports (RGMII)
[ 7.793429] octeon-hcd 16f0010000000.usbc: Octeon Host Controller
[ 7.799724] octeon-hcd 16f0010000000.usbc: new USB bus registered, assigned bus number 1
[ 7.807946] octeon-hcd 16f0010000000.usbc: irq 56, io mem 0x00000000
[ 7.814549] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 7.821391] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.828677] usb usb1: Product: Octeon Host Controller
[ 7.833736] usb usb1: Manufacturer: Linux 4.9.337 Octeon USB
[ 7.839429] usb usb1: SerialNumber: 16f0010000000.usbc
[ 7.845262] hub 1-0:1.0: USB hub found
[ 7.849169] hub 1-0:1.0: 1 port detected
[ 7.853648] octeon-hcd 16f0010000000.usbc: Registered HCD for port 0 on irq 56
[ 7.861705] u32 classifier
[ 7.864424] Performance counters on
[ 7.868325] input device check on
[ 7.871991] Actions configured
[ 7.875400] Netfilter messages via NETLINK v0.30.
[ 7.880295] nf_conntrack version 0.5.0 (3584 buckets, 14336 max)
[ 7.886615] nf_conntrack_rtsp v0.7 loading
[ 7.890936] ip_set: protocol 6
[ 7.894441] nf_nat_rtsp v0.7 loading
[ 7.898113] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 7.903667] NET: Registered protocol family 17
[ 7.908313] Bridge firewalling registered
[ 7.912335] 8021q: 802.1Q VLAN Support v1.8
[ 7.916833] Bootbus flash: Setting flash for 4MB flash at 0x1f800000
[ 7.923323] phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0000a7
[ 7.933712] Amd/Fujitsu Extended Query Table at 0x0040
[ 7.938897] Amd/Fujitsu Extended Query version 1.1.
[ 7.943952] phys_mapped_flash: Swapping erase regions for top-boot CFI table.
[ 7.951107] number of CFI chips: 1
[ 7.954539] mtd: phys_mapped_flash: partitioning exceeds flash size, truncating
[ 7.961870] mtd: phys_mapped_flash: skipping zero sized partition
[ 7.967989] 5 cmdlinepart partitions found on MTD device phys_mapped_flash
[ 7.974862] Creating 5 MTD partitions on "phys_mapped_flash":
[ 7.980635] 0x000000000000-0x000000080000 : "boot0"
[ 7.986968] 0x000000080000-0x000000100000 : "boot1"
[ 7.993302] 0x000000100000-0x000000120000 : "nvram"
[ 7.999646] 0x000000300000-0x000000310000 : "eeprom"
[ 8.006008] 0x0000003f0000-0x000000400000 : "env"
[ 8.012950] registered taskstats version 1
[ 8.017270] searching for nvram
[ 8.020500] nvram size = 131072
[ 8.048525] found nvram at 0
[ 8.077650] OF: fdt:not creating '/sys/firmware/fdt': CRC check failed
[ 8.084516] Waiting 5 sec before mounting root device...
[ 8.277342] usb 1-1: new high-speed USB device number 2 using octeon-hcd
[ 8.760778] usb 1-1: New USB device found, idVendor=13fe, idProduct=4200
[ 8.767540] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8.774678] usb 1-1: Product: UDinfo UF2 4GB
[ 8.778972] usb 1-1: Manufacturer:
[ 8.783159] usb 1-1: SerialNumber: 0708746599907125
[ 8.788807] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 8.795467] scsi host0: usb-storage 1-1:1.0
[ 9.808750] scsi 0:0:0:0: Direct-Access UDinfo UF2 4GB PMAP PQ: 0 ANSI: 6
[ 9.819152] sd 0:0:0:0: [sda] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB)
[ 9.827685] sd 0:0:0:0: [sda] Write Protect is off
[ 9.833514] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.838931] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.850607] sda: sda1 sda2 sda3
[ 9.858314] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 13.171928] VFS: Mounted root (squashfs filesystem) readonly on device 8:2.
[ 13.179187] Freeing unused kernel memory: 276K
[ 13.183639] This architecture does not have kernel memory protection.
[init] : starting devinit
cannot open /dev/nvram
cannot open /proc/sys/kernel/sysrq
cannot open /dev/nvram
cannot open /dev/nvram
[init] : no previous bootfails detected! (all ok)
cannot open /dev/nvram
cannot open /dev/nvram
cannot open /dev/nvram
[init] : starting Architecture code for octeon
cannot open /dev/nvram
cannot open /dev/nvram
[ 14.755215] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[ 14.755215]
[ 14.764369] Rebooting in 1 seconds..
Looking for valid bootloader image....
Jumping to start of image at address 0xbfc80000
U-Boot 1.1.1 (UBNT Build Version: e102_003_eace7) (May 27 2019 - 06:35:40)
BIST check passed. |
|