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?
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 07, 2025 01:44PM
diappollo,

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

Nice!

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

Power up interrupt u-boot count down and
md ff00003c
The first word of the output will show the bootROM version. For example, this is bootROM version 1.21
ff00003c: 00000121 e3a00000 e59f222c e5921000  !.......,"......
If it is 0000011x (not 0000012x) then this box does not accept kwboot loading.

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

Yes thanks for the advice, I had indeed already checked this point, I forgot to mention it, it is version 1.21. Therefore, it should not be a problem?

Marvell>> md ff00003c                                                           
ff00003c: 00000121 e3a00000 e59f222c e5921000    !.......,"......               
ff00004c: e2013008 e3530000 1a000002 e3811008    .0....S.........               
ff00005c: e5821000 e5921000 e3a03000 ee2f3f1b    .........0...?/.               
ff00006c: e59f2208 e5921000 e3c11cff e3c110ff    ."..............               
ff00007c: e3710801 1a000003 e5921000 e3c114ff    ..q.............               
ff00008c: e3c118ff e5821000 e59f21e0 e5922000    .........!... ..               
ff00009c: e3a01902 e0112002 0a00000b e59f21d0    ..... .......!..               
ff0000ac: e5921000 e3c11080 e5821000 e59f21c4    .............!..               
ff0000bc: e5921000 e3c11080 e5821000 e59f21b8    .............!..               
ff0000cc: e5921000 e3c1120f e5821000 e10f5000    .............P..               
ff0000dc: e3c5501f e38550d3 e121f005 e3a05000    .P...P....!..P..               
ff0000ec: ee075f17 ee075f16 ee075f15 ee085f17    ._..._..._..._..               
ff0000fc: e59f2174 e3a03010 e5924000 e1c44003    t!...0...@...@..               
ff00010c: e5824000 ee3f1f11 e3811505 ee2f1f11    .@....?......./.               
ff00011c: e3a04003 ee034f10 e59f4160 ee024f10    .@...O..`A...O..               
ff00012c: e3a03601 e3a02000 e3a01d06 e59f0150    .6... ......P...
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 08, 2025 04:20AM
root@:/# kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p
kwboot version 2024.01
Detected kwbimage v0 with NAND boot signature
Patching image boot signature to UART
Sending boot message. Please reboot the target.../

1 - I ran the above command.
2 - Immediately plugged in the NAS power after running the command to start the image transfer via UART.

the 'slash' goes round in circles... but nothing


This is what I get in the best case scenario :
root@:/# kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p
kwboot version 2024.01
Detected kwbimage v0 with NAND boot signature
Patching image boot signature to UART
Sending boot message. Please reboot the target...\
Sending boot image header (512 bytes)...
 25 % [.++++++++

xmodem: Connection timed out

or sometimes the error:
xmodem: Protocol error

I'm not sure if this is the cause, but these two lines caught my attention—it seems like two different converter models are being detected. Initially, I used one (possibly the PL2303), but I had to supply it with VCC to access the console. Those first attempts didn't yield any results. So, I switched to what I believe is the CP210x, and while I'm seeing better results with it, it's still not fully working—it starts, but I encounter the error messages mentioned above.

1st hardware test :https://www.amazon.fr/dp/B00QUZY4UG?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1 + https://www.amazon.fr/dp/B07ZDK4BLH?ref=ppx_yo2ov_dt_b_fed_asin_title
2nd hardware test : https://www.amazon.fr/dp/B0BH6SFD2G?ref=ppx_yo2ov_dt_b_fed_asin_title

root@:/# dmesg | grep tty
[    0.146223] printk: legacy console [tty0] enabled
[    0.818757] tty ttyS13: hash matches
[    4.147250] usb 1-2: pl2303 converter now attached to ttyUSB0
[75521.804033] pl2303 ttyUSB0: error sending break = -19
[75521.804325] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[75526.363001] usb 1-2: cp210x converter now attached to ttyUSB0

I then tried this : https://forum.doozan.com/read.php?3,7852,7852

but...

root@:/# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p
Sending boot message. Please reboot the target...\
Sending boot image...
  0 % [++xmodem: Bad message



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

Try the later version of kwboot here:

https://forum.doozan.com/read.php?3,27280

1. When you see
Quote

0 % [++xmodem: Bad message

Recall the kwboot command and execute again.

2. Make sure the serial wires are as far away from the power cable as you can.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 08, 2025 06:23PM
Try the later version of kwboot here:

https://forum.doozan.com/read.php?3,27280

I tried with uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar and kwboot_2024.04-rc3 but no change...
what's the difference between kwboot_2024.04-rc3 and the "static" version ?

root@MINI-GURU-LINUX:/home/mini-guru/Bureau/kwboot-tool# kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p
kwboot version 2024.01
Detected kwbimage v0 with NAND boot signature
Patching image boot signature to UART
Sending boot message. Please reboot the target...-
Sending boot image header (512 bytes)...
 25 % [.++++

xmodem: Connection timed out


idem with 1. & 2.

when you say: Recall the kwboot command and execute again.

stop with CTRL+C? I'm not sure I understand correctly

and what's the difference between "./kwboot" and "kwboot" when i launch the command ?



Edited 2 time(s). Last edit at 02/08/2025 06:29PM by diappollo.
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 09, 2025 05:25AM
bodhi,

Finally! It works!

It's probably a stupid mistake, I was launching the kwoot in a terminal while another was connected to the NAS via minicom... Then, I told myself that it must disrupt the transfer/return of data, I had not understood that I would have the detail in the terminal where Kboot was launched, so I did not see how to control the smooth running of the operations.

So I got this return, should I consider it as ok and that the flashing is possible without any problems?

I have indicated the messages that question me as follows

root@:/# kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p
kwboot version 2024.01
Detected kwbimage v0 with NAND boot signature
Patching image boot signature to UART
Sending boot message. Please reboot the target...-
Sending boot image header (512 bytes)...
 25 % [....                                                                  ]
Done
Sending boot image data (500964 bytes)...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 12 % [......................................................................]
 14 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 19 % [......................................................................]
 21 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 26 % [......................................................................]
 28 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 48 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 55 % [......................................................................]
 57 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 62 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 69 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 89 % [......................................................................]
 91 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 96 % [......................................................................]
 98 % [................................................................      ]
Done
Finishing transfer
[Type Ctrl-\ + c to quit]


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

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: OK 
  Device 0: Model: WDC WD3001FFSX-68JNUN0 Firm: 81.00A81 Ser#:  WD-WCC5D0TADJ2U
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)
  Device 1: Model: ST3000DM008-2DM166 Firm: CC26 Ser#: Z505A6NT
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)

Partition Map for USB device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	15652864  	5fae555b-01	83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

Partition Map for IDE device 0  --   Partition Type: EFI

Part	Start LBA	End LBA		Name
	Attributes
	Type GUID
	Partition GUID
  1	0x00000800	0x15d509fff	""
	attrs:	0x0000000000000000
	type:	77ff5f63-e7b6-4633-acf4-1565b864c0e6
	guid:	3aed069f-29ed-184b-9481-8ede61cae6dd


Partition Map for IDE device 1  --   Partition Type: EFI

Part	Start LBA	End LBA		Name
	Attributes
	Type GUID
	Partition GUID
  1	0x00000800	0x15d509fff	""
	attrs:	0x0000000000000000
	type:	77ff5f63-e7b6-4633-acf4-1565b864c0e6
	guid:	0ee17114-385d-c344-87b8-7de76a4ce563
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 569 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5902043 bytes read in 1049 ms (5.4 MiB/s)
loading uInitrd ...
5787844 bytes read in 1135 ms (4.9 MiB/s)
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000 ...
** File not found /boot/dts/kirkwood-netgear_stora_ms2000 **
## Booting kernel from Legacy 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 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   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 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
   Loading Ramdisk to 03a7a000, end 03fff084 ... OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.12.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Thu Dec 19 14:57:30 PST 2024
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1m(uboot),4m@1m(kernel),251m@5m(rootfs) rw
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32768
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] 	Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0] 	Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.000000][    T0] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000003][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000065][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.001052][    T0] Console: colour dummy device 80x30
[    0.001162][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.001198][    T0] CPU: Testing write buffer coherency: ok
[    0.001360][    T0] pid_max: default: 32768 minimum: 301
[    0.011900][    T0] LSM: initializing lsm=capability
[    0.014352][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.014397][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.053206][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.053627][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.054310][    T1] rcu: Hierarchical SRCU implementation.
[    0.054330][    T1] rcu: 	Max phase no-delay instances is 1000.
[    0.056573][    T1] Memory: 102008K/131072K available (11264K kernel code, 1614K rwdata, 5280K rodata, 1024K init, 323K bss, 27516K reserved, 0K cma-reserved)
[    0.059024][    T1] devtmpfs: initialized
[    0.071872][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.071927][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.080995][    T1] prandom: seed boundary self test passed
[    0.086117][    T1] prandom: 100 self tests passed
[    0.086136][    T1] pinctrl core: initialized pinctrl subsystem
[    0.092653][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.093829][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.095732][    T1] audit: initializing netlink subsys (disabled)
[    0.096480][   T22] audit: type=2000 audit(0.090:1): state=initialized audit_enabled=0 res=1
[    0.098756][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.099001][    T1] cpuidle: using governor ladder
[    0.099097][    T1] cpuidle: using governor menu
[    0.099928][    T1] Feroceon L2: Enabling L2
[    0.099976][    T1] Feroceon L2: Cache support initialised.
[    0.113501][    T1] No ATAGs?
[    0.500090][    T1] raid6: int32x8  gen()    91 MB/s
[    0.840082][    T1] raid6: int32x4  gen()    88 MB/s
[    1.180085][    T1] raid6: int32x2  gen()   118 MB/s
[    1.520081][    T1] raid6: int32x1  gen()    81 MB/s
[    1.520097][    T1] raid6: using algorithm int32x2 gen() 118 MB/s
[    1.860092][    T1] raid6: .... xor() 71 MB/s, rmw enabled
[    1.860106][    T1] raid6: using intx1 recovery algorithm
[    1.862289][    T1] SCSI subsystem initialized
[    1.863357][    T1] usbcore: registered new interface driver usbfs
[    1.863484][    T1] usbcore: registered new interface driver hub
[    1.863568][    T1] usbcore: registered new device driver usb
[    1.864035][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.864047][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.864086][    T1] PTP clock support registered
[    1.870167][    T1] vgaarb: loaded
[    1.871211][    T1] clocksource: Switched to clocksource orion_clocksource
[    1.893248][    T1] VFS: Disk quotas dquot_6.6.0
[    1.893788][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.944711][    T1] NET: Registered PF_INET protocol family
[    1.945108][    T1] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    1.947495][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.947788][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.949008][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.949050][    T1] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    1.949091][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[    1.949861][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.950162][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.950206][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.951863][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.962570][    T1] RPC: Registered named UNIX socket transport module.
[    1.962587][    T1] RPC: Registered udp transport module.
[    1.962595][    T1] RPC: Registered tcp transport module.
[    1.962601][    T1] RPC: Registered tcp-with-tls transport module.
[    1.962608][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.962633][    T1] PCI: CLS 0 bytes, default 32
[    1.966484][   T11] Trying to unpack rootfs image as initramfs...
[    3.142815][   T11] Freeing initrd memory: 5656K
[    4.165880][    T1] Initialise system trusted keyrings
[    4.166012][    T1] Key type blacklist registered
[    4.166549][    T1] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    4.166648][    T1] zbud: loaded
[    4.186751][    T1] NFS: Registering the id_resolver key type
[    4.186815][    T1] Key type id_resolver registered
[    4.186826][    T1] Key type id_legacy registered
[    4.187063][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.187091][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    4.188613][    T1] fuse: init (API version 7.41)
[    4.523166][    T1] xor: measuring software checksum speed
[    4.526750][    T1]    arm4regs        :   920 MB/sec
[    4.532704][    T1]    8regs           :   552 MB/sec
[    4.536882][    T1]    32regs          :   788 MB/sec
[    4.536891][    T1] xor: using function: arm4regs (920 MB/sec)
[    4.537051][    T1] async_tx: api initialized (async)
[    4.537077][    T1] Key type asymmetric registered
[    4.537088][    T1] Asymmetric key parser 'x509' registered
[    4.599282][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    4.599878][    T1] io scheduler bfq registered
[    4.827620][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.829998][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    4.831708][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    4.929936][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    4.930403][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    4.930507][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    4.930562][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.930597][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.931778][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    4.931809][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.931835][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    4.931854][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    4.931871][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    4.932042][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 PCIe Root Port
[    4.932087][    T1] pci 0000:00:01.0: PCI bridge to [bus 00]
[    4.932109][    T1] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    4.932127][    T1] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    4.932969][    T1] /mbus@f1000000/pcie@82000000/pcie@1,0: Fixed dependency cycle(s) with /mbus@f1000000/pcie@82000000/pcie@1,0/interrupt-controller
[    4.934350][    T1] PCI: bus0: Fast back to back transfers disabled
[    4.934384][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.934732][    T1] PCI: bus1: Fast back to back transfers enabled
[    4.934759][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.934815][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    4.934845][    T1] pci_bus 0000:00: resource 4 [mem 0xf1040000-0xf1041fff]
[    4.934864][    T1] pci_bus 0000:00: resource 5 [mem 0xe0000000-0xefffffff]
[    4.934880][    T1] pci_bus 0000:00: resource 6 [io  0x1000-0xeffff]
[    4.936256][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.983462][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.988794][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.033469][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.039254][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.042622][    T1] printk: legacy console [ttyS0] disabled
[    5.043454][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, base_baud = 12500000) is a 16550A
[    5.043551][    T1] printk: legacy console [ttyS0] enabled
[    6.081632][    T1] loop: module loaded
[    6.086842][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    6.098567][    T1] scsi host0: sata_mv
[    6.104526][    T1] scsi host1: sata_mv
[    6.108908][    T1] ata1: SATA max UDMA/133 irq 29 lpm-pol 0
[    6.114673][    T1] ata2: SATA max UDMA/133 irq 29 lpm-pol 0
[    6.122116][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[    6.129229][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[    6.134682][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    6.143082][    T1] Scanning device for bad blocks
[    6.257606][    T1] Bad eraseblock 1014 at 0x000007ec0000
[    6.317776][    T1] Bad eraseblock 1521 at 0x00000be20000
[    6.380215][    T1] 3 cmdlinepart partitions found on MTD device orion_nand
[    6.387284][    T1] Creating 3 MTD partitions on "orion_nand":
[    6.393231][    T1] 0x000000000000-0x000000100000 : "uboot"
[    6.400026][    T1] 0x000000100000-0x000000500000 : "kernel"
[    6.406743][    T1] 0x000000500000-0x000010000000 : "rootfs"
[    6.416294][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    6.425030][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    6.441428][    T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove
[    6.479452][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.611279][   T59] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    6.622978][   T59] ata1.00: ATA-8: WDC WD3001FFSX-68JNUN0, 81.00A81, max UDMA/133
[    6.630616][   T59] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.642990][   T59] ata1.00: configured for UDMA/133
[    6.658779][   T35] scsi 0:0:0:0: Direct-Access     ATA      WDC WD3001FFSX-6 0A81 PQ: 0 ANSI: 5
[    6.670011][   T11] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[    6.679419][   T11] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    6.685619][   T11] sd 0:0:0:0: [sda] Write Protect is off
[    6.691381][   T11] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.701413][   T11] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[    6.773193][   T11]  sda: sda1
[    6.776956][   T11] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.161260][   T61] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.173053][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    7.182627][   T61] ata2.00: ATA-9: ST3000DM008-2DM166, CC26, max UDMA/133
[    7.189559][   T61] ata2.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    7.198008][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.204566][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.213584][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    7.225036][   T61] ata2.00: configured for UDMA/133
[    7.231259][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.238596][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[    7.248332][   T21] scsi 1:0:0:0: Direct-Access     ATA      ST3000DM008-2DM1 CC26 PQ: 0 ANSI: 5
[    7.257278][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.268024][   T11] sd 1:0:0:0: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[    7.276720][    T1] usb usb1: Product: EHCI Host Controller
[    7.282401][    T1] usb usb1: Manufacturer: Linux 6.12.6-kirkwood-tld-1 ehci_hcd
[    7.289854][    T1] usb usb1: SerialNumber: f1050000.ehci
[    7.295338][   T11] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    7.301425][   T11] sd 1:0:0:0: [sdb] Write Protect is off
[    7.307082][   T11] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.318317][    T1] hub 1-0:1.0: USB hub found
[    7.322985][    T1] hub 1-0:1.0: 1 port detected
[    7.328900][    T1] usbcore: registered new interface driver usb-storage
[    7.335993][   T11] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[    7.448151][   T11]  sdb: sdb1
[    7.451993][   T11] sd 1:0:0:0: [sdb] Attached SCSI disk
[    7.591295][    T8] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.776853][    T8] usb 1-1: New USB device found, idVendor=6557, idProduct=1021, bcdDevice= 1.00
[    7.785848][    T8] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.793783][    T8] usb 1-1: Product: USB DISK 2.0
[    7.798613][    T8] usb 1-1: Manufacturer:         
[    7.803558][    T8] usb 1-1: SerialNumber: 07038733EB370F30
[    7.810540][    T8] usb-storage 1-1:1.0: USB Mass Storage device detected
[    7.818552][    T8] scsi host2: usb-storage 1-1:1.0
[    8.401276][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[    8.407755][    T1] i2c_dev: i2c /dev entries driver
[    8.417396][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    8.424340][    T1] rtc-pcf8563 0-0051: setting system clock to 2025-02-09T11:13:26 UTC (1739099606)
[    8.436374][    T1] device-mapper: uevent: version 1.0.3
[    8.442680][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@lists.linux.dev
[    8.453266][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.460551][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.468014][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.475625][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.483592][    T1] sdhci: Secure Digital Host Controller Interface driver
[    8.490525][    T1] sdhci: Copyright(c) Pierre Ossman
[    8.495912][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.502469][    T1] drop_monitor: Initializing network drop monitor service
[    8.511633][    T1] NET: Registered PF_INET6 protocol family
[    8.520875][    T1] Segment Routing with IPv6
[    8.525340][    T1] RPL Segment Routing with IPv6
[    8.530207][    T1] In-situ OAM (IOAM) with IPv6
[    8.535069][    T1] NET: Registered PF_PACKET protocol family
[    8.541403][    T1] Key type dns_resolver registered
[    8.572086][    T1] registered taskstats version 1
[    8.577158][    T1] Loading compiled-in X.509 certificates
[    8.627722][    T1] Key type .fscrypt registered
[    8.632456][    T1] Key type fscrypt-provisioning registered
[    8.645793][    T1] Key type big_key registered
[    8.907767][    T1] Key type encrypted registered
[    8.978531][  T116] "cryptomgr_test" (116) uses obsolete ecb(arc4) skcipher
[    9.072170][    T1] clk: Disabling unused clocks
[   11.100429][   T21] scsi 2:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 6
[   11.146517][   T11] sd 2:0:0:0: [sdc] 15654912 512-byte logical blocks: (8.02 GB/7.46 GiB)
[   11.181511][   T11] sd 2:0:0:0: [sdc] Write Protect is off
[   11.191505][   T11] sd 2:0:0:0: [sdc] No Caching mode page found
[   11.197603][   T11] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[   11.303670][   T11]  sdc: sdc1
[   11.307481][   T11] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   11.335107][    T1] Freeing unused kernel image (initmem) memory: 1024K
[   11.352441][    T1] Checked W+X mappings: passed, no W+X pages found
[   11.358900][    T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.17-1~deb12u1
[   13.606975][  T161] 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.
Begin: Will now check root file system ... fsck from util-linux 2.38.1
[/sbin/fsck.ext3 (1) -- /dev/sdc1] fsck.ext3 -a -C0 /dev/sdc1 
rootfs: clean, 24892/489600 files, 326047/1956608 blocks
done.
[   24.851527][  T193] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   25.011557][  T193] EXT4-fs (sdc1): mounted filesystem 55e9e2fc-4af7-45e8-82eb-fbcdc66bca6c r/w with ordered data mode. Quota mode: none.
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...[   30.359228][  T377] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   30.728099][   T66] random: crng init done
[   30.824570][  T378] orion_wdt: Initial timeout 21 sec
[   30.917600][  T370] lm75 0-0048: supply vs not found, using dummy regulator
[   31.064898][  T370] hwmon hwmon0: temp1_input not attached to any thermal zone
[   31.091110][  T379] marvell-cesa f1030000.crypto: CESA device successfully registered
[   31.279334][  T370] lm75 0-0048: hwmon0: sensor 'lm75'
[   31.641921][  T377] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   31.691470][  T377] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   31.725025][  T377] sd 2:0:0:0: Attached scsi generic sg2 type 0
done.
Activating swap:.
[   34.681764][  T529] EXT4-fs (sdc1): re-mounted 55e9e2fc-4af7-45e8-82eb-fbcdc66bca6c r/w. Quota mode: none.
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...
[   44.274486][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/52:3b:20:9c:11:51
Sending on   LPF/eth0/52:3b:20:9c:11:51
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPOFFER of 192.168.1.100 from 192.168.1.1
DHCPREQUEST for 192.168.1.100 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.100 from 192.168.1.1
invoke-rc.d: could not determine current runlevel
Reloading Samba SMB/CIFS daemon: smbd.
bound to 192.168.1.100 -- renewal in 36784 seconds.
done.
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.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1052 (syslogd)
.
Not starting NFS kernel daemon: no exports ... (warning).
Starting system message bus: dbus.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1068 (klogd)
.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NTP server: ntpd2025-02-09T03:14:14 ntpd[1104]: INIT: ntpd ntpsec-1.2.2: Starting
2025-02-09T03:14:14 ntpd[1104]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting NTP server: ntpd.
Starting NetBIOS name server: nmbd.
Starting S.M.A.R.T. daemon: smartd
.
Starting OpenBSD Secure Shell server: sshd.
Starting Samba SMB/CIFS daemon: smbd.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 12 debian ttyS0

debian login: root
Password: 
Linux debian 6.12.6-kirkwood-tld-1 #1 PREEMPT Thu Dec 19 14:57:30 PST 2024 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Feb  9 03:03:51 PST 2025 on ttyS0
debian
192.168.1.100
NETGEAR MS2000 / MS2110 aka Stora
Linux version 6.12.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Thu Dec 19 14:57:30 PST 2024
Debian 12.9
Sun Feb 9 03:14:50 PST 2025 up 1 minute
root@debian:~#



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

Those in red are info or warning, were expected, not errors.

Yes, it is safe to flash new u-boot.

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

Ok, thank you, so I started the procedure but I (still) have problems:

1- when I run this command, I get this response?
root@debian:~# fw_printenv ethaddr                                              
Cannot read environment, using default                                          
Cannot read default environment from file

2- and with this : dmesg et grep -i 'bad'
root@debian:~# dmesg | grep -i 'bad'                                            
[    5.950608] Scanning device for bad blocks                                   
[    6.065109] Bad eraseblock 1014 at 0x000007ec0000                            
[    6.125300] Bad eraseblock 1521 at 0x00000be20000

so, if I understand correctly, I should not flash?
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 10, 2025 11:00PM
diappollo,

> root@debian:~# fw_printenv ethaddr
>
> Cannot read environment, using default
>
> Cannot read default environment from file
> [/code]

This is expected, because there is nothing in the envs area yet.

>
> 2- and with this : dmesg et grep -i 'bad'
>
> root@debian:~# dmesg | grep -i 'bad'              
>                              
> [    5.950608] Scanning device for bad blocks     
>                              
> [    6.065109] Bad eraseblock 1014 at
> 0x000007ec0000                            
> [    6.125300] Bad eraseblock 1521 at
> 0x00000be20000 
>

The bad blocks are not in the first 8 blocks, so it's OK to flash new u-boot.

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



Edited 1 time(s). Last edit at 02/10/2025 11:01PM by bodhi.
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 11, 2025 05:23AM
Hi bodhi,

I stopped at step 8. Since I am flashing with uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb, if I understand correctly, I must now flash the environment variables by using the one present here: uboot.2016.05-tld-1.environment.bodhi.tar... I imagine that at this stage, I must avoid rebooting.

Except, beginner's question, how do I retrieve the uboot.2016.05-tld-1 on dropbox other than by wget which apparently does not work? Normally, I retrieve the files on another Linux machine and then copy them to the USB key but since I cannot remove it... I find myself stupidly stuck

root@debian:~#  cat /etc/fw_env.config
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000
root@debian:~#  cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00600000 00020000 "uImage"
mtd2: 0f900000 00020000 "root"
root@debian:~# fw_printenv ethaddr
Cannot read environment, using default
Cannot read default environment from file
root@debian:~# nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
root@debian:~# fw_printenv > current_envs.txt
Cannot read environment, using default
Cannot read default environment from file
root@debian:~# blparam >  current_envs.txt
-bash: blparam: command not found
root@debian:/# cp uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar /tmp
root@debian:/# cd tmp
root@debian:/tmp# dir
uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar
root@debian:/tmp# tar -xf uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar
root@debian:/tmp# dir
uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar  uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb
root@debian:/tmp# flash_erase /dev/mtd0 0 4
Erasing 128 Kibyte @ 60000 -- 100 % complete
root@debian:/tmp# nandwrite /dev/mtd0 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
root@debian:/tmp#  cat /etc/fw_env.config
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000
root@debian:/tmp# fw_printenv > current_envs.txt
Cannot read environment, using default
Cannot read default environment from file
root@debian:/tmp#

also, I don't understand well:

Quote
bodhi
> root@debian:~# fw_printenv ethaddr
>
> Cannot read environment, using default
>
> Cannot read default environment from file
> [/code]

This is expected, because there is nothing in the envs area yet.

I have advanced in the flash process, I always have the same message which comes back when I use "fw_printenv"

finally, when I do this task: 6. Erase mtd0 with this command "flash_erase /dev/mtd0 0 4", i have the following message:

root@debian:/tmp# flash_erase /dev/mtd0 0 4
Erasing 128 Kibyte @ 60000 -- 100 % complete

is not the same as expected :

Erase Total 4 Units 
Performing Flash Erase of length 131072 at offset 0x60000 done

I guess it's nothing but given the sensitive nature of this step, I prefer to make sure.
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 12, 2025 05:11AM
Hi,

Well, following a crash, I restarted the Stora, and although step 8. was not completed, it seems to work. A priori, the latest Uboot 2017 has been loaded if I am the beginning of the return.

Bienvenue dans minicom 2.9

OPTIONS: I18n 
Port /dev/ttyUSB0, 10:49:51

Tapez CTRL-A Z pour voir l'aide concernant les touches spéciales



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

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out                                                             
88E1116 Initialized on egiga0                                                   
Hit any key to stop autoboot:  0                                                
starting USB...                                                                 
USB0:   USB EHCI 1.00                                                           
scanning bus 0 for devices... 2 USB Device(s) found                             
       scanning usb for storage devices...                                      
Use USB retry period from the environment: 15 second(s)                         
1 Storage Device(s) found                                                       
                                                                                
Reset IDE: ide_preinit failed                                                   
                                                                                
Partition Map for USB device 0  --   Partition Type: DOS                        
                                                                                
Part    Start Sector    Num Sectors     UUID            Type                    
  1     2048            120162304       00000000-01     83                      
                                                                                
## Unknown partition table type 0                                               
                                                                                
## Unknown partition table type 0                                               
                                                                                
## Unknown partition table type 0                                               
                                                                                
## Unknown partition table type 0                                               
                                                                                
## Unknown partition table type 0                                               
                                                                                
## Unknown partition table type 0                                               
loading envs from usb 0 ...                                                     
** File not found /boot/uEnv.txt **                                             
                                                                                
no IDE devices available                                                        
running scan_disk ...                                                           
Scan device usb                                                                 
device usb 0:1                                                                  
1 bytes read in 692 ms (0 Bytes/s)                                              
Found bootable drive on usb 0                                                   
loading uImage ...                                                              
EHCI timed out on TD - token=0x20008d80                                         
EHCI timed out on TD - token=0xb6008d80                                         
6235659 bytes read in 12029 ms (505.9 KiB/s)                                    
loading uInitrd ...                                                             
EHCI timed out on TD - token=0xa0008d80                                         
EHCI timed out on TD - token=0x92008d80                                         
5796477 bytes read in 11926 ms (474.6 KiB/s)                                    
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000 ...                         
** File not found /boot/dts/kirkwood-netgear_stora_ms2000 **                    
## Booting kernel from Legacy Image at 00800000 ...                             
   Image Name:   Linux-6.5.7-kirkwood-tld-1                                     
   Created:      2025-02-07  13:59:12 UTC                                       
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    6235595 Bytes = 5.9 MiB                                        
   Load Address: 00008000                                                       
   Entry Point:  00008000                                                       
   Verifying Checksum ... OK                                                    
## Loading init Ramdisk from Legacy Image at 01100000 ...                       
   Image Name:   initramfs-6.5.7-kirkwood-tld-1                                 
   Created:      2025-02-07  14:12:52 UTC                                       
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                      
   Data Size:    5796413 Bytes = 5.5 MiB                                        
   Load Address: 00000000                                                       
   Entry Point:  00000000                                                       
   Verifying Checksum ... OK                                                    
   Loading Kernel Image ... OK                                                  
   Loading Ramdisk to 03a78000, end 03fff23d ... 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: NETGEAR MS2000 / MS2110 aka Stora
[    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=roow
[    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: 102512K/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.000060][    T0] Switching to timer-based delay loop, resolution 5ns      
[    0.000793][    T0] Console: colour dummy device 80x30                       
[    0.000884][    T0] Calibrating delay loop (skipped), value calculated using)
[    0.000922][    T0] CPU: Testing write buffer coherency: ok                  
[    0.001088][    T0] pid_max: default: 32768 minimum: 301                     
[    0.011710][    T0] LSM: initializing lsm=capability,integrity               
[    0.014613][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 byt)
[    0.014659][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 409)
[    0.030129][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_a.
[    0.030607][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_tas.
[    0.031224][    T1] Setting up static identity map for 0x100000 - 0x100058   
[    0.031642][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3               
[    0.032256][    T1] rcu: Hierarchical SRCU implementation.                   
[    0.032278][    T1] rcu:     Max phase no-delay instances is 1000.           
[    0.035933][    T1] devtmpfs: initialized                                    
[    0.048495][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffs
[    0.048552][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, li)
[    0.052103][    T1] prandom: seed boundary self test passed                  
[    0.057226][    T1] prandom: 100 self tests passed                           
[    0.057246][    T1] pinctrl core: initialized pinctrl subsystem              
[    0.062835][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family      
[    0.064009][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocs
[    0.070568][    T1] audit: initializing netlink subsys (disabled)            
[    0.073298][    T1] thermal_sys: Registered thermal governor 'step_wise'     
[    0.073508][   T19] audit: type=2000 audit(0.070:1): state=initialized audit1
[    0.073573][    T1] cpuidle: using governor ladder                           
[    0.073677][    T1] cpuidle: using governor menu                             
[    0.074500][    T1] Feroceon L2: Enabling L2                                 
[    0.074548][    T1] Feroceon L2: Cache support initialised.                  
[    0.087548][    T1] No ATAGs?                                                
[    0.450080][    T1] raid6: int32x8  gen()    91 MB/s                         
[    0.790074][    T1] raid6: int32x4  gen()    88 MB/s                         
[    1.130112][    T1] raid6: int32x2  gen()   113 MB/s                         
[    1.470075][    T1] raid6: int32x1  gen()    82 MB/s                         
[    1.470091][    T1] raid6: using algorithm int32x2 gen() 113 MB/s            
[    1.810078][    T1] raid6: .... xor() 72 MB/s, rmw enabled                   
[    1.810093][    T1] raid6: using intx1 recovery algorithm                    
[    1.812172][    T1] SCSI subsystem initialized                               
[    1.813158][    T1] usbcore: registered new interface driver usbfs           
[    1.813293][    T1] usbcore: registered new interface driver hub             
[    1.813414][    T1] usbcore: registered new device driver usb                
[    1.813846][    T1] pps_core: LinuxPPS API ver. 1 registered                 
[    1.813857][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo>
[    1.813899][    T1] PTP clock support registered                             
[    1.817303][    T1] vgaarb: loaded                                           
[    1.818332][    T1] clocksource: Switched to clocksource orion_clocksource   
[    1.837952][    T1] VFS: Disk quotas dquot_6.6.0                             
[    1.848531][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096)
[    1.879702][    T1] NET: Registered PF_INET protocol family                  
[    1.880075][    T1] IP idents hash table entries: 2048 (order: 2, 16384 byte)
[    1.889865][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order)
[    1.890162][    T1] Table-perturb hash table entries: 65536 (order: 6, 26214)
[    1.890201][    T1] TCP established hash table entries: 1024 (order: 0, 4096)
[    1.890242][    T1] TCP bind hash table entries: 1024 (order: 1, 8192 bytes,)
[    1.890283][    T1] TCP: Hash tables configured (established 1024 bind 1024) 
[    1.891134][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 byte)
[    1.891429][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linea)
[    1.891474][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, )
[    1.892538][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family         
[    1.893972][    T1] RPC: Registered named UNIX socket transport module.      
[    1.893989][    T1] RPC: Registered udp transport module.                    
[    1.893998][    T1] RPC: Registered tcp transport module.                    
[    1.894004][    T1] RPC: Registered tcp-with-tls transport module.           
[    1.894011][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.894038][    T1] PCI: CLS 0 bytes, default 32                             
[    1.897652][   T32] Trying to unpack rootfs image as initramfs...            
[    3.094207][   T32] Freeing initrd memory: 5664K                             
[    4.301369][    T1] Initialise system trusted keyrings                       
[    4.301519][    T1] Key type blacklist registered                            
[    4.303319][    T1] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    4.303538][    T1] zbud: loaded                                             
[    4.326690][    T1] NFS: Registering the id_resolver key type                
[    4.326755][    T1] Key type id_resolver registered                          
[    4.326768][    T1] Key type id_legacy registered                            
[    4.327006][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registerin.
[    4.327033][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Re.
[    4.329063][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Ha.
[    4.330151][    T1] fuse: init (API version 7.38)                            
[    4.331900][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    4.332355][    T1] orangefs_init: module version upstream loaded            
[    4.332830][    T1] SGI XFS with ACLs, security attributes, realtime, scrub,d
[    4.587403][    T1] xor: measuring software checksum speed                   
[    4.598072][    T1]    arm4regs        :   927 MB/sec                        
[    4.615799][    T1]    8regs           :   556 MB/sec                        
[    4.628289][    T1]    32regs          :   789 MB/sec                        
[    4.628301][    T1] xor: using function: arm4regs (927 MB/sec)               
[    4.628322][    T1] async_tx: api initialized (async)                        
[    4.628370][    T1] Key type asymmetric registered                           
[    4.628383][    T1] Asymmetric key parser 'x509' registered                  
[    4.692423][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded)
[    4.692968][    T1] io scheduler bfq registered                              
[    4.921031][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinr
[    4.923328][    T1] gpio gpiochip0: Static allocation of GPIO base is deprec.
[    4.925055][    T1] gpio gpiochip1: Static allocation of GPIO base is deprec.
[    4.926310][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbu:
[    4.926413][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    4.926469][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    4.926505][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    4.927548][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge 0
[    4.927573][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]           
[    4.927596][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf10)
[    4.927617][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xeff]
[    4.927635][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]  
[    4.927774][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400     
[    4.930121][    T1] PCI: bus0: Fast back to back transfers disabled          
[    4.930157][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-g
[    4.930570][    T1] PCI: bus1: Fast back to back transfers enabled           
[    4.930598][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to1
[    4.930652][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]                 
[    4.931927][    T1] mv_xor f1060800.xor: Marvell shared XOR driver           
[    4.991545][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor)
[    4.997338][    T1] mv_xor f1060900.xor: Marvell shared XOR driver           
[    5.061555][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor)
[    5.067683][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled 
[    5.071137][    T1] printk: console [ttyS0] disabled                         
[    5.071965][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, basA
[    5.072049][    T1] printk: console [ttyS0] enabled                          
[    6.074508][    T1] loop: module loaded                                      
[    6.079758][    T1] sata_mv f1080000.sata: slots 32 ports 2                  
[    6.091466][    T1] scsi host0: sata_mv                                      
[    6.097300][    T1] scsi host1: sata_mv                                      
[    6.101838][    T1] ata1: SATA max UDMA/133 irq 29                           
[    6.106675][    T1] ata2: SATA max UDMA/133 irq 29                           
[    6.113311][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda 
[    6.120459][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit                     
[    6.125805][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 20484
[    6.134182][    T1] Scanning device for bad blocks                           
[    6.248413][    T1] Bad eraseblock 1014 at 0x000007ec0000                    
[    6.308460][    T1] Bad eraseblock 1521 at 0x00000be20000                    
[    6.370763][    T1] 3 cmdlinepart partitions found on MTD device orion_nand  
[    6.377815][    T1] Creating 3 MTD partitions on "orion_nand":               
[    6.383744][    T1] 0x000000000000-0x000000100000 : "uboot"                  
[    6.390504][    T1] 0x000000100000-0x000000500000 : "kernel"                 
[    6.397175][    T1] 0x000000500000-0x000010000000 : "rootfs"                 
[    6.406302][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com.
[    6.414979][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <J.
[    6.431132][    T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-pe
[    6.442718][   T53] ata1: SATA link down (SStatus 0 SControl F300)           
[    6.476510][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver versio4
[    6.790091][   T55] ata2: SATA link down (SStatus 0 SControl F300)           
[    7.239950][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MA1
[    7.250281][    T1] orion-ehci f1050000.ehci: EHCI Host Controller           
[    7.256550][    T1] orion-ehci f1050000.ehci: new USB bus registered, assign1
[    7.265314][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000      
[    7.298372][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00     
[    7.305616][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct5
[    7.314678][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seri1
[    7.322670][    T1] usb usb1: Product: EHCI Host Controller                  
[    7.328286][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_d
[    7.335661][    T1] usb usb1: SerialNumber: f1050000.ehci                    
[    7.342382][    T1] hub 1-0:1.0: USB hub found                               
[    7.346924][    T1] hub 1-0:1.0: 1 port detected                             
[    7.352928][    T1] usbcore: registered new interface driver usb-storage     
[    7.360468][    T1] mousedev: PS/2 mouse device common for all mice          
[    7.638379][   T50] usb 1-1: new high-speed USB device number 2 using orion-i
[    7.839693][   T50] usb 1-1: New USB device found, idVendor=0781, idProduct=0
[    7.848685][   T50] usb 1-1: New USB device strings: Mfr=1, Product=2, Seria3
[    7.856601][   T50] usb 1-1: Product:  SanDisk 3.2Gen1                       
[    7.861800][   T50] usb 1-1: Manufacturer:  USB                              
[    7.866363][   T50] usb 1-1: SerialNumber: 00015301053024102445              
[    8.408384][    T1] rtc-mv f1010300.rtc: internal RTC not ticking            
[    8.414851][    T1] i2c_dev: i2c /dev entries driver                         
[    8.424513][    T1] rtc-pcf8563 0-0051: registered as rtc0                   
[    8.431412][    T1] rtc-pcf8563 0-0051: setting system clock to 2025-02-12T0)
[    8.443247][    T1] device-mapper: uevent: version 1.0.3                     
[    8.449444][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialim
[    8.459586][    T1] device-mapper: multipath round-robin: version 1.2.0 loadd
[    8.466871][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    8.474370][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    8.481874][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded    
[    8.492426][    T1] ledtrig-cpu: registered to indicate activity on CPUs     
[    8.499422][    T1] hid: raw HID events driver (C) Jiri Kosina               
[    8.505822][    T1] drop_monitor: Initializing network drop monitor service  
[    8.514802][    T1] NET: Registered PF_INET6 protocol family                 
[    8.523251][    T1] Segment Routing with IPv6                                
[    8.527653][    T1] RPL Segment Routing with IPv6                            
[    8.532609][    T1] In-situ OAM (IOAM) with IPv6                             
[    8.537409][    T1] NET: Registered PF_PACKET protocol family                
[    8.543645][    T1] Key type dns_resolver registered                         
[    8.572309][    T1] registered taskstats version 1                           
[    8.577434][    T1] Loading compiled-in X.509 certificates                   
[    8.609821][    T1] Key type .fscrypt registered                             
[    8.614497][    T1] Key type fscrypt-provisioning registered                 
[    8.628254][    T1] Key type big_key registered                              
[    8.689657][    T1] Key type encrypted registered                            
[    8.826371][  T104] "cryptomgr_test" (104) uses obsolete ecb(arc4) skcipher  
[   11.585857][    T1] clk: Disabling unused clocks                             
[   11.595266][    T1] Freeing unused kernel image (initmem) memory: 1024K      
[   11.609413][    T1] Checked W+X mappings: passed, no W+X pages found         
[   11.615832][    T1] Run /init as init process                                
Loading, please wait...                                                         
Starting systemd-udevd version 252.33-1~deb12u1                                 
[   13.347400][  T149] scsi host2: uas                                          
[   13.360526][   T18] scsi 2:0:0:0: Direct-Access      USB      SanDisk 3.2Gen7
[   13.371527][  T149] usbcore: registered new interface driver uas             
[   13.386891][   T32] sd 2:0:0:0: [sda] 120164352 512-byte logical blocks: (61)
[   13.407146][   T32] sd 2:0:0:0: [sda] Write Protect is off                   
[   13.417488][   T32] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabA
[   13.437796][   T32] sd 2:0:0:0: [sda] Preferred minimum I/O size 4096 bytes  
[   13.464064][   T32]  sda: sda1                                               
[   13.471261][   T32] sd 2:0:0:0: [sda] Attached SCSI removable disk           
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.                                
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, 21062/3760128 files, 695800/15020288 blocks                      
done.                                                                           
[   25.965242][  T175] EXT4-fs (sda1): mounting ext3 file system using the ext4m
[   26.041847][  T175] EXT4-fs (sda1): mounted filesystem b86c1e87-6e48-404f-b5.
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 fake hwclock: loading system time.                                     
Current system time: 2025-02-12 09:53:42                                        
fake-hwclock saved clock information is in the past: 2025-02-07 14:40:49        
To set system time to this saved clock anyway, use "force"                      
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.931129][  T365] input: gpio-key0
[   30.374357][  T365] lm75 0-0048: supply vs not found, using dummy regulator  
[   30.479478][  T372] orion_wdt: Initial timeout 21 sec                        
[   30.502689][  T365] hwmon hwmon0: temp1_input not attached to any thermal zoe
[   30.551964][  T365] lm75 0-0048: hwmon0: sensor 'lm75'                       
[   30.788464][    C0] random: crng init done                                   
[   31.241404][  T365] sd 2:0:0:0: Attached scsi generic sg0 type 0             
[   31.370462][  T360] marvell-cesa f1030000.crypto: CESA device successfully rd
done.                                                                           
Activating swap:.                                                               
[   33.728934][  T518] EXT4-fs (sda1): re-mounted b86c1e87-6e48-404f-b576-30ba9.
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/                       
                                                                                
Listening on LPF/eth0/52:3b:20:9c:11:51                                         
Sending on   LPF/eth0/52:3b:20:9c:11:51                                         
Sending on   Socket/fallback                                                    
DHCPREQUEST for 192.168.1.99 on eth0 to 255.255.255.255 port 67                 
[   40.291529][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 d
DHCPREQUEST for 192.168.1.99 on eth0 to 255.255.255.255 port 67                 
DHCPNAK from 192.168.1.1                                                        
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5                      
DHCPOFFER of 192.168.1.100 from 192.168.1.1                                     
DHCPREQUEST for 192.168.1.100 on eth0 to 255.255.255.255 port 67                
DHCPACK of 192.168.1.100 from 192.168.1.1                                       
bound to 192.168.1.100 -- renewal in 40925 seconds.                             
done.                                                                           
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...     
1038 (syslogd)                                                                  
.                                                                               
Starting system message bus: dbus.                                              
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.                                
[   47.870587][ T1114] Adding 475132k swap on /var/swap.  Priority:-2 extents:1S
Starting dphys-swapfile swapfile setup ...                                      
computing size, want /var/swap=464MByte, checking existing: keeping it          
done.                                                                           
Starting NTP server: ntpd2025-02-12T01:54:03 ntpd[1122]: INIT: ntpd ntpsec-1.2.g
2025-02-12T01:54:03 ntpd[1122]: INIT: Command line: /usr/sbin/ntpd -p /var/run/6
.                                                                               
Starting NTP server: ntpd.                                                      
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...           
1057 (klogd)                                                                    
.                                                                               
Starting OpenBSD Secure Shell server: sshd.                                     
Running local boot scripts (/etc/rc.local)                                      
.                                                                               
                                                                                
Debian GNU/Linux 12 debian ttyS0                                                
                                                                                
debian login: root                                                              
Password:                                                                       
Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5l
                                                                                
The programs included with the Debian GNU/Linux system are free software;       
the exact distribution terms for each program are described in the              
individual files in /usr/share/doc/*/copyright.                                 
                                                                                
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent               
permitted by applicable law.                                                    
Last login: Tue Feb 11 02:07:05 PST 2025 from 192.168.1.57 on pts/0             
debian                                                                          
192.168.1.100                                                                   
NETGEAR MS2000 / MS2110 aka Stora                                               
Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.3
Debian 12.9                                                                     
Wed Feb 12 01:54:10 PST 2025 up 0 minutes                                       
root@debian:~#

Problem: I still can't get uboot.2016.05-tld-1.environment.bodhi.tar from my nas and I can't stop it... I tried with wget, curl, dropbox_ulploader... nothing works, any tips?
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 12, 2025 10:54AM
diappollo,

> Problem: I still can't get
> uboot.2016.05-tld-1.environment.bodhi.tar from my
> nas and I can't stop it... I tried with wget,
> curl, dropbox_ulploader... nothing works, any
> tips?

Try this direct dropbox link

https://www.dropbox.com/scl/fi/bau404owcfxysok/uboot.2016.05-tld-1.environment.bodhi.tar?rlkey=oda7yvw38624n4bb8v0hfudas&dl=0

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 12, 2025 12:44PM
bodhi,

Thanks but under the terminal with wget, it does not work
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 12, 2025 10:12PM
diappollo,

>
> Thanks but under the terminal with wget, it does
> not work

Check your internet connection? ping google.com
ping 8.8.8.8

If no connection
cat /etc/resolv.conf
If it is empty
cat nameserver 8.8.8.8 > /etc/resolv.conf

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

The internet connection is good, I don't understand ... I got around the problem by transferring via SFTP.
What bothers me more is to always have this message:

root@debian:/tmp# fw_printenv
Cannot read environment, using default
Cannot read default environment from file

While :

Quote
bodhi

> root@debian:~# fw_printenv ethaddr
>
> Cannot read environment, using default
>
> Cannot read default environment from file
> [/code]

This is expected, because there is nothing in the envs area yet.

However, the envs area is not empty

root@debian:/tmp# cat /etc/fw_env.config
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000

so I also have

root@debian:/tmp# fw_printenv > current_envs.txt
Cannot read environment, using default
Cannot read default environment from file

There is really something that escapes me

Sorry to bring this topic back up but with a message like that, I prefer to be on the safe side:

d. Flash u-boot envs to NAND location 0xC0000.

Be extra careful with the next 2 commands, you should see output that look like below. If there is error, then do not reboot, post your problem here so we can help.
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 13, 2025 11:30AM
ok or are the envs not in fw-env.config? In any case, since I can't get the assets via

fw_printenv mtdparts
fw_printenv ethaddr

I don't see how I'm going to be able to provide information :

fw_setenv mtdparts 'xxxxxxxxx'
fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'

Obviously something is eluding me...
Re: Installing Debian on STORA MS 2000 - Unable to boot
February 13, 2025 08:52PM
diappollo,

> What bothers me more is to always have this
> message:
>
> root@debian:/tmp# fw_printenv
> Cannot read environment, using default
> Cannot read default environment from file

> This is expected, because there is nothing in the
> envs area yet.
>
> However, the envs area is not empty
>

It is empty because you have not flashed the default envs image.

> root@debian:/tmp# cat /etc/fw_env.config
> # MTD device name Device offset Env. size
> Flash sector size Number of sectors
> /dev/mtd0 0xc0000 0x20000 0x20000

The above is the definition of the envs, i.e. where they are in flash.

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



Edited 1 time(s). Last edit at 02/13/2025 08:54PM by bodhi.
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: