Welcome! Log In Create A New Profile

Advanced

Netgear Stora boot error with kernel 4.16.1-kirkwood-tld-1

Posted by freez72 
Netgear Stora boot error with kernel 4.16.1-kirkwood-tld-1
June 05, 2018 04:53AM
Thx linux-4.16.1-kirkwood-tld-1-bodhi

Netgear Stora 2hdd raid1 boot /dev/md0

add .config md raid1+ autodetect on boot,
remove MTD Support ( I do not use and I'm sick of messages "__nand_correct_data: uncorrectable ECC error"),
remove WiMax,WiFi Support I do not use,
compile zImage

just a few errors when loading the kernel:
[    0.000000] INITRD: 0x00800000+0x00792000 overlaps in-use memory region - disabling initrd
[    0.020998] audit: initializing netlink subsys (disabled)
[    0.023432] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.029347] No ATAGs?
[    8.072222] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove
[   10.081705] rtc-mv f1010300.rtc: internal RTC not ticking


how to overcome them?

---
My STORA works with the new kernel 4.16.1, thank You for your work.



Edited 5 time(s). Last edit at 06/05/2018 02:21PM by bodhi.
Re: Netgear Stora 2hdd raid1 boot error
June 05, 2018 02:20PM
freez72,


> [ 0.020998] audit: initializing netlink subsys
> (disabled)
> [ 0.023432] [Firmware Info]:
> /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0:
> local-mac-address is not set
> [ 0.029347] No ATAGs?
> [ 8.072222] [Firmware Warn]:
> /ocp@f1000000/mdio-bus@72004/ethernet-phy@8:
> Whitelisted compatible string. Please remove
> [ 10.081705] rtc-mv f1010300.rtc: internal RTC
> not ticking
> [/code]

The above error messages are OK.

> [ 0.000000] INITRD: 0x00800000+0x00792000
> overlaps in-use memory region - disabling initrd

For this initrd error I need to see the serial console bootlog to determine if there is problem in how you set up u-boot envs to load kernel.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora boot error with kernel 4.16.1-kirkwood-tld-1
June 06, 2018 07:16AM
__  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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: a7c62151, Calculated CRC: a7c62151

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

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode
  Device 0 @ 0 0:
Model: Hitachi HUA723020ALA640                  Firm: MK7OAA10 Ser#:       MK0273YGHV8DLC
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
[0 1 0]: Enable DMA mode
  Device 1 @ 0 1:
Model: Hitachi HDS722020ALA330                  Firm: JKAOA20N Ser#:       JK1121YAGAURZS
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)


3855275 bytes read

7948914 bytes read
## Booting image at 00200000 ...
   Image Name:   Linux-4.16.1-stora-tld-1
   Created:      2018-06-05  13:12:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3855211 Bytes =  3.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initramfs-4.16.1-stora-tld-1
   Created:      2018-06-05  13:12:29 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7948850 Bytes =  7.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

bootcmd_ide=ide reset; ext2load ide 0 0x200000 /boot/uImage; ext2load ide 0 0x800000 /boot/uInitrd
bootcmd=setenv bootargs $(console) root=/dev/md0; run bootcmd_ide; bootm 0x200000 0x800000

With this kernel, the indication of the included storage (blue diode) constantly reacts to something and blinks, it was just burning when it was loaded.

Diode hard drives work correctly!



Edited 2 time(s). Last edit at 06/06/2018 07:25AM by freez72.
Re: Netgear Stora boot error with kernel 4.16.1-kirkwood-tld-1
June 07, 2018 12:02AM
1. Try loading uInitrd at 0x1100000

bootcmd_ide=ide reset; ext2load ide 0 0x200000 /boot/uImage; ext2load ide 0 0x1100000 /boot/uInitrd
bootcmd=setenv bootargs $(console) root=/dev/md0; run bootcmd_ide; bootm 0x200000 0x1100000

2. LED

Check what state it is set right now. This could have been set to something like network connection.
cat  /sys/class/leds/status:blue:activity_led/trigger

Turn it off
echo none > /sys/class/leds/status:blue:activity_led/trigger

Set it to heartbeat
echo heartbeat > /sys/class/leds/status:blue:activity_led/trigger

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