[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-21 Thread Christian Ehrhardt 
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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-18 Thread Ventsislav Georgiev
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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-18 Thread Ventsislav Georgiev
** 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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-18 Thread Ventsislav Georgiev
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

Re: [Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-18 Thread Christian Ehrhardt 
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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-18 Thread Ventsislav Georgiev
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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-18 Thread Christian Ehrhardt 
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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-18 Thread Christian Ehrhardt 
** 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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-17 Thread Ventsislav Georgiev
** 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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-15 Thread Ventsislav Georgiev
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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-14 Thread Christian Ehrhardt 
>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':

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2020-09-11 Thread Ventsislav Georgiev
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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2019-08-19 Thread Paride Legovini
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:

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2019-08-07 Thread xiaotong.t...@gmail.com
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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2019-07-18 Thread Paride Legovini
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

[Bug 1836701] Re: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory

2019-07-16 Thread xiaotong.t...@gmail.com
** 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