Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332899 - sys-kernel/gentoo-sources-2.6.32-r7: i801 smbus port not working
Summary: sys-kernel/gentoo-sources-2.6.32-r7: i801 smbus port not working
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugzilla.kernel.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-15 21:40 UTC by Francisco Blas Izquierdo Riera
Modified: 2011-01-08 00:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
2.6.28-r9 .config (conf-2.6.28,53.42 KB, text/plain)
2010-08-15 22:47 UTC, Francisco Blas Izquierdo Riera (RETIRED)
Details
2.6.32-r9 .config (conf-2.6.32,62.70 KB, text/plain)
2010-08-15 22:47 UTC, Francisco Blas Izquierdo Riera (RETIRED)
Details
gentoo-sources-2.6.32-r7 .config (conf-gentoo-sources-2.6.32,62.70 KB, text/plain)
2010-08-16 00:28 UTC, Francisco Blas Izquierdo Riera (RETIRED)
Details
gentoo-sources-2.6.30-r8 .config (conf-gentoo-sources-2.6.30,54.05 KB, text/plain)
2010-08-16 02:42 UTC, Francisco Blas Izquierdo Riera (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2010-08-15 21:40:46 UTC
The smbus port on the mainboard stopped working after upgrading to the new kernel. Going back to 2.6.28-r9 it works smoothly

Reproducible: Always

Steps to Reproduce:
Just but it up and try to use it.
Actual Results:  
sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.


Expected Results:  
ensors
as99127f-i2c-4-2d
Adapter: SMBus I801 adapter at e800
VCore:       +1.66 V  (min =  +1.57 V, max =  +1.73 V)   
+3.3V:       +3.47 V  (min =  +3.14 V, max =  +3.47 V)   
+5V:         +4.97 V  (min =  +4.76 V, max =  +5.24 V)   
+12V:       +12.22 V  (min = +10.82 V, max = +13.19 V)   
-12V:       -11.57 V  (min = -10.81 V, max = -13.22 V)   
-5V:         -5.15 V  (min =  -4.74 V, max =  -5.25 V)   ALARM
fan1:       4821 RPM  (min =    0 RPM, div = 4)
fan2:          0 RPM  (min =    0 RPM, div = 4)
fan3:       2410 RPM  (min =    0 RPM, div = 4)
M/B Temp:    +33.0°C  (high = +40.0°C, hyst = +37.0°C)  
CPU Temp:    +51.5°C  (high = +51.9°C, hyst = +47.0°C)  ALARM  
cpu0_vid:   +1.650 V
beep_enable:enabled


The fact sensors detect doesn't even try to analyse the bus makes me think this is a bus and not a chip problem.
Comment 1 Anthony Basile gentoo-dev 2010-08-15 22:41:49 UTC
Can you give me both your working 2.6.28-r9 and 2.6.32-r9.  I may have some boards here with i801 where I can get a handle on this one.
Comment 2 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2010-08-15 22:47:09 UTC
Created attachment 243137 [details]
2.6.28-r9 .config

blueness, you mean the config files or the binary kernels?

I have attached the configs anyway.
Comment 3 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2010-08-15 22:47:51 UTC
Created attachment 243139 [details]
2.6.32-r9 .config
Comment 4 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2010-08-16 00:28:45 UTC
Created attachment 243147 [details]
gentoo-sources-2.6.32-r7 .config

Tried with 2.6.32-gentoo-r7 and the bug was still reproducible so it doesn't seem to be hardened related.

Attaching the config used on gentoo-sources.
Comment 5 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2010-08-16 02:42:25 UTC
Created attachment 243153 [details]
gentoo-sources-2.6.30-r8 .config

Tried with gentoo-sources 2.6.30-r8 and the bus worked flawlessly. Attached is the config ussed in case it helps.
Comment 6 Anthony Basile gentoo-dev 2010-08-16 21:09:12 UTC
Okay I'm reassigning this one to the broader kernel audience.
Comment 7 Mike Pagano gentoo-dev 2010-08-17 17:39:43 UTC
Is that the full sensors-detect output?
Comment 8 Mike Pagano gentoo-dev 2010-08-17 18:14:51 UTC
I also have a system that uses i2c-i801.

I got the same output as you until I loaded coretemp.

kiowa i2c # lsmod
Module                  Size  Used by

kiowa i2c # lsmod
Module                  Size  Used by
i2c_i801                6434  0 

kiowa i2c # sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

kiowa i2c # modprobe coretemp

kiowa i2c # lsmod            
Module                  Size  Used by
coretemp                4550  0 
i2c_i801                6434  0 

kiowa i2c # sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +38.0°C  (high = +82.0°C, crit = +100.0°C)  

coretemp-isa-0001
Adapter: ISA adapter
Core 2:      +32.0°C  (high = +82.0°C, crit = +100.0°C)  

coretemp-isa-0002
Adapter: ISA adapter
Core 1:      +34.0°C  (high = +82.0°C, crit = +100.0°C)  

coretemp-isa-0003
Adapter: ISA adapter
Core 3:      +36.0°C  (high = +82.0°C, crit = +100.0°C)  

I tried this on gentoo-sources-2.6.35


Comment 9 Mike Pagano gentoo-dev 2010-09-03 16:10:22 UTC
Let us know if you performed the same steps as I did and still have a problem.
Comment 10 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2010-09-10 23:15:16 UTC
It is, no coretemp here as the machine is a pentium3 :(

Also, the chip sensor is an odd Asus one :/
Comment 11 Mike Pagano gentoo-dev 2010-10-24 23:12:00 UTC
Please report this bug upstream at http://bugzilla.kernel.org and post the url back here.
Comment 12 Mike Pagano gentoo-dev 2010-12-17 13:40:52 UTC
Please let us know when you have filed this upstream
Comment 13 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2011-01-08 00:55:04 UTC
Sorry for taking so much time, this christmas have been crazy :(

I did some investigation and I think tracked down the issue, I think I'm supposed to use i2c_ec but this was removed between .21 and .22 :(
Comment 14 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2011-01-08 00:56:42 UTC
idiot me, copy pasted a bad link.