All of lore.kernel.org
 help / color / mirror / Atom feed
* Issues with Arima HDAMA Opteron Motherboard
@ 2005-05-19  6:24 Marc Rieffel
  2005-05-19  6:24 ` Mark Studebaker
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Marc Rieffel @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

[I tried to submit a ticked on this but it didn't go through.  I apologize if it's a duplicate.]

I'm having trouble with i2c and lm_sensors on my dual Opteron Arima motherboard.  This has an AMD 8111 chip and a Winbod w83627hf chip.  I'm running 64-bit SuSE.

When I try to build i2c, I get an error,

gcc -I/lib/modules/2.4.19MARi2c-NUMA/build/include -nostdinc -I /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/include -Wall -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit 00 -fno-strength-reduce -c kernel/i2c-algo-biths.c -o kernel/i2c-algo-biths.o
/tmp/ccP00QFi.s: Assembler messages:
/tmp/ccP00QFi.s:1424: Error: Incorrect register `%rdx' used with `l' suffix
make: *** [kernel/i2c-algo-biths.o] Error 1

# gcc -v
Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux
Thread model: posix
gcc version 3.2.2 (SuSE Linux)

# uname -a
Linux gb0008 2.4.19MARi2c-NUMA #2 Fri Oct 17 06:39:18 PDT 2003 x86_64 unknown

I don't know if I need this module or not.  If I disable i2c-algo-biths in kernel/Module.mk, then I'm able to compile,

< ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOBITHS=y' $(LINUX)/.config; then echo 1; fi),1)
< KERNELTARGETS += $(MODULE_DIR)/i2c-algo-biths.o
< KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-biths.h
< endif
---
> #ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOBITHS=y' $(LINUX)/.config; then echo 1; fi),1)
> #KERNELTARGETS += $(MODULE_DIR)/i2c-algo-biths.o
> #KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-biths.h
> #endif


lm_sensors compiles OK.  I can't detect any sensors, though:


gb0008:/tmp/marc/lm_sensors-2.8.1 # prog/detect/sensors-detect

This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built-in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.

 System vendor (DMI): AMD
 BIOS version (DMI): PMLC00-7
 We can start with probing for (PCI) I2C or SMBus adapters.
 You do not need any special privileges for this.
 Do you want to probe now? (YES/no):
gb0008:/tmp/marc/lm_sensors-2.8.1 # lsmod|grep i2
i2c-proc                9608   0
i2c-dev                 5792   0
i2c-core               23460   0  [i2c-proc i2c-dev]
gb0008:/tmp/marc/lm_sensors-2.8.1 # rmmod i2c-proc i2c-dev
gb0008:/tmp/marc/lm_sensors-2.8.1 # prog/detect/sensors-detect

This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built-in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.

 System vendor (DMI): AMD
 BIOS version (DMI): PMLC00-7
 We can start with probing for (PCI) I2C or SMBus adapters.
 You do not need any special privileges for this.
 Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-amd8111' for device 00:07.2: AMD-8111 SMBus 2.0
Use driver `i2c-amd756' for device 00:07.3: AMD-8111 ACPI
Probe succesfully concluded.

 We will now try to load each adapter module in turn.
Load `i2c-amd8111' (say NO if built into your kernel)? (YES/no):
Module loaded succesfully.
Load `i2c-amd756' (say NO if built into your kernel)? (YES/no):
/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod /lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o failed
/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod i2c-amd756 failed
Loading failed... skipping.
 Do you now want to be prompted for non-detectable adapters? (yes/NO):
 To continue, we need module `i2c-dev' to be loaded.
 If it is built-in into your kernel, you can safely skip this.
 i2c-dev is not loaded. Do you want to load it now? (YES/no):
 Module loaded succesfully.

 We are now going to do the adapter probings. Some adapters may hang halfway
 through; we can't really help that. Also, some chips will be double detected;
 we choose the one with the highest confidence value in that case.
 If you found that the adapter hung after probing a certain address, you can
 specify that address to remain unprobed. That often
 includes address 0x69 (clock chip).

Next adapter: SMBus2 AMD8111 adapter at 1000 (Non-I2C SMBus 2.0 adapter)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x08

 Some chips are also accessible through the ISA bus. ISA probes are
 typically a bit more dangerous, as we have to write to I/O ports to do
 this.  Do you want to scan the ISA bus? (YES/no):
Probing for `National Semiconductor LM78'
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
  Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
  Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
  Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
  Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
  Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
  Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
  Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
  Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
  Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
  Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
  Trying address 0x0ca8... Failed!

 Some Super I/O chips may also contain sensors. Super I/O probes are
 typically a bit more dangerous, as we have to write to I/O ports to do
 this.  Do you want to scan for Super I/O sensors? (YES/no):
Probing for `SMSC 47M10x Super IO Fan Sensors'
  Failed! (0xe1)
Probing for `SMSC 47M14x Super IO Fan Sensors'
  Failed! (0xe1)
Probing for `VT1211 Super IO Sensors'
  Failed! (0xe1)
Probing for `Winbond W83627HF Super IO Sensors'
  Failed! (0xe1)
Probing for `Winbond W83627THF Super IO Sensors'
  Failed! (0xe1)
Probing for `Winbond W83697HF Super IO Sensors'
  Failed! (0xe1)

 Sorry, no chips were detected.
 Either your sensors are not supported, or they are
 connected to an I2C bus adapter that we do not support.
 See doc/FAQ, doc/lm_sensors-FAQ.html, or
 http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.html
 (FAQ #4.24.3) for further information.
 If you find out what chips are on your board, see
 http://secure.netroedge.com/~lm78/newdrivers.html for driver status.




When I try to manually insert the winbond module, it fails,

gb0008:~ # insmod w83627hf
Using /lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/chips/w83627hf.o
/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/chips/w83627hf.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg

Any suggestions?

Thanks.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Issues with Arima HDAMA Opteron Motherboard
  2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
  2005-05-19  6:24 ` Mark Studebaker
@ 2005-05-19  6:24 ` Marc Rieffel
  2005-05-19  6:24 ` Philip Pokorny
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Marc Rieffel @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

[Correction:  This system has an ADM1026 chip, not a Sinbond chip.]

I'm having trouble with i2c and lm_sensors on my dual Opteron Arima motherboard.  This has an AMD 8111 chip and an ADM 1026jst chip.  I'm running 64-bit SuSE.

When I try to build i2c, I get an error,

gcc -I/lib/modules/2.4.19MARi2c-NUMA/build/include -nostdinc -I /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/include -Wall -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit 00 -fno-strength-reduce -c kernel/i2c-algo-biths.c -o kernel/i2c-algo-biths.o
/tmp/ccP00QFi.s: Assembler messages:
/tmp/ccP00QFi.s:1424: Error: Incorrect register `%rdx' used with `l' suffix
make: *** [kernel/i2c-algo-biths.o] Error 1

# gcc -v
Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux
Thread model: posix
gcc version 3.2.2 (SuSE Linux)

# uname -a
Linux gb0008 2.4.19MARi2c-NUMA #2 Fri Oct 17 06:39:18 PDT 2003 x86_64 unknown

I don't know if I need this module or not.  If I disable i2c-algo-biths in kernel/Module.mk, then I'm able to compile,

< ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOBITHS=y' $(LINUX)/.config; then echo 1; fi),1)
< KERNELTARGETS += $(MODULE_DIR)/i2c-algo-biths.o
< KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-biths.h
< endif
---
> #ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOBITHS=y' $(LINUX)/.config; then echo 1; fi),1)
> #KERNELTARGETS += $(MODULE_DIR)/i2c-algo-biths.o
> #KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-biths.h
> #endif


lm_sensors compiles OK.  I can't detect any sensors, though:


gb0008:/tmp/marc/lm_sensors-2.8.1 # prog/detect/sensors-detect

This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built-in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.

 System vendor (DMI): AMD
 BIOS version (DMI): PMLC00-7
 We can start with probing for (PCI) I2C or SMBus adapters.
 You do not need any special privileges for this.
 Do you want to probe now? (YES/no):
gb0008:/tmp/marc/lm_sensors-2.8.1 # lsmod|grep i2
i2c-proc                9608   0
i2c-dev                 5792   0
i2c-core               23460   0  [i2c-proc i2c-dev]
gb0008:/tmp/marc/lm_sensors-2.8.1 # rmmod i2c-proc i2c-dev
gb0008:/tmp/marc/lm_sensors-2.8.1 # prog/detect/sensors-detect

This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built-in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.

 System vendor (DMI): AMD
 BIOS version (DMI): PMLC00-7
 We can start with probing for (PCI) I2C or SMBus adapters.
 You do not need any special privileges for this.
 Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-amd8111' for device 00:07.2: AMD-8111 SMBus 2.0
Use driver `i2c-amd756' for device 00:07.3: AMD-8111 ACPI
Probe succesfully concluded.

 We will now try to load each adapter module in turn.
Load `i2c-amd8111' (say NO if built into your kernel)? (YES/no):
Module loaded succesfully.
Load `i2c-amd756' (say NO if built into your kernel)? (YES/no):
/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod /lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o failed
/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod i2c-amd756 failed
Loading failed... skipping.
 Do you now want to be prompted for non-detectable adapters? (yes/NO):
 To continue, we need module `i2c-dev' to be loaded.
 If it is built-in into your kernel, you can safely skip this.
 i2c-dev is not loaded. Do you want to load it now? (YES/no):
 Module loaded succesfully.

 We are now going to do the adapter probings. Some adapters may hang halfway
 through; we can't really help that. Also, some chips will be double detected;
 we choose the one with the highest confidence value in that case.
 If you found that the adapter hung after probing a certain address, you can
 specify that address to remain unprobed. That often
 includes address 0x69 (clock chip).

Next adapter: SMBus2 AMD8111 adapter at 1000 (Non-I2C SMBus 2.0 adapter)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x08

 Some chips are also accessible through the ISA bus. ISA probes are
 typically a bit more dangerous, as we have to write to I/O ports to do
 this.  Do you want to scan the ISA bus? (YES/no):
Probing for `National Semiconductor LM78'
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
  Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
  Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
  Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
  Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
  Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
  Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
  Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
  Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
  Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
  Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
  Trying address 0x0ca8... Failed!

 Some Super I/O chips may also contain sensors. Super I/O probes are
 typically a bit more dangerous, as we have to write to I/O ports to do
 this.  Do you want to scan for Super I/O sensors? (YES/no):
Probing for `SMSC 47M10x Super IO Fan Sensors'
  Failed! (0xe1)
Probing for `SMSC 47M14x Super IO Fan Sensors'
  Failed! (0xe1)
Probing for `VT1211 Super IO Sensors'
  Failed! (0xe1)
Probing for `Winbond W83627HF Super IO Sensors'
  Failed! (0xe1)
Probing for `Winbond W83627THF Super IO Sensors'
  Failed! (0xe1)
Probing for `Winbond W83697HF Super IO Sensors'
  Failed! (0xe1)

 Sorry, no chips were detected.
 Either your sensors are not supported, or they are
 connected to an I2C bus adapter that we do not support.
 See doc/FAQ, doc/lm_sensors-FAQ.html, or
 http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.html
 (FAQ #4.24.3) for further information.
 If you find out what chips are on your board, see
 http://secure.netroedge.com/~lm78/newdrivers.html for driver status.




When I try to manually insert the adm1026 module, it inserts but finds nothing,

# modprobe adm1026

adm1026: Version 2.8.1 (20031005)
adm1026: See http://www.penguincomputing.com/lm_sensors for more info.

 # /usr/local/bin/sensors
No sensors found!


Any suggestions?

Thanks.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Issues with Arima HDAMA Opteron Motherboard
  2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
@ 2005-05-19  6:24 ` Mark Studebaker
  2005-05-19  6:24 ` Marc Rieffel
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Mark Studebaker @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

no you don't need i2c-algo-biths.
You can use 'make -k' to keep going after an error.

Try rmmoding the amd8111 module, then running sensors-detect again,
then saying no when it asks to load it, but say yes to the 756 module.
Also see if there is any info in dmesg if it fails to load.

Marc Rieffel wrote:
> 
> [Correction:  This system has an ADM1026 chip, not a Sinbond chip.]
> 
> I'm having trouble with i2c and lm_sensors on my dual Opteron Arima motherboard.  This has an AMD 8111 chip and an ADM 1026jst chip.  I'm running 64-bit SuSE.
> 
> When I try to build i2c, I get an error,
> 
> gcc -I/lib/modules/2.4.19MARi2c-NUMA/build/include -nostdinc -I /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/include -Wall -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit 00 -fno-strength-reduce -c kernel/i2c-algo-biths.c -o kernel/i2c-algo-biths.o
> /tmp/ccP00QFi.s: Assembler messages:
> /tmp/ccP00QFi.s:1424: Error: Incorrect register `%rdx' used with `l' suffix
> make: *** [kernel/i2c-algo-biths.o] Error 1
> 
> # gcc -v
> Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/specs
> Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux
> Thread model: posix
> gcc version 3.2.2 (SuSE Linux)
> 
> # uname -a
> Linux gb0008 2.4.19MARi2c-NUMA #2 Fri Oct 17 06:39:18 PDT 2003 x86_64 unknown
> 
> I don't know if I need this module or not.  If I disable i2c-algo-biths in kernel/Module.mk, then I'm able to compile,
> 
> < ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOBITHS=y' $(LINUX)/.config; then echo 1; fi),1)
> < KERNELTARGETS += $(MODULE_DIR)/i2c-algo-biths.o
> < KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-biths.h
> < endif
> ---
> > #ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOBITHS=y' $(LINUX)/.config; then echo 1; fi),1)
> > #KERNELTARGETS += $(MODULE_DIR)/i2c-algo-biths.o
> > #KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-biths.h
> > #endif
> 
> lm_sensors compiles OK.  I can't detect any sensors, though:
> 
> gb0008:/tmp/marc/lm_sensors-2.8.1 # prog/detect/sensors-detect
> 
> This program will help you determine which I2C/SMBus modules you need to
> load to use lm_sensors most effectively. You need to have i2c and
> lm_sensors installed before running this program.
> Also, you need to be `root', or at least have access to the /dev/i2c-*
> files, for most things.
> If you have patched your kernel and have some drivers built-in, you can
> safely answer NO if asked to load some modules. In this case, things may
> seem a bit confusing, but they will still work.
> 
>  System vendor (DMI): AMD
>  BIOS version (DMI): PMLC00-7
>  We can start with probing for (PCI) I2C or SMBus adapters.
>  You do not need any special privileges for this.
>  Do you want to probe now? (YES/no):
> gb0008:/tmp/marc/lm_sensors-2.8.1 # lsmod|grep i2
> i2c-proc                9608   0
> i2c-dev                 5792   0
> i2c-core               23460   0  [i2c-proc i2c-dev]
> gb0008:/tmp/marc/lm_sensors-2.8.1 # rmmod i2c-proc i2c-dev
> gb0008:/tmp/marc/lm_sensors-2.8.1 # prog/detect/sensors-detect
> 
> This program will help you determine which I2C/SMBus modules you need to
> load to use lm_sensors most effectively. You need to have i2c and
> lm_sensors installed before running this program.
> Also, you need to be `root', or at least have access to the /dev/i2c-*
> files, for most things.
> If you have patched your kernel and have some drivers built-in, you can
> safely answer NO if asked to load some modules. In this case, things may
> seem a bit confusing, but they will still work.
> 
>  System vendor (DMI): AMD
>  BIOS version (DMI): PMLC00-7
>  We can start with probing for (PCI) I2C or SMBus adapters.
>  You do not need any special privileges for this.
>  Do you want to probe now? (YES/no):
> Probing for PCI bus adapters...
> Use driver `i2c-amd8111' for device 00:07.2: AMD-8111 SMBus 2.0
> Use driver `i2c-amd756' for device 00:07.3: AMD-8111 ACPI
> Probe succesfully concluded.
> 
>  We will now try to load each adapter module in turn.
> Load `i2c-amd8111' (say NO if built into your kernel)? (YES/no):
> Module loaded succesfully.
> Load `i2c-amd756' (say NO if built into your kernel)? (YES/no):
> /lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: init_module: No such device
> Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
>       You may find more information in syslog or the output from dmesg
> /lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod /lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o failed
> /lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod i2c-amd756 failed
> Loading failed... skipping.
>  Do you now want to be prompted for non-detectable adapters? (yes/NO):
>  To continue, we need module `i2c-dev' to be loaded.
>  If it is built-in into your kernel, you can safely skip this.
>  i2c-dev is not loaded. Do you want to load it now? (YES/no):
>  Module loaded succesfully.
> 
>  We are now going to do the adapter probings. Some adapters may hang halfway
>  through; we can't really help that. Also, some chips will be double detected;
>  we choose the one with the highest confidence value in that case.
>  If you found that the adapter hung after probing a certain address, you can
>  specify that address to remain unprobed. That often
>  includes address 0x69 (clock chip).
> 
> Next adapter: SMBus2 AMD8111 adapter at 1000 (Non-I2C SMBus 2.0 adapter)
> Do you want to scan it? (YES/no/selectively):
> Client found at address 0x08
> 
>  Some chips are also accessible through the ISA bus. ISA probes are
>  typically a bit more dangerous, as we have to write to I/O ports to do
>  this.  Do you want to scan the ISA bus? (YES/no):
> Probing for `National Semiconductor LM78'
>   Trying address 0x0290... Failed!
> Probing for `National Semiconductor LM78-J'
>   Trying address 0x0290... Failed!
> Probing for `National Semiconductor LM79'
>   Trying address 0x0290... Failed!
> Probing for `Winbond W83781D'
>   Trying address 0x0290... Failed!
> Probing for `Winbond W83782D'
>   Trying address 0x0290... Failed!
> Probing for `Winbond W83627HF'
>   Trying address 0x0290... Failed!
> Probing for `Winbond W83697HF'
>   Trying address 0x0290... Failed!
> Probing for `Silicon Integrated Systems SIS5595'
>   Trying general detect... Failed!
> Probing for `VIA Technologies VT82C686 Integrated Sensors'
>   Trying general detect... Failed!
> Probing for `VIA Technologies VT8231 Integrated Sensors'
>   Trying general detect... Failed!
> Probing for `ITE IT8705F / IT8712F / SiS 950'
>   Trying address 0x0290... Failed!
> Probing for `IPMI BMC KCS'
>   Trying address 0x0ca0... Failed!
> Probing for `IPMI BMC SMIC'
>   Trying address 0x0ca8... Failed!
> 
>  Some Super I/O chips may also contain sensors. Super I/O probes are
>  typically a bit more dangerous, as we have to write to I/O ports to do
>  this.  Do you want to scan for Super I/O sensors? (YES/no):
> Probing for `SMSC 47M10x Super IO Fan Sensors'
>   Failed! (0xe1)
> Probing for `SMSC 47M14x Super IO Fan Sensors'
>   Failed! (0xe1)
> Probing for `VT1211 Super IO Sensors'
>   Failed! (0xe1)
> Probing for `Winbond W83627HF Super IO Sensors'
>   Failed! (0xe1)
> Probing for `Winbond W83627THF Super IO Sensors'
>   Failed! (0xe1)
> Probing for `Winbond W83697HF Super IO Sensors'
>   Failed! (0xe1)
> 
>  Sorry, no chips were detected.
>  Either your sensors are not supported, or they are
>  connected to an I2C bus adapter that we do not support.
>  See doc/FAQ, doc/lm_sensors-FAQ.html, or
>  http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.html
>  (FAQ #4.24.3) for further information.
>  If you find out what chips are on your board, see
>  http://secure.netroedge.com/~lm78/newdrivers.html for driver status.
> 
> When I try to manually insert the adm1026 module, it inserts but finds nothing,
> 
> # modprobe adm1026
> 
> adm1026: Version 2.8.1 (20031005)
> adm1026: See http://www.penguincomputing.com/lm_sensors for more info.
> 
>  # /usr/local/bin/sensors
> No sensors found!
> 
> Any suggestions?
> 
> Thanks.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Issues with Arima HDAMA Opteron Motherboard
  2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
  2005-05-19  6:24 ` Mark Studebaker
  2005-05-19  6:24 ` Marc Rieffel
@ 2005-05-19  6:24 ` Philip Pokorny
  2005-05-19  6:24 ` Philip Pokorny
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Philip Pokorny @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

The problem is that the i2c-amd756 driver doesn't have the PCI entries 
for the AMD8111 in it.  The AMD8111 has *two* SMBus interfaces on it. 
One is SMBus 2.0 and the other is the amd756 compatible bus that most 
commonly has devices connected to it.

 >>Load `i2c-amd756' (say NO if built into your kernel)? (YES/no):
 >>/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: init_module: No such device
 >>Hint: insmod errors can be caused by incorrect module parameters, 
including invalid IO or IRQ parameters.
 >>      You may find more information in syslog or the output from dmesg
 >>/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod /lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o failed
 >>/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod i2c-amd756 failed
 >>Loading failed... skipping.

So it fails to attach to the chip and you don't have the BUS you need to 
see the devices.

I've been meaning to submit a patch for this, but I haven't had the time 
to get one together.  The patch is very simple.

:v)

Mark Studebaker wrote:
> no you don't need i2c-algo-biths.
> You can use 'make -k' to keep going after an error.
> 
> Try rmmoding the amd8111 module, then running sensors-detect again,
> then saying no when it asks to load it, but say yes to the 756 module.
> Also see if there is any info in dmesg if it fails to load.
> 
> Marc Rieffel wrote:
> 
>>[Correction:  This system has an ADM1026 chip, not a Sinbond chip.]
>>
>>I'm having trouble with i2c and lm_sensors on my dual Opteron Arima motherboard.  This has an AMD 8111 chip and an ADM 1026jst chip.  I'm running 64-bit SuSE.
>>
>>When I try to build i2c, I get an error,
>>
>>gcc -I/lib/modules/2.4.19MARi2c-NUMA/build/include -nostdinc -I /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/include -Wall -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit 00 -fno-strength-reduce -c kernel/i2c-algo-biths.c -o kernel/i2c-algo-biths.o
>>/tmp/ccP00QFi.s: Assembler messages:
>>/tmp/ccP00QFi.s:1424: Error: Incorrect register `%rdx' used with `l' suffix
>>make: *** [kernel/i2c-algo-biths.o] Error 1
>>
>># gcc -v
>>Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/specs
>>Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux
>>Thread model: posix
>>gcc version 3.2.2 (SuSE Linux)
>>
>># uname -a
>>Linux gb0008 2.4.19MARi2c-NUMA #2 Fri Oct 17 06:39:18 PDT 2003 x86_64 unknown
>>
>>I don't know if I need this module or not.  If I disable i2c-algo-biths in kernel/Module.mk, then I'm able to compile,
>>
>>< ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOBITHS=y' $(LINUX)/.config; then echo 1; fi),1)
>>< KERNELTARGETS += $(MODULE_DIR)/i2c-algo-biths.o
>>< KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-biths.h
>>< endif
>>---
>>
>>>#ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOBITHS=y' $(LINUX)/.config; then echo 1; fi),1)
>>>#KERNELTARGETS += $(MODULE_DIR)/i2c-algo-biths.o
>>>#KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-biths.h
>>>#endif
>>
>>lm_sensors compiles OK.  I can't detect any sensors, though:
>>
>>gb0008:/tmp/marc/lm_sensors-2.8.1 # prog/detect/sensors-detect
>>
>>This program will help you determine which I2C/SMBus modules you need to
>>load to use lm_sensors most effectively. You need to have i2c and
>>lm_sensors installed before running this program.
>>Also, you need to be `root', or at least have access to the /dev/i2c-*
>>files, for most things.
>>If you have patched your kernel and have some drivers built-in, you can
>>safely answer NO if asked to load some modules. In this case, things may
>>seem a bit confusing, but they will still work.
>>
>> System vendor (DMI): AMD
>> BIOS version (DMI): PMLC00-7
>> We can start with probing for (PCI) I2C or SMBus adapters.
>> You do not need any special privileges for this.
>> Do you want to probe now? (YES/no):
>>gb0008:/tmp/marc/lm_sensors-2.8.1 # lsmod|grep i2
>>i2c-proc                9608   0
>>i2c-dev                 5792   0
>>i2c-core               23460   0  [i2c-proc i2c-dev]
>>gb0008:/tmp/marc/lm_sensors-2.8.1 # rmmod i2c-proc i2c-dev
>>gb0008:/tmp/marc/lm_sensors-2.8.1 # prog/detect/sensors-detect
>>
>>This program will help you determine which I2C/SMBus modules you need to
>>load to use lm_sensors most effectively. You need to have i2c and
>>lm_sensors installed before running this program.
>>Also, you need to be `root', or at least have access to the /dev/i2c-*
>>files, for most things.
>>If you have patched your kernel and have some drivers built-in, you can
>>safely answer NO if asked to load some modules. In this case, things may
>>seem a bit confusing, but they will still work.
>>
>> System vendor (DMI): AMD
>> BIOS version (DMI): PMLC00-7
>> We can start with probing for (PCI) I2C or SMBus adapters.
>> You do not need any special privileges for this.
>> Do you want to probe now? (YES/no):
>>Probing for PCI bus adapters...
>>Use driver `i2c-amd8111' for device 00:07.2: AMD-8111 SMBus 2.0
>>Use driver `i2c-amd756' for device 00:07.3: AMD-8111 ACPI
>>Probe succesfully concluded.
>>
>> We will now try to load each adapter module in turn.
>>Load `i2c-amd8111' (say NO if built into your kernel)? (YES/no):
>>Module loaded succesfully.
>>Load `i2c-amd756' (say NO if built into your kernel)? (YES/no):
>>/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: init_module: No such device
>>Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
>>      You may find more information in syslog or the output from dmesg
>>/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod /lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o failed
>>/lib/modules/2.4.19MARi2c-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod i2c-amd756 failed
>>Loading failed... skipping.
>> Do you now want to be prompted for non-detectable adapters? (yes/NO):
>> To continue, we need module `i2c-dev' to be loaded.
>> If it is built-in into your kernel, you can safely skip this.
>> i2c-dev is not loaded. Do you want to load it now? (YES/no):
>> Module loaded succesfully.
>>
>> We are now going to do the adapter probings. Some adapters may hang halfway
>> through; we can't really help that. Also, some chips will be double detected;
>> we choose the one with the highest confidence value in that case.
>> If you found that the adapter hung after probing a certain address, you can
>> specify that address to remain unprobed. That often
>> includes address 0x69 (clock chip).
>>
>>Next adapter: SMBus2 AMD8111 adapter at 1000 (Non-I2C SMBus 2.0 adapter)
>>Do you want to scan it? (YES/no/selectively):
>>Client found at address 0x08
>>
>> Some chips are also accessible through the ISA bus. ISA probes are
>> typically a bit more dangerous, as we have to write to I/O ports to do
>> this.  Do you want to scan the ISA bus? (YES/no):
>>Probing for `National Semiconductor LM78'
>>  Trying address 0x0290... Failed!
>>Probing for `National Semiconductor LM78-J'
>>  Trying address 0x0290... Failed!
>>Probing for `National Semiconductor LM79'
>>  Trying address 0x0290... Failed!
>>Probing for `Winbond W83781D'
>>  Trying address 0x0290... Failed!
>>Probing for `Winbond W83782D'
>>  Trying address 0x0290... Failed!
>>Probing for `Winbond W83627HF'
>>  Trying address 0x0290... Failed!
>>Probing for `Winbond W83697HF'
>>  Trying address 0x0290... Failed!
>>Probing for `Silicon Integrated Systems SIS5595'
>>  Trying general detect... Failed!
>>Probing for `VIA Technologies VT82C686 Integrated Sensors'
>>  Trying general detect... Failed!
>>Probing for `VIA Technologies VT8231 Integrated Sensors'
>>  Trying general detect... Failed!
>>Probing for `ITE IT8705F / IT8712F / SiS 950'
>>  Trying address 0x0290... Failed!
>>Probing for `IPMI BMC KCS'
>>  Trying address 0x0ca0... Failed!
>>Probing for `IPMI BMC SMIC'
>>  Trying address 0x0ca8... Failed!
>>
>> Some Super I/O chips may also contain sensors. Super I/O probes are
>> typically a bit more dangerous, as we have to write to I/O ports to do
>> this.  Do you want to scan for Super I/O sensors? (YES/no):
>>Probing for `SMSC 47M10x Super IO Fan Sensors'
>>  Failed! (0xe1)
>>Probing for `SMSC 47M14x Super IO Fan Sensors'
>>  Failed! (0xe1)
>>Probing for `VT1211 Super IO Sensors'
>>  Failed! (0xe1)
>>Probing for `Winbond W83627HF Super IO Sensors'
>>  Failed! (0xe1)
>>Probing for `Winbond W83627THF Super IO Sensors'
>>  Failed! (0xe1)
>>Probing for `Winbond W83697HF Super IO Sensors'
>>  Failed! (0xe1)
>>
>> Sorry, no chips were detected.
>> Either your sensors are not supported, or they are
>> connected to an I2C bus adapter that we do not support.
>> See doc/FAQ, doc/lm_sensors-FAQ.html, or
>> http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.html
>> (FAQ #4.24.3) for further information.
>> If you find out what chips are on your board, see
>> http://secure.netroedge.com/~lm78/newdrivers.html for driver status.
>>
>>When I try to manually insert the adm1026 module, it inserts but finds nothing,
>>
>># modprobe adm1026
>>
>>adm1026: Version 2.8.1 (20031005)
>>adm1026: See http://www.penguincomputing.com/lm_sensors for more info.
>>
>> # /usr/local/bin/sensors
>>No sensors found!
>>
>>Any suggestions?
>>
>>Thanks.
> 
> 



-- 
Philip Pokorny, Director of Engineering
Tel: 415-358-2635   Fax: 415-358-2646   Toll Free: 888-PENGUIN
PENGUIN COMPUTING, INC.
www.penguincomputing.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Issues with Arima HDAMA Opteron Motherboard
  2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
                   ` (3 preceding siblings ...)
  2005-05-19  6:24 ` Philip Pokorny
@ 2005-05-19  6:24 ` Marc Rieffel
  2005-05-19  6:24 ` Jean Delvare
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Marc Rieffel @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

Loading the 756 instead of the 8111 doesn't do any better.  See below.  So Philip may be right about needing a patch for the 8111 driver.

As a side note, I saw something somewhere about BMC so I tried making an IMPI kernel and loading the bmcsensors module, but that didn't turn up anything either. 

gb0008:/tmp/marc/ipmi/lm_sensors-2.8.1 # prog/detect/sensors-detect

This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built-in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.

 BIOS vendor (ACPI): PTLTD
 System vendor (DMI): AMD
 BIOS version (DMI): PMLC00-7
 We can start with probing for (PCI) I2C or SMBus adapters.
 You do not need any special privileges for this.
 Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-amd8111' for device 00:07.2: AMD-8111 SMBus 2.0
Use driver `i2c-amd756' for device 00:07.3: AMD-8111 ACPI
Probe succesfully concluded.

 We will now try to load each adapter module in turn.
Load `i2c-amd8111' (say NO if built into your kernel)? (YES/no): no
Load `i2c-amd756' (say NO if built into your kernel)? (YES/no):
/lib/modules/2.4.19MARipmi-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.19MARipmi-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod /lib/modules/2.4.19MARipmi-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o failed
/lib/modules/2.4.19MARipmi-NUMA/kernel/drivers/i2c/busses/i2c-amd756.o: insmod i2c-amd756 failed
Loading failed... skipping.
 Do you now want to be prompted for non-detectable adapters? (yes/NO):
 To continue, we need module `i2c-dev' to be loaded.
 If it is built-in into your kernel, you can safely skip this.
 i2c-dev is not loaded. Do you want to load it now? (YES/no):
 Module loaded succesfully.

 We are now going to do the adapter probings. Some adapters may hang halfway
 through; we can't really help that. Also, some chips will be double detected;
 we choose the one with the highest confidence value in that case.
 If you found that the adapter hung after probing a certain address, you can
 specify that address to remain unprobed. That often
 includes address 0x69 (clock chip).

 Some chips are also accessible through the ISA bus. ISA probes are
 typically a bit more dangerous, as we have to write to I/O ports to do
 this.  Do you want to scan the ISA bus? (YES/no):
Probing for `National Semiconductor LM78'
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
  Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
  Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
  Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
  Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
  Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
  Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
  Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
  Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
  Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
  Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
  Trying address 0x0ca8... Failed!

 Some Super I/O chips may also contain sensors. Super I/O probes are
 typically a bit more dangerous, as we have to write to I/O ports to do
 this.  Do you want to scan for Super I/O sensors? (YES/no):
Probing for `SMSC 47M10x Super IO Fan Sensors'
  Failed! (0xe1)
Probing for `SMSC 47M14x Super IO Fan Sensors'
  Failed! (0xe1)
Probing for `VT1211 Super IO Sensors'
  Failed! (0xe1)
Probing for `Winbond W83627HF Super IO Sensors'
  Failed! (0xe1)
Probing for `Winbond W83627THF Super IO Sensors'
  Failed! (0xe1)
Probing for `Winbond W83697HF Super IO Sensors'
  Failed! (0xe1)

 Sorry, no chips were detected.
 Either your sensors are not supported, or they are
 connected to an I2C bus adapter that we do not support.
 See doc/FAQ, doc/lm_sensors-FAQ.html, or
 http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.html
 (FAQ #4.24.3) for further information.
 If you find out what chips are on your board, see
 http://secure.netroedge.com/~lm78/newdrivers.html for driver status.


Nothing useful in dmesg:

i2c-amd756.o version 2.8.1 (20031005)
i2c-core.o: i2c core module version 2.8.1 (20031005)
i2c-dev.o: i2c /dev entries driver module version 2.8.1 (20031005)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Issues with Arima HDAMA Opteron Motherboard
  2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
                   ` (4 preceding siblings ...)
  2005-05-19  6:24 ` Marc Rieffel
@ 2005-05-19  6:24 ` Jean Delvare
  2005-05-19  6:24 ` Mark Studebaker
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Jean Delvare @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors


> The problem is that the i2c-amd756 driver doesn't have the PCI entries
> 
> for the AMD8111 in it.  The AMD8111 has *two* SMBus interfaces on it. 
> One is SMBus 2.0 and the other is the amd756 compatible bus that most 
> commonly has devices connected to it.
> 
> (...)
> 
> So it fails to attach to the chip and you don't have the BUS you need
> to see the devices.
> 
> I've been meaning to submit a patch for this, but I haven't had the
> time to get one together.  The patch is very simple.

Philip,

That would be really great if you could find some time to commit that
patch, especially if it is simple. This isn't the first user complaining
about that problem.

Thanks.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Issues with Arima HDAMA Opteron Motherboard
  2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
                   ` (2 preceding siblings ...)
  2005-05-19  6:24 ` Philip Pokorny
@ 2005-05-19  6:24 ` Philip Pokorny
  2005-05-19  6:24 ` Marc Rieffel
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Philip Pokorny @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

I found the source of the problem.

In the backport that created CVS version 1.23 from version 1.22 the 
entire driver got pretty much wacked.  As a result, the entries that 
were added to support the AMD8111 in 2.7.0 (version 1.22) got removed 
along with just about all the rest of the code.

So that explains why 2.7.0 works and 2.8 and following don't.

The PCI device ID for the AMD756 compatible interface in the 8111 chip is:

    0x746b

I'll try and find a few more minutes to work on the patch.

:v)

Jean Delvare wrote:
>>The problem is that the i2c-amd756 driver doesn't have the PCI entries
>>
>>for the AMD8111 in it.  The AMD8111 has *two* SMBus interfaces on it. 
>>One is SMBus 2.0 and the other is the amd756 compatible bus that most 
>>commonly has devices connected to it.
>>
>>(...)
>>
>>So it fails to attach to the chip and you don't have the BUS you need
>>to see the devices.
>>
>>I've been meaning to submit a patch for this, but I haven't had the
>>time to get one together.  The patch is very simple.
> 
> 
> Philip,
> 
> That would be really great if you could find some time to commit that
> patch, especially if it is simple. This isn't the first user complaining
> about that problem.
> 
> Thanks.
> 



-- 
Philip Pokorny, Director of Engineering
Tel: 415-358-2635   Fax: 415-358-2646   Toll Free: 888-PENGUIN
PENGUIN COMPUTING, INC.
www.penguincomputing.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Issues with Arima HDAMA Opteron Motherboard
  2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
                   ` (5 preceding siblings ...)
  2005-05-19  6:24 ` Jean Delvare
@ 2005-05-19  6:24 ` Mark Studebaker
  2005-05-19  6:24 ` Marc Rieffel
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Mark Studebaker @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

oops looks like that backport has my initials on it :(
Sorry.
If you need any help getting it working again let me know.
mds

Philip Pokorny wrote:
> 
> I found the source of the problem.
> 
> In the backport that created CVS version 1.23 from version 1.22 the
> entire driver got pretty much wacked.  As a result, the entries that
> were added to support the AMD8111 in 2.7.0 (version 1.22) got removed
> along with just about all the rest of the code.
> 
> So that explains why 2.7.0 works and 2.8 and following don't.
> 
> The PCI device ID for the AMD756 compatible interface in the 8111 chip is:
> 
>     0x746b
> 
> I'll try and find a few more minutes to work on the patch.
> 
> :v)
> 
> Jean Delvare wrote:
> >>The problem is that the i2c-amd756 driver doesn't have the PCI entries
> >>
> >>for the AMD8111 in it.  The AMD8111 has *two* SMBus interfaces on it.
> >>One is SMBus 2.0 and the other is the amd756 compatible bus that most
> >>commonly has devices connected to it.
> >>
> >>(...)
> >>
> >>So it fails to attach to the chip and you don't have the BUS you need
> >>to see the devices.
> >>
> >>I've been meaning to submit a patch for this, but I haven't had the
> >>time to get one together.  The patch is very simple.
> >
> >
> > Philip,
> >
> > That would be really great if you could find some time to commit that
> > patch, especially if it is simple. This isn't the first user complaining
> > about that problem.
> >
> > Thanks.
> >
> 
> --
> Philip Pokorny, Director of Engineering
> Tel: 415-358-2635   Fax: 415-358-2646   Toll Free: 888-PENGUIN
> PENGUIN COMPUTING, INC.
> www.penguincomputing.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Issues with Arima HDAMA Opteron Motherboard
  2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
                   ` (6 preceding siblings ...)
  2005-05-19  6:24 ` Mark Studebaker
@ 2005-05-19  6:24 ` Marc Rieffel
  2005-05-19  6:24 ` Jean Delvare
  2005-05-19  6:24 ` Marc Rieffel
  9 siblings, 0 replies; 11+ messages in thread
From: Marc Rieffel @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

I'm back to playing with lm_sensors and i2c, now 2.8.6 and 2.8.4, on the Arima HDAMA motherboard.  Only now I'm using a ROCKS 3.1 system, which is based on RHEL 3.0.  I notice that I still have the same problem I saw long ago,   

gcc -D__SMP__ -DMODVERSIONS -include /lib/modules/2.4.21-4.0.1.ELsmp/build/include/linux/modversions.h -I/lib/modules/2.4.21-4.0.1.ELsmp/build/include -nostdinc -I /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/include -Wall -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit 00 -fno-strength-reduce -c kernel/i2c-algo-biths.c -o kernel/i2c-algo-biths.o
/tmp/ccdTd1Ul.s: Assembler messages:
/tmp/ccdTd1Ul.s:1437: Error: Incorrect register `%rdx' used with `l' suffix
make: *** [kernel/i2c-algo-biths.o] Error 1

I've removed it from Module.mk as you suggested in the past and now it builds OK, but I thought you might like to know that the problem is still there.

Everything else worked just fine, though.  It detected the adm1026 chip automatically.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Issues with Arima HDAMA Opteron Motherboard
  2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
                   ` (7 preceding siblings ...)
  2005-05-19  6:24 ` Marc Rieffel
@ 2005-05-19  6:24 ` Jean Delvare
  2005-05-19  6:24 ` Marc Rieffel
  9 siblings, 0 replies; 11+ messages in thread
From: Jean Delvare @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

> I'm back to playing with lm_sensors and i2c, now 2.8.6 and 2.8.4, on
> the Arima HDAMA motherboard.  Only now I'm using a ROCKS 3.1 system,
> which is based on RHEL 3.0.  I notice that I still have the same
> problem I saw long ago,   
> 
> gcc -D__SMP__ -DMODVERSIONS -include
> /lib/modules/2.4.21-4.0.1.ELsmp/build/include/linux/modversions.h
> -I/lib/modules/2.4.21-4.0.1.ELsmp/build/include -nostdinc -I
> /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/include -Wall -O2
> -DLM_SENSORS -D__KERNEL__ -DMODULE -fomit-frame-pointer
> -DEXPORT_SYMTAB -fno-strict-aliasing -fno-common -fomit-frame-pointer
> -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit 00
> -fno-strength-reduce -c kernel/i2c-algo-biths.c -o
> kernel/i2c-algo-biths.o/tmp/ccdTd1Ul.s: Assembler messages:
> /tmp/ccdTd1Ul.s:1437: Error: Incorrect register `%rdx' used with `l'
> suffix make: *** [kernel/i2c-algo-biths.o] Error 1
> 
> I've removed it from Module.mk as you suggested in the past and now it
> builds OK, but I thought you might like to know that the problem is
> still there.

Well, I can't see any assembly code in i2c-algo-biths.c, so it is most
likely a compiler problem. Anyway, I'm not even sure i2c-algo-biths is
usable, so who cares...

> Everything else worked just fine, though.  It detected the adm1026
> chip automatically.

Do you mean that the same system on which we failed so hard to find the
adm1026 chip some times ago now just works, without any additional
effort needed. Wow.

I'm glad you finally made it, although it doesn't really explain
anything. And thanks for the hat again ;)

-- 
Jean Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Issues with Arima HDAMA Opteron Motherboard
  2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
                   ` (8 preceding siblings ...)
  2005-05-19  6:24 ` Jean Delvare
@ 2005-05-19  6:24 ` Marc Rieffel
  9 siblings, 0 replies; 11+ messages in thread
From: Marc Rieffel @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

> Well, I can't see any assembly code in i2c-algo-biths.c, so it is most
> likely a compiler problem. Anyway, I'm not even sure i2c-algo-biths is
> usable, so who cares...

Yes, it does sound like a compiler problem, apparently one that's been around through several versions of gcc.  

> > Everything else worked just fine, though.  It detected the adm1026
> > chip automatically.
> 
> Do you mean that the same system on which we failed so hard 
> to find the
> adm1026 chip some times ago now just works, without any additional
> effort needed. Wow.

Alas, not quite.  With your help and some tweaks to lm_sensors, I got it working on this dual-Opteron system back with 2.8.1 several months ago.  Now those tweaks are integrated so it just works without additional effort.  That's certainly progress.

The system on which we tried and failed to detect the adm1026 was an Itanium, and I still haven't gotten any sensors working on it, though I haven't tried recently.  I noticed that there's now a FreeIPMI package that might be able to do it.  Perhaps I'll try that some day.

> I'm glad you finally made it, although it doesn't really explain
> anything. And thanks for the hat again ;)

Pas de quoi! :)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-05-19  6:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:24 Issues with Arima HDAMA Opteron Motherboard Marc Rieffel
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` Marc Rieffel
2005-05-19  6:24 ` Philip Pokorny
2005-05-19  6:24 ` Philip Pokorny
2005-05-19  6:24 ` Marc Rieffel
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` Marc Rieffel
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Marc Rieffel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.