[EMAIL PROTECTED] wrote on 11/30/2007 01:55:00
PM:
> Hello.
>
> I am invastingating DIMI issues.
> There is a problem with marshalling of SaHpiDimiTestT type.
>
> The declaration in SaHpi.h
>
> <quote>
> typedef struct {
> SaHpiTextBufferT TestName;
> SaHpiDimiTestServiceImpactT ServiceImpact; /* Service Impact on
DIMI
> itself */
> SaHpiDimiTestAffectedEntityT
> EntitiesImpacted[SAHPI_DIMITEST_MAX_ENTITIESIMPACTED];
> /* Entities impacted by the Test. If entity
contains
> other entities then contained entities are
> considered
> impacted as well. If Entities impacted by Test
are
> more
> than Max number, its recommended to associate
test
> with
> higher level entity DIMI. */
> SaHpiBoolT NeedServiceOS; /* True if a special
Service
> OS is needed for this
test
> */
> SaHpiTextBufferT ServiceOS; /* If a special Service OS
> is needed to be run for the
> test, the HPI user is
required
> to load the particular
Service
> OS before running the
tests,
> else DIMI returns an error
> code.*/
> SaHpiTimeT ExpectedRunDuration; /* Expected run
duration
> for a test with default
> parameters */
> SaHpiDimiTestCapabilityT TestCapabilities;
>
> SaHpiDimiTestParamsDefinitionT
>
> TestParameters[SAHPI_DIMITEST_MAX_PARAMETERS];
> } SaHpiDimiTestT;
>
> </quote>
>
>
> There is no way to set:
> o) Number of impacted entities
I would expect that the first entity path found with a ROOT entity type in
position 0 would mark the end of the impacted entities. Still, I'll
forward the question on to the SAF.
> o) number of test parameters
I will forward this also to the SAF.
>
> Also there is aproblem with marshalling of
SaHpiDimiTestParamsDefinitionT
> that has several unions.
>
> I see on my test system that marshalling procedure fails for this two
> cases.
>
> Failed function: saHpiDimiTestStart, saHpiDimiTestInfoGet.
>
> Error message:
> Marshal: Assertion
> `IsSimpleType( st_type->m_u.m_var_array.m_type->m_type )' failed
>
I am looking into this and will also be testing the patch you posted on
SF.
Thanks,
--Renier-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel