Welcome! Log In Create A New Profile

Advanced

Installing Debian on STORA MS 2000 - Unable to boot

Posted by diappollo 
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 13, 2025 08:55PM
diappollo,

> fw_printenv mtdparts
> fw_printenv ethaddr

Once you've flashed the default envs image, you can see these envs in Debian.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 17, 2025 06:13AM
Hi bodhi,

Thanks for your help (and your patience) in PM but since "it's progressing" we might as well come back to the forum.

Uboot is (it seems to me) correctly flashed but I now have a new blockage

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700)
Netgear Stora MS2110

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
Initializing devices...
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: OK 
  Device 0: Model: WDC WD3001FFSX-68JNUN0 Firm: 81.00A81 Ser#:  WD-WCC5D0TADJ2U
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)
  Device 1: Model: ST3000DM008-2DM166 Firm: CC26 Ser#: Z505A6NT
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
** File not found /boot/uEnv.txt **
Loading envs from usb 1...
** Bad device usb 1 **
Loading envs from usb 2...
** Bad device usb 2 **
Loading envs from usb 3...
** Bad device usb 3 **
Loading envs from ide 0...
** File not found /boot/uEnv.txt **
Loading envs from ide 1...
** File not found /boot/uEnv.txt **
Loading envs from ide 2...
** Bad device ide 2 **
Loading envs from ide 3...
** Bad device ide 3 **
Loading envs from mmc 0...
** Bad device mmc 0 **
Loading envs from mmc 1...
** Bad device mmc 1 **
Loading envs from mmc 2...
** Bad device mmc 2 **
Loading envs from mmc 3...
** Bad device mmc 3 **
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 692 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
EHCI timed out on TD - token=0x20008d80
EHCI timed out on TD - token=0xb6008d80
6235659 bytes read in 12029 ms (505.9 KiB/s)
loading uInitrd ...
EHCI timed out on TD - token=0xa0008d80
EHCI timed out on TD - token=0x92008d80
5796477 bytes read in 11926 ms (474.6 KiB/s)
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ...
11715 bytes read in 2906 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2025-02-07  13:59:12 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6235595 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2025-02-07  14:12:52 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5796413 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 03a78000, end 03fff23d ... OK
   Loading Device Tree to 03a72000, end 03a77dc2 ... OK
Using machid 0x831 from environment

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Kernel command line: console=ttyS0,115200n8 earlyprintk
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 108180K/131072K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 22892K reserved, 0K cma-reserved)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008625][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.016003][    T0] Console: colour dummy device 80x30
[    0.021330][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032699][    T0] CPU: Testing write buffer coherency: ok
[    0.038482][    T0] pid_max: default: 32768 minimum: 301
[    0.054455][    T0] LSM: initializing lsm=capability,integrity
[    0.063298][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071454][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.095499][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.103867][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.112880][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.120327][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.126797][    T1] rcu: Hierarchical SRCU implementation.
[    0.132447][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.142108][    T1] devtmpfs: initialized
[    0.158520][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.169347][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.180393][    T1] prandom: seed boundary self test passed
[    0.191183][    T1] prandom: 100 self tests passed
[    0.196031][    T1] pinctrl core: initialized pinctrl subsystem
[    0.206775][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.215348][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.229610][    T1] audit: initializing netlink subsys (disabled)
[    0.238539][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.238818][   T19] audit: type=2000 audit(0.210:1): state=initialized audit_enabled=0 res=1
[    0.254142][    T1] cpuidle: using governor ladder
[    0.259137][    T1] cpuidle: using governor menu
[    0.264490][    T1] Feroceon L2: Enabling L2
[    0.268908][    T1] Feroceon L2: Cache support initialised.
[    0.287553][    T1] No ATAGs?
[    0.658647][    T1] raid6: int32x8  gen()    91 MB/s
[    0.998641][    T1] raid6: int32x4  gen()    88 MB/s
[    1.338680][    T1] raid6: int32x2  gen()   113 MB/s
[    1.678641][    T1] raid6: int32x1  gen()    82 MB/s
[    1.683646][    T1] raid6: using algorithm int32x2 gen() 113 MB/s
[    2.038645][    T1] raid6: .... xor() 72 MB/s, rmw enabled
[    2.044175][    T1] raid6: using intx1 recovery algorithm
[    2.060705][    T1] SCSI subsystem initialized
[    2.079285][    T1] usbcore: registered new interface driver usbfs
[    2.085630][    T1] usbcore: registered new interface driver hub
[    2.098768][    T1] usbcore: registered new device driver usb
[    2.104981][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.128643][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.138565][    T1] PTP clock support registered
[    2.162079][    T1] vgaarb: loaded
[    2.166408][    T1] clocksource: Switched to clocksource orion_clocksource
[    2.207450][    T1] VFS: Disk quotas dquot_6.6.0
[    2.212658][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.264007][    T1] NET: Registered PF_INET protocol family
[    2.276802][    T1] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    2.297929][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.316725][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.325245][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.356460][    T1] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    2.364286][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[    2.387337][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    2.395592][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.416465][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.425252][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.447750][    T1] RPC: Registered named UNIX socket transport module.
[    2.454417][    T1] RPC: Registered udp transport module.
[    2.476434][    T1] RPC: Registered tcp transport module.
[    2.481876][    T1] RPC: Registered tcp-with-tls transport module.
[    2.496432][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.503634][    T1] PCI: CLS 0 bytes, default 32
[    4.113231][    T1] Initialise system trusted keyrings
[    4.119862][    T1] Key type blacklist registered
[    4.125064][    T1] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    4.132630][    T1] zbud: loaded
[    4.158998][    T1] NFS: Registering the id_resolver key type
[    4.164875][    T1] Key type id_resolver registered
[    4.169863][    T1] Key type id_legacy registered
[    4.174839][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.182330][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    4.192412][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    4.201324][    T1] fuse: init (API version 7.38)
[    4.207880][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    4.215499][    T1] orangefs_init: module version upstream loaded
[    4.222142][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    4.485978][    T1] xor: measuring software checksum speed
[    4.502253][    T1]    arm4regs        :   927 MB/sec
[    4.525062][    T1]    8regs           :   556 MB/sec
[    4.542650][    T1]    32regs          :   789 MB/sec
[    4.547761][    T1] xor: using function: arm4regs (927 MB/sec)
[    4.553643][    T1] async_tx: api initialized (async)
[    4.558764][    T1] Key type asymmetric registered
[    4.563586][    T1] Asymmetric key parser 'x509' registered
[    4.580497][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    4.589320][    T1] io scheduler bfq registered
[    4.821718][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.832271][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    4.843715][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    4.854667][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    4.864782][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    4.875050][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.885783][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.897497][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    4.905826][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.912154][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    4.923158][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    4.930822][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    4.938034][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    4.946986][    T1] PCI: bus0: Fast back to back transfers disabled
[    4.953326][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.962464][    T1] PCI: bus1: Fast back to back transfers enabled
[    4.968737][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.976131][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    4.983207][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.049642][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.063535][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.129640][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.143961][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.154526][    T1] printk: console [ttyS0] disabled
[    5.160473][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, base_baud = 12500000) is a 16550A
[    5.170339][    T1] printk: console [ttyS0] enabled
[    5.170339][    T1] printk: console [ttyS0] enabled
[    5.180202][    T1] printk: bootconsole [earlycon0] disabled
[    5.180202][    T1] printk: bootconsole [earlycon0] disabled
[    5.213120][    T1] loop: module loaded
[    5.218378][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    5.230055][    T1] scsi host0: sata_mv
[    5.235902][    T1] scsi host1: sata_mv
[    5.240455][    T1] ata1: SATA max UDMA/133 irq 29
[    5.245289][    T1] ata2: SATA max UDMA/133 irq 29
[    5.251892][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[    5.259041][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[    5.264393][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    5.272774][    T1] Scanning device for bad blocks
[    5.386986][    T1] Bad eraseblock 1014 at 0x000007ec0000
[    5.447061][    T1] Bad eraseblock 1521 at 0x00000be20000
[    5.509435][    T1] 3 fixed-partitions partitions found on MTD device orion_nand
[    5.516936][    T1] Creating 3 MTD partitions on "orion_nand":
[    5.522851][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    5.529660][    T1] 0x000000100000-0x000000700000 : "uImage"
[    5.536517][    T1] 0x000000700000-0x000010000000 : "root"
[    5.545422][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    5.554085][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    5.570201][    T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove
[    5.584586][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.746465][   T52] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    5.755996][   T52] ata1.00: ATA-8: WDC WD3001FFSX-68JNUN0, 81.00A81, max UDMA/133
[    5.763661][   T52] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    5.775941][   T52] ata1.00: configured for UDMA/133
[    5.791782][   T32] scsi 0:0:0:0: Direct-Access     ATA      WDC WD3001FFSX-6 0A81 PQ: 0 ANSI: 5
[    5.802664][   T36] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[    5.812014][   T36] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    5.818195][   T36] sd 0:0:0:0: [sda] Write Protect is off
[    5.823863][   T36] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.833903][   T36] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[    5.881842][   T36]  sda: sda1
[    5.885758][   T36] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.316471][   T54] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    6.328139][   T54] ata2.00: ATA-9: ST3000DM008-2DM166, CC26, max UDMA/133
[    6.335074][   T54] ata2.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.348061][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address c4:3d:c7:46:ba:be
[    6.358380][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.364653][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.373564][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    6.406525][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    6.413967][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    6.423034][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.431033][    T1] usb usb1: Product: EHCI Host Controller
[    6.436758][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[    6.444259][    T1] usb usb1: SerialNumber: f1050000.ehci
[    6.451032][    T1] hub 1-0:1.0: USB hub found
[    6.455622][    T1] hub 1-0:1.0: 1 port detected
[    6.461627][    T1] usbcore: registered new interface driver usb-storage
[    6.469297][    T1] mousedev: PS/2 mouse device common for all mice
[    6.563381][   T54] ata2.00: configured for UDMA/133
[    6.579199][   T18] scsi 1:0:0:0: Direct-Access     ATA      ST3000DM008-2DM1 CC26 PQ: 0 ANSI: 5
[    6.590170][   T36] sd 1:0:0:0: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[    6.599525][   T36] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    6.605601][   T36] sd 1:0:0:0: [sdb] Write Protect is off
[    6.611333][   T36] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.621332][   T36] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[    6.709517][   T36]  sdb: sdb1
[    6.713389][   T36] sd 1:0:0:0: [sdb] Attached SCSI disk
[    6.746458][   T49] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.947692][   T49] usb 1-1: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
[    6.956683][   T49] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.964599][   T49] usb 1-1: Product:  SanDisk 3.2Gen1
[    6.969800][   T49] usb 1-1: Manufacturer:  USB
[    6.974370][   T49] usb 1-1: SerialNumber: 00015301053024102445
[    7.546450][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[    7.552939][    T1] i2c_dev: i2c /dev entries driver
[    7.562571][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    7.569476][    T1] rtc-pcf8563 0-0051: setting system clock to 2025-02-17T11:55:51 UTC (1739793351)
[    7.581370][    T1] device-mapper: uevent: version 1.0.3
[    7.587511][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    7.597662][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.604943][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.612392][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.619878][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.630411][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    7.637419][    T1] hid: raw HID events driver (C) Jiri Kosina
[    7.643822][    T1] drop_monitor: Initializing network drop monitor service
[    7.652761][    T1] NET: Registered PF_INET6 protocol family
[    7.661296][    T1] Segment Routing with IPv6
[    7.665700][    T1] RPL Segment Routing with IPv6
[    7.670853][    T1] In-situ OAM (IOAM) with IPv6
[    7.675695][    T1] NET: Registered PF_PACKET protocol family
[    7.681940][    T1] Key type dns_resolver registered
[    7.710251][    T1] registered taskstats version 1
[    7.715191][    T1] Loading compiled-in X.509 certificates
[    7.747700][    T1] Key type .fscrypt registered
[    7.752380][    T1] Key type fscrypt-provisioning registered
[    7.765971][    T1] Key type big_key registered
[    7.777760][    T1] Key type encrypted registered
[    7.863854][  T103] "cryptomgr_test" (103) uses obsolete ecb(arc4) skcipher
[   10.623607][    T1] clk: Disabling unused clocks
[   10.629285][    T1] md: Waiting for all devices to be available before autodetect
[   10.636920][    T1] md: If you don't use raid, use raid=noautodetect
[   10.643320][    T1] md: Autodetecting RAID arrays.
[   10.648293][    T1] md: autorun ...
[   10.651810][    T1] md: ... autorun DONE.
[   10.657021][    T1] /dev/root: Can't open blockdev
[   10.661876][    T1] VFS: Cannot open root device "" or unknown-block(0,0): error -6
[   10.669692][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   10.678889][    T1] 0800      2930266584 sda 
[   10.678909][    T1]  driver: sd
[   10.686524][    T1]   0801      2930265088 sda1 3aed069f-29ed-184b-9481-8ede61cae6dd
[   10.686543][    T1] 
[   10.696575][    T1] 0810      2930266584 sdb 
[   10.696590][    T1]  driver: sd
[   10.704124][    T1]   0811      2930265088 sdb1 0ee17114-385d-c344-87b8-7de76a4ce563
[   10.704140][    T1] 
[   10.714181][    T1] List of all bdev filesystems:
[   10.718970][    T1]  ext3
[   10.718981][    T1]  ext4
[   10.721623][    T1]  exfat
[   10.724263][    T1]  fuseblk
[   10.727018][    T1]  xfs
[   10.729923][    T1]  f2fs
[   10.732469][    T1] 
[   10.737321][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   10.746329][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 6.5.7-kirkwood-tld-1 #2 b782412796a181fef4037ede16903ece36aa46a3
[   10.757618][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   10.764631][    T1]  unwind_backtrace from show_stack+0x10/0x14
[   10.770621][    T1]  show_stack from dump_stack_lvl+0x28/0x30
[   10.776420][    T1]  dump_stack_lvl from panic+0xf0/0x320
[   10.781862][    T1]  panic from mount_root_generic+0x1c8/0x288
[   10.787766][    T1]  mount_root_generic from prepare_namespace+0x180/0x214
[   10.794705][    T1]  prepare_namespace from kernel_init_freeable+0x1b0/0x204
[   10.801822][    T1]  kernel_init_freeable from kernel_init+0x10/0x130
[   10.808318][    T1]  kernel_init from ret_from_fork+0x14/0x28
[   10.814115][    T1] Exception stack(0x88819fb0 to 0x88819ff8)
[   10.819901][    T1] 9fa0:                                     00000000 00000000 00000000 00000000
[   10.828824][    T1] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   10.837752][    T1] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   10.845107][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

That the problem must therefore come from a setting of the envs :

Netgear Stora> printenv
arcNumber=2097
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_di
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000.dtb
ethact=egiga0
ethaddr=c4:3d:c7:46:ba:be
if_netconsole=ping $serverip
ipaddr=192.168.0.100
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
machid=0x831
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum ie
serverip=192.168.0.60
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
usb_ready_retry=15

I shouldn't have a path to enter at the bootargs level? I can't find the corresponding envs?
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 17, 2025 09:16AM
diappollo,

This issue is common when you start out installing with stock u-boot and Debian rootfs. If you had installed new u-boot and Debian at the same time then you won't encounter this problem.

Quote
https://forum.doozan.com/read.php?2,12096

4. (Stock u-boot only) Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time, or running kwboot with latest u-boot image).

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-6.5.7-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.5.7-kirkwood-tld-1 -d zImage.fdt uImage
sync

If your Linux box does not have mkimage, then install it
apt-get install u-boot-tools

You had to do Step 4 in order to boot Debian. But now you are booting with the new u-boot. So the uImage must be the original (without the embedded DTB).

Mount the USB rootfs on another Linux box, assuming it is mounted at /media/sdb1.

cd /media/sdb1/boot
cp -a uImage.orig uImage
sync
Umoun the USB rootfs and bring it back to the Stora and boot with it.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 22, 2025 11:02AM
Great!!!! Thanks bodhi! It's all working, I sincerely thank you for your help.

I hope my noob story can help other people ;)



Edited 1 time(s). Last edit at 02/22/2025 11:03AM by diappollo.
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 23, 2025 10:58AM
> Great!!!! Thanks bodhi! It's all working

Cool!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: