Mine:
openat(AT_FDCWD, "/dev/ipmi0", O_RDWR) = 3 <0.52
Yours:
openat(AT_FDCWD, "/dev/ipmi0", O_RDWR) = -1 EINVAL (Invalid argument) <0.53>
So we are back at the kernel backend of this - on your particular
hardware/firmware - not behaving correctly. This isn't one of the later
ioctls, just
Sorry, wasn't sure how to upload it in a text file, so here's the output
of the stack trace.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1836701
Title:
ubuntu18.04: ipmitool failed: Could not open
** Attachment added: "Easier way to read it."
https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1836701/+attachment/5412162/+files/ipmitool.strace.10279
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.n
0.00 execve("/usr/bin/ipmitool", ["ipmitool", "lan", "print"],
0x7ffd94ec9220 /* 19 vars */) = 0 <0.001210>
0.001285 brk(NULL) = 0x562dedd8e000 <0.04>
0.55 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory) <0.07>
0.26 acc
On Fri, Sep 18, 2020 at 2:15 PM Ventsislav Georgiev
<1836...@bugs.launchpad.net> wrote:
>
> Yeah I did try that (saw it somewhere among the web) but it pretty much
> gives nothing, because of the main error.
>
> root@x:~# strace -rT -ff -o ipmitool.strace ipmitool lan print
> Could not open device
Yeah I did try that (saw it somewhere among the web) but it pretty much
gives nothing, because of the main error.
root@x:~# strace -rT -ff -o ipmitool.strace ipmitool lan print
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such
file or directory
So I guess that ipmitoo
Hmm, so your system indeed has /dev/ipmi0 then (also you had that implicitly in
comment #4 already) - thanks.
But that means we are back at the beginning with the but triggering for you but
being non reproducible in other places :-/
For the sake of generating more ideas what could happen in your
** Attachment added: "strace good case"
https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1836701/+attachment/5412154/+files/ipmitool.strace.183665
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bu
** Changed in: ipmitool (Ubuntu)
Status: Invalid => Opinion
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1836701
Title:
ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No
I've given the mods loaded in my initial comment. The output of ls -laF
is the following:
root@x:~# ls -laF /dev/ipmi0 /dev/ipmi/0 /dev/ipmidev/0
ls: cannot access '/dev/ipmi/0': No such file or directory
ls: cannot access '/dev/ipmidev/0': No such file or directory
crw--- 1 root root 240, 0 S
>From a machine with actual ipmi support:
$ lsmod | grep ipmi
ipmi_ssif 36864 0
ipmi_si65536 0
ipmi_devintf 20480 0
ipmi_msghandler 106496 3 ipmi_devintf,ipmi_si,ipmi_ssif
$ ll /dev/ipmi0 /dev/ipmi/0 /dev/ipmidev/0
ls: cannot access '/dev/ipmi/0':
Not sure why it's marked as invalid. This appears on Ubuntu 18.04 with
the same error.
root@x:/dev# sudo ipmitool lan print
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such
file or directory
root@x:/dev# uname -a
Linux x 4.15.0-117-generic #118-Ubuntu SMP Fri Sep 4 2
I'm marking this report as Invalid then. Thanks for the follow-up!
** Changed in: openipmi (Ubuntu)
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1836701
Title:
I confirm ,run all command with root. After the machine restarts, all ipmitool
are back to normal.I don't know why.
I try on other machines , and the problem cannot be reproduced.
Thank you very much.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscr
Thanks for your report. Let's rule out the simplest hypothesis: are you
running the command as root? I can reproduce the error you observe
running ipmitool as an unprivileged user:
$ ls -l /dev/ipmi0
crw--- 1 root root 239, 0 May 30 13:39 /dev/ipmi0
$ ipmitool lan print
Could not open device
** Summary changed:
- ipmitool failed: Could not open device at /dev/ipmi0 : No such file or
directory
+ ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such
file or directory
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscri
16 matches
Mail list logo