David Jenkins wrote:
I tried the following:

domain open fred -noipmbscan -noseteventrcvr smi 0

Still does a scan and doesn't find any FRU or SDR.  I also tried

domain open domain0 -sdrs -frus -noipmbscan -noseteventrcvr smi 0
Ah, you have to say -noall to turn of all normal processing first, then turn on what you need. That's really a bug in the API, but that's the way it works.


I've also attached a patch to make localonly work, I think. On an ATCA blade it should auto-detect this.

-corey
Index: lib/domain.c
===================================================================
RCS file: /cvsroot/openipmi/OpenIPMI/lib/domain.c,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -r1.191 -r1.192
--- lib/domain.c	2 Oct 2007 14:18:28 -0000	1.191
+++ lib/domain.c	20 Dec 2007 21:26:04 -0000	1.192
@@ -5059,6 +5059,8 @@
 int
 ipmi_option_IPMB_scan(ipmi_domain_t *domain)
 {
+    if (domain->option_local_only)
+	return 0;
     return domain->option_all || domain->option_IPMB_scan;
 }
 
@@ -5071,6 +5073,8 @@
 int
 ipmi_option_set_event_rcvr(ipmi_domain_t *domain)
 {
+    if (domain->option_local_only)
+	return 0;
     return domain->option_set_event_rcvr;
 }
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to