Bug 8115

Summary: it87 confused on 2.6.21-rc2-mm1
Product: Alternate Trees Reporter: Nicolas Mailhot (Nicolas.Mailhot)
Component: mmAssignee: Jean Delvare (jdelvare)
Status: RESOLVED CODE_FIX    
Severity: normal CC: akpm, jdelvare
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.21-rc2-mm1 Subsystem:
Regression: --- Bisected commit-id:
Attachments: 2.6.21-rc2-mm1 config
System lspci
2.6.21-rc2-mm1 dmesg
lm_sensors config file
lm-sensors-r4333-20070225 build log
2.6.21-rc2-git3 config
2.6.21-rc2-git3 dmesg
Detect i2c-isa-based drivers despite class_dev removal

Description Nicolas Mailhot 2007-03-03 01:41:55 UTC
Most recent kernel where this bug did *NOT* occur: 2.6.19-0.22-rc6-mm2
(was away for ~ 1 month and early 2.6.20 kernels didn't like my system)
Distribution: Fedora devel
Hardware Environment: Giga-byte Technology GA-K8N Ultra-9 Mainboard
Software Environment: lm_sensors-2.10.2, gnome-applet-sensors-1.7.9
Problem Description:

The it87 sensor is confused on 2.6.21-0.2-rc2-mm1 and can not find where it's
attached

$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core1 Temp:
             +39
Comment 1 Nicolas Mailhot 2007-03-03 01:42:33 UTC
Created attachment 10590 [details]
2.6.21-rc2-mm1 config
Comment 2 Nicolas Mailhot 2007-03-03 01:43:05 UTC
Created attachment 10591 [details]
System lspci
Comment 3 Nicolas Mailhot 2007-03-03 01:43:44 UTC
Created attachment 10592 [details]
2.6.21-rc2-mm1 dmesg
Comment 4 Nicolas Mailhot 2007-03-03 01:44:14 UTC
Created attachment 10593 [details]
lm_sensors config file
Comment 5 Jean Delvare 2007-03-03 01:46:55 UTC
Nicolas, can you please try with lm_sensors SVN:
http://dl.lm-sensors.org/lm-sensors/snapshots/lm-sensors-r4333-20070225.tar.bz2
Comment 6 Nicolas Mailhot 2007-03-03 02:01:13 UTC
Ok, will try. Is this a 2.10.3 prerelease snapshot?
Comment 7 Jean Delvare 2007-03-03 02:11:28 UTC
Sort of, yeah, although the 2.10.3 release isn't schedule yet.
Comment 8 Nicolas Mailhot 2007-03-03 02:16:17 UTC
Created attachment 10597 [details]
lm-sensors-r4333-20070225 build log
Comment 9 Nicolas Mailhot 2007-03-03 02:16:55 UTC
No luck

]$ sensors -v
sensors version 2.10.2-SVN with libsensors version 2.10.2-SVN
[nim@rousalka lm_sensors-2.10.3]$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core1 Temp:
             +36
Comment 10 Jean Delvare 2007-03-03 02:29:46 UTC
The "it8712-i2c-9191-290" name is unexpected, it should be "it8712-isa-0290" so
indeed something's broken. I'll try to reproduce it locally.

In the meantime, can you please test 2.6.21-rc2 (non-mm) and confirm that it
works OK?
Comment 11 Nicolas Mailhot 2007-03-03 02:34:12 UTC
sure
as soon as I get ivtv working on the mm one :)
Comment 12 Nicolas Mailhot 2007-03-03 04:27:58 UTC
I can confirm that's a -mm problem. Mainline (2.6.21-rc2.git3) is fine (but
lacks ivtv):

$ uname -a
Linux rousalka.dyndns.org 2.6.21-0.4.rc2.git3.fc7 #1 SMP Sat Mar 3 12:49:33 CET
2007 x86_64 x86_64 x86_64 GNU/Linux

$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core1 Temp:
             +37
Comment 13 Nicolas Mailhot 2007-03-03 04:31:07 UTC
Created attachment 10605 [details]
2.6.21-rc2-git3 config
Comment 14 Nicolas Mailhot 2007-03-03 04:32:14 UTC
Created attachment 10606 [details]
2.6.21-rc2-git3 dmesg
Comment 15 Jean Delvare 2007-03-03 06:02:31 UTC
Created attachment 10607 [details]
Detect i2c-isa-based drivers despite class_dev removal

Please apply this patch to your SVN snapshot of lm_sensors and try again. It
should make "sensors" work fine again.
Comment 16 Nicolas Mailhot 2007-03-03 07:42:27 UTC
The patch works, thanks
Comment 17 Jean Delvare 2007-03-03 07:59:17 UTC
Great, thanks for testing. Patch committed to the lm_sensors SVN repository. Now
I need to schedule the release of 2.10.3.