Thanks a lot Corey, I got it. Btw, may I know what variable I need to
define to turn on the debug mode? In which file? Thanks a lot. 

Thanks,
YM

-----Original Message-----
From: Corey Minyard [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 25, 2006 11:52 PM
To: Goh, Yen Mei
Cc: openipmi-developer@lists.sourceforge.net
Subject: Re: [Openipmi-developer] Turn on the driver debug message

Goh, Yen Mei wrote:
>
> Hi OpenIPMI support,
>
> Appreciated if you could help. Do you have any idea on how to turn on
> the openipmi driver debug message in order for us to print out the raw
> byte that it send thru KCS? Thanks a lot. J
>
You have to set #defines and recompile the driver. However, that won't
help you in this case...
>
>
> BTW, I have encountered issue on issuing ipmi send message cmd using
> ipmitool, could you please advise what's wrong with the following
> command? I would like to query the Get deviceid thru KCS and bridge
> the IPMI message to IPMB interface and get the deviceid from cmm.
Thanks.
>
> Below is the cmd I issued from blade to cmm:
> ipmitool -m 0x86 -t 0x20 raw 6 34 0 0x20 0x18 0xC8 0x86 0x02 1 0x77
>
> In fact, I have tried to use ipmitool to issue normal getdeviceid from
> blade6 (0x86) to cmm(0x20), it managed to get the cmm deviceid.
> However, by using the same address and cmd, it failed to query it by
> using sendmessage cmd, I wonder why?
>
> Query by using KCS
>
> [EMAIL PROTECTED]:~# ipmitool -m 0x86 -t 0x20 raw 6 1
>
> 20 81 06 01 51 bf 57 01 00 41 08 00 00 00 00
>
> Query by using KCS and bridge to IPMB Interface from blade to cmm
[FAILED]
>
> [EMAIL PROTECTED]:~# ipmitool -m 0x86 -t 0x20 raw 6 34 0 0x20 0x18 0xC8
> 0x86 0x02 1 0x77
>
> Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x22
> rsp=0xc1): Invalid command
>
> [EMAIL PROTECTED]:~# ipmitool -m 0x86 -t 0x10 raw 6 34 0 0x10 0x18 0xD8
> 0x86 0x02 1 0x77
>
> Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x22
> rsp=0xc3): Timeout
>
> [EMAIL PROTECTED]:~# ipmitool -m 0x86 -t 0x12 raw 6 34 0 0x12 0x18 0xD0
> 0x86 0x02 1 0x77
>
> Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x22
> rsp=0xc1): Invalid command
>
You are sending a sendmsg command to the CMM? Why would you want to do
that? The '-t 0x20' already does the sendmsg for you, you are telling
the CMM (which is at 0x20) to bridge a message to 0x20, and it is
rightly confused.

Also, the IPMI driver will not let you send your own send message
commands. The driver multiplexes multiple users. Thus it has to manage
the sequence numbers and such, and cannot let user drivers do this.

-Corey
>
> Thanks,
>
> YM
>
>
------------------------------------------------------------------------
>
>
------------------------------------------------------------------------
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
share your
> opinions on IT & business topics through brief surveys -- and earn
cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
>
------------------------------------------------------------------------
>
> _______________________________________________
> Openipmi-developer mailing list
> Openipmi-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openipmi-developer
>   

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Openipmi-developer mailing list
Openipmi-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to