[Panicsel-developers] RE: About test suites for panicsel
Brought to you by:
arcress
|
From: Guo, M. <mi...@in...> - 2002-12-06 05:59:33
|
Hi, Andy: Thank you ! Here I encountered a problem. I set the local machine's ip as its alter ip address, then run pefconfig -A 127.0.0.1 -C private ,but when I run the "pefconfig -r " to read the information out ,the community is still "public", the detailed information is as below. So could you please take at look at it and see whether it is a bug of pefconfig? Thanks Guo Min The content of this email message solely contains my own personal views, and not those of my employer. > pefconfig -A 127.0.0.1 -C private pefconfig ver 1.11 -- BMC version 0.48, IPMI version 1.5 Code 0 SEL Ver 81 Support 15 pefconfig: GetPefEntry ... PEFilter(1): 01 c0 01 01 00 ff ff 01 ff 01 95 0a 00 00 00 00 00 00 00 00 00 PEFilter(2): 02 c0 01 01 00 ff ff 02 ff 01 95 0a 00 00 00 00 00 00 00 00 00 PEFilter(3): 03 c0 01 01 00 ff ff 04 ff 01 95 0a 00 00 00 00 00 00 00 00 00 PEFilter(4): 04 c0 01 01 00 ff ff 05 05 03 01 00 00 00 00 00 00 00 00 00 00 PEFilter(5): 05 c0 01 01 00 ff ff 08 ff 6f 06 00 00 00 00 00 00 00 00 00 00 PEFilter(6): 06 c0 01 01 00 ff ff 0c 08 6f 02 00 00 00 00 00 00 00 00 00 00 PEFilter(7): 07 c0 01 01 00 ff ff 0f 06 6f 01 00 00 00 00 00 00 00 00 00 00 PEFilter(8): 08 c0 01 01 00 ff ff 07 ff 6f 1c 00 00 00 00 00 00 00 00 00 00 PEFilter(9): 09 c0 01 01 00 ff ff 13 ff 6f 3e 03 00 00 00 00 00 00 00 00 00 PEFilter(10): 0a c0 01 01 00 ff ff 23 03 6f 0e 00 00 00 00 00 00 00 00 00 00 PEFilter(11): 0b c0 01 01 00 ff ff 12 ff 6f 02 00 00 00 00 00 00 00 00 00 00 PEFilter(12): 0c 80 01 01 00 ff ff 20 ff 6f ff 00 00 00 00 00 00 00 00 00 00 pefconfig: SetPefEntry(12) ... PEFilter(1): 01 c0 01 01 00 ff ff 01 ff 01 95 0a 00 00 00 00 00 00 00 00 00 PEFilter(2): 02 c0 01 01 00 ff ff 02 ff 01 95 0a 00 00 00 00 00 00 00 00 00 PEFilter(3): 03 c0 01 01 00 ff ff 04 ff 01 95 0a 00 00 00 00 00 00 00 00 00 PEFilter(4): 04 c0 01 01 00 ff ff 05 05 03 01 00 00 00 00 00 00 00 00 00 00 PEFilter(5): 05 c0 01 01 00 ff ff 08 ff 6f 06 00 00 00 00 00 00 00 00 00 00 PEFilter(6): 06 c0 01 01 00 ff ff 0c 08 6f 02 00 00 00 00 00 00 00 00 00 00 PEFilter(7): 07 c0 01 01 00 ff ff 0f 06 6f 01 00 00 00 00 00 00 00 00 00 00 PEFilter(8): 08 c0 01 01 00 ff ff 07 ff 6f 1c 00 00 00 00 00 00 00 00 00 00 PEFilter(9): 09 c0 01 01 00 ff ff 13 ff 6f 3e 03 00 00 00 00 00 00 00 00 00 PEFilter(10): 0a c0 01 01 00 ff ff 23 03 6f 0e 00 00 00 00 00 00 00 00 00 00 PEFilter(11): 0b c0 01 01 00 ff ff 12 ff 6f 02 00 00 00 00 00 00 00 00 00 00 PEFilter(12): 0c 80 01 01 00 ff ff 20 ff 6f ff 00 00 00 00 00 00 00 00 00 00 pefconfig: GetLanEntry ... Lan Param(0) Set in progress: 00 Lan Param(1) Auth type support: 17 Lan Param(2) Auth type enables: 01 01 01 01 00 Lan Param(3) IP address: 172 16 211 198 Lan Param(4) IP addr src: 01 Lan Param(5) MAC addr: 00 03 47 d5 b3 cc Lan Param(6) Subnet mask: 255 255 255 0 Lan Param(7) IPv4 header: 40 40 10 Lan Param(10) BMC grat ARP : 01 Lan Param(11) grat ARP interval: 04 Lan Param(12) Def gateway IP: 172 16 211 241 Lan Param(13) Def gateway MAC: 00 00 00 00 00 00 Lan Param(14) Sec gateway IP: 0 0 0 0 Lan Param(15) Sec gateway MAC: 00 00 00 00 00 00 Lan Param(16) Community string: public Lan Param(17) Num dest: 04 Lan Param(18) Dest type: 01 00 01 00 69 Lan Param(19) Dest address: 01 00 00 [127 0 0 1] ff 00 00 00 00 00 Lan Param(192) DHCP Server IP: 0 0 0 0 Lan Param(193) DHCP MAC Address: 00 00 00 00 00 00 Lan Param(194) DHCP Enable: 00 Lan Param(201) Channel Access Mode(Lan): 02 00 pefconfig: SetLanEntry ... SetChanAcc(lan), ret = 0 GetChanAcc(lan), ret = 0, new value = 22 PEF Alerts Disabled Access = Always Avail eth0 ip=172.16.211.198 mac=00:03:47:d5:b3:cc SetLanEntry(3), ret = 0 SetLanEntry(4), ret = 0 SetLanEntry(5), ret = 0 SetLanEntry(6), ret = 0 alert dest ip=127.0.0.1 mac=00:00:0c:07:ac:d3 snmp community public SetLanEntry(16), ret = 0 SetLanEntry(18), ret = 0 SetLanEntry(19), ret = 0 SetChanAcc(lan), ret = 0 GetChanAcc(lan), ret = 0, new value = 02 PEF Alerts Enabled Access = Always Avail >pefconfig -r PEFilter(1): 01 c0 01 01 00 ff ff 01 ff 01 95 0a 00 00 00 00 00 00 00 00 00 PEFilter(2): 02 c0 01 01 00 ff ff 02 ff 01 95 0a 00 00 00 00 00 00 00 00 00 PEFilter(3): 03 c0 01 01 00 ff ff 04 ff 01 95 0a 00 00 00 00 00 00 00 00 00 PEFilter(4): 04 c0 01 01 00 ff ff 05 05 03 01 00 00 00 00 00 00 00 00 00 00 PEFilter(5): 05 c0 01 01 00 ff ff 08 ff 6f 06 00 00 00 00 00 00 00 00 00 00 PEFilter(6): 06 c0 01 01 00 ff ff 0c 08 6f 02 00 00 00 00 00 00 00 00 00 00 PEFilter(7): 07 c0 01 01 00 ff ff 0f 06 6f 01 00 00 00 00 00 00 00 00 00 00 PEFilter(8): 08 c0 01 01 00 ff ff 07 ff 6f 1c 00 00 00 00 00 00 00 00 00 00 PEFilter(9): 09 c0 01 01 00 ff ff 13 ff 6f 3e 03 00 00 00 00 00 00 00 00 00 PEFilter(10): 0a c0 01 01 00 ff ff 23 03 6f 0e 00 00 00 00 00 00 00 00 00 00 PEFilter(11): 0b c0 01 01 00 ff ff 12 ff 6f 02 00 00 00 00 00 00 00 00 00 00 PEFilter(12): 0c 80 01 01 00 ff ff 20 ff 6f ff 00 00 00 00 00 00 00 00 00 00 pefconfig: GetLanEntry ... Lan Param(0) Set in progress: 00 Lan Param(1) Auth type support: 17 Lan Param(2) Auth type enables: 01 01 01 01 00 Lan Param(3) IP address: 172 16 211 198 Lan Param(4) IP addr src: 01 Lan Param(5) MAC addr: 00 03 47 d5 b3 cc Lan Param(6) Subnet mask: 255 255 255 0 Lan Param(7) IPv4 header: 40 40 10 Lan Param(10) BMC grat ARP : 01 Lan Param(11) grat ARP interval: 04 Lan Param(12) Def gateway IP: 172 16 211 241 Lan Param(13) Def gateway MAC: 00 00 00 00 00 00 Lan Param(14) Sec gateway IP: 0 0 0 0 Lan Param(15) Sec gateway MAC: 00 00 00 00 00 00 Lan Param(16) Community string: public Lan Param(17) Num dest: 04 Lan Param(18) Dest type: 01 00 01 00 69 Lan Param(19) Dest address: 01 00 00 [127 0 0 1] 00 00 0c 07 ac d3 Lan Param(192) DHCP Server IP: 0 0 0 0 Lan Param(193) DHCP MAC Address: 00 00 00 00 00 00 Lan Param(194) DHCP Enable: 00 Lan Param(201) Channel Access Mode(Lan): 22 00 > -----Original Message----- > From: Cress, Andrew R > Sent: Thursday, December 05, 2002 11:37 PM > To: Guo, Min > Cc: 'pan...@li...' > Subject: RE: About test suites for panicsel > > Guo Min, > > Here are the comments I had looking through the tests you have. > > For showsel option -w, it would be good to also verify that after running > it, the SEL entries appear in /var/log/messages as expected. > > For showsel option -s, there may not be any OS Critical Stop messages, > unless you have previously forced a panic (as with dopanic). > > For pefconfig -n 9, it should not succeed, since it shouldn't permit > overwriting one of the built-in entries at that offset. > > For pefconfig -n 14, I believe that it may need to have the 12 & 13 > entries filled first. > > For pefconfig -C, you may want to use something other than "public", since > that is the default and it would be hard to tell if it set the specified > string or the default string. > > For the tmconfig basic test, you should probably use tmconfig -r to find > out if the utility runs, without changing anything. > > About tmconfig: > On a Langley-Pr, "tmconfig" without options, should set up the TMode > shared parameters. > On a Langley-Tu or CoosBay, "tmconfig -s" is the mode to set up BMode > shared parameters. > > For the hwreset power cycle, I don't think that the ACPI configuration > matters. > > Andy > > -----Original Message----- > From: Guo, Min > Sent: Wednesday, December 04, 2002 10:21 PM > To: Cress, Andrew R > Cc: pan...@li... > Subject: RE: About test suites for panicsel > > Hi, Andrew: > > I write some test cases to test the panicsel and its kernel > patch. I publish them here, and could you please give me some > comments? I divide the test cases into two parts ,one is the test > suites don't need to reboot machine, the other is the test suites > need to reboot machine. > > Because the test suites are too long, so I also send it out > as attachment. > > ----------------------------------The test suites (don't need to > reboot > machine)------------------------------------------------------------------ > ------------- > [...] > > showsel_test > pefconfig_test > tmconfig_test > > -----------------------------The test suites need reboot > machine----------------------- > > [...] > Best Regards > Guo Min > The content of this email message solely contains my own personal > views, > and not those of my employer. > > << File: panicsel_apptool_test.sh >> << File: > panicsel_test_needreboot.sh >> |