Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1011275.1
Update Date:2009-01-12
Keywords:

Solution Type  Problem Resolution Sure

Solution  1011275.1 :   ERROR - gpio driver not installed / rscadm: Unable to reset RSC hardware  


Related Items
  • Sun Fire V480 Server
  •  
  • Sun Fire 280R Server
  •  
  • Sun Fire V890 Server
  •  
  • Sun Fire V880 Server
  •  
  • Sun Fire V490 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>Entry-Level Servers
  •  

PreviouslyPublishedAs
215478


Symptoms
On a system having an RSC (Remote System Control) card and the appropriate RSC packages installed, rscadm and/or rsc-config fail to reset the RSC. The error message is:
# ./rscadm resetrsc
Are you sure you want to reboot RSC (y/n)?  y
ERROR - gpio driver not installed
rscadm: Unable to reset RSC hardware


Resolution
This can happen when the link /dev/gpio0 does not point to the correct device path. Most often this is caused by installing a system from the flash image of a different model also having an RSC, but with a different device path. In such a case we see a /dev/gpio1 which points to the correct device path.
Example:
# ls -l /dev/gpio*
lrwxrwxrwx   1 root     root          49 Jul  8 08:25 /dev/gpio0 -> ../devices/pci@8,700000/ebus@5/gpio@1,300600:gpio
lrwxrwxrwx   1 root     root          49 Jul  8 08:25 /dev/gpio1 -> ../devices/pci@9,700000/ebus@1/gpio@1,300600:gpio

In the above example, a V890 was installed from a flash image of a V880.

To resolve this, simply remove the existing gpio links and allow gpio0 to be created correctly by running devfsadm.

# rm /dev/gpio*
# devfsadm -v
devfsadm[2467]: verbose: symlink /dev/gpio0 -> ../devices/pci@9,700000/ebus@1/gpio@1,300600:gpio
# ls -l /dev/gpio*
lrwxrwxrwx   1 root     other         49 Jul 12 13:56 /dev/gpio0 -> ../devices/pci@9,700000/ebus@1/gpio@1,300600:gpio

rscadm and rsc-config can now successfully reset the RSC card.



Additional Information
Bug ID: 4726924 illustrates the issue and was closed as "not a bug" since the problem was an incorrect link resulting from a flash install with an image from a different model.


Product
Sun Fire V490 Server
Sun Fire V890 Server
Sun Fire V880 Server
Sun Fire V480 Server
Sun Fire 280R Server

RSC, rscadm, rsc-config, resetrsc, gpio, flash
Previously Published As
86382

Change History
Date: 2006-07-20
User Name: 95826
Action: Approved
Comment: - verified metadata
- expanded RSC acronym in body
- review date ok : 2007-07-17
- checked for TM - none added
- checked audience : contract
Publishing
Version: 3
Date: 2006-07-20
User Name: 95826
Action: Accept
Comment:
Version: 0

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback