One way to troubleshoot Solaris operations involves the “verbose” mode for the HBA configuration file. This topic provides examples of error messages that may occur. A possible debugging method is to select the device and turn on verbose mode, then attempt the boot process again. Verbose error messages provide information that help isolate the problem.
Turning on the verbose flag
To turn on the verbose flag, use these commands:
ok " /sbus/fca" select-dev ok true to fca-verbose ok boot fcadisk
Examples of error messages
Error message: Cannot Assemble drivers for /sbus@1f,0/fcaw@1,0/sd@0,0:a Cannot Mount root on /sbus@1f,0/fcaw@1,0/sd@0,0:a Problem: The process of copying the OS to the fibre channels was not complete, or the drive specified on the boot command is not the same as the one the OS was constructed on.
Error message: Can’t open boot device Problem: The wwn specified with the set-bootn0-wwn does not correspond to the wwn of the device. Could also be a cable problem – the adapter cannot initialize.
Error message: The file just loaded does not appear to be bootable Problem: The bootblk was not installed on the target.
Error message: mount: /dev/dsk/c0t0d0s0 – not of this fs type Problem: At this point the process hangs. This happens if the /etc/vfstab File has not been updated on the fibrechannel boot drive to reflect the new target.
Error message: Get PortID request rejected by nameserver Problem: The wwn of the target is not correct. Select the adapter and perform set-bootn0-wwn. If this is correct, check the switch to see that target is properly connected.
Error message: Can’t read disk label Problem: The selected target is not a Solaris filesystem. Error message: Nport init failed – Problem: Card is connected to an arbitrated loop device, but wants to initialize as an NPORT. The bootn0-wwn property has probably been set to a valid WWN.
Error message: Panic dump not saved Problem: After the system is successfully booted to Solaris from the fibrechannel and a panic occurs the panic does not get saved to the swap device. This can be the result not properly defined the swap partition. Use the format command to view the slices on the fibre channel drive. Take the partition option, then the print option. The swap partition should look something like this: 1 swap wm 68-459 298.36MB (402/0/0) 611040 Sizes and cylinders will probably be different on your system. Make sure that the flag is wm and that the sizes are defined (not 0). Then use the label option from partition to write the label to the drive. After this the panic should be saved to the swap partition. If the partition needs to be changed chose the partition option, and enter 1 to select slice 1.