Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
conroe
Participant

Restore 1100

Hello!
My device broke, restoring from usb does not help, it shows this message:

NAND read: device 0 offset 0x100000, size 0x800000

Reading data from 0x8ff800 -- 100% complete.
8388608 bytes read: OK
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
## Booting image at 02000200 ...
Image Name: Linux-2.6.22.18
Created: 2013-04-30 16:00:36 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5736872 Bytes = 5.5 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux............................................................................................................................................................................................................................................................... done, booting the kernel.
INIT: version 2.86 booting

Booting Check Point RD-6281-A User Space...
INIT: Entering runlevel: 3
....................
/etc/init.d/rcS: line 281: /pfrm2.0/opt/fw1/bin/cp_write_syslog.sh: No such file or directory
System Started...
Warning: Bad CRC, using default environment
## Error: "cp_boot_mode" not defined
/sbin/run_getty.sh: line 15: [: -ne: unary operator expected
/sbin/run_getty.sh: line 35: [: -ne: unary operator expected
Going into maintenance mode
/sbin/run_getty.sh: line 101: 468 Segmentation fault fw_setenv mtc_mode_rst_cnt 0 >&/dev/null
Warning: Bad CRC, using default environment

MAINTENANCE_MODE login: admin


How to restore functionality?

6 Replies
PhoneBoy
Admin
Admin

If the unit is under an active support agreement you might need an RMA.
Which precise firmware version did you try to load via USB?

conroe
Participant

I tried about 10 firmwares R71, R75, R77. They only restore the busybox environment. A memory dump of a similar device can help me, I can restore the destroyed partitions. Unfortunately, there is no support, a friend gave me the device.

-bash-3.2# cd /
-bash-3.2# ls -la
drwxr-xr-x 19 105 80 0 Nov 1 20:34 .
drwxr-xr-x 19 105 80 0 Nov 1 20:34 ..
-r--r--r-- 1 105 80 8 Jan 1 1970 .bash_logout
-r--r--r-- 1 105 80 92 Jan 1 1970 .bashrc
drwxr-xr-x 2 105 80 0 Nov 1 20:34 bin
drwxr-xr-x 3 root root 0 Jan 1 1970 config_back
lrwxrwxrwx 1 105 80 6 Jan 1 1970 data -> /flash
lrwxrwxrwx 1 root root 8 Nov 1 20:34 dbg -> /tmp/dbg
drwxr-xr-x 5 5031 80 0 Nov 1 20:34 dev
drwxr-xr-x 4 105 80 0 Nov 1 20:34 etc
lrwxrwxrwx 1 root root 16 Nov 1 20:34 flash -> /pfrm2.0/config2
drwxrwxrwt 3 root root 100 Nov 1 20:34 fwtmp
drwxr-xr-x 3 root root 0 Jan 1 1970 images_back
lrwxrwxrwx 1 105 80 10 Jan 1 1970 init -> /sbin/init
drwxr-xr-x 3 105 80 0 Nov 1 20:34 lib
lrwxrwxrwx 1 105 80 11 Jan 1 1970 linuxrc -> bin/busybox
drwxr-xr-x 3 root root 0 Nov 1 20:34 logs
drwxr-xr-x 7 105 80 0 Nov 1 20:34 mnt
drwxr-xr-x 3 root root 0 Jan 1 1970 pfrm2.0
dr-xr-xr-x 40 root root 0 Jan 1 1970 proc
drwxr-xr-x 2 105 80 0 Nov 1 20:34 sbin
drwxr-xr-x 3 root root 0 Jan 1 1970 storage
drwxr-xr-x 10 root root 0 Jan 1 1970 sys
drwxrwxrwt 3 root root 80 Nov 1 20:34 tmp
drwxr-xr-x 7 105 80 0 Jan 1 1970 usr
drwxrwxrwx 4 105 80 0 Nov 1 20:34 var
-bash-3.2# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 20.0M 4.0k 20.0M 0% /tmp
tmpfs 40.0M 8.0k 40.0M 0% /fwtmp
/dev/mtdblock7 94.0M 2.3M 91.8M 2% /images_back
/dev/mtdblock8 16.0M 640.0k 15.4M 4% /config_back
/dev/mtdblock9 23.0M 792.0k 22.2M 3% /logs
/dev/mtdblock10 96.0M 2.3M 93.8M 2% /storage
/dev/mtdblock5 86.0M 2.1M 83.9M 2% /pfrm2.0
-bash-3.2# cd /pfrm2.0/
-bash-3.2# ls -la
drwxr-xr-x 3 root root 0 Jan 1 1970 .
drwxr-xr-x 19 105 80 0 Nov 1 20:34 ..
-bash-3.2# cd /storage/
-bash-3.2# ls -la
drwxr-xr-x 3 root root 0 Jan 1 1970 .
drwxr-xr-x 19 105 80 0 Nov 1 20:34 ..

0 Kudos
PhoneBoy
Admin
Admin

Actually, the firmware load should do a lot more than just restore the busybox environment, it should restore the software/partitions.
If the firmware you have access to is not at least R77.20.15, you’ll run into this issue, which has a relatively simple fix: https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solut...

If you can do a firmware restore with USB and provide the console output while this is taking place, we might be able to assist.
However, I suspect you have bad flash, in which case there’s probably not much that can be done short of an RMA.

0 Kudos
conroe
Participant

** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Aug 11 2010 - 13:38:30) Check Point version: 3.4.27

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

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 Total size 256MB 16bit width

************ Hit 'Ctrl + C' for boot menu ************

Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash: 0 kB

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]

Reading data from 0xe0000 -- 100% complete.
Verifying CRC for settings area... Done


'Ctrl + C' Detected. Proceeding to boot menu. 0


Welcome to SecurePlatform Embedded Boot Menu:

1. Start in normal Mode
2. Start in debug Mode
3. Start in maintenance Mode
4. Restore to Factory Defaults (local)
5. Install/Update Image/Boot-Loader from Network
6. Install/Update Image from USB
7. Install/Update Boot-Loader from USB
8. Restart Boot-Loader

Please enter your selection :

Unknown option - ? -

 

Welcome to SecurePlatform Embedded Boot Menu:

1. Start in normal Mode
2. Start in debug Mode
3. Start in maintenance Mode
4. Restore to Factory Defaults (local)
5. Install/Update Image/Boot-Loader from Network
6. Install/Update Image from USB
7. Install/Update Boot-Loader from USB
8. Restart Boot-Loader

Please enter your selection :

Going to Install/Update Image from USB ...


Are you sure? (y/n)

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

Trying to load image (fw1*.img) from USB flash drive using FAT FS
Found image file: fw1_dep_r75_983004120_20.img
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

78118912 bytes read
Verifying image CRC

Header CRC....... : 0xB4B783C8
Calculated CRC... : 0xB4B783C8

Image CRC verification passed

 

WARNING: BURNING OF NEW IMAGE STARTED


PLEASE DO NOT PULL OUT THE POWER CORD


Running flash_erase: nand erase $(primary_offset) $(flash_erase_size)

NAND erase: device 0 offset 0x100000, size 0x1ff00000
Erasing at 0x1ffe0000 -- 100% complete.
OK
Done.

Burning default image

NAND write: device 0 offset 0xbd00000, size 0x4a80000

Writing data at 0x1077f800 -- 100% complete.
78118912 bytes written: OK
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Done.

Burning primary image

NAND write: device 0 offset 0x100000, size 0x4a80000

Writing data at 0x4b7f800 -- 100% complete.
78118912 bytes written: OK
Done.

NAND read: device 0 offset 0xbd00000, size 0x4a80000

Reading data from 0x1077f800 -- 100% complete.
78118912 bytes read: OK
Verifying image CRC

Header CRC....... : 0xB4B783C8
Calculated CRC... : 0xB4B783C8

Default image CRC verification passed

NAND read: device 0 offset 0x100000, size 0x4a80000

Reading data from 0x4b7f800 -- 100% complete.
78118912 bytes read: OK
Verifying image CRC

Header CRC....... : 0xB4B783C8
Calculated CRC... : 0xB4B783C8

Primary image CRC verification passed

Install/Update Image from USB succeeded.

Please remove USB device.
Press any key to continue...
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
## Booting image at 02000200 ...
Image Name: Linux-2.6.22.18
Created: 2015-05-12 12:11:27 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5787304 Bytes = 5.5 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux................................................................................................................................................................................................................................................................. done, booting the kernel.
INIT: version 2.86 booting

Booting Check Point RD-6281-A User Space...
INIT: Entering runlevel: 3
....................
/etc/init.d/rcS: line 276: /pfrm2.0/opt/fw1/bin/cp_write_syslog.sh: No such file or directory
System Started...
Warning: Bad CRC, using default environment
## Error: "cp_boot_mode" not defined
/sbin/run_getty.sh: line 17: [: -ne: unary operator expected
/sbin/run_getty.sh: line 36: [: -ne: unary operator expected
Going into maintenance mode
/sbin/run_getty.sh: line 103: 475 Segmentation fault fw_setenv mtc_mode_rst_cnt 0 >&/dev/null
Warning: Bad CRC, using default environment

getty: ttyS0: can't exec /bin/expert
Warning: Bad CRC, using default environment

getty: ttyS0: can't exec /bin/expert
Warning: Bad CRC, using default environment

getty: ttyS0: can't exec /bin/expert

 

PhoneBoy
Admin
Admin

No obvious errors during the flash process.
If the device were under support, I’d say it qualifies for an RMA.
Without a support contract, and especially without access to the latest firmware (the build you used is quite old), there’s probably not a ton you can do here.

0 Kudos
conroe
Participant

A person with a similar device, who could dump file system partitions to a USB flash drive, will help a lot.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events