Hi all, 

I've a SuperMicro AOC-IPMI20-E BMC. It works perfectly, with IPMITool.

I've only this problem. When I try to get SOL I got a SIGSEGV like this:






[EMAIL PROTECTED] /afs/cern.ch/user/m/mascanc/private $ cat baco
[EMAIL PROTECTED] /home/max/ipmi/bin $ gdb ./ipmitool
GNU gdb Red Hat Linux (6.3.0.0-1.96rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

(gdb) b main
Breakpoint 1 at 0x804ae42: file ipmitool.c, line 112.
(gdb) ru -I lanplus -H pcitfiot08 -P 0czjTf -U ADMIN sol activate
Starting program: /home/max/ipmi/bin/ipmitool -I lanplus -H pcitfiot08 -P 
0czjTf -U ADMIN sol activate

Breakpoint 1, main (argc=11, argv=0xbfe6ee94) at ipmitool.c:112
112     {
(gdb) n
115             rc = ipmi_main(argc, argv, ipmitool_cmd_list, NULL);
(gdb)
[SOL Session operational.  Use ~? for help]

-bash: l: command not found
[EMAIL PROTECTED] ~]#             <----- HERE I SEE THE REMOTE CONSOLE!
Program received signal SIGSEGV, Segmentation fault.
ipmi_lanplus_recv_sol (intf=0x809cbc0) at lanplus.c:2459
2459       if(rsp->session.authtype != 0)
(gdb)

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)
The program is not being run.
(gdb) quit


And the code is:
/*
 * ipmi_lanplus_recv_sol
 *
 * Receive a SOL packet and send an ACK in response.
 *
 */
struct ipmi_rs *
ipmi_lanplus_recv_sol(struct ipmi_intf * intf)
{
        struct ipmi_rs * rsp = ipmi_lan_poll_recv(intf);
        
   if(rsp->session.authtype != 0)      <----------- Here is the SIGSEGV
   {
        ack_sol_packet(intf, rsp);                    

           /*
            * Remembers the data sent, and alters the data to just
            * include the new stuff.
            */
           check_sol_packet_for_new_data(intf, rsp);
   }
        return rsp;
}







With the SuperMicro's IPMIView it works good. 

Have you any ideas?


Thanks for your work.

Massimiliano

-- 
Massimiliano Masi

http://gauss.comunidelchianti.it/~max

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to