iOmega ix4-200d - Bad Magic Numberÿ message after performing factory reset...

Post Reply
ntPap3rS
Posts: 2
Joined: Sun Jul 22, 2018 5:14 pm

iOmega ix4-200d - Bad Magic Numberÿ message after performing factory reset...

Post by ntPap3rS » Sun Jul 22, 2018 5:18 pm

I have performed the suggested procedure (as mentioned for resetting the aforementioned device three times (to ensure I didn't screw anything up) and every step seems to work fine - Putty is communicating OK and reports that all steps are being acknowledged (except the first step: setenv initrd_size x2f0000 - this just sends the cursor back to the Marvell>> prompt without reporting an error). I meticulously enter all the commands and then enter reset where the NAS is supposed to reboot, create the boot partions on the hard drive, populate them and power off. What is happening is that I get the message: Bad Magic Numberÿ and the boot process starts over again (and again etc).

Does anyone have a clue what is going on?...

I have just put a small drive (160GB) in bay 1 with no other drives hoping that when the process completes I can add a bigger drive in bay 2, initialize it, power down, put drive 2 in the drive 1 bay, add another identical drive (to drive 1) in the drive 2 bay initialize it and then configure it as a RAID1 device and move on with my life! (at least that's what I thought would be the shortest route to success...)

Any help would really be appreciated as I have two iOmega ix4-200d units that are not even useful as doorstops at the moment!

Many thanks!

Rob :oops:

ntPap3rS
Posts: 2
Joined: Sun Jul 22, 2018 5:14 pm

Re: iOmega ix4-200d - Bad Magic Numberÿ message after performing factory reset...

Post by ntPap3rS » Sun Jul 22, 2018 8:09 pm

Further to the previous post:

Upon looking at the instructions:

a. setenv initrd_size 0x2f0000
b. saveenv
c. tftpboot 0x2000000 zImage
d. tftpboot 0x12000000 initrd
e. nand erase 0x2d4000 0x2f000
f. nand erase 0xb0000 0x224000
g. nand write.e 0x12000000 0x2d4000 0x2f0000
h. nand write.e 0x2000000 0x0b0000 0x224000
i. reset

I noticed that I in steps f. and h. the erase command is for 0xb0000 0x224000 whereas in step h. the write.e command is for 0x0b0000 0x224000... ie there is an extra zero in the first address in step h. than there is in step f.???

Anyway this is what I've done what seems like a hundred time to both units... it boots up like so:

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ 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
Toggle power status
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...
Device 0: (0:0) Vendor: ATA Prod.: WDC WD20EZRX-00D Rev: 80.0
Type: Hard Disk
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
Net: egiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0

I then get the Marvell prompt and proceed with:

Marvell>> setenv initrd_size 0x2f0000
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>> tftpboot 0x2000000 zImage
egiga0 no link
Using egiga1 device
TFTP from server 10.4.50.5; our IP address is 10.4.50.165
Filename 'zImage'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################
done
Bytes transferred = 1910268 (1d25fc hex)
Marvell>> tftpboot 0x12000000 initrd
Using egiga1 device
TFTP from server 10.4.50.5; our IP address is 10.4.50.165
Filename 'initrd'.
Load address: 0x12000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################
done
Bytes transferred = 1831404 (1bf1ec hex)
Marvell>> nand erase 0x2d4000 0x2f000

NAND erase: device 0 offset 0x2d4000, size 0x2f000
Erasing at 0x300000 -- 102% complete.
OK
Marvell>> nand erase 0xb0000 0x224000

NAND erase: device 0 offset 0xb0000, size 0x224000
Erasing at 0x2d0000 -- 100% complete.
OK
Marvell>> nand write.e 0x12000000 0x2d4000 0x2f0000

NAND write: device 0 offset 0x2d4000, size 0x2f0000

Writing data at 0x5c3e00 -- 100% complete.
3080192 bytes written: OK
Marvell>> nand write.e 0x2000000 0x0b0000 0x224000

NAND write: device 0 offset 0xb0000, size 0x224000

Writing data at 0x2d3e00 -- 100% complete.
2244608 bytes written: OK
Marvell>>

I then type reset as instructed and this is what happens:

Marvell>> reset
ÿ <---- not sure why we get this character but it then reboots as below:

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ 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...
Device 0: (0:0) Vendor: ATA Prod.: WDC WD20EZRX-00D Rev: 80.0
Type: Hard Disk
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
Net: egiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0xb0000, size 0x228000

Reading data from 0x2d7e00 -- 100% complete.
2260992 bytes read: OK

NAND read: device 0 offset 0x2d8000, size 0x2f0000

Reading data from 0x2fd800 -- 5% complete.reading NAND page at offset 0x304000 failed
3080192 bytes read: ERROR
## Booting image at 02000000 ...
Image Name: Linux-2.6.22.18
Created: 2012-01-05 18:29:43 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1910204 Bytes = 1.8 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 12000000 ...
Bad Magic Numberÿ

Does anyone understand why I'm getting the NAND read errors???

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: iOmega ix4-200d - Bad Magic Numberÿ message after performing factory reset...

Post by Mijzelf » Tue Jul 24, 2018 12:07 pm

ntPap3rS wrote:
Sun Jul 22, 2018 5:18 pm
I have performed the suggested procedure
Which suggested procedure?

Can you post the output of 'printenv' ?

Post Reply