Welcome! Log In Create A New Profile

Advanced

Ix4-200d and kernel above 4.10.9 problem

Posted by Val532 
Ix4-200d and kernel above 4.10.9 problem
April 08, 2019 04:13PM
I all, i want to upgrade my kernel on my Iomega ix4-200d, but for the moment any kernel above 4.10.9 won't boot.
I've made some test and the only two things I think problematic might be:
A different configuration parameter after 4.10.9
Or a question of size, because 4.10.9 is 3.3MB and 4.11.3 is more than 3.7MB.

I of course used the kernels provided on the forum by bohdi.
I just used the preparation with DTB file embedded.

This is the first log i have with a non working kernel.
## Booting image at 00800000 ...
   Image Name:   Linux-4.11.3-kirkwood-tld-2
   Created:      2019-04-08  21:02:52 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3911108 Bytes =  3.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initrd.img-4.11.3-kirkwood-tld-2
   Created:      2019-04-08  21:03:16 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10127512 Bytes =  9.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

And this is the last working kernel.

## Booting image at 00800000 ...
   Image Name:   Linux-4.10.9-kirkwood-tld-1
   Created:      2019-04-08  20:26:43 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3423780 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initrd.img-4.10.9-kirkwood-tld-1
   Created:      2019-04-08  20:27:18 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10632592 Bytes = 10.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.


Re: Ix4-200d and kernel above 4.10.9 problem
April 08, 2019 04:48PM
Val532,

> I all, i want to upgrade my kernel on my Iomega
> ix4-200d, but for the moment any kernel above
> 4.10.9 won't boot.

The load address for uInitrd when booting with stock u-boot is slight different in kernel 4.10 +.

> ## Loading Ramdisk Image at 01100000 ...

The uInitrd needs to be loaded further out, at 0x02100000.

Also, if you had earlyprintk=serial in bootargs, you should have seen more output. This is the case where stock uboot does not relocate the images correctly.

If you are not sure how to adjust the u-boot envs, interrupt serial console and get the list of envs and post here:
printenv

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



Edited 1 time(s). Last edit at 04/08/2019 04:50PM by bodhi.
Re: Ix4-200d and kernel above 4.10.9 problem
April 08, 2019 05:20PM
Thank !!

i've just do the change to my env and it's work now !

earlyprintk=serial is not set is realy necesary ?

I need to find an upgraded u-boot and clear my nand, there is a lot of ecc error
[   11.456218] __nand_correct_data: uncorrectable ECC error
[   11.461930] blk_update_request: I/O error, dev mtdblock0, sector 8
[   11.468804] __nand_correct_data: uncorrectable ECC error
[   11.474336] __nand_correct_data: uncorrectable ECC error
[   11.479797] blk_update_request: I/O error, dev mtdblock0, sector 8
[   11.486014] Buffer I/O error on dev mtdblock0, logical block 1, async page read
[   11.496187] __nand_correct_data: uncorrectable ECC error
[   11.501641] __nand_correct_data: uncorrectable ECC error
[   11.508748] blk_update_request: I/O error, dev mtdblock1, sector 0
[   11.515431] __nand_correct_data: uncorrectable ECC error
[   11.520807] __nand_correct_data: uncorrectable ECC error
[   11.527457] blk_update_request: I/O error, dev mtdblock1, sector 0
[   11.533677] Buffer I/O error on dev mtdblock1, logical block 0, async page read
[   11.544203] __nand_correct_data: uncorrectable ECC error
[   11.549670] __nand_correct_data: uncorrectable ECC error
[   11.555226] blk_update_request: I/O error, dev mtdblock2, sector 0
[   11.561655] __nand_correct_data: uncorrectable ECC error
[   11.567093] __nand_correct_data: uncorrectable ECC error
[   11.573736] blk_update_request: I/O error, dev mtdblock2, sector 0
[   11.579954] Buffer I/O error on dev mtdblock2, logical block 0, async page read
[   11.588326] blk_update_request: I/O error, dev mtdblock3, sector 6016
[   11.595343] __nand_correct_data: uncorrectable ECC error
[   11.600717] __nand_correct_data: uncorrectable ECC error
[   11.606363] blk_update_request: I/O error, dev mtdblock3, sector 6016
[   11.612837] Buffer I/O error on dev mtdblock3, logical block 752, async page read
[   11.624459] __nand_correct_data: uncorrectable ECC error
[   11.629903] blk_update_request: I/O error, dev mtdblock4, sector 0
[   11.636456] __nand_correct_data: uncorrectable ECC error
[   11.641949] blk_update_request: I/O error, dev mtdblock4, sector 0
[   11.648162] Buffer I/O error on dev mtdblock4, logical block 0, async page read

and after an attempt to fw_printenv i have : Warning: Bad CRC, using default environment
[  338.500642] __nand_correct_data: uncorrectable ECC error
[  338.505989] __nand_correct_data: uncorrectable ECC error
[  338.512882] __nand_correct_data: uncorrectable ECC error
[  338.518219] __nand_correct_data: uncorrectable ECC error
[  338.524897] __nand_correct_data: uncorrectable ECC error
[  338.531009] __nand_correct_data: uncorrectable ECC error
[  338.536462] __nand_correct_data: uncorrectable ECC error
[  338.543166] __nand_correct_data: uncorrectable ECC error
[  338.548504] __nand_correct_data: uncorrectable ECC error
[  338.555323] __nand_correct_data: uncorrectable ECC error
Re: Ix4-200d and kernel above 4.10.9 problem
April 08, 2019 06:05PM
Check your MTD parts definition. If you have a copy of the stock uboot variables they should give an idea of whether yours are right.

I've not seen an updated uboot for the Iomega \ Lenovo boxes, mostly due to the lack of UART booting making testing very risky. If you find one and it works let us know!
Re: Ix4-200d and kernel above 4.10.9 problem
April 08, 2019 06:40PM
Val532,

> earlyprintk=serial is not set is realy necesary ?

It is often very useful in debugging booting problem, but not necessary otherwise.

> I need to find an upgraded u-boot

I don't think there is one. It is time consuming (for Kirkwood boxes that I don't own) to roll new u-boot, so I can only do that when I have a lot of free time.

> [338.555323] __nand_correct_data: uncorrectable ECC error

J might be right above, it might have something to do with your mtdparts and also /etc/fw_env.config file.

===

To troubleshoot this problem. Power up, interrupt serial console,

printenv
boot

Let it boot into Debian, and
cat /proc/mtd
cat /etc/fw_env.config
ls -l /dev/mtd*

And post the entire serial boot log (from power up) here.

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



Edited 1 time(s). Last edit at 04/08/2019 06:43PM by bodhi.
Re: Ix4-200d and kernel above 4.10.9 problem
April 09, 2019 02:31PM
So :

There is some log :

cat /proc/mtd
dev:    size   erasesize  name
mtd0: 000a0000 00004000 "uboot"
mtd1: 00010000 00004000 "env"
mtd2: 00228000 00004000 "zImage"
mtd3: 00300000 00004000 "initrd"
mtd4: 02000000 00004000 "flash"

cat /etc/fw_env.config
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd1 0x00000 0x4000 0x10000 1

ls -l /dev/mtd*
crw------- 1 root root 90, 0 avril  9 10:56 /dev/mtd0
crw------- 1 root root 90, 1 avril  9 10:56 /dev/mtd0ro
crw------- 1 root root 90, 2 avril  9 10:56 /dev/mtd1
crw------- 1 root root 90, 3 avril  9 10:56 /dev/mtd1ro
crw------- 1 root root 90, 4 avril  9 10:56 /dev/mtd2
crw------- 1 root root 90, 5 avril  9 10:56 /dev/mtd2ro
crw------- 1 root root 90, 6 avril  9 10:56 /dev/mtd3
crw------- 1 root root 90, 7 avril  9 10:56 /dev/mtd3ro
crw------- 1 root root 90, 8 avril  9 10:56 /dev/mtd4
crw------- 1 root root 90, 9 avril  9 10:56 /dev/mtd4ro
brw-rw---- 1 root disk 31, 0 avril  9 10:56 /dev/mtdblock0
brw-rw---- 1 root disk 31, 1 avril  9 10:56 /dev/mtdblock1
brw-rw---- 1 root disk 31, 2 avril  9 10:56 /dev/mtdblock2
brw-rw---- 1 root disk 31, 3 avril  9 10:56 /dev/mtdblock3
brw-rw---- 1 root disk 31, 4 avril  9 10:56 /dev/mtdblock4

bootdelay=1
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
run_diag=yes
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
console=console=ttyS0,115200 mtdparts=nand_mtd:0xa0000@0x0(uboot),0x00010000@0x000a0000(param),32m@0x0(flash)
uboot_start=0x0
uboot_size=0xa0000
env_start=0xa0000
env_size=0x10000
kernel_start=0xb0000
kernel_size=0x228000
initrd_size=0x300000
make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:$(uboot_size)@$(uboot_start)(uboot),$(env_size)@$(env_start)(env),$(kernel_size)@$(kernel_start)(zImage),$(initrd_size)@$(initrd_start)(initrd),32m@0x0(flash);
flash_load=run make_boot_args;nand read.e 0x2000000 $(kernel_start) $(kernel_size);nand read.e 0x12000000 $(initrd_start) $(initrd_size);bootm 0x2000000 0x12000000;
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x2000000;
ethmtu=1500
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
uboot_ver=v1.1.1
ethact=egiga0
mfgmodel=ix4
fw_ver=v1_0_11_32617887
preroot_ver=0.1.5
serial_number=5560Y01011G219001DEJ0L1
ethaddr=00:D0:B8:20:24:39
serialNo=EUC240TKA1
modelname=31962601
serialno=0,01vAwVU31uYC8YmdWkvu0xsoXI5whGe7r5q8xw2WH61xNJPqGxRgjmaHI2W8S8lXXj,EUC240TKA1,
runintime=10800
ftpserver=192.168.16.4
testfile=4NC
mfgtest_state=system_tested_ok
load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
usb_boot=usb start; run load_uimage; run load_initrd; bootm 0x800000 0x1100000
bootcmd=run usb_make_boot_args ; run usb_boot; run flash_load; reset
arcNumber=2097
usb_make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:$(uboot_size)@$(uboot_start)(uboot),$(env_size)@$(env_start)(env),$(kernel_size)@$(kernel_start)(zImage),$(initrd_size)@$(initrd_start)(initrd),32m@0x0(flash) root=LABEL=rootfs
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
initrd_start=0x2d8000
disaMvPnp=no
eth1addr=00:d0:b8:20:24:3a
enaAutoRecovery=yes
pcieTune=no
This an 3 day old printenv


And the last :
[37979.664710] reboot: Restarting system

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** uboot_ver:v1.1.1 **

 ** MARVELL BOARD: IX4-110 LE 

U-Boot 1.1.4 (Mar 10 2011 - 15:01:57) Marvell version: 3.4.18

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

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB 
DRAM CS[1] base 0x10000000   size 256MB 
DRAM Total size 512MB  16bit width
Found 0x20 i2c device
Set Power State as Always On
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:32 MB
Found ADT7473, program LED ...(led_volt=90)  OK
Found ADT7473, program thermal/Fan ...(pwm_min=0) (pwm_max=130) (therm=67) (temp_min=60)  OK

Marvell Serial ATA Adapter
Integrated Sata device found


CPU : Marvell Feroceon (Rev 1)
Found initrd at 0x2d8000

Streaming disabled 
Write allocate disabled

Module 0 is RGMII
Module 1 is RGMII

USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
SCSI:  AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x7 impl IDE mode
flags: 64bit ncq stag led pmp slum part 
scanning bus for devices...
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  1  0 
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
.
.........................
.........................
.........................
.........................
.........................
.........................
.........................
........................
.
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.
.......................
......................

4439434 bytes read
.
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
........................
.
.........................
.........................
.........................
.........................
.........................
.........................
.........................
........................
.
.........................
.........................
.........................
.........................
.........................
.........................
........................
.
.........................
.........................
.........................
.......................
..
.........................
.........................
.........................
.........................
........................
.
.................

10680684 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-4.20.6-kirkwood-tld-1
   Created:      2019-04-09   8:15:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4439370 Bytes =  4.2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initrd.img-4.20.6-kirkwood-tld-1
   Created:      2019-04-09   8:15:42 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10680620 Bytes = 10.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.20.6-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Thu Jan 31 21:41:45 PST 2019
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Iomega ix4-200d
[    0.000000] Memory policy: Data cache writeback
[    0.000000] random: get_random_bytes called from start_kernel+0x7c/0x4e8 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0xa0000@0x0(uboot),0x10000@0xa0000(env),0x228000@0xb0000(zImage),0x300000@0x2d8000(initrd),32m@0x0(flash) root=LABEL=rootfs
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 493820K/524288K available (9216K kernel code, 806K rwdata, 2912K rodata, 1024K init, 290K bss, 30468K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 807 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 291 kB)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000042] Switching to timer-based delay loop, resolution 5ns
[    0.000771] Console: colour dummy device 80x30
[    0.000818] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000842] pid_max: default: 32768 minimum: 301
[    0.001210] LSM: Security Framework initializing
[    0.001370] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001394] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002415] CPU: Testing write buffer coherency: ok
[    0.003876] Setting up static identity map for 0x100000 - 0x100058
[    0.004132] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.004377] rcu: Hierarchical SRCU implementation.
[    0.007491] devtmpfs: initialized
[    0.012319] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012347] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.012666] prandom: seed boundary self test passed
[    0.016870] prandom: 100 self tests passed
[    0.016883] pinctrl core: initialized pinctrl subsystem
[    0.018128] NET: Registered protocol family 16
[    0.018551] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.019284] audit: initializing netlink subsys (disabled)
[    0.019584] audit: type=2000 audit(0.010:1): state=initialized audit_enabled=0 res=1
[    0.020638] cpuidle: using governor ladder
[    0.020709] cpuidle: using governor menu
[    0.021148] Feroceon L2: Enabling L2
[    0.021192] Feroceon L2: Cache support initialised.
[    0.021534] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.021644] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.026549] No ATAGs?
[    0.035455] vgaarb: loaded
[    0.035794] SCSI subsystem initialized
[    0.036258] usbcore: registered new interface driver usbfs
[    0.036322] usbcore: registered new interface driver hub
[    0.036381] usbcore: registered new device driver usb
[    0.036561] pps_core: LinuxPPS API ver. 1 registered
[    0.036572] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.036599] PTP clock support registered
[    0.037539] clocksource: Switched to clocksource orion_clocksource
[    0.142114] VFS: Disk quotas dquot_6.6.0
[    0.142201] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.151765] NET: Registered protocol family 2
[    0.152564] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.152597] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.152656] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.152708] TCP: Hash tables configured (established 4096 bind 4096)
[    0.152799] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.152824] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.153043] NET: Registered protocol family 1
[    0.153663] RPC: Registered named UNIX socket transport module.
[    0.153676] RPC: Registered udp transport module.
[    0.153684] RPC: Registered tcp transport module.
[    0.153692] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.153935] Unpacking initramfs...
[    1.059959] Freeing initrd memory: 10432K
[    1.060088] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.061272] Initialise system trusted keyrings
[    1.061337] Key type blacklist registered
[    1.061556] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    1.061642] zbud: loaded
[    1.062706] NFS: Registering the id_resolver key type
[    1.062733] Key type id_resolver registered
[    1.062743] Key type id_legacy registered
[    1.062763] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.062773] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.063074] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.063304] fuse init (API version 7.28)
[    1.063681] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.063861] orangefs_init: module version upstream loaded
[    1.063874] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    2.557546] random: fast init done
[    7.172185] Key type asymmetric registered
[    7.172203] Asymmetric key parser 'x509' registered
[    7.172268] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    7.172288] io scheduler noop registered
[    7.172298] io scheduler deadline registered
[    7.172404] io scheduler cfq registered (default)
[    7.173761] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.175587] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.175609] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.175624] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.175638] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.176813] PCI: bus0: Fast back to back transfers disabled
[    7.176841] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.177472] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    7.178551] PCI: bus1: Fast back to back transfers disabled
[    7.178781] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    7.178800] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    7.178816] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    7.178838] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0000000-0xe00003ff]
[    7.178856] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1000f]
[    7.178874] pci 0000:01:00.0: BAR 0: assigned [io  0x10010-0x10017]
[    7.178892] pci 0000:01:00.0: BAR 2: assigned [io  0x10018-0x1001f]
[    7.178909] pci 0000:01:00.0: BAR 1: assigned [io  0x10020-0x10023]
[    7.178926] pci 0000:01:00.0: BAR 3: assigned [io  0x10024-0x10027]
[    7.178943] pci 0000:00:01.0: PCI bridge to [bus 01]
[    7.178957] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    7.178975] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    7.179081] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    7.179645] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.238356] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.238603] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.298342] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.298802] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.300049] printk: console [ttyS0] disabled
[    7.300118] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.101268] printk: console [ttyS0] enabled
[    8.112602] loop: module loaded
[    8.116315] sata_mv f1080000.sata: slots 32 ports 2
[    8.123898] scsi host0: sata_mv
[    8.127510] scsi host1: sata_mv
[    8.130904] ata1: SATA max UDMA/133 irq 33
[    8.135027] ata2: SATA max UDMA/133 irq 33
[    8.139932] nand: device found, Manufacturer ID: 0xad, Chip ID: 0x75
[    8.146408] nand: Hynix NAND 32MiB 3,3V 8-bit
[    8.150815] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[    8.158189] Scanning device for bad blocks
[    8.469027] ata1: SATA link down (SStatus 0 SControl F300)
[    8.507738] 5 cmdlinepart partitions found on MTD device orion_nand
[    8.514030] Creating 5 MTD partitions on "orion_nand":
[    8.519226] 0x000000000000-0x0000000a0000 : "uboot"
[    8.525340] 0x0000000a0000-0x0000000b0000 : "env"
[    8.531177] 0x0000000b0000-0x0000002d8000 : "zImage"
[    8.537387] 0x0000002d8000-0x0000005d8000 : "initrd"
[    8.543671] 0x000000000000-0x000002000000 : "flash"
[    8.552553] libphy: Fixed MDIO Bus: probed
[    8.557431] libphy: orion_mdio_bus: probed
[    8.566724] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[    8.574442] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.582262] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    8.819124] ata2: SATA link down (SStatus 0 SControl F300)
[    9.308187] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:20:24:39
[    9.316990] mv643xx_eth_port mv643xx_eth_port.1: DMA mask not set
[    9.323346] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.329992] ehci-pci: EHCI PCI platform driver
[    9.334517] ehci-orion: EHCI orion driver
[    9.338791] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.344331] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.352320] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    9.387572] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    9.393865] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[    9.402195] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.409476] usb usb1: Product: EHCI Host Controller
[    9.414382] usb usb1: Manufacturer: Linux 4.20.6-kirkwood-tld-1 ehci_hcd
[    9.421132] usb usb1: SerialNumber: f1050000.ehci
[    9.426446] hub 1-0:1.0: USB hub found
[    9.430311] hub 1-0:1.0: 1 port detected
[    9.434907] usbcore: registered new interface driver usb-storage
[    9.441365] mousedev: PS/2 mouse device common for all mice
[    9.447481] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    9.454604] i2c /dev entries driver
[    9.459699] hidraw: raw HID events driver (C) Jiri Kosina
[    9.465436] drop_monitor: Initializing network drop monitor service
[    9.472087] NET: Registered protocol family 17
[    9.476785] Key type dns_resolver registered
[    9.481860] registered taskstats version 1
[    9.485980] Loading compiled-in X.509 certificates
[    9.490896] zswap: loaded using pool lzo/zbud
[    9.526483] Key type big_key registered
[    9.545014] Key type encrypted registered
[    9.551450] rtc-mv f1010300.rtc: setting system clock to 2019-04-09 19:29:38 UTC (1554838178)
[    9.563370] Freeing unused kernel memory: 1024K
[    9.588132] Checked W+X mappings: passed, no W+X pages found
[    9.593820] Run /init as init process
Loading, please wait...
starting version 232
[    9.694642] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    9.712224] random: udevadm: uninitialized urandom read (16 bytes read)
[    9.719730] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    9.797633] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   10.004294] ahci 0000:01:00.0: Disabling your PATA port. Use the boot option 'ahci.marvell_enable=0' to avoid this.
[   10.019470] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[   10.034363] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   10.049738] usb 1-1: Product: USB2.0 Hub
[   10.058432] hub 1-1:1.0: USB hub found
[   10.065750] hub 1-1:1.0: 4 ports detected
[   10.083695] ahci 0000:01:00.0: controller can't do NCQ, turning off CAP_NCQ
[   10.115067] ahci 0000:01:00.0: controller can't do PMP, turning off CAP_PMP
[   10.148376] ahci 0000:01:00.0: masking port_map 0x7 -> 0x3
[   10.153971] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[   10.198458] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x3 impl IDE mode
[   10.206533] ahci 0000:01:00.0: flags: 64bit stag led slum part 
[   10.260614] scsi host2: ahci
[   10.281364] scsi host3: ahci
[   10.291549] scsi host4: ahci
[   10.294761] ata3: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000100 irq 38
[   10.332957] ata4: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000180 irq 38
[   10.360820] ata5: DUMMY
[   10.387630] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[   10.553080] usb 1-1.1: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
[   10.561514] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.568891] usb 1-1.1: Product: Flash Drive FIT
[   10.573445] usb 1-1.1: Manufacturer: Samsung
[   10.577783] usb 1-1.1: SerialNumber: 0333915090043606
[   10.585987] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[   10.592810] scsi host5: usb-storage 1-1.1:1.0
[   10.612200] usbcore: registered new interface driver uas
[   10.688604] ata3: SATA link down (SStatus 0 SControl 300)
[   11.029042] ata4: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... [   11.358879] raid6: int32x1  gen()    85 MB/s
[   11.527872] raid6: int32x1  xor()    60 MB/s
[   11.698041] raid6: int32x2  gen()   110 MB/s
[   11.867866] raid6: int32x2  xor()    86 MB/s
[   12.037837] raid6: int32x4  gen()   117 MB/s
[   12.042277] scsi 5:0:0:0: Direct-Access     Samsung  Flash Drive FIT  1100 PQ: 0 ANSI: 6
[   12.224147] sd 5:0:0:0: [sda] 125304832 512-byte logical blocks: (64.2 GB/59.8 GiB)
[   12.238527] sd 5:0:0:0: [sda] Write Protect is off
[   12.247709] sd 5:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.264782] raid6: int32x4  xor()    80 MB/s
[   12.438193] raid6: int32x8  gen()   123 MB/s
[   12.607896] raid6: int32x8  xor()    84 MB/s
[   12.612241] raid6: using algorithm int32x8 gen() 123 MB/s
[   12.617757] raid6: .... xor() 84 MB/s, rmw enabled
[   12.622729] raid6: using intx1 recovery algorithm
[   12.632533] xor: measuring software checksum speed
[   12.637641]  sda: sda1 sda2
[   12.646024] sd 5:0:0:0: [sda] Attached SCSI removable disk
[   12.759916]    arm4regs  :  1084.000 MB/sec
[   12.857674]    8regs     :   650.800 MB/sec
[   12.958005]    32regs    :   946.400 MB/sec
[   12.962271] xor: using function: arm4regs (1084.000 MB/sec)
[   12.982156] async_tx: api initialized (async)
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... [   13.216581] Btrfs loaded, crc32c=crc32c-generic
Scanning for Btrfs filesystems
[   13.234117] __nand_correct_data: uncorrectable ECC error
[   13.241770] __nand_correct_data: uncorrectable ECC error
[   13.247335] print_req_error: I/O error, dev mtdblock0, sector 8
[   13.253844] __nand_correct_data: uncorrectable ECC error
[   13.260117] __nand_correct_data: uncorrectable ECC error
[   13.265635] print_req_error: I/O error, dev mtdblock0, sector 8
[   13.271745] Buffer I/O error on dev mtdblock0, logical block 1, async page read
[   13.281525] __nand_correct_data: uncorrectable ECC error
[   13.286985] __nand_correct_data: uncorrectable ECC error
[   13.293148] print_req_error: I/O error, dev mtdblock1, sector 0
[   13.299371] __nand_correct_data: uncorrectable ECC error
[   13.305214] __nand_correct_data: uncorrectable ECC error
[   13.315100] print_req_error: I/O error, dev mtdblock1, sector 0
[   13.325292] Buffer I/O error on dev mtdblock1, logical block 0, async page read
[   13.335577] __nand_correct_data: uncorrectable ECC error
[   13.341169] print_req_error: I/O error, dev mtdblock2, sector 0
[   13.347233] __nand_correct_data: uncorrectable ECC error
[   13.352709] print_req_error: I/O error, dev mtdblock2, sector 0
[   13.358682] Buffer I/O error on dev mtdblock2, logical block 0, async page read
[   13.366743] __nand_correct_data: uncorrectable ECC error
[   13.372149] __nand_correct_data: uncorrectable ECC error
[   13.377579] print_req_error: I/O error, dev mtdblock3, sector 6016
[   13.383894] __nand_correct_data: uncorrectable ECC error
[   13.389300] __nand_correct_data: uncorrectable ECC error
[   13.394686] print_req_error: I/O error, dev mtdblock3, sector 6016
[   13.400920] Buffer I/O error on dev mtdblock3, logical block 752, async page read
[   13.411028] __nand_correct_data: uncorrectable ECC error
[   13.416371] __nand_correct_data: uncorrectable ECC error
[   13.421818] print_req_error: I/O error, dev mtdblock4, sector 0
[   13.427966] print_req_error: I/O error, dev mtdblock4, sector 0
[   13.433920] Buffer I/O error on dev mtdblock4, logical block 0, async page read
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/sda2] fsck.ext4 -a -C0 /dev/sda2 
rootfs: clean, 51986/3907584 files, 1062804/15611648 blocks
done.
[   13.803449] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   14.504529] NET: Registered protocol family 10
[   14.510238] Segment Routing with IPv6
[   14.561535] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   14.580282] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 9 (stretch)!

[   14.629108] systemd[1]: Set hostname to <nas-test>.
[   15.830486] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   15.868003] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[   15.908006] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   15.938115] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   15.968605] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   16.007967] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   16.048057] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Created slice System Slice.
         Starting Monitoring of LVM2 mirrors…ng dmeventd or progress polling...
[  OK  ] Created slice system-getty.slice.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting POSIX Message Queue File System...
[  OK  ] Reached target Slices.
         Mounting RPC Pipe File System...
[   16.676234] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
         Starting Journal Service...
         Starting Nameserver information manager...
         Mounting Debug File System...
         Mounting NFSD configuration filesystem...
         Starting Load Kernel Modules...
         Starting Create list of required st…ce nodes for the current kernel...
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Nameserver information manager.
[  OK  ] Started Journal Service.
[  OK  ] Started LVM2 metadata daemon.
         Starting Create Static Device Nodes in /dev...
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
         Starting udev Coldplug all Devices...
         Starting Flush Journal to Persistent Storage...
         Starting Initial Check File System Quotas...
         Starting Load/Save Random Seed...
         Starting pNFS block layout mapping daemon...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Monitoring of LVM2 mirrors,…sing dmeventd or progress polling.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started pNFS block layout mapping daemon.
[   18.051914] systemd-journald[269]: Received request to flush runtime journal from PID 1
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Mounted /tmp.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Reached target Local File Systems.
         Starting Preprocess NFS configuration...
         Starting Raise network interfaces...
         Starting Cleanup monit state file...
         Starting Cleanup PHP session files...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Initial Check File System Quotas.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Preprocess NFS configuration.
[   19.024736] random: crng init done
[   19.028166] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Started Cleanup monit state file.
[  OK  ] Started Cleanup PHP session files.
[  OK  ] Started Create Volatile Files and Directories.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target NFS client services.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on ACPID Listen Socket.
[   19.776830] __nand_correct_data: uncorrectable ECC error
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Started ACPI Events Check.
[   19.860523] __nand_correct_data: uncorrectable ECC error
[  OK  ] Reached target Paths.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[   19.907842] __nand_correct_data: uncorrectable ECC error
[   19.913180] __nand_correct_data: uncorrectable ECC error
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Name Service Cache Daemon...
[   20.025478] __nand_correct_data: uncorrectable ECC error
[  OK  ] Started ACPI event daemon.
         [   20.092978] __nand_correct_data: uncorrectable ECC error
Starting RPC Remote Quota Server...
         Starting Initialize hardware monitoring sensors...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Regular background program processing daemon.
         Starting System Logging Service...
[   20.346265] __nand_correct_data: uncorrectable ECC error
[  OK  ] Started Trigger anacron every hour.
[   20.457702] __nand_correct_data: uncorrectable ECC error
         Starting Login Service...
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Started Run anacron jobs.
[   20.602503] orion_wdt: Initial timeout 21 sec
[  OK  ] Started Self Monitoring and Reporting Technology (SMART) Daemon.
         Starting LSB: Keeps folders in RAM...
[   20.756969] adt7475 0-002e: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[  OK  ] Started D-Bus System Message Bus.
[   21.013216] marvell-cesa f1030000.crypto: CESA device successfully registered
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started System Logging Service.
[  OK  ] Started Name Service Cache Daemon.
[  OK  ] Started LSB: Keeps folders in RAM.
[  OK  ] Started Initialize hardware monitoring sensors.
[   21.331862] adt7475 0-002e: ADT7473 device, revision 0
[   21.337069] adt7475 0-002e: Optional features: fan4 pwm2
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Login Service.
         Starting fan speed regulator...
[  OK  ] Started RPC Remote Quota Server.
[   23.877684] sd 5:0:0:0: Attached scsi generic sg0 type 0
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Started ifup for eth0.
[  OK  ] Started fan speed regulator.
[   27.646528] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
         Starting Samba SMB Daemon...
[*     ] (1 of 2) A start job is running for…network interfaces (14s / 5min 8s)
[**    ] (1 of 2) A start job is running for…network interfaces (15s / 5min 8s)
[***   ] (1 of 2) A start job is running for…network interfaces (15s / 5min 8s)
[  OK  ] Started Samba SMB Daemon.
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[  OK  ] Reached target Network.
         Starting A high performance web server and a reverse proxy server...
         Starting NFS Mount Daemon...
         Starting OpenBSD Secure Shell server...
         Starting MariaDB 10.1.37 database server...
         Starting The PHP 7.0 FastCGI Process Manager...
         Starting The OpenMediaVault engine … that processes the RPC request...
         Starting Statistics collection and monitoring daemon...
         Starting The PHP FastCGI Process Manager...
[  OK  ] Reached target Network is Online.
         Starting Generate the prelogin message...
         Starting /etc/rc.local Compatibility...
         Starting Samba NMB Daemon...
[  OK  ] Started NFS Mount Daemon.
[  OK  ] Started /etc/rc.local Compatibility.
         Starting NFS server and services...
[   34.819144] NFSD: starting 45-second grace period (net f000001c)
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Starts syslogd...
         Starting LSB: service and resource monitoring daemon...
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting LSB: Start NTP daemon...
         Starting LSB: SNMP agents...
         Starting Permit User Sessions...
         Starting LSB: OpenLDAP standalone s…ight Directory Access Protocol)...
[  OK  ] Started LSB: Starts syslogd.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started The OpenMediaVault engine d…on that processes the RPC request.
[  OK  ] Started Statistics collection and monitoring daemon.
[  OK  ] Started The PHP 7.0 FastCGI Process Manager.
[  OK  ] Started LSB: service and resource monitoring daemon.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: SNMP agents.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Starting LSB: Starts klogd...
[  OK  ] Started A high performance web server and a reverse proxy server.
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started Samba NMB Daemon.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: OpenLDAP standalone se…weight Directory Access Protocol).
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started The PHP FastCGI Process Manager.
[  OK  ] Started Generate the prelogin message.
[  OK  ] Started MariaDB 10.1.37 database server.
[  OK  ] Reached target Multi-User System.
         Starting watchdog daemon...
[   44.170183] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
         Starting Beep after system start...

openmediavault 4.1.19-1 (Arrakis) nas-test ttyS0
Copyright (C) 2009-2018 by Volker Theile. All rights reserved.

To manage the system visit the openmediavault web control panel:

eth0: 192.168.200.90

By default the web control panel administrator account has the
username 'admin' and password 'openmediavault'.
It is recommended that you change the password for this account
within the web control panel or using the 'omv-firstaid' CLI
command.

For more information regarding this appliance, please visit the
web site: https://www.openmediavault.org

nas-test login:
Re: Ix4-200d and kernel above 4.10.9 problem
April 09, 2019 05:35PM
Val532,

Everything looks normal, except for this scanning error.

Begin: Running /scripts/local-premount ... [   13.216581] Btrfs loaded, crc32c=crc32c-generic
Scanning for Btrfs filesystems
[   13.234117] __nand_correct_data: uncorrectable ECC error
[   13.241770] __nand_correct_data: uncorrectable ECC error
[   13.247335] print_req_error: I/O error, dev mtdblock0, sector 8

Let's see if this error was because of the DTS defintion, or other settings.

1. Is this the fw_env.config definition from stock?

cat /etc/fw_env.config
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd1                       0x00000          0x4000          0x10000                    1

2. List the envs in Debian to see if you can

fw_printenv

3. Try to run blkid to see if the error occur

dmesg | tail
blkid
dmesg | tail

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ix4-200d and kernel above 4.10.9 problem
May 11, 2019 11:19AM
Hi bodhi,

1st, i don't know if the fw_env.config is correct, it's juste one i found on the forum.

2sd, when i tried to fw-printenv i see that :

root@nas-test:~# fw_printenv
[  294.717228] __nand_correct_data: uncorrectable ECC error
[  294.722591] __nand_correct_data: uncorrectable ECC error
[  294.731072] __nand_correct_data: uncorrectable ECC error
[  294.738142] __nand_correct_data: uncorrectable ECC error
[  294.743621] __nand_correct_data: uncorrectable ECC error
[  294.751741] __nand_correct_data: uncorrectable ECC error
[  294.758861] __nand_correct_data: uncorrectable ECC error
[  294.764217] __nand_correct_data: uncorrectable ECC error
[  294.772278] __nand_correct_data: uncorrectable ECC error
[  294.779251] __nand_correct_data: uncorrectable ECC error
[  294.784735] __nand_correct_data: uncorrectable ECC error
[  294.792675] __nand_correct_data: uncorrectable ECC error
Warning: Bad CRC, using default environment
bootargs=
bootcmd=
bootdelay=2
baudrate=115200
arch=sandbox
cpu=sandbox
board=sandbox
board_name=sandbox
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000

And 3rd this is the result of your request :

root@nas-test:~# dmesg | tail
[   54.471183] adt7475 0-002e: ADT7473 device, revision 0
[   54.499008] marvell-cesa f1030000.crypto: CESA device successfully registered
[   54.623467] adt7475 0-002e: Optional features: fan4 pwm2
[   78.949065] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   78.955282] ata3.00: link online but device misclassified
[   78.982674] ata3.00: configured for UDMA/133
[  100.712445] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  100.718721] ata4.00: link online but device misclassified
[  100.719833] ata4.00: configured for UDMA/133
[  126.387424] NFSD: starting 45-second grace period (net f000001c)
root@nas-test:~# blkid
[  155.313970] __nand_correct_data: uncorrectable ECC error
[  155.319595] __nand_correct_data: uncorrectable ECC error
[  155.325010] print_req_error: I/O error, dev mtdblock0, sector 8
[  155.334981] __nand_correct_data: uncorrectable ECC error
[  155.342151] __nand_correct_data: uncorrectable ECC error
[  155.349272] print_req_error: I/O error, dev mtdblock0, sector 8
[  155.355252] Buffer I/O error on dev mtdblock0, logical block 1, async page read
[  155.368857] __nand_correct_data: uncorrectable ECC error
[  155.374217] __nand_correct_data: uncorrectable ECC error
[  155.382402] print_req_error: I/O error, dev mtdblock1, sector 0
[  155.390753] __nand_correct_data: uncorrectable ECC error
[  155.396111] __nand_correct_data: uncorrectable ECC error
[  155.404285] print_req_error: I/O error, dev mtdblock1, sector 0
[  155.412093] Buffer I/O error on dev mtdblock1, logical block 0, async page read
[  155.424831] __nand_correct_data: uncorrectable ECC error
[  155.431941] print_req_error: I/O error, dev mtdblock2, sector 0
[  155.439793] __nand_correct_data: uncorrectable ECC error
[  155.445247] print_req_error: I/O error, dev mtdblock2, sector 0
[  155.454285] Buffer I/O error on dev mtdblock2, logical block 0, async page read
[  155.464958] __nand_correct_data: uncorrectable ECC error
[  155.472094] __nand_correct_data: uncorrectable ECC error
[  155.479174] print_req_error: I/O error, dev mtdblock3, sector 6016
[  155.485576] __nand_correct_data: uncorrectable ECC error
[  155.493648] __nand_correct_data: uncorrectable ECC error
[  155.500745] print_req_error: I/O error, dev mtdblock3, sector 6016
[  155.509070] Buffer I/O error on dev mtdblock3, logical block 752, async page read
[  155.521948] __nand_correct_data: uncorrectable ECC error
[  155.527316] __nand_correct_data: uncorrectable ECC error
[  155.535428] print_req_error: I/O error, dev mtdblock4, sector 0
[  155.543284] __nand_correct_data: uncorrectable ECC error
[  155.550304] __nand_correct_data: uncorrectable ECC error
[  155.555714] print_req_error: I/O error, dev mtdblock4, sector 0
[  155.564202] Buffer I/O error on dev mtdblock4, logical block 0, async page read
/dev/sda: UUID="2966e1c3-baf8-93b1-c517-7ef1e3277c14" UUID_SUB="c6d6cee5-f126-0752-886c-778a7f37acfd" LABEL="nas-test:Raid1To" TYPE="linux_raid_member"
/dev/md127: LABEL="Raid1To" UUID="8ec9306b-fa06-4096-b2f5-efb634809e70" TYPE="ext4"
/dev/sdb: UUID="2966e1c3-baf8-93b1-c517-7ef1e3277c14" UUID_SUB="520d357a-2a41-a799-4e61-99a385abc818" LABEL="nas-test:Raid1To" TYPE="linux_raid_member"
/dev/sdc: UUID="2966e1c3-baf8-93b1-c517-7ef1e3277c14" UUID_SUB="f225c8da-6215-f9f7-3c78-47828c066f5a" LABEL="nas-test:Raid1To" TYPE="linux_raid_member"
/dev/sdd1: LABEL="boot" UUID="5428f265-a67c-417d-ae0c-9736f05eaaaf" TYPE="ext2"
/dev/sdd2: LABEL="rootfs" UUID="f2c2fdb6-7413-4f11-897d-21120a80d4a3" TYPE="ext4"
/dev/sde: UUID="2966e1c3-baf8-93b1-c517-7ef1e3277c14" UUID_SUB="f54f5045-fd71-65e4-62cf-6c21b6c8efff" LABEL="nas-test:Raid1To" TYPE="linux_raid_member"
root@nas-test:~# dmesg | tail
[  155.493648] __nand_correct_data: uncorrectable ECC error
[  155.500745] print_req_error: I/O error, dev mtdblock3, sector 6016
[  155.509070] Buffer I/O error on dev mtdblock3, logical block 752, async page read
[  155.521948] __nand_correct_data: uncorrectable ECC error
[  155.527316] __nand_correct_data: uncorrectable ECC error
[  155.535428] print_req_error: I/O error, dev mtdblock4, sector 0
[  155.543284] __nand_correct_data: uncorrectable ECC error
[  155.550304] __nand_correct_data: uncorrectable ECC error
[  155.555714] print_req_error: I/O error, dev mtdblock4, sector 0
[  155.564202] Buffer I/O error on dev mtdblock4, logical block 0, async page read
root@nas-test:~#


Thanks
Re: Ix4-200d and kernel above 4.10.9 problem
May 11, 2019 05:10PM
Val,

The errors you are seeing point to either the lack of mtdblock device, or wrong flash definition.

However, in this kernel 4.20.6-kirkwood-tld-1, I have mtdblock enabled as in-kernel module. So that eliminated one variable.

Also you can access flash in serial console, so we just need to look at the stock u-boot booting and perhaps some other sources (ie. stock OS running) to see if we can find hints about the flash.

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