ipmitool / test

0 stars 0 forks source link

Can't clear SEL from local interface if using a BMC as a bridge and sending command to another BMC #94

Open AlexanderAmelkin opened 6 years ago

AlexanderAmelkin commented 6 years ago

Reported by: zhangxl Original Ticket: ipmitool/bugs/502

There are 2 BMCs inter-connected with I2C bus on my project. Please refer to the attached map. Now I want to clear target BMC SEL logs. The host has booted into Linux OS. I send the command: ipmitool -b 0 -t 0x24 sel clear ipmitool reports "Unable to clear SEL: Reservation cancelled or invalid." I add some debug message in BMC codes and find that it is an ipmitool issue. ReserveSEL: reveration id = 0x9246 ReserveSEL: reveration id = 0xbd57 clear sel: RsrvIDCancelled = 0, ReservationID = 0x9246 The ipmitool sends "Reserve SEL" command twice but uses the first reservation ID which is invalid.