Help no web GUI after recovery

DOWNLOAD THE LATEST FIRMWARE HERE
yobbo
Member
 
Posts: 2
Joined: Mon Oct 17, 2016 1:33 am
Has thanked: 1 time
Been thanked: 0 time

Help no web GUI after recovery

Tue Oct 18, 2016 5:26 am

Hi all,
to start with i was running v1.4.2 on my WS-12-250-DC so tried to upgrade to 1.4.4 something went wrong lost power so had to do a firmware recovery to 1.4.4 after that i can get the login page up but after login nothing displays in all web browsers :( so did the recovery again for 1.4.5rc4 same thing tried rebooting etc still only get the login screen what am i doing wrong if anyone could please help out would be great.

admin@Netonix_Switch:/# cd /tmp
admin@Netonix_Switch:/tmp# rx recovery.tar.gz
CCCCCadmin@Netonix_Switch:/tmp#
admin@Netonix_Switch:/tmp# tar -xzf recovery.tar.gz
admin@Netonix_Switch:/tmp# tar -xzf recovery.tar.gz
admin@Netonix_Switch:/tmp# rx wispswitch-1.4.5rc4.bin
CCadmin@Netonix_Switch:/tmp# tar -xjf wispswitch-1.4.5rc4.bin
te kernel.img linux
./mtd -q write fisdir "FIS directory"
./mtd -q write redundant_fisdir "Redundant FIS"
./mtd -p write rootfs.img rootfs
./mtd -q write redboot_config "RedBoot config"
reboot admin@Netonix_Switch:/tmp# ./mtd -p -F linux write kernel.img linux
Unlocking linux ...
Writing from kernel.img to linux ...
23%
46%
69%
93%
100%

Updating FIS entry linux
admin@Netonix_Switch:/tmp# ./mtd -q write fisdir "FIS directory"
Unlocking FIS directory ...
Writing from fisdir to FIS directory ...
admin@Netonix_Switch:/tmp# ./mtd -q write redundant_fisdir "Redundant FIS"
Unlocking Redundant FIS ...
Writing from redundant_fisdir to Redundant FIS ...
admin@Netonix_Switch:/tmp# ./mtd -p write rootfs.img rootfs
Unlocking rootfs ...
Writing from rootfs.img to rootfs ...
4%
8%
13%
17%
21%
26%
30%
35%
39%
43%
48%
52%
57%
61%
65%
70%
74%
79%
83%
87%
92%
96%
100%

admin@Netonix_Switch:/tmp# ./mtd -q write redboot_config "RedBoot config"
Unlocking RedBoot config ...
Writing from redboot_config to RedBoot config ...
admin@Netonix_Switch:/tmp# reboot
mini_fo_lookup: ERROR, meta data corruption detected.
mini_fo_d_delete: negative dentry passed.
mini_fo_d_release: no private data.
admin@Netonix_Switch:/tmp# Restarting system.
+M25PXX : Init device with JEDEC ID 0x202018.
Luton26 board detected (VSC7425 Rev. D).

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version 1_18-Vitesse - built 05:56:33, Jan 31 2014

Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
RedBoot is free software, covered by the eCos license, derived from the
GNU General Public License. You are welcome to change it and/or distribute
copies of it under certain conditions. Under the license terms, RedBoot's
source code and full license terms must have been made available to you.
Redboot comes with ABSOLUTELY NO WARRANTY.

Platform: VCore-III (MIPS32 24KEc) LUTON26
RAM: 0x80000000-0x88000000 [0x80021b68-0x87fafffc available]
FLASH: 0x40000000-0x40ffffff, 64 x 0x40000 blocks
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> fis load -d linux
Image loaded from 0x80100000-0x8036422c
RedBoot> go
Linux version 2.6.26.8 (dev@netonixdev) (gcc version 4.1.2) #2 Sun Sep 4 20:55:1
6 EDT 2016
Invalid kernel arglist - use RedBoot "exec" command to boot kernel.
Using predefined kernel options.
CPU revision is: 02019654 (MIPS 24K)
Determined physical RAM map:
User-defined physical RAM map:
memory: 08000000 @ 00000000 (usable)
Zone PFN ranges:
Normal 0 -> 32768
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 init=/etc/preinit mem=128M
Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=8000803f
Readback ErrCtl register=8000803f
Cache parity protection enabled
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 126052k/131072k available (1917k kernel code, 4840k reserved, 417k data,
116k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
net_namespace: 640 bytes
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
msgmni has been set to 246
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x70100000 (irq = 14) is a 16550A
console [ttyS0] enabled
No NAND device found!!!
m25p80 spi0.0: m25p128 (16384 Kbytes)
Mapped SPI read area @0x40000000 len 16777216
Creating 10 MTD partitions on "m25p80":
0x00000000-0x00040000 : "RedBoot"
0x00040000-0x00080000 : "config"
0x00080000-0x001c0000 : "linux_recovery"
0x001c0000-0x003c0000 : "rootfs_recovery"
0x003c0000-0x00500000 : "linux"
0x00500000-0x00b00000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
0x00b00000-0x00f40000 : "rootfs_data"
0x00f40000-0x00f80000 : "FIS directory"
0x00f80000-0x00f81000 : "RedBoot config"
0x00fc0000-0x01000000 : "Redundant FIS"
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 116k freed
Please be patient, while OpenWrt loads ...
Algorithmics/MIPS FPU Emulator v1.5
- preinit -
Press CTRL-C for failsafe
Press and HOLD default button now for reset to factory defaults
mounting jffs2
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
- init -

Please press Enter to activate this console. Dec 31 19:00:04 syslogd started: Bu
syBox v1.19.4
Dec 31 19:00:04 kernel: klogd started: BusyBox v1.19.4 (2016-10-03 19:26:31 EDT)

Dec 31 19:00:04 kernel: Linux version 2.6.26.8 (dev@netonixdev) (gcc version 4.1
.2) #2 Sun Sep 4 20:55:16 EDT 2016
Dec 31 19:00:04 kernel: Invalid kernel arglist - use RedBoot "exec" command to b
oot kernel.
Dec 31 19:00:04 kernel: Using predefined kernel options.
Dec 31 19:00:04 kernel: CPU revision is: 02019654 (MIPS 24K)
Dec 31 19:00:04 kernel: Determined physical RAM map:
Dec 31 19:00:04 kernel: User-defined physical RAM map:
Dec 31 19:00:04 kernel: memory: 08000000 @ 00000000 (usable)
Dec 31 19:00:04 kernel: Entering add_active_range(0, 0, 32768) 0 entries of 256
used
Dec 31 19:00:04 kernel: Zone PFN ranges:
Dec 31 19:00:04 kernel: Normal 0 -> 32768
Dec 31 19:00:04 kernel: Movable zone start PFN for each node
Dec 31 19:00:04 kernel: early_node_map[1] active PFN ranges
Dec 31 19:00:04 kernel: 0: 0 -> 32768
Dec 31 19:00:04 kernel: On node 0 totalpages: 32768
Dec 31 19:00:04 kernel: Normal zone: 256 pages used for memmap
Dec 31 19:00:04 kernel: Normal zone: 0 pages reserved
Dec 31 19:00:04 kernel: Normal zone: 32512 pages, LIFO batch:7
Dec 31 19:00:04 kernel: Movable zone: 0 pages used for memmap
Dec 31 19:00:04 kernel: Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 32512
Dec 31 19:00:04 kernel: Kernel command line: console=ttyS0,115200 init=/etc/pre
init mem=128M
Dec 31 19:00:04 kernel: Primary instruction cache 32kB, VIPT, 4-way, linesize 32
bytes.
Dec 31 19:00:04 kernel: Primary data cache 32kB, 4-way, VIPT, cache aliases, lin
esize 32 bytes
Dec 31 19:00:04 kernel: Writing ErrCtl register=8000803f
Dec 31 19:00:04 kernel: Readback ErrCtl register=8000803f
Dec 31 19:00:04 kernel: Cache parity protection enabled
Dec 31 19:00:04 kernel: PID hash table entries: 512 (order: 9, 2048 bytes)
Dec 31 19:00:04 kernel: Dentry cache hash table entries: 16384 (order: 4, 65536
bytes)
Dec 31 19:00:04 kernel: Inode-cache hash table entries: 8192 (order: 3, 32768 by
tes)
Dec 31 19:00:04 kernel: Memory: 126052k/131072k available (1917k kernel code, 48
40k reserved, 417k data, 116k init, 0k highmem)
Dec 31 19:00:04 kernel: SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, C
PUs=1, Nodes=1
Dec 31 19:00:04 kernel: Calibrating delay loop... 277.70 BogoMIPS (lpj=1388544)
Dec 31 19:00:04 kernel: Mount-cache hash table entries: 512
Dec 31 19:00:04 kernel: net_namespace: 640 bytes
Dec 31 19:00:04 kernel: NET: Registered protocol family 16
Dec 31 19:00:04 kernel: NET: Registered protocol family 2
Dec 31 19:00:04 kernel: Switched to high resolution mode on CPU 0
Dec 31 19:00:04 kernel: IP route cache hash table entries: 1024 (order: 0, 4096
bytes)
Dec 31 19:00:04 kernel: TCP established hash table entries: 4096 (order: 3, 3276
8 bytes)
Dec 31 19:00:04 kernel: TCP bind hash table entries: 4096 (order: 2, 16384 bytes
)
Dec 31 19:00:04 kernel: TCP: Hash tables configured (established 4096 bind 4096)

Dec 31 19:00:04 kernel: TCP reno registered
Dec 31 19:00:04 kernel: NET: Registered protocol family 1
Dec 31 19:00:04 kernel: squashfs: version 3.0 (2006/03/15) Phillip Lougher
Dec 31 19:00:04 kernel: Registering mini_fo version $Id$
Dec 31 19:00:04 kernel: JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Ha
t, Inc.
Dec 31 19:00:04 kernel: msgmni has been set to 246
Dec 31 19:00:04 kernel: io scheduler noop registered
Dec 31 19:00:04 kernel: io scheduler deadline registered (default)
Dec 31 19:00:04 kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ
sharing disabled
Dec 31 19:00:04 kernel: serial8250.0: ttyS0 at MMIO 0x70100000 (irq = 14) is a 1
6550A
Dec 31 19:00:04 kernel: console [ttyS0] enabled
Dec 31 19:00:04 kernel: No NAND device found!!!
Dec 31 19:00:04 kernel: m25p80 spi0.0: m25p128 (16384 Kbytes)
Dec 31 19:00:04 kernel: Mapped SPI read area @0x40000000 len 16777216
Dec 31 19:00:04 kernel: Creating 10 MTD partitions on "m25p80":
Dec 31 19:00:04 kernel: 0x00000000-0x00040000 : "RedBoot"
Dec 31 19:00:04 kernel: 0x00040000-0x00080000 : "config"
Dec 31 19:00:04 kernel: 0x00080000-0x001c0000 : "linux_recovery"
Dec 31 19:00:04 kernel: 0x001c0000-0x003c0000 : "rootfs_recovery"
Dec 31 19:00:04 kernel: 0x003c0000-0x00500000 : "linux"
Dec 31 19:00:04 kernel: 0x00500000-0x00b00000 : "rootfs"
Dec 31 19:00:04 kernel: mtd: partition "rootfs" set to be root filesystem
Dec 31 19:00:04 kernel: 0x00b00000-0x00f40000 : "rootfs_data"
Dec 31 19:00:04 kernel: 0x00f40000-0x00f80000 : "FIS directory"
Dec 31 19:00:04 kernel: 0x00f80000-0x00f81000 : "RedBoot config"
Dec 31 19:00:04 kerDec 31 19:00:04 Dec 31 19:00:04 Dec 31 19:00:04 Dec 31 19:00:
04 vtss_core: module license '(c) Vitesse Semiconductor Inc.' taints kernel.
switch: 'Luton26' board detected
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
i2c /dev entries driver
i2c_vcoreiii i2c_vcoreiii: i2c bus driver on IRQ 19
mini_fo: create_sto_file: ERROR creating sto file.

Thanks Brent

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Help no web GUI after recovery

Tue Oct 18, 2016 12:30 pm

Try these commands at the command line:

mtd erase /dev/mtd6
reboot

The first command should take about 30 seconds. Also the reboot will take longer than usual. When its done the switch will be in a factory default state.

yobbo
Member
 
Posts: 2
Joined: Mon Oct 17, 2016 1:33 am
Has thanked: 1 time
Been thanked: 0 time

Re: Help no web GUI after recovery

Tue Oct 18, 2016 1:22 pm

great stuff thanks lots all go now :)

Brent

User avatar
isaacu
Member
 
Posts: 25
Joined: Wed Dec 23, 2015 1:37 pm
Location: Southern Illinois
Has thanked: 0 time
Been thanked: 0 time

Re: Help no web GUI after recovery

Sun Jan 29, 2017 5:37 pm

Eric Stern wrote:Try these commands at the command line:

mtd erase /dev/mtd6
reboot

The first command should take about 30 seconds. Also the reboot will take longer than usual. When its done the switch will be in a factory default state.



Having same issue. returning %invalid command for me...

Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 62 guests