On 01/07/10 11:35, Karan Chahal wrote:
Hi Sue

Thanks for that information. I was running the official opensolaris 0906 
release, but now I  have switched to the in development release by following 
instructions at: http://pkg.opensolaris.org/dev/en/index.shtml

So now I have the ibsrp-target service installed, however, the service fails to 
start with a fatal error:
r...@virgo:~#
r...@virgo:~# svcs -xv
svc:/system/ibsrp/target:default (SRP Target)
  State: maintenance since January  7, 2010 11:00:05 AM EST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
    See: http://sun.com/msg/SMF-8000-KS
    See: man -M /usr/share/man -s 7D srpt
    See: /var/svc/log/system-ibsrp-target:default.log
Impact: This service is not running.

svc:/network/iscsi_initiator:default (iSCSI initiator daemon)
  State: maintenance since January  7, 2010 10:59:55 AM EST
Reason: Restarting too quickly.
    See: http://sun.com/msg/SMF-8000-L5
    See: man -M /usr/share/man -s 1M iscsid
    See: /var/svc/log/network-iscsi_initiator:default.log
Impact: This service is not running.


from the log:
[ Jan  7 10:56:43 Executing start method ("/lib/svc/method/svc-srpt start"). ]
Could not enable SRP Target: -1[ Jan  7 10:56:43 Method "start" exited with 
status 95. ]
[ Jan  7 10:57:24 Leaving maintenance because disable requested. ]
[ Jan  7 10:57:25 Disabled. ]
[ Jan  7 10:59:54 Enabled. ]
[ Jan  7 11:00:05 Executing start method ("/lib/svc/method/svc-srpt start"). ]
Could not enable SRP Target: -1[ Jan  7 11:00:05 Method "start" exited with 
status 95. ]

When I try to start it manually I get:
r...@virgo:~# /lib/svc/method/svc-srpt start
Could not enable SRP Target: -1r...@virgo:~#
r...@virgo:~#

I wish the error message was more descriptive.
Do you have any ideas or suggestions for me? Thanks a lot for helping out.
-duracell

Could you check to see if the driver is loaded?

# modinfo -c | grep -i srp

and if the srpt pseudodevice was created?

# ls -ld /devices/ib/srpt*

The latter should show:

drwxr-xr-x   2 root     sys          512 Jan  7 12:59 /devices/ib/s...@0
crw-r--r--   1 root     sys       71,  0 Jan  7 12:59 /devices/ib/s...@0:srpt

I think those should be ok, but worth checking.

Was there anything from srpt in /var/adm/messages?  Fatal errors should be
logged there too.
_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to