Bug 9451 - sensors says "No sensors found"
Summary: sensors says "No sensors found"
Status: CLOSED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Hardware Monitoring (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Rafael J. Wysocki
URL:
Keywords:
Depends on:
Blocks: 9243
  Show dependency tree
 
Reported: 2007-11-24 09:38 UTC by Stefan Richter
Modified: 2007-11-25 03:19 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.24-rc3
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
output of "strace sensors" on the MSI PC (8.69 KB, text/plain)
2007-11-24 10:20 UTC, Stefan Richter
Details
output of "strace sensors" on the Apple PC (x86-64) (8.36 KB, text/plain)
2007-11-24 10:23 UTC, Stefan Richter
Details

Description Stefan Richter 2007-11-24 09:38:02 UTC
Most recent kernel where this bug did not occur: 2.6.23
Distribution: Gentoo
Hardware Environment: two different i945 based PCs (MSI and Apple)
Problem Description: sensors says "No sensors found" even though all respective modules are loaded, based on configurations which worked under 2.6.23.

Reported at lm-sensors and lkml:  http://lkml.org/lkml/2007/11/24/54
Comment 1 Jean Delvare 2007-11-24 09:57:11 UTC
Please attach the output of "strace sensors" and the contents of /proc/ioports for both machines under 2.6.24-rc3.
Comment 2 Stefan Richter 2007-11-24 10:20:54 UTC
Created attachment 13734 [details]
output of "strace sensors" on the MSI PC

a) on the MSI PC:
strace sensors attached, /proc/ioports below:

0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : 0000:00:1f.1
01f0-01f7 : 0000:00:1f.1
  01f0-01f7 : ide0
0295-0296 : w83627ehf
  0295-0296 : w83627ehf
0376-0376 : 0000:00:1f.1
03c0-03df : vesafb
03f6-03f6 : 0000:00:1f.1
  03f6-03f6 : ide0
0400-047f : 0000:00:1f.0
  0400-0403 : ACPI PM1a_EVT_BLK
  0404-0405 : ACPI PM1a_CNT_BLK
  0408-040b : ACPI PM_TMR
  0428-042f : ACPI GPE0_BLK
0480-04bf : 0000:00:1f.0
0500-051f : 0000:00:1f.3
0cf8-0cff : PCI conf1
b000-bfff : PCI Bus #01
  b000-bfff : PCI Bus #02
c000-cfff : PCI Bus #04
  cf00-cf1f : 0000:04:00.0
    cf00-cf1f : e1000
d000-dfff : PCI Bus #03
e000-efff : PCI Bus #05
  e000-e0ff : PCI CardBus #06
  e400-e4ff : PCI CardBus #06
  ed00-ed7f : 0000:05:04.0
f500-f50f : 0000:00:1f.2
  f500-f50f : libata
f600-f603 : 0000:00:1f.2
  f600-f603 : libata
f700-f707 : 0000:00:1f.2
  f700-f707 : libata
f800-f803 : 0000:00:1f.2
  f800-f803 : libata
f900-f907 : 0000:00:1f.2
  f900-f907 : libata
fa00-fa0f : 0000:00:1f.1
  fa00-fa07 : ide0
  fa08-fa0f : ide1
fb00-fb1f : 0000:00:1d.3
  fb00-fb1f : uhci_hcd
fc00-fc1f : 0000:00:1d.2
  fc00-fc1f : uhci_hcd
fd00-fd1f : 0000:00:1d.1
  fd00-fd1f : uhci_hcd
fe00-fe1f : 0000:00:1d.0
  fe00-fe1f : uhci_hcd
ff00-ff07 : 0000:00:02.0
Comment 3 Stefan Richter 2007-11-24 10:23:51 UTC
Created attachment 13735 [details]
output of "strace sensors" on the Apple PC (x86-64)

a) on the Apple PC (x86-64):
strace sensors attached, /proc/ioports below:

0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : 0000:00:1f.1
01f0-01f7 : 0000:00:1f.1
  01f0-01f7 : ide0
0300-031f : applesmc
0376-0376 : 0000:00:1f.1
03c0-03df : vesafb
03f6-03f6 : 0000:00:1f.1
  03f6-03f6 : ide0
0400-047f : 0000:00:1f.0
  0400-0403 : ACPI PM1a_EVT_BLK
  0404-0405 : ACPI PM1a_CNT_BLK
  0408-040b : ACPI PM_TMR
  0410-0415 : ACPI CPU throttle
  0420-0420 : ACPI PM2_CNT_BLK
  0428-042f : ACPI GPE0_BLK
0500-053f : 0000:00:1f.0
0cf8-0cff : PCI conf1
1000-1fff : PCI Bus #01
  1000-10ff : 0000:01:00.0
    1000-10ff : sky2
2020-202f : 0000:00:1f.2
  2020-202f : libata
2040-205f : 0000:00:1d.3
  2040-205f : uhci_hcd
2060-207f : 0000:00:1d.2
  2060-207f : uhci_hcd
2080-209f : 0000:00:1d.1
  2080-209f : uhci_hcd
20a0-20bf : 0000:00:1d.0
  20a0-20bf : uhci_hcd
20c0-20cf : 0000:00:1f.1
  20c0-20c7 : ide0
  20c8-20cf : ide1
20d0-20d7 : 0000:00:1f.2
  20d0-20d7 : libata
20d8-20df : 0000:00:1f.2
  20d8-20df : libata
20f0-20f7 : 0000:00:02.0
20f8-20fb : 0000:00:1f.2
  20f8-20fb : libata
20fc-20ff : 0000:00:1f.2
  20fc-20ff : libata
efa0-efbf : 0000:00:1f.3
  efa0-efbf : i801_smbus
Comment 4 Jean Delvare 2007-11-24 11:01:22 UTC
Both /proc/ioports look OK, but the strace outputs do not: for some reason, libsensors doesn't enter the hwmon class device directories. Do you have CONFIG_SYSFS_DEPRECATED set in your kernel config, or not? What version of sysfsutils are you using?
Comment 5 Stefan Richter 2007-11-24 12:06:49 UTC
I have CONFIG_SYSFS_DEPRECATED switched off, but I had 2.6.23 configured the same way.  I have Gentoo's sysfsutils 1.3.0-r1 installed on both PCs.  I am going to try what happens if I switch to sysfsutils 2.1.0.
Comment 6 Stefan Richter 2007-11-24 12:13:55 UTC
Works with sysfsutils 2.1.0.  Thanks, this can then probably be closed as not_a_bug.
Comment 7 Rafael J. Wysocki 2007-11-24 12:28:19 UTC
Closed, thanks.

Note You need to log in before you can comment on or make changes to this bug.