Skip to contentSkip to conversation

ticket# 1649 - i2c-viapro fails to load

DISCUSSION Dimitrios 'sehh' Michelinakis 3 participants 7 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

I've been asked to provide further information, so here we go:

lspci -v:
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
Subsystem: Asustek Computer, Inc. A7V8X motherboard
Flags: bus master, 66Mhz, medium devsel, latency 0
Memory at f0000000 (32-bit, prefetchable) [size8M]
Capabilities: [80] AGP version 3.5
Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary, secondary, subordinate, sec-latency=0
Memory behind bridge: de000000-dfdfffff
Prefetchable memory behind bridge: dff00000-efffffff
Capabilities: [80] Power Management version 2

00:09.0 Ethernet controller: 3Com Corporation 3c940 1000Base? (rev 12)
Subsystem: Asustek Computer, Inc.: Unknown device 80eb
Flags: bus master, 66Mhz, medium devsel, latency 48, IRQ 10 Memory at dd800000 (32-bit, non-prefetchable) [sizeK] I/O ports at d800 [size%6]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data

00:0a.0 Network controller: RaLink Wireless PCI Adpator RT2400 / RT2460
Subsystem: Asustek Computer, Inc.: Unknown device 0126
Flags: bus master, slow devsel, latency 48, IRQ 11 Memory at dd000000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2

00:0b.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)
Subsystem: Adaptec 29160 Ultra160 SCSI Controller
Flags: bus master, 66Mhz, medium devsel, latency 48, IRQ 4 BIST result: 00
I/O ports at d400 [disabled] [size%6]
Memory at dc800000 (64-bit, non-prefetchable) [size=4K] Expansion ROM at <unassigned> [disabled] [size8K]
Capabilities: [dc] Power Management version 2

00:0f.0 RAID bus controller: VIA Technologies, Inc.: Unknown device 3149 (rev 80)

	Subsystem: Asustek Computer, Inc.: Unknown device 80ed
	Flags: bus master, medium devsel, latency 48, IRQ 3
	I/O ports at d000 [size=8]
	I/O ports at b800 [size=4]
	I/O ports at b400 [size=8]
	I/O ports at b000 [size=4]
	I/O ports at a800 [size]
	I/O ports at a400 [size%6]
	Capabilities: [c0] Power Management version 2

00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: Asustek Computer, Inc.: Unknown device 80ed
Flags: medium devsel, IRQ 3
I/O ports at a000 [size]
Capabilities: [c0] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80ed
Flags: bus master, medium devsel, latency 48, IRQ 3
I/O ports at 9800 [size2]
Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80ed
Flags: bus master, medium devsel, latency 48, IRQ 3
I/O ports at 9400 [size2]
Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80ed
Flags: bus master, medium devsel, latency 48, IRQ 7
I/O ports at 9000 [size2]
Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80ed
Flags: bus master, medium devsel, latency 48, IRQ 7
I/O ports at 8800 [size2]
Capabilities: [80] Power Management version 2

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20 [EHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80ed
Flags: bus master, medium devsel, latency 48, IRQ 5
Memory at dc000000 (32-bit, non-prefetchable) [size%6]
Capabilities: [80] Power Management version 2

00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
Subsystem: Asustek Computer, Inc.: Unknown device 80ed
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: Asustek Computer, Inc.: Unknown device 80b0
Flags: medium devsel, IRQ 5
I/O ports at e000 [size%6]
Capabilities: [c0] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation NV31 [GeForce FX 5600] (rev a1) (prog-if 00 [VGA])
Subsystem: Asustek Computer, Inc.: Unknown device 80e7
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
Memory at de000000 (32-bit, non-prefetchable) [sizeM]
Memory at e0000000 (32-bit, prefetchable) [size%6M]
Expansion ROM at dffe0000 [disabled] [size8K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0

lspci -n:
00:00.0 Class 0600: 1106:3189 (rev 80) 00:01.0 Class 0604: 1106:b198 00:09.0 Class 0200: 10b7:1700 (rev 12) 00:0a.0 Class 0280: 1814:0101 00:0b.0 Class 0100: 9005:0080 (rev 02) 00:0f.0 Class 0104: 1106:3149 (rev 80) 00:0f.1 Class 0101: 1106:0571 (rev 06) 00:10.0 Class 0c03: 1106:3038 (rev 81) 00:10.1 Class 0c03: 1106:3038 (rev 81) 00:10.2 Class 0c03: 1106:3038 (rev 81) 00:10.3 Class 0c03: 1106:3038 (rev 81) 00:10.4 Class 0c03: 1106:3104 (rev 86) 00:11.0 Class 0601: 1106:3227 00:11.5 Class 0401: 1106:3059 (rev 60) 01:00.0 Class 0300: 10de:0312 (rev a1)

Signature · 2 lines
Dimitrios Michelinakis
www.ionos.gr Web Services
#1 lore raw

[Please reply to the list, not to me]

Quoted 5 lines

I've been asked to provide further information, so here we go:
(...)
lspci -n:
(...)
00:11.0 Class 0601: 1106:3227

So it's there. This is the ID we are looking for so it should work.

Does sensors-detect find it? I'd expect it to.

I don't really understand why i2c-viapro doesn't see it, it is supposed to support it since version 2.8.2 and was reported to work. Please make sure that you are not using an older module. Check it the logs and/or dmesg, it should give you the version and the reason of the failure.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Dimitrios 'sehh' Michelinakis

[PLEASE REPLY TO THE LIST, NOT TO ME ONLY]

Quoted 8 lines

this is what /var/log/messages has to say:

kernel: i2c-viapro.o version 2.6.5 (20020915)
kernel: i2c-viapro.o: Can't detect vt82c596 or compatible device, module not inserted.

erm that seems like a very old version... am i doing something wrong?

Yes, this is a damn old version that didn't support the KT600 yet. This is the cause of your problem. And I would bet that you other problem (with the it87) is the same too. Check /var/log/messages next time you load it, it's probably version 2.6.5 too.

So you now have to reinstall i2c and lm_sensors from the very beginning, or (preferably) upgrade your distribution packages for lm_sensors. The KT600 is supported since version 2.8.1.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#3 lore raw
In reply to Dimitrios 'sehh' Michelinakis
Quoted 5 lines

You know whats interesting? All this time, i've been using the official Fedora rpm packages!! i've got the original 2.8.1 which came with Fedora Core 1, all up to and including 2.8.6 which can be downloaded from Fedora's development directory.

Quoted 8 lines

I've also uninstalled lm_sensors as a package, searched for all sensor files and libraries just to make sure no traces of old files are left behind, and re-installed the latest 2.8.6 package all over again.

Even though i've done all that, i still end up with old it87.o :(

Does it mean the packages generated by Fedora/Redhat are broken?

First, you have to pay attention that there are two parts in the lm_sensors project:
1* Kernel modules
2* User-space tools.

All distributions that include lm_sensors have *two* distinct packages for these. In some (most) cases the kernel modules are part of the kernel package, while the user-space tools are in a lm-sensors package. So I suspect that you have been upgrading only the lm-sensors package, and *not* the kernel package, while you should have done that as well.

So you should try upgrading kernels and see how it goes.

If you can't get it to work, you may want to give a try to Axel Thimm's packages:
Userspace tools at http://atrpms.net/name/lm_sensors/
Kernels at http://atrpms.net/name/kernel/

Hope that helps.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#4 lore raw
In reply to Dimitrios 'sehh' Michelinakis
Quoted 4 lines · On Fri, 16 Apr 2004 08:59:17 +0200 Jean Delvare <[email protected]> wrote:

Yes, this is a damn old version that didn't support the KT600 yet. This is the cause of your problem. And I would bet that you other problem (with the it87) is the same too. Check /var/log/messages next time you load it, it's probably version 2.6.5 too.

yes it is:

kernel: it87.o version 2.6.5 (20020915)

Quoted 3 lines

So you now have to reinstall i2c and lm_sensors from the very beginning, or (preferably) upgrade your distribution packages for lm_sensors. The KT600 is supported since version 2.8.1.

You know whats interesting? All this time, i've been using the official Fedora rpm packages!! i've got the original 2.8.1 which came with Fedora Core 1, all up to and including 2.8.6 which can be downloaded from Fedora's development directory.

I've also uninstalled lm_sensors as a package, searched for all sensor files and libraries just to make sure no traces of old files are left behind, and re-installed the latest 2.8.6 package all over again.

Even though i've done all that, i still end up with old it87.o :(

Does it mean the packages generated by Fedora/Redhat are broken?

Signature · 2 lines
Dimitrios Michelinakis
www.ionos.gr Web Services
#5 lore raw
In reply to Dimitrios 'sehh' Michelinakis
Quoted 9 lines · On Fri, 16 Apr 2004 09:49:34 +0200 Jean Delvare <[email protected]> wrote:

First, you have to pay attention that there are two parts in the lm_sensors project:
1* Kernel modules
2* User-space tools.
All distributions that include lm_sensors have *two* distinct packages for these. In some (most) cases the kernel modules are part of the kernel package, while the user-space tools are in a lm-sensors package. So I suspect that you have been upgrading only the lm-sensors package, and *not* the kernel package, while you should have done that as well.

i think thats whats happening. i've been updating the user space tools only.

Quoted 1 line

So you should try upgrading kernels and see how it goes.

i'm already running the latest fedora kernel. so there is nothing i can do about this, unless fedora releases a new kernel soon with updated modules.

Quoted 4 lines

If you can't get it to work, you may want to give a try to Axel Thimm's packages:
Userspace tools at http://atrpms.net/name/lm_sensors/
Kernels at http://atrpms.net/name/kernel/

thank you, your help is much appriciated.

Signature · 2 lines
Dimitrios Michelinakis
www.ionos.gr Web Services
#6 lore raw
In reply to Dimitrios 'sehh' Michelinakis
Quoted 4 lines · Jean Delvare
Quoted 4 lines

You know whats interesting? All this time, i've been using the official Fedora rpm packages!! i've got the original 2.8.1 which came with Fedora Core 1, all up to and including 2.8.6 which can be downloaded from Fedora's development directory.

Red Hat updates only the user land unfortunately ... :( (but that's OK for 2.6)

Quoted 8 lines
Quoted 8 lines

I've also uninstalled lm_sensors as a package, searched for all sensor files and libraries just to make sure no traces of old files are left behind, and re-installed the latest 2.8.6 package all over again.

Even though i've done all that, i still end up with old it87.o :(

Does it mean the packages generated by Fedora/Redhat are broken?

Yes. :(

Quoted 10 lines

First, you have to pay attention that there are two parts in the lm_sensors project:
1* Kernel modules
2* User-space tools.

All distributions that include lm_sensors have *two* distinct packages for these. In some (most) cases the kernel modules are part of the kernel package, while the user-space tools are in a lm-sensors package. So I suspect that you have been upgrading only the lm-sensors package, and *not* the kernel package, while you should have done that as well.

Unfortunately Red Hat has a policy of either patching it into the kernel or not at all, e.g. there are no externally built kernel module rpms from Red Hat for any of its products/projects. 3rd party repos OTOH have been doing this for ages now.

Since Red Hat has not updated the i2c subsystem in FC1's kernel rpms (2.6.1/20010830), you need to get i2c 2.8.x enabled kernels first anyway. Red Hat's lm_sensors' version in the kernel is a bit younger, but still ancient (2.6.5/20020915). The userland bits coming with FC1 are rather fresh, 2.8.1, but that doesn't really help if the kernel has no support.

Quoted 6 lines

So you should try upgrading kernels and see how it goes.

If you can't get it to work, you may want to give a try to Axel Thimm's packages:
Userspace tools at http://atrpms.net/name/lm_sensors/
Kernels at http://atrpms.net/name/kernel/

This is the only packaged way of getting lm_sensors 2.8.x running on (released) Red Hat distributions. And if you wait for half an hour you can get a "2179" derived kernel and kernel modules, which include the latest security fixes from Red Hat.

Xairetismata/Greetings.

Signature · 8 lines
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040416/cab5d869/attachment.bin