Fibre Channel (SAN)

Reply
Occasional Visitor
Posts: 1
Registered: ‎03-19-2014

Is there any way to recover?

The system is coming up, please wait...
Read board ID of 0x80 from addr 0x23
Read extended model ID of 0x19 from addr 0x22
Matched board/model ID to platform index 6

Read board ID of 0x80 from addr 0x23
Read extended model ID of 0x19 from addr 0x22
Matched board/model ID to platform index 6
Checking system RAM - press any key to stop test

Checking memory address: 00100000

System RAM test using Default POST RAM Test succeeded.

Press escape within 4 seconds to enter boot interface.
Booting "Fabric Operating System" image.
Entry point at 0x01000000 ...

loading kernel

loaded at:     01000000 013F7364
board data at: 013F5324 013F5364
relocated to:  01005110 01005150
zimage at:     0100597D 01169E3A
initrd at:     0116A000 013F4C00
avail ram:     013F8000 08000000

Linux/PPC load:
BootROM command line: quiet
Uncompressing Linux...done.
Now booting the kernel
PCI: Cannot allocate resource region 0 of device 0000:00:00.0
Installing Linux 2.6 Kernel
Attempting to find a root file system on hda1...
INIT: version 2.78 booting
INIT: Entering runlevel: 3
/etc/rc.d/rc: /etc/rc.d/rc3.d/S95fabos: Permission denied


Fabric OS (IBM_2005_B16)


IBM_2005_B16 console login: admin
Password:
Raslog Module Initialisation failed rc=-1
rbash: /fabos/bin/chkdefaultpasswds: Input/output error
IBM_2005_B16:admin> help
Access HAM failed
Error in retriving the chassis info.

 

 

IBM_2005_B16:admin>

The system is coming up, please wait...
Read board ID of 0x80 from addr 0x23
Read extended model ID of 0x19 from addr 0x22
Matched board/model ID to platform index 6

Read board ID of 0x80 from addr 0x23
Read extended model ID of 0x19 from addr 0x22
Matched board/model ID to platform index 6
Checking system RAM - press any key to stop test

Checking memory address: 00100000

System RAM test terminated by keyboard
Press escape within 4 seconds to enter boot interface.

1) Start system.
2) Recover password.
3) Enter command shell.

Option?

1) Start system.
2) Recover password.
3) Enter command shell.

Option? 3
Password:
> help
Valid commands are:
      auto  Boot per boot environment variable settings
      boot  Boot specified image
      date  Display or set the system date and time
     debug  Hardware debug - General debug utilities
      diag  Hardware tests - Hardware test diagnostics
      help  Display this list of commands
   helpenv  Display help for boot environment variables
      hinv  Display hardware inventory
    passwd  Set the boot modification password
      ping  Ping test
  printenv  Display all boot environment variables
     reset  Reset the system
   resetpw  Remove the boot modification password
    setenv  Set a boot environment variable
   saveenv  Save the current boot environment variables
  unsetenv  Unset a boot environment variable
   version  Display boot version info
> printenv
AutoLoad=yes
ENET_MAC=00051E074589
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=quiet
OSLoader=ATA()0x20128;ATA()0x4c4a8
OSRootPartition=hda1;hda2
SkipWatchdog=yes
> boot ATA()0x20128 -s
Booting "Manually selected OS" image.
Entry point at 0x01000000 ...

loading kernel

loaded at:     01000000 013F7364
board data at: 013F5324 013F5364
relocated to:  01005110 01005150
zimage at:     0100597D 01169E3A
initrd at:     0116A000 013F4C00
avail ram:     013F8000 08000000

Linux/PPC load:
BootROM command line: -s
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.6.14.2 (swrel@blc-2-9) (gcc version 3.4.6) #1 Tue Jun 12 16:47:36 PDT 2007
ppc440_setup_arch(): Not setting the 100MBFull for eth1 on this SWBD34
cpld_init: platform (34) not supported
Brocade Silkworm port (C) 2002 MontaVista Software, Inc. (source@mvista.com)
Built 1 zonelists
Kernel command line: -s
PID hash table entries: 1024 (order: 10, 16384 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 124032k available (2336k kernel code, 628k data, 108k init, 0k highmem)
Mount-cache hash table entries: 512
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 2603k freed
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 0000:00:00.0
SGI XFS with no debug enabled
IBM gpio driver version 06.12.06
SWBD Platform Driver v1.0: [type 34, rev 1].
Config Silkworm
PPC 405 watchdog driver v0.51. (Timer driven)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
ttyS0 at MMIO 0x0 (irq = 1) is a 16550A
ttyS1 at MMIO 0x0 (irq = 0) is a 16550A
io scheduler noop registered
RAMDISK driver initialized: 1 RAM disks of 50000K size 1024 blocksize
loop: loaded (max 8 devices)
PPC 4xx OCP EMAC driver, version 3.54
mal0: initialized, 4 TX channels, 2 RX channels
zmii0: bridge in RMII mode
eth0: emac0, MAC 00:05:1e:07:45:89
eth0: found Generic MII PHY (0x01)
emac1: can't find PHY!
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
cpld_ide_init_hwif_ports: dp=0, cp=0, hw=c1103f50
read cpld_data 0x90
Silkworm CE-2 CPLD ATA interface configured [CPLD version 16]
cpld_ide_init_hwif_ports: dp=0, cp=0, hw=c1103f50
cpld_ide_init_hwif_ports: dp=0, cp=0, hw=c1103f50
cpld_ide_init_hwif_ports: dp=0, cp=0, hw=c1103f50
cpld_ide_init_hwif_ports: dp=0, cp=0, hw=c1103f50
cpld_ide_init_hwif_ports: dp=0, cp=0, hw=c1103f50
cpld_ide_init_hwif_ports: dp=0, cp=0, hw=c1103f50
cpld_ide_init_hwif_ports: dp=0, cp=0, hw=c1103f50
hda: STI Flash 8.0.0, CFA DISK drive
ide0 at 0xd301b1f0-0xd301b1f7,0xd301b3f6 on irq 28
hda: max request size: 128KiB
hda: 501760 sectors (256 MB), CHS=980/16/32
hda: cache flushes not supported
 hda: hda1 hda2
ATA polled-mode panic dumper on char-major-252.
mtdchar: write-caching enabled
silkworm: Using SWBD34 flash configuration
Boot flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Creating 6 MTD partitions on "Boot flash":
0x00000000-0x00020000 : "bootenv0: boot environment (1)"
0x00020000-0x00040000 : "bootenv1: boot environment (2)"
0x00040000-0x00200000 : "prom0: boot prom (1)"
0x00200000-0x003c0000 : "prom1: boot prom (2)"
0x003c0000-0x003e0000 : "unused"
0x003e0000-0x00400000 : "bootsel: boot prom selector"
i2c /dev entries driver
IBM IIC driver v2.1
ibm-iic0: using standard (100 kHz) mode
ibm-iic1: using standard (100 kHz) mode
M41T11 Real-time-clock Driver v1.1
m41t11: Called to probe for bus IIC-0
m41t11: I2C Real-Time-Clock detected on iic0 addr 0x68
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
ip_tables: (C) 2000-2002 Netfilter core team
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
ip6_tables: (C) 2000-2002 Netfilter core team
NET: Registered protocol family 17
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 2600KiB [1 disk] into ram disk... done.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Installing Linuxxfsshutdownhandler_module: module license 'unspecified' taints kernel.
 2.6 Kernel
Attempting to find a root file s hda:ystem on hda1... hda1
 hda2
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
 hda: hda1 hda2
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Trying to move old root to /initrd ... okay
Freeing unused kernel memory: 108k init
INIT: version 2.78 booting

Valued Contributor
Posts: 931
Registered: ‎12-30-2009

Re: Is there any way to recover?

Well specify what you want to recover and what is actually working.

 

You booted the switch from the primary partition into single user mode from the look of it and succesfull to.

It complains about the need for fsck on a ext2 FS which it doesn't and slo mentions a ext3 FS which is fsck'd.

 

Other then that

check permissions for mentioned file below , perhaps even compare them, to permissions from the secondary partition or a known working switch.

/etc/rc.d/rc: /etc/rc.d/rc3.d/S95fabos: Permission denied

 

 

rbash: /fabos/bin/chkdefaultpasswds: Input/output error

 

Just on the basis of unix troubleshooting, i would say the command is corrupt or gets corrupt data.

Perhaps it lives on the ext2 FS.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.