ix2-ng Bad Magic Number

StorCenter ix2-200 Network Storage
Post Reply
marksleeper
Posts: 3
Joined: Tue Feb 16, 2016 7:42 pm

ix2-ng Bad Magic Number

Post by marksleeper » Tue Feb 16, 2016 8:39 pm

Hi,

I've spent quite a bit of time on this and read any threads that even remotely touch on this subject. Please forgive me if it seems like a repost but I think this situation is different.

I bought an ix2-ng off of ebay which came with no drives (or drive sleds, which is a bummer). I have hard drives that are on the compatibility list. I also have an ix2-dl which I have had for some time and been very happy with.

Long story short, it booted (with new blank drives) to a solid red light so I hooked up the serial console and watched the output which I'll post below. The boot process always, and I mean always, ends with 'Bad Magic Number'. I have downloaded all three of the available imager .zip files from the deepwater.lenovo.com "deep wiki" site and created the USB boot device for each one. (used different USB keys as well.) However, the systems never seems to recognize that the usb stick is plugged in. The 'usb storage' command says 'no storage available, perhaps not 'usb start'ed..'. (Is there an environment command that changes this?) If I use the 'usb start' command it finds the stick, but a 'usbboot 2 0' just hangs so I'm guessing that's the wrong command.

I have taken one of the two RAID-1 drives out of my ix2-dl and inserted it in to slot-1 on the ix2-ng, same error. I have done the trick with using a 'dd' command to put the initrd and zImage files on to a clean hard disk. I have tried every combination of firmware and imager software I can think of. The boot process never seems to change and it always ends with Bad Magic Number.

I'm hoping I've missed something fairly obvious but I'm getting close to giving up.

Any help would be greatly appreciated!
Thanks,
Mark Sleeper

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** ix2-spi ** ** uboot_ver:0.0.8 **

** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:18:22) Marvell version: 3.6.1 - EMC

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

Soc: 88F6282 A1 CPU running @ 1600Mhz L2 running @ 800Mhz
SysClock = 533Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Found ADT7473, program PWM1 ... OK
[1024kB@f8000000] Flash: 1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
Device 0 @ 0 0:
Model: ST31000524NS Firm: KA0A Ser#: 9WK0HYLC
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
Device 0 @ 0 0:
Model: ST31000524NS Firm: KA0A Ser#: 9WK0HYLC
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)


IDE read: device 0 block # 2048, count 6144 ... 6144 blocks read: OK

IDE read: device 0 block # 8192, count 6144 ... 6144 blocks read: OK
## Booting image at 00040000 ...
Bad Magic Number

IDE device 1: not available

IDE read: device 0 block # 2048, count 6144 ... 6144 blocks read: OK

IDE read: device 0 block # 8192, count 6144 ... 6144 blocks read: OK
## Booting image at 00040000 ...
Bad Magic Number
Marvell>>

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

Re: ix2-ng Bad Magic Number

Post by Mijzelf » Wed Feb 17, 2016 6:16 pm

marksleeper wrote:The boot process always, and I mean always, ends with 'Bad Magic Number'. I have downloaded all three of the available imager .zip files from the deepwater.lenovo.com "deep wiki" site and created the USB boot device for each one. (used different USB keys as well.) However, the systems never seems to recognize that the usb stick is plugged in.
It can't. The 'USB recovery' is performed by the kernel and initramfs which are loaded from harddisk. So if the system fails in loading the kernel (which is ultimately your problem) it cannot use an imager stick.
I have taken one of the two RAID-1 drives out of my ix2-dl and inserted it in to slot-1 on the ix2-ng, same error.
That is bad. I *think* the box should be able to boot from it, but I hope I'm mistaken.
I have done the trick with using a 'dd' command to put the initrd and zImage files on to a clean hard disk.
Did you follow this directions?

marksleeper
Posts: 3
Joined: Tue Feb 16, 2016 7:42 pm

Re: ix2-ng Bad Magic Number

Post by marksleeper » Thu Feb 18, 2016 2:53 am

Thanks for the reply.

I'm pretty sure I have tried this but will go through the steps again.

marksleeper
Posts: 3
Joined: Tue Feb 16, 2016 7:42 pm

Re: ix2-ng Bad Magic Number

Post by marksleeper » Sat Feb 20, 2016 9:21 pm

Horay! It's working! And... I figured out what I was doing wrong with all of the other tries. For some reason I was dd'ing to /dev/sdx1, not /dev/sdx. :oops:

Going back and looking at the other posts on this issue, I have no idea where I got this idea because all of them reference just /dev/sdx. I'm guessing it comes from my many years as a linux admin and never doing anything with a base disk other than fdisk it. Oh well, live and learn.

Thanks so much for taking the time to help me!
Mark

Post Reply