Error in SX6036

Hi Guys,

I just got a SX6036 from others. The seller told me he has reset everything. This means username/pwd has been reset to admin.
But When I try to boot it, I find it can’t boot due to no space left.
The following is my full log to try to access it. But no works.
Can anyone give advice?

CPU:   AMCC PowerPC 460EX Rev. B at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz)
       Security/Kasumi support
       Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
       Internal PCI arbiter disabled
       32 kB I-Cache 32 kB D-Cache
Board: Mellanox PPC460EX Board
FDEF:  No
I2C:   ready
DRAM:   2 GB (ECC enabled, 333 MHz, CL3)
FLASH: 16 MB
NAND:  1024 MiB
PCI:   Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE1: successfully set as root-complex
        01  00  15b3  c738  0c06  00
Net:   ppc_4xx_eth0, ppc_4xx_eth1
Reading image settings from EEPROM

Mellanox MLNX-OS

Default image: 'PPC_M460EX 3.5.1006 2016-03-09 11:29:49 ppc'
Press Enter to boot this image, or 'Ctrl B' for boot menu

Booting default image in:  0 

Booting location 1: 'PPC_M460EX 3.5.1006 2016-03-09 11:29:49 ppc'

INIT: version 2.86 booting

Starting: PPC_M460EX 3.5.1006 2016-03-09 11:29:49 ppc
Starting udev: [  OK  ]
Setting clock  (utc): Tue Oct 15 19:07:14 UTC 2019 [  OK  ]
Setting hostname localhost:  [  OK  ]
Checking filesystems
Checking all file systems.
[  OK  ]
Remounting root filesystem in read-write mode:  [  OK  ]

^B
mount: /: filesystem mounted, but mount(8) failed: No space left on device
Mounting local filesystems:  mount: /config: filesystem mounted, but mount(8) failed: No space left on device
mount: /var: filesystem mounted, but mount(8) failed: No space left on device
mount: /dev/shm: filesystem mounted, but mount(8) failed: No space left on device
mount: devpts is already mounted or /dev/pts busy
mount: sysfs is already mounted or /sys busy
mount: proc is already mounted or /proc busy
[FAILED]
Running vpart script:  [  OK  ]
Applying file system skeletons: base_var base_config .
mount: /vtmp: filesystem mounted, but mount(8) failed: No space left on device
rm: cannot remove '/var/run/dhclient-mgmt1.pid': Input/output error
rm: cannot remove '/var/run/httpd.pid': Input/output error
rm: cannot remove '/var/run/klogd.pid': Input/output error
rm: cannot remove '/var/run/mDNSResponder.pid': Input/output error
rm: cannot remove '/var/run/pm.pid': Input/output error
rm: cannot remove '/var/run/sshd.pid': Input/output error
INIT: Entering runlevel: 3
Starting system services
Starting sx_low_level_if:      Starting sx_low_level_if: 
Loading i2c_mux_pca954x  - Success
Loading sx_glue_if  - Success
Loading watchdog  - Success
Loading cpld_handler  - Success
Loading mellaggra_mod  - Success
Loading switchx  - Success
[  OK  ]
Starting openibd:  IPoIB configuration for embedded system
Loading SX driver:[  OK  ]
Loading HCA driver and Access Layer:[  OK  ]
Setting up InfiniBand network interfaces:
Setting up service network . . .[  done  ]
Reloading udev:
[  OK  ]
Starting system logger: [  OK  ]
Starting kernel logger: [  OK  ]
touch: cannot touch '/var/lock/subsys/syslog': Input/output error
Starting fips_post:  [  OK  ]
Running renaming interfaces
Renaming: MAC: 24:8A:07:58:FE:9C ifindex: 2 name: mgmt0
Renaming: MAC: 24:8A:07:58:FE:9D ifindex: 3 name: mgmt1
touch: cannot touch '/var/lock/subsys/rename_ifs': Input/output error
Checking for unexpected shutdown
Detected unexpected shutdown!touch: cannot touch '/var/opt/tms/.detected_unexpected_shutdown': Input/output error
touch: setting times of '/var/opt/tms/.unexpected_shutdown': Input/output error

touch: cannot touch '/var/lock/subsys/shutdown_check': Input/output error
Probing for HRNG module
Starting rngd: [  OK  ]
Running system image: PPC_M460EX 3.5.1006 2016-03-09 11:29:49 ppc
Applying initial configuration: Oct 15 19:10:13 INFO    LOG: Initializing SX log with STDOUT as output file.
touch: cannot touch '/tmp/ee.conf.3174': No space left on device
chmod: cannot access '/tmp/ee.conf.3174': No such file or directory
/sUnable to handle kernel paging request for data at address 0x00000024
biFaulting instruction address: 0xc011f6b4
n/Oops: Kernel access of bad area, sig: 11 [#1]
PREEMPT mlnx460ex
Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables x_tables ib_ipoib(O) ib_cm(O) ib_sa(O) inet_lro ib_uverbs(O) ib_umad(O) sx_ib(O) ib_mad(O) ib_core(O) ib_addr(O) ipv6 compat(O) sx_netdev(O) sx_core(O) 8021q switchx(O) mellaggra_mod(O) cpld_handler(O) watchdog(O) sx_glue_if(O) i2c_mux_pca954x i2c_mux ehci_hcd usbcore lm87 hwmon_vid hwmon usb_common unix
CPU: 0 PID: 3223 Comm: sync Tainted: G           O 3.10.27-MELLANOXuni-m460ex PPC_M460EX
task: ef8e5a40 ti: ee96a000 task.ti: ee96a000
NIP: c011f6b4 LR: c01203c8 CTR: c011ec70
REGS: ee96bda0 TRAP: 0300   Tainted: G           O  (3.10.27-MELLANOXuni-m460ex)
MSR: 00029000 <CE,EE,ME>  CR: 24000024  XER: 20000006
DEAR: 00000024, ESR: 00000000

GPR00: c01203c8 ee96be50 ef8e5a40 eec95600 f904ee34 ee96beb8 ee96bec8 000200da 
GPR08: 00000001 00000000 ffff0001 ee96bee0 24000022 1001d7c4 00000000 00000000 
GPR16: 100fda60 100fdac0 1016be10 00000000 00000000 100e0000 00000000 100e0000 
GPR24: 1016be00 ee96a000 ee96bf2c c00d2ca4 00000001 eec95720 f904ee34 eec95600 
NIP [c011f6b4] __jffs2_flush_wbuf+0x78/0xbd4
LR [c01203c8] jffs2_flush_wbuf_pad+0x3c/0x6c
Call Trace(ef8e5a40): name=sync, state=0
[ee96be50] [00000002] 0x2 (unreliable)
[ee96bec0] [c01203c8] jffs2_flush_wbuf_pad+0x3c/0x6c
[ee96bee0] [c011eca0] jffs2_sync_fs+0x30/0x44
[ee96bef0] [c00ae694] iterate_supers+0x9c/0x110
[ee96bf20] [c00d2de4] sys_sync+0x54/0xa0
[ee96bf40] [c000ae74] ret_from_syscall+0x0/0x3c
--- Exception: c01 at 0xff58f40
    LR = 0x10000cc0
Instruction dump:
3ac00000 2f890000 41be0b70 81230058 7c9c2378 83c30114 7fde4b96 81230078 
1fde0034 7fc9f214 8123007c 7fc4f378 <80a90024> 38a50001 4bff5935 2f830000 
---[ end trace b1aa54a97408b924 ]---

aiset.sh: line 289: /tmp/ee.conf.3174: No space left on device
-E- Failed to open file /tmp/ee.conf.3174: No such file or directory/sbin/aiset.sh: line 68:  3223 Segmentation fault      sync

Xshell 7 (Build 0157).txt (36.2 KB)

Hi,

Please try the below via sftp login.

  1. sftp admin@
    The password is the admin user password
    If the connection is refused, try again until will succeed

  2. After successfully login via sftp, navigate to the below directories and delete files.
    List of directories:
    /var/opt/tms/images/
    /var/opt/tms/sysdumps/
    /var/opt/tms/snapshots/
    /var/opt/tms/temp_images/

sftp> cd /var/opt/tms/images/
sftp > ls
sftp > rm *

sftp> cd /var/opt/tms/sysdumps/
sftp > ls
sftp > rm *

sftp> cd /var/opt/tms/snapshots/
sftp > ls
sftp > rm *

sftp> cd /var/opt/tms/temp_images/
sftp > ls
sftp > rm *

sftp> cd /var/log
sftp > ls -1afhlnrSt
sftp> rm messages

  1. Reboot the switch after deleting the files