English
Ask Your Question
0

/dev/port: No such file or directory. Something wrong with the kernel config?

asked 2017-05-07 11:24:01 +0000

xz11zt gravatar image

When I run sensors-detect it can't find anything and display this error :/dev/port: No such file or directory. This is happening with kernel version 4.10.13, version 4.10.11 works and detect the sensors. Yes, I'm doing this as root. Using fedora 25 32-bit.

Thanks in advance for any response!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-07-16 14:02:51 +0000

crow83 gravatar image

i have this problem with my fedora 26 sensors-detect can't detect sensor from motherboard fan rpm speed etc..

# sensors-detect revision $Revision$
# Board: ASRock Z97 Pro3
# Kernel: 4.11.9-300.fc26.x86_64 x86_64
# Processor: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (6/60/3)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): yes
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): yes
/dev/port: No such file or directory

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): yes
/dev/port: No such file or directory

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): yes
/dev/port: No such file or directory

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): yes
Found unknown SMBus adapter 8086:8ca2 at 0000:00:1f.3.
Sorry, no supported PCI bus adapters found.
Module i2c-dev loaded successfully.

Next adapter: SMBus I801 adapter at f000 (i2c-0)
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence ...
(more)
edit flag offensive delete link more
0

answered 2017-05-17 22:33:10 +0000

Hi,

I also have the same problem on kernel 4.10.14 on x8664. The problem seems linked to the kernel configuration where CONFIGDEVPORT is no more set (was set to "y" with older kernels).

As I don't want to rebuild the kernel to have my low level hardware tools working (they rely on /dev/port), I've added a /dev/port implementation to a small home made kernel module to have /dev/port back when I load it.

I don't know the reason for this change in the kernel configuration. Did you get some info since your last post ?

edit flag offensive delete link more

Comments

I just loaded the modules that I need manually. I have no idea why the change was made (I thought that this is a bug or something not intended). Please let me know if you got some info about that.

xz11zt ( 2017-05-30 11:52:13 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2017-05-07 11:22:24 +0000

Seen: 169 times

Last updated: Jul 16