Welcome! Log In Create A New Profile

Advanced

Installing Debian on STORA MS 2000 - Unable to boot

Posted by diappollo 
Installing Debian on STORA MS 2000 - Unable to boot
January 31, 2025 01:10PM
Hello everyone,

I’m facing several issues while installing Debian on a STORA MS2000 NAS using a USB stick.

I'm new to this type of installation and I've been on it for a good week, skimming Doozan's topics. I even tried booting via ttl but nothing works. I'm getting used to the idea that I'm not going to manage it without help!

Here's the context and the problems I've encountered:
Context:

I followed the steps in this tutorial successfully until the "running the installer" section. Everything went smoothly up to this point, but after this step, Debian starts but I’m facing multiple issues that prevent me from completing the installation.

Server connection issues:
The installer fails to find a site with a downloadable release.
I encounter either server connection issues or incorrect Debian version errors.

Due to these difficulties, I decided to bypass the issue and try the next step by creating a USB stick with Debian-5.6.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2, to boot directly from it and continue from the "boot the system" section.
Steps taken so far:

Preparing the USB stick:
I used fdisk to partition the USB stick (formatted as ext3).
Debian was installed onto this USB stick.
The USB stick was configured with an /etc/fstab file for mounting the file system.

Issues encountered:
Root file system mounting issue: During boot on the NAS, I receive an error when trying to mount the root partition. The system attempts to mount /dev/sda1 but fails with the following error:

/sbin/init: error while loading shared libraries: libselinux.so.1: cannot stat shared object: Invalid argument


Kernel Panic: The system crashes with a kernel panic, as shown below:

Kernel panic - not syncing: Attempted to kill init!


Partitioning issues: Sometimes, it seems the partition isn't mounted correctly, and I’ve faced multiple errors related to formatting attempts with mkfs.

Additional details:
I tried repairing the partitions with fsck, but the problem persists.
I checked system file permissions and missing libraries.
I also attempted to force the installation of the libselinux.so.1 library, but that did not resolve the error.

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** MARVELL BOARD: RD-88F6281A LE 

U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) Marvell version: 3.4.14

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60

Soc: MV88F6281 Rev 3 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size  64MB 
DRAM CS[1] base 0x04000000   size  64MB 
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: eda8e108, Calculated CRC: eda8e108

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> tftpboot 0x200000 uImage
egiga1 no link
Using egiga0 device
TFTP from server 192.168.1.60; our IP address is 192.168.1.90
Filename 'uImage'.
Load address: 0x200000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######################
done
Bytes transferred = 1445784 (160f98 hex)
Marvell>> tftpboot 0x800000 uInitrd
Using egiga0 device
TFTP from server 192.168.1.60; our IP address is 192.168.1.90
Filename 'uInitrd'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################################
done
Bytes transferred = 5236023 (4fe537 hex)
Marvell>> setenv bootargs $(console) root=/dev/sda1
Marvell>> bootm 0x200000 0x800000
## Booting image at 00200000 ...
   Image Name:   Debian kernel
   Created:      2010-08-05  19:13:44 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1445720 Bytes =  1.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   Debian ramdisk
   Created:      2010-08-05  19:13:44 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5235959 Bytes =  5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.33-2-kirkwood (2.6.33) (root@stora) (gcc version 4.4.4 (Debian 4.4.4-7) ) #4 Thu Aug 50
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Netgear MS2110
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1
[    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] Memory: 64MB 64MB = 128MB total
[    0.000000] Memory: 120432KB available (3416K code, 578K data, 116K init, 0K highmem)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000000] Console: colour dummy device 80x30
[   21.475002] Calibrating delay loop... 992.87 BogoMIPS (lpj=4964352)
[   21.714913] Security Framework initialized
[   21.714936] SELinux:  Disabled at boot.
[   21.714970] Mount-cache hash table entries: 512
[   21.715324] Initializing cgroup subsys ns
[   21.715343] Initializing cgroup subsys cpuacct
[   21.715355] Initializing cgroup subsys devices
[   21.715366] Initializing cgroup subsys freezer
[   21.715376] Initializing cgroup subsys net_cls
[   21.715430] CPU: Testing write buffer coherency: ok
[   21.716356] devtmpfs: initialized
[   21.718126] regulator: core version 0.5
[   21.718348] NET: Registered protocol family 16
[   21.718917] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   21.718931] Feroceon L2: Enabling L2
[   21.718971] Feroceon L2: Cache support initialised.
[   21.720198] PCI: bus0: Fast back to back transfers disabled
[   21.721843] bio: create slab <bio-0> at 0
[   21.722178] vgaarb: loaded
[   21.722714] Switching to clocksource orion_clocksource
[   21.727332] NET: Registered protocol family 2
[   21.727503] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[   21.728082] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   21.728200] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[   21.728263] TCP: Hash tables configured (established 4096 bind 4096)
[   21.728274] TCP reno registered
[   21.728284] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   21.728310] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   21.728474] NET: Registered protocol family 1
[   21.728691] Unpacking initramfs...
[   22.127980] Freeing initrd memory: 5112K
[   22.128099] NetWinder Floating Point Emulator V0.97 (double precision)
[   22.128394] audit: initializing netlink socket (disabled)
[   22.128435] type=2000 audit(0.640:1): initialized
[   22.135921] VFS: Disk quotas dquot_6.5.2
[   22.136201] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   22.136319] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   22.137006] msgmni has been set to 245
[   22.138930] alg: No test for stdrng (krng)
[   22.139075] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   22.139089] io scheduler noop registered
[   22.139098] io scheduler deadline registered
[   22.139432] io scheduler cfq registered (default)
[   22.146674] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   22.147213] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   22.476246] console [ttyS0] enabled
[   22.480443] NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
[   22.489154] Scanning device for bad blocks
[   22.531056] Bad eraseblock 1014 at 0x000007ec0000
[   22.554657] Bad eraseblock 1521 at 0x00000be20000
[   22.578962] Creating 3 MTD partitions on "orion_nand":
[   22.584146] 0x000000000000-0x000000100000 : "u-boot"
[   22.589827] 0x000000100000-0x000000500000 : "uImage"
[   22.595429] 0x000000500000-0x000010000000 : "root"
[   22.601663] mice: PS/2 mouse device common for all mice
[   23.612762] rtc-mv rtc-mv: internal RTC not ticking
[   23.617765] i2c /dev entries driver
[   23.621844] cpuidle: using governor ladder
[   23.626122] cpuidle: using governor menu
[   23.630180] Registered led device: blue1
[   23.634214] Registered led device: blue2
[   23.638226] Registered led device: red1
[   23.642140] Registered led device: red2
[   23.646074] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   23.652480] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   23.692791] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   23.732786] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   23.772787] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   23.812787] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   23.819187] TCP cubic registered
[   23.822435] NET: Registered protocol family 17
[   23.827329] registered taskstats version 1
[   23.832256] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   23.838629] Freeing init memory: 116K
Loading, please wait...
[   23.933105] udev: starting version 158
[   24.315988] SCSI subsystem initialized
[   24.425930] MV-643xx 10/100/1000 ethernet driver version 1.4
[   24.431948] mv643xx_eth smi: probed
[   24.462699] net eth0: port 0 with MAC address c4:3d:c7:46:ba:be
[   24.544395] usbcore: registered new interface driver usbfs
[   24.551816] usbcore: registered new interface driver hub
[   24.557364] usbcore: registered new device driver usb
[   24.580217] sata_mv sata_mv.0: version 1.28
[   24.584603] sata_mv sata_mv.0: slots 32 ports 2
[   24.590000] scsi0 : sata_mv
[   24.594467] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   24.601173] scsi1 : sata_mv
[   24.604566] ata1: SATA max UDMA/133 irq 21
[   24.608682] ata2: SATA max UDMA/133 irq 21
[   24.612895] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   24.618207] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   24.652786] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   24.672766] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   24.678794] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   24.685645] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   24.692921] usb usb1: Product: Marvell Orion EHCI
[   24.697651] usb usb1: Manufacturer: Linux 2.6.33-2-kirkwood ehci_hcd
[   24.704046] usb usb1: SerialNumber: orion-ehci.0
[   24.710166] hub 1-0:1.0: USB hub found
[   24.713991] hub 1-0:1.0: 1 port detected
[   24.972769] ata1: SATA link down (SStatus 0 SControl F300)
[   25.032772] usb 1-1: new high speed USB device using orion-ehci and address 2
[   25.198301] usb 1-1: New USB device found, idVendor=6557, idProduct=1021
[   25.205064] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   25.212236] usb 1-1: Product: USB DISK 2.0
[   25.216375] usb 1-1: Manufacturer:         
[   25.220580] usb 1-1: SerialNumber: 07038733EB370F30
[   25.342764] ata2: SATA link down (SStatus 0 SControl F300)
[   25.407163] Initializing USB Mass Storage driver...
[   25.412391] scsi2 : usb-storage 1-1:1.0
[   25.417753] usbcore: registered new interface driver usb-storage
[   25.423832] USB Mass Storage support registered.
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... [   32.575548] scsi 2:0:0:0: Direct-Access              USB DISK 2.0     PMAP P6
[   32.621716] sd 2:0:0:0: [sda] 15654912 512-byte logical blocks: (8.01 GB/7.46 GiB)
[   32.631698] sd 2:0:0:0: [sda] Write Protect is off
[   32.636559] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   32.652572] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   32.658733]  sda: sda1
[   32.670072] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   32.676229] sd 2:0:0:0: [sda] Attached SCSI removable disk
done.
Begin: Running /scripts/local-premount ... done.
[   32.915007] EXT3-fs (sda1): recovery required on readonly filesystem
[   32.921412] EXT3-fs (sda1): write access will be enabled during recovery
[   44.676540] kjournald starting.  Commit interval 5 seconds
[   44.682095] EXT3-fs (sda1): recovery complete
[   45.160083] EXT3-fs (sda1): mounted filesystem with ordered data mode
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
/sbin/init: error while loading shared libraries: libselinux.so.1: cannot stat shared object: Invalid argument
[   45.302810] Kernel panic - not syncing: Attempted to kill init!
[   45.308799] [<c002be0c>] (unwind_backtrace+0x0/0xd8) from [<c02a6ddc>] (panic+0x40/0x120)
[   45.317065] [<c02a6ddc>] (panic+0x40/0x120) from [<c0044c00>] (do_exit+0x70/0x668)
[   45.324699] [<c0044c00>] (do_exit+0x70/0x668) from [<c0045284>] (do_group_exit+0x8c/0xc0)
[   45.332944] [<c0045284>] (do_group_exit+0x8c/0xc0) from [<c00452c8>] (sys_exit_group+0x10/0x1c)
[   45.341695] [<c00452c8>] (sys_exit_group+0x10/0x1c) from [<c0025e40>] (ret_fast_syscall+0x0/0x28)


Questions:

Compatibility with STORA MS2000: Are there specific steps to follow for installing Debian on this NAS? Are there any particularities related to the architecture of this model (Kirkwood)?
Missing libraries: Is it possible that critical files like libselinux.so.1 are missing from the rootfs archive I used? How can I fix this issue?
Boot and Kernel Panic: Do you have suggestions for bypassing the kernel panic and errors when accessing the file system?
Other ideas: Are there any additional configurations I should apply in fstab or elsewhere to make Debian work properly on this NAS?

Thank you so much for your help, any suggestions or ideas would be greatly appreciated!
Re: Installing Debian on STORA MS 2000 - Unable to boot
January 31, 2025 02:02PM
diappollo,

To install Debian using my rootfs, follow the instruction in the Wiki

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

Quote

Kirkwood plugs

Basic steps to install Debian and new u-boot on Kirkwood boxes
Boot Kirkwood rootfs with stock u-boot

1. You can use the second instruction to create the rootfs Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 on USB, and then enter envs at u-boot prompt to boot the rootfs.

But don't save the envs until you can boot the box a few times.

2. Or you can install new u-boot and boot the rootfs with it. But before doing this, you should try UART booting with kwboot:

https://forum.doozan.com/read.php?3,51739,51919#msg-51919

This UART booting is the rescue path, in case your box u-boot behaves badly (some Stora model has buggy u-boot).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Installing Debian on STORA MS 2000 - Unable to boot
January 31, 2025 06:57PM
Thanks for the quick response.

Here's what it looks like using method 1:

        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** MARVELL BOARD: RD-88F6281A LE 

U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) Marvell version: 3.4.14

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60

Soc: MV88F6281 Rev 3 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size  64MB 
DRAM CS[1] base 0x04000000   size  64MB 
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: 103096f0, Calculated CRC: 103096f0

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0 
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
........................................................................................................................
........................................................................................................................

6223944 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
........................................................................................................................
........................................................................................................................

5791271 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes =  5.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes =  5.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...


Error: invalid dtb and unrecognized/unsupported machine ID
  r1=0x00000ab7, r2=0x00000100
  r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00
Available machine support:

ID (hex)        NAME
ffffffff        Generic DT based system
ffffffff        Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.

Thanks for this quick response.

Here is what it looks like by following method 1:

A priori, it manages to detect and start from the USB key, I don't understand the error
Re: Installing Debian on STORA MS 2000 - Unable to boot
January 31, 2025 08:17PM
diappollo,

The rootfs installation instruction Step 4.

Quote

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 need to do this on the Linux host that you use to create the rootfs. Your box DTB name is kirkwood-netgear_stora_ms2000.dtb.

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

Top! Thanks a lot!

The boot remains uncertain, I often have to re-enter the environment variables, despite this, a first boot does not succeed then after restarting it works? It's surprising because the sequence is a priori always the same:

Hit any key to stop autoboot:  0                                                
(Re)start USB...                                                                
USB:   scanning bus for devices... 2 USB Device(s) found                        
       scanning bus for storage devices... T Device NOT ready                   
   Request Sense returned 00 00 00                                              
0 Storage Device(s) found                                                       
** Bad partition 1 **                                                           
** Bad partition 1 **                                                           
## Booting image at 00800000 ...                                                
Bad Magic Number                                                                
Marvell>>                                                                       
Unknown command ' - try 'help'                                                  
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LA'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'           
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'        
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; '
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'               
Marvell>> setenv bootcmd 'usb reset; run usb_bootcmd; usb stop; reset'          
Marvell>> printenv                                                              
baudrate=115200                                                                 
loads_echo=0                                                                    
rootpath=/mnt/ARM_FS/                                                           
netmask=255.255.255.0                                                           
CASset=min                                                                      
MALLOC_len=1                                                                    
ethprime=egiga1                                                                 
bootargs_end=:::DB88FXX81:eth0:none                                             
image_name=uImage                                                               
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/;
ethmtu=1500                                                                     
eth1addr=00:50:43:00:02:02                                                      
eth1mtu=1500                                                                    
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs                                 
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500                  
usb0Mode=host                                                                   
yuk_ethaddr=00:00:00:EE:51:81                                                   
nandEcc=1bit                                                                    
netretry=no                                                                     
rcvrip=169.254.100.100                                                          
loidaddr=0x02000000                                                             
autoload=no                                                                     
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc    
console=console=ttyS0,115200                                                    
mainlineLiNux=no                                                                
fw_up=disable                                                                   
ethaddr=C4:3D:C7:46:BA:BE                                                       
loadaddr=0x02000000                                                             
mainlinelinux=yes                                                               
arcNumber=2743                                                                  
ipaddr=192.168.1.90                                                             
serverip=192.168.1.60                                                           
bootargs_console=console=ttyS0,115200                                           
bootcmd_usb=usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1d
stdin=serial                                                                    
stdout=serial                                                                   
stderr=serial                                                                   
mainlineLinux=yes                                                               
enaMonExt=no                                                                    
enaCpuStream=no                                                                 
enaWrAllo=no                                                                    
pexMode=RC                                                                      
disL2Cache=no                                                                   
setL2CacheWT=yes                                                                
disL2Prefetch=yes                                                               
enaICPref=yes                                                                   
enaDCPref=yes                                                                   
sata_dma_mode=yes                                                               
netbsd_en=no                                                                    
vxworks_en=no                                                                   
bootdelay=3                                                                     
disaMvPnp=no                                                                    
hddPowerCtrl=no                                                                 
enaAutoRecovery=no                                                              
ethact=egiga1                                                                   
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdell
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage                              
load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd                           
usb_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x20
usb_bootcmd=run usb_set_bootargs; run usb_boot                                  
bootcmd=usb reset; run usb_bootcmd; usb stop; reset                             
                                                                                
Environment size: 1723/131068 bytes                                             
Marvell>> saveenv                                                               
Saving Environment to NAND...                                                   
Erasing Nand...Writing to Nand... done                                          
Marvell>> boot                                                                  
(Re)start USB...                                                                
USB:   scanning bus for devices... 1 USB Device(s) found                        
       scanning bus for storage devices... 0 Storage Device(s) found            
** Bad partition 1 **                                                           
** Bad partition 1 **                                                           
## Booting image at 00800000 ...                                                
Bad Magic Number                                                                
stopping USB..                                                                  
                                                                                
         __  __                      _ _                                        
        |  \/  | __ _ _ ____   _____| | |                                       
        | |\/| |/ _` | '__\ \ / / _ \ | |                                       
        | |  | | (_| | |   \ V /  __/ | |                                       
        |_|  |_|\__,_|_|    \_/ \___|_|_|                                       
 _   _     ____              _                                                  
| | | |   | __ )  ___   ___ | |_                                                
| | | |___|  _ \ / _ \ / _ \| __|                                               
| |_| |___| |_) | (_) | (_) | |_                                                
 \___/    |____/ \___/ \___/ \__|                                               
 ** MARVELL BOARD: RD-88F6281A LE                                               
                                                                                
U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) Marvell version: 3.4.14                   
                                                                                
U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60                             
                                                                                
Soc: MV88F6281 Rev 3 (DDR2)                                                     
CPU running @ 1000Mhz L2 running @ 333Mhz                                       
SysClock = 333Mhz , TClock = 200Mhz                                             
                                                                                
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6                                   
DRAM CS[0] base 0x00000000   size  64MB                                         
DRAM CS[1] base 0x04000000   size  64MB                                         
DRAM Total size 128MB  16bit width                                              
Flash:  0 kB                                                                    
Addresses 8M - 0M are saved for the U-Boot usage.                               
Mem malloc Initialization (8M - 7M): Done                                       
NAND:256 MB                                                                     
CRC in Flash: 103096f0, Calculated CRC: 103096f0                                
                                                                                
CPU : Marvell Feroceon (Rev 1)                                                  
                                                                                
Streaming disabled                                                              
Write allocate disabled                                                         
                                                                                
Module 0 is RGMII                                                               
Module 1 is TDM                                                                 
                                                                                
USB 0: host mode                                                                
PEX 0: interface detected no Link.                                              
Net:   egiga0, egiga1 [PRIME]                                                   
Hit any key to stop autoboot:  0                                                
(Re)start USB...                                                                
USB:   scanning bus for devices... 2 USB Device(s) found                        
       scanning bus for storage devices... 1 Storage Device(s) found




Also, I have a problem with the detection of my network card it seems... I try to continue the installation via ssh but impossible to have an address via DHCP and I read:

Cannot find device "eth0"                                                       
Failed to get interface index: No such device                                   
                                                                                
If you think you have received this message due to a bug rather                 
than a configuration issue please read the section on submitting                
bugs on either our web page at www.isc.org or in the README file                
before submitting a bug.  These pages explain the proper                        
process and the information we find helpful for debugging.

I went to see what I could find here: https://www.isc.org/dhcp/ .... without success

         __  __                      _ _                     
        |  \/  | __ _ _ ____   _____| | |                    
        | |\/| |/ _` | '__\ \ / / _ \ | |                    
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** MARVELL BOARD: RD-88F6281A LE 

U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) Marvell version: 3.4.14

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60                             
                                                                                
Soc: MV88F6281 Rev 3 (DDR2)                                                     
CPU running @ 1000Mhz L2 running @ 333Mhz                                       
SysClock = 333Mhz , TClock = 200Mhz                                             
                                                                                
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6                                   
DRAM CS[0] base 0x00000000   size  64MB                                         
DRAM CS[1] base 0x04000000   size  64MB                                         
DRAM Total size 128MB  16bit width                                              
Flash:  0 kB                                                                    
Addresses 8M - 0M are saved for the U-Boot usage.                               
Mem malloc Initialization (8M - 7M): Done                                       
NAND:256 MB                                                                     
CRC in Flash: 88239c97, Calculated CRC: 88239c97                                
                                                                                
CPU : Marvell Feroceon (Rev 1)                                                  
                                                                                
Streaming disabled                                                              
Write allocate disabled                                                         
                                                                                
Module 0 is RGMII                                                               
Module 1 is TDM                                                                 
                                                                                
USB 0: host mode                                                                
PEX 0: interface detected no Link.                                              
Net:   egiga0, egiga1 [PRIME]                                                   
Hit any key to stop autoboot:  0                                                
(Re)start USB...                                                                
USB:   scanning bus for devices... 2 USB Device(s) found                        
       scanning bus for storage devices... T Device NOT ready                   
   Request Sense returned 00 00 00                                              
0 Storage Device(s) found                                                       
** Bad partition 1 **                                                           
** Bad partition 1 **                                                           
## Booting image at 00800000 ...                                                
Bad Magic Number                                                                
Marvell>>                                                                       
Unknown command ' - try 'help'                                                  
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LA'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'           
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'        
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; '
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'               
Marvell>> setenv bootcmd 'usb reset; run usb_bootcmd; usb stop; reset'          
Marvell>> printenv                                                              
baudrate=115200                                                                 
loads_echo=0                                                                    
rootpath=/mnt/ARM_FS/                                                           
netmask=255.255.255.0                                                           
CASset=min                                                                      
MALLOC_len=1                                                                    
ethprime=egiga1                                                                 
bootargs_end=:::DB88FXX81:eth0:none                                             
image_name=uImage                                                               
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/;
ethmtu=1500                                                                     
eth1addr=00:50:43:00:02:02                                                      
eth1mtu=1500                                                                    
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs                                 
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500                  
usb0Mode=host                                                                   
yuk_ethaddr=00:00:00:EE:51:81                                                   
nandEcc=1bit                                                                    
netretry=no                                                                     
rcvrip=169.254.100.100                                                          
loidaddr=0x02000000                                                             
autoload=no                                                                     
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc    
console=console=ttyS0,115200                                                    
mainlineLiNux=no                                                                
fw_up=disable                                                                   
ethaddr=C4:3D:C7:46:BA:BE                                                       
loadaddr=0x02000000                                                             
mainlinelinux=yes                                                               
arcNumber=2743                                                                  
ipaddr=192.168.1.90                                                             
serverip=192.168.1.60                                                           
bootargs_console=console=ttyS0,115200                                           
bootcmd_usb=usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1d
stdin=serial                                                                    
stdout=serial                                                                   
stderr=serial                                                                   
mainlineLinux=yes                                                               
enaMonExt=no                                                                    
enaCpuStream=no                                                                 
enaWrAllo=no                                                                    
pexMode=RC                                                                      
disL2Cache=no                                                                   
setL2CacheWT=yes                                                                
disL2Prefetch=yes                                                               
enaICPref=yes                                                                   
enaDCPref=yes                                                                   
sata_dma_mode=yes                                                               
netbsd_en=no                                                                    
vxworks_en=no                                                                   
bootdelay=3                                                                     
disaMvPnp=no                                                                    
hddPowerCtrl=no                                                                 
enaAutoRecovery=no                                                              
ethact=egiga1                                                                   
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdell
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage                              
load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd                           
usb_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x20
usb_bootcmd=run usb_set_bootargs; run usb_boot                                  
bootcmd=usb reset; run usb_bootcmd; usb stop; reset                             
                                                                                
Environment size: 1723/131068 bytes                                             
Marvell>> saveenv                                                               
Saving Environment to NAND...                                                   
Erasing Nand...Writing to Nand... done                                          
Marvell>> boot                                                                  
(Re)start USB...                                                                
USB:   scanning bus for devices... 1 USB Device(s) found                        
       scanning bus for storage devices... 0 Storage Device(s) found            
** Bad partition 1 **                                                           
** Bad partition 1 **                                                           
## Booting image at 00800000 ...                                                
Bad Magic Number                                                                
stopping USB..                                                                  
                                                                                
         __  __                      _ _                                        
        |  \/  | __ _ _ ____   _____| | |                                       
        | |\/| |/ _` | '__\ \ / / _ \ | |                                       
        | |  | | (_| | |   \ V /  __/ | |                                       
        |_|  |_|\__,_|_|    \_/ \___|_|_|                                       
 _   _     ____              _                                                  
| | | |   | __ )  ___   ___ | |_                                                
| | | |___|  _ \ / _ \ / _ \| __|                                               
| |_| |___| |_) | (_) | (_) | |_                                                
 \___/    |____/ \___/ \___/ \__|                                               
 ** MARVELL BOARD: RD-88F6281A LE                                               
                                                                                
U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) Marvell version: 3.4.14                   
                                                                                
U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60                             
                                                                                
Soc: MV88F6281 Rev 3 (DDR2)                                                     
CPU running @ 1000Mhz L2 running @ 333Mhz                                       
SysClock = 333Mhz , TClock = 200Mhz                                             
                                                                                
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6                                   
DRAM CS[0] base 0x00000000   size  64MB                                         
DRAM CS[1] base 0x04000000   size  64MB                                         
DRAM Total size 128MB  16bit width                                              
Flash:  0 kB                                                                    
Addresses 8M - 0M are saved for the U-Boot usage.                               
Mem malloc Initialization (8M - 7M): Done                                       
NAND:256 MB                                                                     
CRC in Flash: 103096f0, Calculated CRC: 103096f0                                
                                                                                
CPU : Marvell Feroceon (Rev 1)                                                  
                                                                                
Streaming disabled                                                              
Write allocate disabled                                                         
                                                                                
Module 0 is RGMII                                                               
Module 1 is TDM                                                                 
                                                                                
USB 0: host mode                                                                
PEX 0: interface detected no Link.                                              
Net:   egiga0, egiga1 [PRIME]                                                   
Hit any key to stop autoboot:  0                                                
(Re)start USB...                                                                
USB:   scanning bus for devices... 2 USB Device(s) found                        
       scanning bus for storage devices... 1 Storage Device(s) found            
....                                                                            
.                                                                               
......                                                                          
............                                                                    
.........................                                                       
...................................................                             
................................................................................
................................................................................
....                                                                            
................................................................................
                                                                                
6247324 bytes read                                                              
....                                                                            
.                                                                               
......                                                                          
............                                                                    
.........................                                                       
...................................................                             
................................................................................
................................................................................
....                                                                            
................................................................................
                                                                                
5791271 bytes read                                                              
## Booting image at 00800000 ...                                                
   Image Name:   Linux-6.5.7-kirkwood-tld-1                                     
   Created:      2025-02-03  12:23:10 UTC                                       
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    6247260 Bytes =  6 MB                                          
   Load Address: 00008000                                                       
   Entry Point:  00008000                                                       
   Verifying Checksum ... OK                                                    
OK                                                                              
## Loading Ramdisk Image at 02100000 ...                                        
   Image Name:   initramfs-6.5.7-kirkwood-tld-1                                 
   Created:      2023-10-31  22:53:55 UTC                                       
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                      
   Data Size:    5791207 Bytes =  5.5 MB                                        
   Load Address: 00000000                                                       
   Entry Point:  00000000                                                       
   Verifying Checksum ... OK                                                    
                                                                                
Starting kernel ...                                                             
                                                                                
[    0.000000][    T0] Booting Linux on physical CPU 0x0                        
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc3
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cf
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache             
[    0.000000][    T0] OF: fdt: Machine model: Seagate GoFlex Net               
[    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-0x000000000]
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rool
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 )
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 by)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 30
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off   
[    0.000000][    T0] Memory: 102524K/131072K available (12288K kernel code, 1)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes1
[    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 .
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16          
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on conte.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycs
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps evs
[    0.008545][    T0] Switching to timer-based delay loop, resolution 5ns      
[    0.015838][    T0] Console: colour dummy device 80x30                       
[    0.021110][    T0] Calibrating delay loop (skipped), value calculated using)
[    0.032373][    T0] CPU: Testing write buffer coherency: ok                  
[    0.038103][    T0] pid_max: default: 32768 minimum: 301                     
[    0.053951][    T0] LSM: initializing lsm=capability,integrity               
[    0.062713][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 byt)
[    0.070787][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 409)
[    0.094289][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_a.
[    0.102555][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_tas.
[    0.111452][    T1] Setting up static identity map for 0x100000 - 0x100058   
[    0.118815][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3               
[    0.125146][    T1] rcu: Hierarchical SRCU implementation.                   
[    0.130737][    T1] rcu:     Max phase no-delay instances is 1000.           
[    0.140229][    T1] devtmpfs: initialized                                    
[    0.156398][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffs
[    0.167126][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, li)
[    0.178053][    T1] prandom: seed boundary self test passed                  
[    0.188831][    T1] prandom: 100 self tests passed                           
[    0.193634][    T1] pinctrl core: initialized pinctrl subsystem              
[    0.204208][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family      
[    0.212771][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocs
[    0.226827][    T1] audit: initializing netlink subsys (disabled)            
[    0.235450][    T1] thermal_sys: Registered thermal governor 'step_wise'     
[    0.235717][   T19] audit: type=2000 audit(0.220:1): state=initialized audit1
[    0.250956][    T1] cpuidle: using governor ladder                           
[    0.255842][    T1] cpuidle: using governor menu                             
[    0.261276][    T1] Feroceon L2: Enabling L2                                 
[    0.265585][    T1] Feroceon L2: Cache support initialised.                  
[    0.283261][    T1] No ATAGs?                                                
[    0.648566][    T1] raid6: int32x8  gen()    91 MB/s                         
[    0.988561][    T1] raid6: int32x4  gen()    88 MB/s                         
[    1.328597][    T1] raid6: int32x2  gen()   118 MB/s                         
[    1.668561][    T1] raid6: int32x1  gen()    82 MB/s                         
[    1.673523][    T1] raid6: using algorithm int32x2 gen() 118 MB/s            
[    2.028566][    T1] raid6: .... xor() 72 MB/s, rmw enabled                   
[    2.034044][    T1] raid6: using intx1 recovery algorithm                    
[    2.050623][    T1] SCSI subsystem initialized                               
[    2.059214][    T1] usbcore: registered new interface driver usbfs           
[    2.065514][    T1] usbcore: registered new interface driver hub             
[    2.088651][    T1] usbcore: registered new device driver usb                
[    2.094858][    T1] pps_core: LinuxPPS API ver. 1 registered                 
[    2.108566][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo>
[    2.118399][    T1] PTP clock support registered                             
[    2.151454][    T1] vgaarb: loaded                                           
[    2.155882][    T1] clocksource: Switched to clocksource orion_clocksource   
[    2.187359][    T1] VFS: Disk quotas dquot_6.6.0                             
[    2.192481][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096)
[    2.255155][    T1] NET: Registered PF_INET protocol family                  
[    2.266309][    T1] IP idents hash table entries: 2048 (order: 2, 16384 byte)
[    2.287372][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order)
[    2.306187][    T1] Table-perturb hash table entries: 65536 (order: 6, 26214)
[    2.314636][    T1] TCP established hash table entries: 1024 (order: 0, 4096)
[    2.335936][    T1] TCP bind hash table entries: 1024 (order: 1, 8192 bytes,)
[    2.343685][    T1] TCP: Hash tables configured (established 1024 bind 1024) 
[    2.366769][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 byte)
[    2.374954][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linea)
[    2.405937][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, )
[    2.414648][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family         
[    2.437221][    T1] RPC: Registered named UNIX socket transport module.      
[    2.443831][    T1] RPC: Registered udp transport module.                    
[    2.455915][    T1] RPC: Registered tcp transport module.                    
[    2.461300][    T1] RPC: Registered tcp-with-tls transport module.           
[    2.485905][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.493038][    T1] PCI: CLS 0 bytes, default 32                             
[    2.509532][   T32] Trying to unpack rootfs image as initramfs...            
[    3.692428][   T32] Freeing initrd memory: 5656K                             
[    4.705161][    T1] Initialise system trusted keyrings                       
[    4.711837][    T1] Key type blacklist registered                            
[    4.717169][    T1] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    4.724499][    T1] zbud: loaded                                             
[    4.750815][    T1] NFS: Registering the id_resolver key type                
[    4.756696][    T1] Key type id_resolver registered                          
[    4.761563][    T1] Key type id_legacy registered                            
[    4.766517][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registerin.
[    4.773906][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Re.
[    4.783946][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red H .
[    4.792780][    T1] fuse: init (API version 7.38)                            
[    4.799277][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    4.806870][    T1] orangefs_init: module version upstream loaded            
[    4.813408][    T1] SGI XFS with ACLs, security attributes, realtime, scrub,d
[    5.077034][    T1] xor: measuring software checksum speed                   
[    5.093216][    T1]    arm4regs        :   927 MB/sec                        
[    5.115996][    T1]    8regs           :   556 MB/sec                        
[    5.133516][    T1]    32regs          :   789 MB/sec                        
[    5.138582][    T1] xor: using function: arm4regs (927 MB/sec)               
[    5.144409][    T1] async_tx: api initialized (async)                        
[    5.149490][    T1] Key type asymmetric registered                           
[    5.154270][    T1] Asymmetric key parser 'x509' registered                  
[    5.223170][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded)
[    5.231991][    T1] io scheduler bfq registered                              
[    5.464235][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinr
[    5.474347][    T1] gpio gpiochip0: Static allocation of GPIO base is deprec.
[    5.485633][    T1] gpio gpiochip1: Static allocation of GPIO base is deprec.
[    5.497312][    T1] mv_xor f1060800.xor: Marvell shared XOR driver           
[    5.568993][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor)
[    5.582680][    T1] mv_xor f1060900.xor: Marvell shared XOR driver           
[    5.649020][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor)
[    5.663182][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled 
[    5.673518][    T1] printk: console [ttyS0] disabled                         
[    5.679384][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, basA
[    5.689159][    T1] printk: console [ttyS0] enabled                          
[    5.689159][    T1] printk: console [ttyS0] enabled                          
[    5.699023][    T1] printk: bootconsole [earlycon0] disabled                 
[    5.699023][    T1] printk: bootconsole [earlycon0] disabled                 
[    5.732590][    T1] loop: module loaded                                      
[    5.737818][    T1] sata_mv f1080000.sata: slots 32 ports 2                  
[    5.749511][    T1] scsi host0: sata_mv                                      
[    5.755301][    T1] scsi host1: sata_mv                                      
[    5.759815][    T1] ata1: SATA max UDMA/133 irq 28                           
[    5.764653][    T1] ata2: SATA max UDMA/133 irq 28                           
[    5.771135][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda 
[    5.778291][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit                     
[    5.783643][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 20484
[    5.792020][    T1] Scanning device for bad blocks                           
[    5.906190][    T1] Bad eraseblock 1014 at 0x000007ec0000                    
[    5.966252][    T1] Bad eraseblock 1521 at 0x00000be20000                    
[    6.028586][    T1] 4 fixed-partitions partitions found on MTD device orion_d
[    6.036093][    T1] Creating 4 MTD partitions on "orion_nand":               
[    6.042008][    T1] 0x000000000000-0x000000100000 : "u-boot"                 
[    6.048807][    T1] 0x000000100000-0x000000500000 : "uImage"                 
[    6.055477][    T1] 0x000000500000-0x000002500000 : "pogoplug"               
[    6.062647][    T1] 0x000002500000-0x00000fd00000 : "root"                   
[    6.071281][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com.
[    6.079948][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <J.
[    6.096388][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 0.
[    6.104590][   T52] ata1: SATA link down (SStatus 0 SControl F300)           
[    6.111225][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver versio4
[    6.120890][    T1] orion-ehci f1050000.ehci: EHCI Host Controller           
[    6.127267][    T1] orion-ehci f1050000.ehci: new USB bus registered, assign1
[    6.136298][    T1] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000      
[    6.165923][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00     
[    6.173111][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct5
[    6.182170][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seri1
[    6.190163][    T1] usb usb1: Product: EHCI Host Controller                  
[    6.195779][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_d
[    6.203155][    T1] usb usb1: SerialNumber: f1050000.ehci                    
[    6.209870][    T1] hub 1-0:1.0: USB hub found                               
[    6.214409][    T1] hub 1-0:1.0: 1 port detected                             
[    6.220426][    T1] usbcore: registered new interface driver usb-storage     
[    6.228004][    T1] mousedev: PS/2 mouse device common for all mice          
[    6.467654][   T54] ata2: SATA link down (SStatus 0 SControl F300)           
[    6.505935][   T49] usb 1-1: new high-speed USB device number 2 using orion-i
[    6.721555][   T49] usb 1-1: New USB device found, idVendor=6557, idProduct=0
[    6.730547][   T49] usb 1-1: New USB device strings: Mfr=1, Product=2, Seria3
[    6.738480][   T49] usb 1-1: Product: USB DISK 2.0                           
[    6.743308][   T49] usb 1-1: Manufacturer:                                   
[    6.748244][   T49] usb 1-1: SerialNumber: 07038733EB370F30                  
[    6.755100][   T49] usb-storage 1-1:1.0: USB Mass Storage device detected    
[    6.763028][   T49] scsi host2: usb-storage 1-1:1.0                          
[    7.295941][    T1] rtc-mv f1010300.rtc: internal RTC not ticking            
[    7.302415][    T1] i2c_dev: i2c /dev entries driver                         
[    7.309077][    T1] device-mapper: uevent: version 1.0.3                     
[    7.315157][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialim
[    7.325174][    T1] device-mapper: multipath round-robin: version 1.2.0 loadd
[    7.332545][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    7.339948][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    7.347456][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded    
[    7.358719][    T1] ledtrig-cpu: registered to indicate activity on CPUs     
[    7.365611][    T1] hid: raw HID events driver (C) Jiri Kosina               
[    7.372056][    T1] drop_monitor: Initializing network drop monitor service  
[    7.380974][    T1] NET: Registered PF_INET6 protocol family                 
[    7.389117][    T1] Segment Routing with IPv6                                
[    7.393523][    T1] RPL Segment Routing with IPv6                            
[    7.398481][    T1] In-situ OAM (IOAM) with IPv6                             
[    7.403314][    T1] NET: Registered PF_PACKET protocol family                
[    7.409634][    T1] Key type dns_resolver registered                         
[    7.438045][    T1] registered taskstats version 1                           
[    7.443288][    T1] Loading compiled-in X.509 certificates                   
[    7.475759][    T1] Key type .fscrypt registered                             
[    7.480544][    T1] Key type fscrypt-provisioning registered                 
[    7.494219][    T1] Key type big_key registered                              
[    7.554697][    T1] Key type encrypted registered                            
[    7.690933][  T105] "cryptomgr_test" (105) uses obsolete ecb(arc4) skcipher  
[    9.608995][   T18] scsi 2:0:0:0: Direct-Access              USB DISK 2.0   6
[    9.631105][   T10] sd 2:0:0:0: [sda] 15654912 512-byte logical blocks: (8.0)
[    9.648344][   T10] sd 2:0:0:0: [sda] Write Protect is off                   
[    9.665925][   T10] sd 2:0:0:0: [sda] No Caching mode page found             
[    9.672020][   T10] sd 2:0:0:0: [sda] Assuming drive cache: write through    
[    9.699243][   T10]  sda: sda1                                               
[    9.706273][   T10] sd 2:0:0:0: [sda] Attached SCSI removable disk           
[   10.506129][    T1] clk: Disabling unused clocks                             
[   10.514799][    T1] Freeing unused kernel image (initmem) memory: 1024K      
[   10.536807][    T1] Checked W+X mappings: passed, no W+X pages found         
[   10.543229][    T1] Run /init as init process                                
Loading, please wait...                                                         
Starting systemd-udevd version 252.17-1~deb12u1                                 
[   12.243371][  T152] usbcore: registered new interface driver uas             
Begin: Loading essential drivers ... done.                                      
Begin: Running /scripts/init-premount ... done.                                 
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.                                
[   22.896539][   T49] platform mv643xx_eth_port.0: deferred probe pending      
Begin: Will now check root file system ... fsck from util-linux 2.38.1          
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1                   
rootfs: recovering journal                                                      
rootfs: clean, 19740/489600 files, 298976/1956608 blocks                        
done.                                                                           
[   23.461858][  T176] EXT4-fs (sda1): mounting ext3 file system using the ext4m
[   23.570301][  T176] EXT4-fs (sda1): mounted filesystem 0561176f-b64f-4b8f-a1.
done.                                                                           
Begin: Running /scripts/local-bottom ... done.                                  
Begin: Running /scripts/init-bottom ... done.                                   
INIT: version 3.06 booting                                                      
INIT: No inittab.d directory found                                              
Using makefile-style concurrent boot in runlevel S.                             
Setting hostname to 'debian'...done.                                            
Starting hotplug events dispatcher: systemd-udevd.                              
Synthesizing the initial hotplug events (subsystems)...done.                    
Synthesizing the initial hotplug events (devices)...done.                       
Waiting for /dev to be fully populated...[   29.256217][  T353] orion_wdt: Initc
[   30.016162][  T359] sd 2:0:0:0: Attached scsi generic sg0 type 0             
[   30.071099][  T358] marvell-cesa f1030000.crypto: CESA device successfully rd
done.                                                                           
[   32.476007][    C0] random: crng init done                                   
Activating swap:.                                                               
[   32.690303][  T503] EXT4-fs (sda1): re-mounted 0561176f-b64f-4b8f-a115-7f08c.
Will now check all file systems.                                                
Checking all file systems.                                                      
LABEL=rootfs is mounted                                                         
Done checking file systems.                                                     
Log is being saved in /var/log/fsck/checkfs if that location is writable.       
Cleaning up temporary files...Cleaning /tmp...done.                             
 /tmp.                                                                          
Will now mount local filesystems:.                                              
Will now activate swapfile swap, if any:done.                                   
Checking minimum space in /tmp...done.                                          
Cleaning up temporary files....                                                 
Starting Setting kernel variables: sysctl.                                      
Initializing random number generator...done.                                    
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-1
Copyright 2004-2022 Internet Systems Consortium.                                
All rights reserved.                                                            
For info, please visit https://www.isc.org/software/dhcp/                       
                                                                                
Cannot find device "eth0"                                                       
Failed to get interface index: No such device                                   
                                                                                
If you think you have received this message due to a bug rather                 
than a configuration issue please read the section on submitting                
bugs on either our web page at www.isc.org or in the README file                
before submitting a bug.  These pages explain the proper                        
process and the information we find helpful for debugging.                      
                                                                                
exiting.                                                                        
ifup: failed to bring up eth0                                                   
failed.                                                                         
Starting RPC port mapper daemon: rpcbind.                                       
Starting NFS common utilities: statd idmapd.                                    
Cleaning up temporary files....                                                 
INIT: Entering runlevel: 2                                                      
Using makefile-style concurrent boot in runlevel 2.                             
Not starting NFS kernel daemon: no exports ... (warning).                       
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...     
985 (syslogd)                                                                   
.                                                                               
Starting system message bus: dbus.                                              
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.                                
Starting NTP server: ntpd1969-12-31T16:00:39 ntpd[1026]: INIT: ntpd ntpsec-1.2.g
1969-12-31T16:00:39 ntpd[1026]: INIT: Command line: /usr/sbin/ntpd -p /var/run/6
.                                                                               
Starting NTP server: ntpd.                                                      
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...           
1002 (klogd)                                                                    
.                                                                               
Starting OpenBSD Secure Shell server: sshd.                                     
Running local boot scripts (/etc/rc.local)                                      
.                                                                               
                                                                                
Debian GNU/Linux 12 debian ttyS0                                                
                                                                                
debian login:

So I have 2 questions (sorry):

how can I consolidate the boot sequence?

how can I allow the Stora to be correctly recognized on my network for SSH access, internet etc?

Thanks in advance for your help
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 03, 2025 02:33PM
diappollo,

You don't need to do saveenv. I actually discouraged that in the instruction until you have booted successfully a few times.

Quote
https://forum.doozan.com/read.php?2,102054,105374#msg-105374
Since setenvs are transient, after test boot a few times with the above setenvs, you can proceed to make the envs permanent before boot

> how can I allow the Stora to be correctly
> recognized on my network for SSH access, internet
> etc?

The reason you don't have network connection is you've used the wrong DTB. Note that I mentioned above:

Quote

The rootfs installation instruction Step 4.

Quote

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 need to do this on the Linux host that you use to create the rootfs. Your box DTB name is kirkwood-netgear_stora_ms2000.dtb.

So the correct cat command above should be
cat dts/kirkwood-netgear_stora_ms2000.dtb >> zImage.fdt

Let's get ethernet working first. And we'll look for the reason why you have to enter envs each time.

===
bodhi's edit: typos

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



Edited 1 time(s). Last edit at 02/03/2025 03:30PM by bodhi.
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 03, 2025 05:04PM
Thanks again for this quick response, Ok, I'll leave "saveenv" aside, but I have the manipulation mentioned above by modifying like this:

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

as explained above, does any element of the report lead you to believe that this is not the case?
However, I think I followed the instructions by replacing it with the name of my box.

Indeed, fixing the network problem seems to be the most important for now
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 03, 2025 06:15PM
diappollo,

The kirkwood-goflexnet.dtb is an example only (as stated in my instruction). Each box has to use its own DTB. Gofflex Net is a good compatible Kirkwood box. Usually you can boot any Kirkwood box with it. So I used it as example in case users ignore the instruction.

That was the reason you can boot but have no Ethernet when you run the Stora using the Goflex Net DTB. These 2 boxes has different Ethernet PHY address.

Quote

as explained above, does any element of the report lead you to believe that this is not the case?

Your boot log:
Quote

[ 0.000000][ T0] Booting Linux on physical CPU 0x0
[ 0.000000][ T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc3
[ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cf
[ 0.000000][ T0] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000][ T0] OF: fdt: Machine model: Seagate GoFlex Net

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



Edited 3 time(s). Last edit at 02/04/2025 01:01AM by bodhi.
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 04, 2025 10:00AM
perfect, it's good, the network works. Really thanks for the help!

I must have done something wrong because I was sure I had modified the DTB as specified... my bad!

Otherwise, I still have this "dual boot" problem before it works but I think it's due to my USB key without really knowing why?

Just to share my experience, I also had to change the power supply because the basic one didn't give a suitable voltage and I scrolled through a bunch of USB keys to find one that worked well!

Now, if I understood the other tutorials correctly, I can
update with the Linux kernel 6.12.6 by following this link: https://forum.doozan.com/read.php?2,12096 and following option 4.b?
--> Question obsolete, it's done without a hitch!

I found several solutions to set up SAMBA + RAID 1, considering my configuration, do you have any advice to give me to follow the most suitable solution?

Also, is it possible to manage my NAS via a graphical interface?



Edited 3 time(s). Last edit at 02/04/2025 11:05AM by diappollo.
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 04, 2025 02:18PM
diappollo,

> Otherwise, I still have this "dual boot" problem
> before it works but I think it's due to my USB key
> without really knowing why?

If you see it again, please post the serial boot log.

> Just to share my experience, I also had to change
> the power supply because the basic one didn't give
> a suitable voltage

The Netgear Stora has this power supply problem more often than other NAS.

> and I scrolled through a bunch
> of USB keys to find one that worked well!

That's stock u-boot behavior. Sandisk, Transcend, Kingston (in this order) brands are most reliable when booting with stock Kirkwood u-boot.

> I found several solutions to set up SAMBA + RAID
> 1, considering my configuration, do you have any
> advice to give me to follow the most suitable
> solution?
>
> Also, is it possible to manage my NAS via a
> graphical interface?

See the Wiki thread.

Quote

RAID

Making a RAID1 rootfs
Booting btrfs RAID 1 rootfs on Kirkwood boxes

Quote

Debian Desktop

XFCE desktop Pogoplug Debian
LXDE / XFCE Desktop on HP T5325 (Kirkwood) # this box has Graphics card, so some info are not applicable
Pogoplug Debian with XDM display manager

This NAS is headless, so basically you' will access the box through the web interface. People also run OMV but this box has only 128MB, so it will not work well.

Speaking of low RAM, also see tutorials below.

Quote

Memory & Swap Settings

Tuning for low RAM boxes. Also read several posts after for setups for logging to RAM.
logrotate examples
How to create and use a Swap file

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

> If you see it again, please post the serial boot log.

Here it is at every startup

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** MARVELL BOARD: RD-88F6281A LE 

U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) Marvell version: 3.4.14

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60                             
                                                                                
Soc: MV88F6281 Rev 3 (DDR2)                                                     
CPU running @ 1000Mhz L2 running @ 333Mhz                                       
SysClock = 333Mhz , TClock = 200Mhz                                             
                                                                                
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6                                   
DRAM CS[0] base 0x00000000   size  64MB                                         
DRAM CS[1] base 0x04000000   size  64MB                                         
DRAM Total size 128MB  16bit width                                              
Flash:  0 kB                                                                    
Addresses 8M - 0M are saved for the U-Boot usage.                               
Mem malloc Initialization (8M - 7M): Done                                       
NAND:256 MB                                                                     
CRC in Flash: 103096f0, Calculated CRC: 103096f0                                
                                                                                
CPU : Marvell Feroceon (Rev 1)                                                  
                                                                                
Streaming disabled                                                              
Write allocate disabled                                                         
                                                                                
Module 0 is RGMII                                                               
Module 1 is TDM                                                                 
                                                                                
USB 0: host mode                                                                
PEX 0: interface detected no Link.                                              
Net:   egiga0, egiga1 [PRIME]                                                   
Hit any key to stop autoboot:  0                                                
(Re)start USB...                                                                
USB:   scanning bus for devices... 2 USB Device(s) found                        
       scanning bus for storage devices... T Device NOT ready                   
   Request Sense returned 00 00 00                                              
0 Storage Device(s) found                                                       
** Bad partition 1 **                                                           
** Bad partition 1 **                                                           
## Booting image at 00800000 ...                                                
Bad Magic Number                                                                
stopping USB..                                                                  
                                                                                
         __  __                      _ _                                        
        |  \/  | __ _ _ ____   _____| | |                                       
        | |\/| |/ _` | '__\ \ / / _ \ | |                                       
        | |  | | (_| | |   \ V /  __/ | |                                       
        |_|  |_|\__,_|_|    \_/ \___|_|_|                                       
 _   _     ____              _                                                  
| | | |   | __ )  ___   ___ | |_                                                
| | | |___|  _ \ / _ \ / _ \| __|                                               
| |_| |___| |_) | (_) | (_) | |_                                                
 \___/    |____/ \___/ \___/ \__|                                               
 ** MARVELL BOARD: RD-88F6281A LE                                               
                                                                                
U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) Marvell version: 3.4.14                   
                                                                                
U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60                             
                                                                                
Soc: MV88F6281 Rev 3 (DDR2)                                                     
CPU running @ 1000Mhz L2 running @ 333Mhz                                       
SysClock = 333Mhz , TClock = 200Mhz                                             
                                                                                
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6                                   
DRAM CS[0] base 0x00000000   size  64MB                                         
DRAM CS[1] base 0x04000000   size  64MB                                         
DRAM Total size 128MB  16bit width                                              
Flash:  0 kB                                                                    
Addresses 8M - 0M are saved for the U-Boot usage.                               
Mem malloc Initialization (8M - 7M): Done                                       
NAND:256 MB                                                                     
CRC in Flash: 103096f0, Calculated CRC: 103096f0                                
                                                                                
CPU : Marvell Feroceon (Rev 1)                                                  
                                                                                
Streaming disabled                                                              
Write allocate disabled                                                         
                                                                                
Module 0 is RGMII                                                               
Module 1 is TDM                                                                 
                                                                                
USB 0: host mode                                                                
PEX 0: interface detected no Link.                                              
Net:   egiga0, egiga1 [PRIME]                                                   
Hit any key to stop autoboot:  0                                                
(Re)start USB...                                                                
USB:   scanning bus for devices... 2 USB Device(s) found                        
       scanning bus for storage devices... 1 Storage Device(s) found            
....                                                                            
.                                                                               
......                                                                          
............                                                                    
.........................                                                       
...................................................                             
................................................................................
................................................................................
....                                                                            
................................................................................
                                                                                
5902043 bytes read                                                              
....                                                                            
.                                                                               
......                                                                          
............                                                                    
.........................                                                       
...................................................                             
................................................................................
................................................................................
....                                                                            
................................................................................
                                                                                
5787844 bytes read                                                              
## Booting image at 00800000 ...                                                
   Image Name:   Linux-6.12.6-kirkwood-tld-1                                    
   Created:      2025-02-04  16:05:31 UTC                                       
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    5901979 Bytes =  5.6 MB                                        
   Load Address: 00008000                                                       
   Entry Point:  00008000                                                       
   Verifying Checksum ... OK                                                    
OK                                                                              
## Loading Ramdisk Image at 02100000 ...                                        
   Image Name:   initramfs-6.12.6-kirkwood-tld-1                                
   Created:      2025-02-04  16:05:49 UTC                                       
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                      
   Data Size:    5787780 Bytes =  5.5 MB                                        
   Load Address: 00000000                                                       
   Entry Point:  00000000                                                       
   Verifying Checksum ... OK                                                    
                                                                                
Starting kernel ...

> Regarding the SAMBA server: it's ok, thanks again

> for the raid ... that's another story.

I think I'll have to update U-Boot,

I will follow this wiki : https://forum.doozan.com/read.php?3,12381
So I have some questions :

1. This image compatible with a ms2000?

uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar gold
https://www.dropbox.com/s/2hrhrwxn9v0892u/uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar
md5
1b09317e896ad928104a1edce459a9f5
sha256
8f5e8b5b33e3979b05698a09a92f99cd41ed04121993058f9b2469122fd280a7

2. Is it necessary that I get the latest NAND tools or does the latest version I installed (6.12.6-kirkwood-tld-1) already have them? I guess not but I might as well make sure.

If you are running kernel that do not provide mtd-utils and uboot-tools (fw_setenv, fw_printenv, flash_erase, nandwrite), you can download the NAND and U-Boot tools binaries here in this thread.

3. The command "cat /proc/mtd" returns me:
root@debian:/#  cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00600000 00020000 "uImage"
mtd2: 0f900000 00020000 "root"

and no :

dev: size erasesize name 
mtd0: 00100000 00020000 "u-boot" 
mtd1: 00400000 00020000 "uImage" 
mtd2: 02000000 00020000 "rootfs" 
mtd3: 0db00000 00020000 "data"

the absence of the mtd3 line is a problem for the future?

I'll stop there while waiting to know if everything is ok to continue following the answers to my previous questions.

Sorry for all these questions and thanks again for the help, the idea being not to ask every 5 min...



Edited 1 time(s). Last edit at 02/05/2025 04:08AM by diappollo.
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 05, 2025 02:07PM
diappollo,

Yes, I see. This is the problem.

> USB: scanning bus for devices... 2 USB Device(s)
> found
> scanning bus for storage devices... T
> Device NOT ready
> Request Sense returned 00 00 00
>
> 0 Storage Device(s) found

This u-boot failed to spin up the USB properly the 1st time.

> USB: scanning bus for devices... 2 USB Device(s)
> found
> scanning bus for storage devices... 1
> Storage Device(s) found

And then it did after the box was reset.

> I think I'll have to update U-Boot,

Good idea! the new u-boot will solve this USB spinup problem.

> 1. This image compatible with a ms2000?
>
>
> uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar
> gold
> https://www.dropbox.com/s/2hrhrwxn9v0892u/uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar
> md5
> 1b09317e896ad928104a1edce459a9f5
> sha256
> 8f5e8b5b33e3979b05698a09a92f99cd41ed04121993058f9b2469122fd280a7
>

Yes, it is for the Stora ms2xxx series.

> 2. Is it necessary that I get the latest NAND
> tools or does the latest version I installed
> (6.12.6-kirkwood-tld-1) already have them? I guess
> not but I might as well make sure.

Actually it is better to use NAND tools in the rootfs, they are newer. I'm sure you knew this already: use the which command to see if they are available before running the installation. For example,
which nanddump
which flash_erase
which nandwrite
...

> 3. The command "cat /proc/mtd" returns me:
>
> root@debian:/#  cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 00100000 00020000 "u-boot"
> mtd1: 00600000 00020000 "uImage"
> mtd2: 0f900000 00020000 "root"
>
>
> and no :
>
>
> dev: size erasesize name 
> mtd0: 00100000 00020000 "u-boot" 
> mtd1: 00400000 00020000 "uImage" 
> mtd2: 02000000 00020000 "rootfs" 
> mtd3: 0db00000 00020000 "data"
>
>
> the absence of the mtd3 line is a problem for the
> future?

That's OK. We are not going to care about stock FW here. So only the mtd0 is relevant, it's where u-boot and the u-boot envs are. And it is already 1MB as the installation expects it to be.

> Sorry for all these questions

Not at all. It will help others when installing new u-boot the 1st time, too.

======

Remember to try UART booting with the image uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb, to see if this box can. It'll give you a rescue path should anything goes wrong during flashing (e.g. power outage...).

Quote
Wiki thread

Unbricking with Serial Console & JTAG console

How to unbrick your box using serial console with kwboot (Zyxel NAS pinouts and examples), also see UART booting with kwboot for background info.

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

> Sorry for all these questions

Not at all. It will help others when installing new u-boot the 1st time, too

Thank you for taking it that way, I try to be as exhaustive as possible in my research questions so that it can actually be useful to others! But, having done my first installation of Linux Ubuntu barely a month ago, I am really a beginner and I think that my questions are sometimes a waste of time but anyway!

Besides,
I'm sure you knew this already: use the which command to see if they are available before running the installation.

No I didn't know, I'm discovering!

To return to the project,

1 - the "dual boot" problem solved with the use of a Sandisk key

2 - the U-Boot update:
I tried to load U-boot via UART to test but it doesn't work, I systematically end up with lags... it seems that I don't launch the listening at the right time yet I tried to launch before, during... nothing works. I searched on the forum but I don't see anything that corresponds to my NAS model. any advice?
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: