[ofa-general] Boot time detection of SRP devices
Guy Coates
gmpc at sanger.ac.uk
Mon Jan 12 08:49:09 PST 2009
Hi all,
I am trying to write an init script to do automatic discovery of SRP devices
during boot.
My current strategy is to run srp_daemon in one-shot mode early on in the boot
process (before LVM etc is started) and then start the srp_daemon in deamon mode
later on in the boot when / is read/write.
This works except for the case when an IB port is active but does not have any
SRP devices attached; if srp daemon in run in one-shot mode it hangs forever:
Can anyone suggest any workarounds?
srp_daemon -o -e -c -n -i mlx4_0 -p 1
12/00/09 16:38:47 : bad MAD status (110) from lid 0
12/00/09 16:38:52 : bad MAD status (110) from lid 0
12/00/09 16:38:57 : bad MAD status (110) from lid 0
...
Cheers,
Guy
--
Dr. Guy Coates, Informatics System Group
The Wellcome Trust Sanger Institute, Hinxton, Cambridge, CB10 1HH, UK
Tel: +44 (0)1223 834244 x 6925
Fax: +44 (0)1223 496802
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.
More information about the general
mailing list