Re: [Ipmitool-devel] disable shutdown when using chassis power off?

2007-03-01 Thread Nitin Gupta
 [EMAIL PROTECTED] writes:

 
 To clarify, Dell IPMI firmware with or without a DRAC installed does
 effectively press the power button for the chassis power control
 functions. 
 
 Keith Mund
 x34851

Hi Keith,

Thanks for clarification. Can you please also clarify on following issue? 

Is there a way to 'cancel' the shutdown once power-off is selected from DRAC?
When physical power-off button is pressed I am able to 'cancel' the shutdown - I
get an ACPI event, which is handled by kernel which can simply do a no-op.
But with DRAC, though I can handle the event, but still after few seconds (3-4)
of handling the event the system powers off invariably -- How can I stop this?

(Using RHEL3 with ACPI functionality backported).


Thanks,
Nitin




-
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.phpp=sourceforgeCID=DEVDEV
___
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel


Re: [Ipmitool-devel] Error: Unable to establish LAN session

2007-03-01 Thread venkata kishore

Any comments/suggestions on this problem?

Thanks,
Kishore

On 2/28/07, venkata kishore [EMAIL PROTECTED] wrote:


Hi,

   I am using ipmitool version 1.8.8. I am getting the following error
message when I am trying to execute the command ipmitool -l lan -H IP -P
password chassis power status

Error: Unable to establish LAN session
ipmi_lan_send_cmd failed to open intf
Unable to get Chassis Power Status

  Here is the output of the strace

strace ipmitool -l lan -H 10.16.19.21 -P handl3bar chassis power status
execve(/usr/bin/ipmitool, [ipmitool, -l, lan, -H, 10.16.19.21,
-P, handl3bar, chassis, power, status], [/* 24 vars */]) = 0
uname({sys=Linux, node=pts-linux-lab020, ...}) = 0
brk(0)  = 0x611000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2a9566c000
open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or
directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=106852, ...}) = 0
mmap(NULL, 106852, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9566d000
close(3)= 0
open(/lib64/tls/libm.so.6, O_RDONLY)  = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0@@\0\0\0..., 640)
= 640
fstat(3, {st_mode=S_IFREG|0755, st_size=666384, ...}) = 0
mmap(NULL, 1602568, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95688000
mprotect(0x2a9570f000, 1049608, PROT_NONE) = 0
mmap(0x2a9580f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x87000) = 0x2a9580f000
close(3)= 0
open(/usr/lib64/libreadline.so.4, O_RDONLY) = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\300)\1\0..., 640)
= 640
fstat(3, {st_mode=S_IFREG|0755, st_size=226976, ...}) = 0
mmap(NULL, 1277648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a9581
mprotect(0x2a9584, 1081040, PROT_NONE) = 0
mmap(0x2a9593f000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x2f000) = 0x2a9593f000
mmap(0x2a95947000, 3792, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95947000
close(3)= 0
open(/usr/lib64/libncurses.so.5, O_RDONLY) = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\200\373..., 640)
= 640
fstat(3, {st_mode=S_IFREG|0755, st_size=997490, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2a95948000
mmap(NULL, 1412888, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95949000
mprotect(0x2a95994000, 1105688, PROT_NONE) = 0
mmap(0x2a95a93000, 61440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x4a000) = 0x2a95a93000
close(3)= 0
open(/lib64/libcrypto.so.4, O_RDONLY) = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\200\305..., 640)
= 640
fstat(3, {st_mode=S_IFREG|0755, st_size=1236736, ...}) = 0
mmap(NULL, 2299672, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95aa2000
mprotect(0x2a95bb2000, 1185560, PROT_NONE) = 0
mmap(0x2a95cb2000, 122880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x11) = 0x2a95cb2000
mmap(0x2a95cd, 14104, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95cd
close(3)= 0
open(/lib64/tls/libc.so.6, O_RDONLY)  = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0[EMAIL PROTECTED]..., 640)
= 640
fstat(3, {st_mode=S_IFREG|0755, st_size=1669064, ...}) = 0
mmap(NULL, 2375528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95cd4000
mprotect(0x2a95e0f000, 1085288, PROT_NONE) = 0
mmap(0x2a95f0f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x13b000) = 0x2a95f0f000
mmap(0x2a95f14000, 16232, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95f14000
close(3)= 0
open(/usr/lib64/libgpm.so.1, O_RDONLY) = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\200#\0\0..., 640)
= 640
fstat(3, {st_mode=S_IFREG|0755, st_size=23872, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2a95f18000
mmap(NULL, 1071504, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95f19000

mprotect(0x2a95f1e000, 1051024, PROT_NONE) = 0
mmap(0x2a9601e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x5000) = 0x2a9601e000
close(3)= 0
open(/usr/kerberos/lib64/libgssapi_krb5.so.2, O_RDONLY) = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0[EMAIL PROTECTED]..., 640)
= 640
fstat(3, {st_mode=S_IFREG|0755, st_size=91304, ...}) = 0
mmap(NULL, 1138128, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a9601f000

mprotect(0x2a96034000, 1052112, PROT_NONE) = 0
mmap(0x2a96134000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x15000) = 0x2a96134000
close(3)= 0
open(/usr/kerberos/lib64/libkrb5.so.3, O_RDONLY) = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0[EMAIL PROTECTED]..., 640)
= 640
fstat(3, {st_mode=S_IFREG|0755, st_size=429568, ...}) = 0
mmap(NULL, 1477096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a96135000