ix2-200 Debian installation
June 14, 2024 01:11PM
Hi all.
I really understand that a lot of success stories of Debian (and overall Linux installation) in the ix2-200 device.
But most of them are outdated, so I took the liberty of start this topic.

Story is: I have old (but still in very good and factory shape) ix2-200. It worked fine before one disk got damages, and I've shelved the device. Now I want to restore it, but want also to install Debian (or Arch Linux) on it.
Because of very good explained instruction of Sven Kiljan (https://kiljan.org/2021/04/22/installing-arch-linux-arm-on-an-iomega-ix2-200/) I started with installation of Arch Linux, not a Debian but stucked on the part when I need to download the the latest Arch Linux ARMv5 distro, but how Sven explains on the top of the page it's not longer supporting by Arch Linux. I guess with some difficulty I can find the latest Arch Linux distro, but once it's no more support, may be it will be not a best choice.
In this case I need to look at the side of Debian? If I understood right, they still support Kirkwood platform.
By the way, when I started with Sven tutorial, I tried first to use ssh access (I still have it because the device is still on factory firmware), and read the NAND config with command
 fw_printenv
But I received
Warning: Bad CRC, using default environment

Quote
All output
root@ix2-200-TI7Q0N:/# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
May be somebody knows why?

So I tried then to access an UART access, and here the NAND config looks correct:

baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
CASset=min
MALLOC_len=1
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
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
loadaddr=0x02000000
autoload=no
FanHysteresis=2
FanTempStart=58
bootargs_end=:::DB88FXX81:eth1:none
bootargs_root=root=/dev/sda1 rw
kernel@nand=nand read.e 2000000 900000 300000
console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x20000@0xA0000(uboot_env),0x300000@0x900000(kernel),0x1400000@0xC00000(root),0x6000000@0x2000000(root2),0x300000@0x100000(iomega_zImage),0x300000@0x540000(iomega_initrd)
ethprime=egiga1
filesize=1bda53
fileaddr=200000
netmask=255.255.255.0
ipaddr=192.168.1.11
serverip=192.168.1.100
ethaddr=00:D0:B8:16:15:77
eth1addr=00:D0:B8:16:15:77
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
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
uboot_start=0x0
uboot_size=0xc0000
env_start=0xa0000
env_size=0x20000
kernel_start=0x100000
kernel_size=0x300000
initrd_start=0x540000
initrd_size=0x300000
bootcmd=run flash_load
flash_load=run make_boot_args load1 load2 boot
load1=nand read.e 0x2000000 $(kernel_start) $(kernel_size)
load2=nand read.e 0x4500000 $(initrd_start) $(initrd_size)
boot=bootm 0x2000000 0x4500000
make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:;setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),;setenv bootargs $(bootargs)$(env_size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootargs $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs $(bootargs)128m@0x0(flash);
iomega=123

Environment size: 2134/16380 bytes

At this time I went to check any good tutorial how to install Debian including on this Forum.
Here I found a link to good tutorial: https://minaret.biz/tips/ix2/index.html, but if I understood well it's for ix2 (not ix2-200) device, and this are different devices, correct? So this tutorial is not suitable for me?
And also I saw the topics from the people who tried to flash Debian on their ix2-200 and receive the brick.
Because of all of the above I decided to start this topic with a question:

How to painless install latest possible Debian version on ix2-200 in 2024? :)



Edited 1 time(s). Last edit at 06/14/2024 01:12PM by Scarface.
Re: ix2-200 Debian installation
June 14, 2024 02:10PM
Scarface,

> At this time I went to check any good tutorial how
> to install Debian including on this Forum.
> Here I found a link to good tutorial:
> https://minaret.biz/tips/ix2/index.html,
> but if I understood well it's for ix2 (not
> ix2-200) device, and this are different
> devices, correct? So this tutorial is not suitable
> for me?

Most info are good in that totorial, some might not apply to your box.

> How to painless install latest possible Debian
> version on ix2-200 in 2024? :)


Since you have serial console, it should be easy.

Boot Kirkwood rootfs with stock u-boot
https://forum.doozan.com/read.php?2,102054,105374#msg-105374

Make sure you can boot the USB rootfs a few times before saving the envs.


=====

BTW, we have a Wiki thread here:

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

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: ix2-200 Debian installation
June 15, 2024 10:59AM
Thanks bodhi!
I prepared ext2 USD flash (ext3 as described in instruction isn't worked for me, because of old u-boot I guess).
Now I booted and saw
(initramfs) .[6n
promt.
Full log is here:
Quote


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

U-Boot 1.1.4 (Sep 8 2009 - 09:31:54) Marvell version: 3.4.14

Mapower version: 2.0 (32MB) (2009/09/08)

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

Soc: 88F6281 A0 (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 256MB
DRAM Total size 256MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:32 MB

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]
Fan lookup table initialized.

Current remote temperature: 30
Current fan speed: 0

Hit any key to stop autoboot: 3  2  0
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'

Marvell>>

Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'

Marvell>>

Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'

Marvell>>

Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'

Marvell>>

Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'

Marvell>>

Marvell>> setenv bootcmd 'usb reset; run usb_bootcmd; usb stop; reset'

Marvell>>

Marvell>> printenv

baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
CASset=min
MALLOC_len=1
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
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
loadaddr=0x02000000
autoload=no
FanHysteresis=2
FanTempStart=58
bootargs_end=:::DB88FXX81:eth1:none
bootargs_root=root=/dev/sda1 rw
kernel@nand=nand read.e 2000000 900000 300000
console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x20000@0xA0000(uboot_env),0x300000@0x900000(kernel),0x1400000@0xC00000(root),0x6000000@0x2000000(root2),0x300000@0x100000(iomega_zImage),0x300000@0x540000(iomega_initrd)
ethprime=egiga1
filesize=1bda53
fileaddr=200000
netmask=255.255.255.0
ipaddr=192.168.1.11
serverip=192.168.1.100
ethaddr=00:D0:B8:16:15:77
eth1addr=00:D0:B8:16:15:77
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
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
uboot_start=0x0
uboot_size=0xc0000
env_start=0xa0000
env_size=0x20000
kernel_start=0x100000
kernel_size=0x300000
initrd_start=0x540000
initrd_size=0x300000
flash_load=run make_boot_args load1 load2 boot
load1=nand read.e 0x2000000 $(kernel_start) $(kernel_size)
load2=nand read.e 0x4500000 $(initrd_start) $(initrd_size)
boot=bootm 0x2000000 0x4500000
make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:;setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),;setenv bootargs $(bootargs)$(env_size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootargs $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs $(bootargs)128m@0x0(flash);
iomega=123
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
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 0x2100000
usb_bootcmd=run usb_set_bootargs; run usb_boot
bootcmd=usb reset; run usb_bootcmd; usb stop; reset

Environment size: 2505/16380 bytes
Marvell>> boot

(Re)start USB...
USB: scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
..................................................................................................................................................................................................

6235900 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.......................................................................................................................................................

5791271 bytes read
## Booting image at 00800000 ...
Image Name: Linux-6.5.7-kirkwood-tld-1
Created: 2024-06-15 15:36:58 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 6235836 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 ...

[ 0.000000][ T0] Booting Linux on physical CPU 0x0
[ 0.000000][ T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000][ T0] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000][ T0] OF: fdt: Machine model: Iomega StorCenter ix2-200
[ 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-0x000000000fffffff]
[ 0.000000][ T0] Movable zone start for each node
[ 0.000000][ T0] Early memory node ranges
[ 0.000000][ T0] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[ 0.000000][ T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000][ T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000][ T0] Memory: 232344K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29800K reserved, 0K cma-reserved)
[ 0.000000][ T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000][ T0] trace event string verifier disabled
[ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000][ T0] Trampoline variant of Tasks RCU enabled.
[ 0.000000][ T0] Tracing variant of Tasks RCU enabled.
[ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000002][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.008544][ T0] Switching to timer-based delay loop, resolution 5ns
[ 0.015820][ T0] Console: colour dummy device 80x30
[ 0.021091][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[ 0.032343][ T0] CPU: Testing write buffer coherency: ok
[ 0.038068][ T0] pid_max: default: 32768 minimum: 301
[ 0.053894][ T0] LSM: initializing lsm=capability,integrity
[ 0.062642][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.070716][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.093987][ T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[ 0.102231][ T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[ 0.111110][ T1] Setting up static identity map for 0x100000 - 0x100058
[ 0.118366][ T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[ 0.124781][ T1] rcu: Hierarchical SRCU implementation.
[ 0.130369][ T1] rcu: Max phase no-delay instances is 1000.
[ 0.139800][ T1] devtmpfs: initialized
[ 0.156191][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.166908][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.177820][ T1] prandom: seed boundary self test passed
[ 0.188592][ T1] prandom: 100 self tests passed
[ 0.193392][ T1] pinctrl core: initialized pinctrl subsystem
[ 0.203853][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.212303][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.226497][ T1] audit: initializing netlink subsys (disabled)
[ 0.235048][ T1] thermal_sys: Registered thermal governor 'step_wise'
[ 0.235250][ T19] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[ 0.250485][ T1] cpuidle: using governor ladder
[ 0.255371][ T1] cpuidle: using governor menu
[ 0.260800][ T1] Feroceon L2: Enabling L2
[ 0.265109][ T1] Feroceon L2: Cache support initialised.
[ 0.275721][ T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-led-rebuild-brt-ctrl-2
[ 0.288865][ T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-led-rebuild-brt-ctrl-1
[ 0.301994][ T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-led-health-brt-ctrl-2
[ 0.315029][ T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-led-health-brt-ctrl-1
[ 0.328067][ T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-led-power-brt-ctrl-2
[ 0.341018][ T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-led-power-brt-ctrl-1
[ 0.353969][ T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-led-backup-brt-ctrl-2
[ 0.367007][ T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-led-backup-brt-ctrl-1
[ 0.380045][ T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-led-sata-brt-ctrl-2
[ 0.392909][ T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-led-sata-brt-ctrl-1
[ 0.414248][ T1] No ATAGs?
[ 0.778564][ T1] raid6: int32x8 gen() 91 MB/s
[ 1.118560][ T1] raid6: int32x4 gen() 88 MB/s
[ 1.458596][ T1] raid6: int32x2 gen() 113 MB/s
[ 1.798561][ T1] raid6: int32x1 gen() 82 MB/s
[ 1.803520][ T1] raid6: using algorithm int32x2 gen() 113 MB/s
[ 2.158564][ T1] raid6: .... xor() 71 MB/s, rmw enabled
[ 2.164041][ T1] raid6: using intx1 recovery algorithm
[ 2.180571][ T1] SCSI subsystem initialized
[ 2.189286][ T1] usbcore: registered new interface driver usbfs
[ 2.195532][ T1] usbcore: registered new interface driver hub
[ 2.218660][ T1] usbcore: registered new device driver usb
[ 2.224921][ T1] pps_core: LinuxPPS API ver. 1 registered
[ 2.238566][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 2.248398][ T1] PTP clock support registered
[ 2.281574][ T1] vgaarb: loaded
[ 2.285988][ T1] clocksource: Switched to clocksource orion_clocksource
[ 2.317221][ T1] VFS: Disk quotas dquot_6.6.0
[ 2.322341][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.384728][ T1] NET: Registered PF_INET protocol family
[ 2.396401][ T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 2.417461][ T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 2.436289][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.444741][ T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 2.476057][ T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 2.483919][ T1] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.506904][ T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 2.515086][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.536042][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.544803][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.567331][ T1] RPC: Registered named UNIX socket transport module.
[ 2.573941][ T1] RPC: Registered udp transport module.
[ 2.586019][ T1] RPC: Registered tcp transport module.
[ 2.591411][ T1] RPC: Registered tcp-with-tls transport module.
[ 2.616009][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.623147][ T1] PCI: CLS 0 bytes, default 32
[ 2.639599][ T10] Trying to unpack rootfs image as initramfs...
[ 3.820870][ T10] Freeing initrd memory: 5656K
[ 4.833558][ T1] Initialise system trusted keyrings
[ 4.840228][ T1] Key type blacklist registered
[ 4.845407][ T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 4.852865][ T1] zbud: loaded
[ 4.879235][ T1] NFS: Registering the id_resolver key type
[ 4.885022][ T1] Key type id_resolver registered
[ 4.889963][ T1] Key type id_legacy registered
[ 4.894889][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 4.902310][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 4.912316][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 4.921147][ T1] fuse: init (API version 7.38)
[ 4.927664][ T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 4.935176][ T1] orangefs_init: module version upstream loaded
[ 4.941756][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[ 5.205457][ T1] xor: measuring software checksum speed
[ 5.221618][ T1] arm4regs : 927 MB/sec
[ 5.244373][ T1] 8regs : 556 MB/sec
[ 5.261908][ T1] 32regs : 789 MB/sec
[ 5.266972][ T1] xor: using function: arm4regs (927 MB/sec)
[ 5.272800][ T1] async_tx: api initialized (async)
[ 5.277881][ T1] Key type asymmetric registered
[ 5.282660][ T1] Asymmetric key parser 'x509' registered
[ 5.351760][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 5.360525][ T1] io scheduler bfq registered
[ 5.593200][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 5.603750][ T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 5.615111][ T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 5.626726][ T1] mv_xor f1060800.xor: Marvell shared XOR driver
[ 5.699136][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 5.713003][ T1] mv_xor f1060900.xor: Marvell shared XOR driver
[ 5.779162][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 5.793469][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 5.803832][ T1] printk: console [ttyS0] disabled
[ 5.809724][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[ 5.819504][ T1] printk: console [ttyS0] enabled
[ 5.819504][ T1] printk: console [ttyS0] enabled
[ 5.829377][ T1] printk: bootconsole [earlycon0] disabled
[ 5.829377][ T1] printk: bootconsole [earlycon0] disabled
[ 5.862580][ T1] loop: module loaded
[ 5.867891][ T1] sata_mv f1080000.sata: slots 32 ports 2
[ 5.879632][ T1] scsi host0: sata_mv
[ 5.885458][ T1] scsi host1: sata_mv
[ 5.889981][ T1] ata1: SATA max UDMA/133 irq 28
[ 5.894813][ T1] ata2: SATA max UDMA/133 irq 28
[ 5.901217][ T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0x75
[ 5.908369][ T1] nand: Hynix NAND 32MiB 3,3V 8-bit
[ 5.913454][ T1] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[ 5.921560][ T1] Scanning device for bad blocks
[ 6.153418][ T1] 4 fixed-partitions partitions found on MTD device orion_nand
[ 6.160928][ T1] Creating 4 MTD partitions on "orion_nand":
[ 6.166915][ T1] 0x000000000000-0x000000100000 : "u-boot"
[ 6.173744][ T1] 0x0000000a0000-0x0000000c0000 : "env"
[ 6.180159][ T1] 0x000000100000-0x000000400000 : "uImage"
[ 6.187053][ T1] 0x000000400000-0x000002000000 : "rootfs"
[ 6.196083][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[ 6.204718][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[ 6.230477][ T52] ata1: SATA link down (SStatus 0 SControl F300)
[ 6.254530][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 6.265885][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:16:15:77
[ 6.587743][ T54] ata2: SATA link down (SStatus 0 SControl F300)
[ 7.027622][ T1] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:d0:b8:16:15:77
[ 7.037937][ T1] orion-ehci f1050000.ehci: EHCI Host Controller
[ 7.044209][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 7.053043][ T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[ 7.086029][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 7.093211][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[ 7.102309][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.110304][ T1] usb usb1: Product: EHCI Host Controller
[ 7.115919][ T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[ 7.123294][ T1] usb usb1: SerialNumber: f1050000.ehci
[ 7.130064][ T1] hub 1-0:1.0: USB hub found
[ 7.134608][ T1] hub 1-0:1.0: 1 port detected
[ 7.140639][ T1] usbcore: registered new interface driver usb-storage
[ 7.148174][ T1] mousedev: PS/2 mouse device common for all mice
[ 7.156560][ T1] rtc-mv f1010300.rtc: registered as rtc0
[ 7.162215][ T1] rtc-mv f1010300.rtc: setting system clock to 2000-02-10T05:35:21 UTC (950160921)
[ 7.171931][ T1] i2c_dev: i2c /dev entries driver
[ 7.180191][ T1] device-mapper: uevent: version 1.0.3
[ 7.186400][ T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[ 7.196561][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[ 7.203846][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[ 7.211298][ T1] device-mapper: multipath service-time: version 0.3.0 loaded
[ 7.218789][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[ 7.228582][ T1] ledtrig-cpu: registered to indicate activity on CPUs
[ 7.235476][ T1] hid: raw HID events driver (C) Jiri Kosina
[ 7.241920][ T1] drop_monitor: Initializing network drop monitor service
[ 7.250859][ T1] NET: Registered PF_INET6 protocol family
[ 7.259690][ T1] Segment Routing with IPv6
[ 7.264089][ T1] RPL Segment Routing with IPv6
[ 7.269218][ T1] In-situ OAM (IOAM) with IPv6
[ 7.274016][ T1] NET: Registered PF_PACKET protocol family
[ 7.280515][ T1] Key type dns_resolver registered
[ 7.308962][ T1] registered taskstats version 1
[ 7.313902][ T1] Loading compiled-in X.509 certificates
[ 7.346661][ T1] Key type .fscrypt registered
[ 7.351335][ T1] Key type fscrypt-provisioning registered
[ 7.365351][ T1] Key type big_key registered
[ 7.426131][ T49] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 7.434110][ T1] Key type encrypted registered
[ 7.570879][ T103] "cryptomgr_test" (103) uses obsolete ecb(arc4) skcipher
[ 7.636686][ T49] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[ 7.645667][ T49] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 7.677456][ T49] hub 1-1:1.0: USB hub found
[ 7.686044][ T49] hub 1-1:1.0: 4 ports detected
[ 8.016031][ T49] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[ 8.189172][ T49] usb 1-1.2: New USB device found, idVendor=125f, idProduct=dd1b, bcdDevice=11.00
[ 8.206014][ T49] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8.214072][ T49] usb 1-1.2: Product: ADATA USB Flash Drive
[ 8.236018][ T49] usb 1-1.2: Manufacturer: ADATA
[ 8.240852][ T49] usb 1-1.2: SerialNumber: 14830185414500BD
[ 8.257220][ T49] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 8.276816][ T49] scsi host2: usb-storage 1-1.2:1.0
[ 9.561154][ T18] scsi 2:0:0:0: Direct-Access ADATA USB Flash Drive 1100 PQ: 0 ANSI: 4
[ 9.588224][ T29] sd 2:0:0:0: [sda] 30310400 512-byte logical blocks: (15.5 GB/14.5 GiB)
[ 9.597968][ T29] sd 2:0:0:0: [sda] Write Protect is off
[ 9.616083][ T29] sd 2:0:0:0: [sda] No Caching mode page found
[ 9.622184][ T29] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 9.642991][ T29] sda: sda1
[ 9.656825][ T29] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 10.474557][ T1] clk: Disabling unused clocks
[ 10.483356][ T1] Freeing unused kernel image (initmem) memory: 1024K
[ 10.496907][ T1] Checked W+X mappings: passed, no W+X pages found
[ 10.503323][ T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.17-1~deb12u1
[ 12.345448][ T157] 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
fsck: error 2 (No such file or directory) while executing fsck.ext2 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
mount: mounting /dev/sda1 on /root failed: No such device
Failed to mount /dev/sda1 as root file system.


BusyBox v1.35.0 (Debian 1:1.35.0-4+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) .[6nd..[J
(initramfs)
(initramfs) .[6n
(initramfs)
(initramfs) .[6npwd
/
(initramfs)
(initramfs) .[6nwho
(initramfs)
(initramfs) .[6nls -l
total 8
lrwxrwxrwx 1 0 0 7 Oct 31 2023 bin -> usr/bin
drwxr-xr-x 3 0 0 0 Oct 31 2023 conf
drwxr-xr-x 10 0 0 2540 Feb 10 05:35 dev
drwxr-xr-x 5 0 0 0 Oct 31 2023 etc
-rwxr-xr-x 1 0 0 6556 Apr 10 2022 init
lrwxrwxrwx 1 0 0 7 Oct 31 2023 lib -> usr/lib
dr-xr-xr-x 116 0 0 0 Feb 10 05:35 proc
drwx------ 2 0 0 0 Oct 18 2023 root
drwxr-xr-x 4 0 0 80 Feb 10 05:35 run
lrwxrwxrwx 1 0 0 8 Oct 31 2023 sbin -> usr/sbin
drwxr-xr-x 5 0 0 0 Oct 31 2023 scripts
dr-xr-xr-x 12 0 0 0 Feb 10 05:35 sys
drwxr-xr-x 2 0 0 0 Feb 10 05:35 tmp
drwxr-xr-x 5 0 0 0 Oct 31 2023 usr
drwxr-xr-x 3 0 0 0 Feb 10 05:35 var
(initramfs)
(initramfs) .[6ncd usr
(initramfs)
(initramfs) .[6nls -l
total 0
drwxr-xr-x 2 0 0 0 Oct 31 2023 bin
drwxr-xr-x 7 0 0 0 Oct 31 2023 lib
drwxr-xr-x 2 0 0 0 Oct 31 2023 sbin
(initramfs)
(initramfs) .[6ncd ..
(initramfs)
(initramfs) .[6n[ 189.686052][ C0] random: crng init done
It's strange, why it cannot recognize /dev/sda1 ?



Edited 2 time(s). Last edit at 06/15/2024 01:52PM by Scarface.
Re: ix2-200 Debian installation
June 15, 2024 02:10PM
Scarface,

> 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
> fsck: error 2 (No such file or directory) while
> executing fsck.ext2 for /dev/sda1
> fsck exited with status code 8
> done.
> Warning: File system check failed but did not
> detect errors
> mount: mounting /dev/sda1 on /root failed: No such
> device
> Failed to mount /dev/sda1 as root file system.

> It's strange, why it cannot recognize /dev/sda1 ?

Usually it is because the rootfs was not created properly. You can use another Linux box to create the rootfs. Make sure you follow the instruction in the rootfs creation exactly. Things like being root user (not sudo) the whole time you prepare the rootfs, single Ext3 partition, and sync a few times before unmounting.

I usually do this.

# become root
su -

# assuming the USB drive was assigned /dev/sdb

- fdisk to create 1 partition
fdisk /dev/sdb
- format and label
mkfs.ext3 -L rootfs /dev/sdb1

And then extract the rootfs tarball. Sync a few times before eject or umount it.

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

Your Email:


Subject:


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