You are not logged in.

#1 2007-09-27 19:55:20

vomix
Member
From: Belgium
Registered: 2007-05-02
Posts: 84

Kernel module missing, how to proceed?

Hi,

I'm trying to use lm_sensors, but it doesn't detect any chips.

During the process, I've noted something weird:

"sensors-detect" (svn) detect the use of  the "i2c-sis96x" driver.
Confirmed by "lsmod | grep i2c"

[root@nodrom eko]# lsmod | grep i2c
i2c_dev                 6148  0
i2c_sis96x              4996  0
i2c_core               20352  3 i2c_dev,nvidia,i2c_sis96x

But regarding the "lspci", I have to use the i2c-sis645 module!

[root@nodrom eko]# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS645DX Host & Memory & AGP Controller
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 04)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.3 FireWire (IEEE 1394): Silicon Integrated Systems [SiS] FireWire Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
00:09.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go 32M] (rev a3)
02:00.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)

Of course, "modprobe i2c-sis645" isn't working: the /lib/modules/2.6.22-ARCH/kernel/drivers/i2c/busses/i2c-sis645.ko doesn't exist!

[root@nodrom eko]# modprobe i2c-sis645
FATAL: Module i2c_sis645 not found.

So, I think that I'm currently using the wrong kernel module.  How could I use the i2c-sis645 instead?

This is maybe a dumb question, but I'm not familiar with the kernel related-stuff...

Thanks in advance.

Last edited by vomix (2007-09-30 10:30:21)

Offline

#2 2007-09-27 23:28:23

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Kernel module missing, how to proceed?

00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller

That's the one. And looking at the name I'd say the module is i2c-sis96x.


1000

Offline

#3 2007-09-28 15:55:31

vomix
Member
From: Belgium
Registered: 2007-05-02
Posts: 84

Re: Kernel module missing, how to proceed?

byte wrote:

00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller

That's the one. And looking at the name I'd say the module is i2c-sis96x.

Shame on me. big_smile
Thanks anyway!

Offline

#4 2007-09-30 10:37:59

vomix
Member
From: Belgium
Registered: 2007-05-02
Posts: 84

Re: Kernel module missing, how to proceed?

Ok, I'm sorry to insist, but I found an interesting post:

http://linuxagora.com/libranet/viewtopi … 69e1#41183

This guy as a pretty similar configuration, and finally got lm_sensors working.

And, seen on the lm_sensors site:

Kernel driver `i2c-sis645.o'
2    
Status: Beta
   
Supported adapters:
  *Silicon Integrated Systems Corp (SiS)
    Any combination of these host bridges:
    645, 645DX (aka 646), 648, 650, 651, 655, 735, 745, 746
    and these south bridges:
    961, 962, 963(L)

So...?

I must admit that I'm lost in all this information, and I'm not familiar with hardware in general.
So, if someone could explain this situation, it'll be friendly.  Is the i2c-645.o module obselete, or something like that?

Thanks.

Last edited by vomix (2007-09-30 10:44:04)

Offline

#5 2007-09-30 11:27:54

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,958

Re: Kernel module missing, how to proceed?

Yes, the i2c-sis645 module was for the now obsolete 2.4 kernel series.

From kernel sources linux-2.6.22.9/Documentation/i2c/busses/inc-sis96x :

Kernel driver i2c-sis96x

Replaces 2.4.x i2c-sis645

Supported adapters:
  * Silicon Integrated Systems Corp (SiS)
    Any combination of these host bridges:
    645, 645DX (aka 646), 648, 650, 651, 655, 735, 745, 746
    and these south bridges:
        961, 962, 963(L)

Author: Mark M. Hoffman <mhoffman@lightlink.com>

So i2c-sis96x is the correct module, but for some reason lm-sensors is not showing any sensors on your system.

Do you have acpi / acpid installed ?

Last edited by Lone_Wolf (2007-09-30 11:30:28)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2007-10-01 17:09:30

vomix
Member
From: Belgium
Registered: 2007-05-02
Posts: 84

Re: Kernel module missing, how to proceed?

Hi,

First, thanks for your response.
Yes, I've acpi installed, and acpid running at boot. (Even if didn't configure anything... is it normal?).

Here are some outputs:

ls -l /lib/modules/$(uname -r)/kernel/drivers/acpi

-rw-r--r-- 1 root root  5924 sep 26 20:58 ac.ko
-rw-r--r-- 1 root root 21060 sep 26 20:58 asus_acpi.ko
-rw-r--r-- 1 root root 11316 sep 26 20:58 battery.ko
-rw-r--r-- 1 root root  7084 sep 26 20:58 bay.ko
-rw-r--r-- 1 root root  8868 sep 26 20:58 button.ko
-rw-r--r-- 1 root root  5292 sep 26 20:58 container.ko
-rw-r--r-- 1 root root 10116 sep 26 20:58 dock.ko
-rw-r--r-- 1 root root  5840 sep 26 20:58 fan.ko
-rw-r--r-- 1 root root 32436 sep 26 20:58 processor.ko
-rw-r--r-- 1 root root 20976 sep 26 20:58 sbs.ko
-rw-r--r-- 1 root root 14152 sep 26 20:58 thermal.ko
-rw-r--r-- 1 root root  9408 sep 26 20:58 toshiba_acpi.ko
-rw-r--r-- 1 root root 18720 sep 26 20:58 video.ko

lsmod

nvidia               4708180  22
ipv6                  254916  10
vfat                   10880  0
fat                    45852  1 vfat
irtty_sir               5632  0
sir_dev                11396  1 irtty_sir
snd_seq_oss            29312  0
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                46672  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          6924  2 snd_seq_oss,snd_seq
ppdev                   7556  0
joydev                  8512  0
snd_pcm_oss            37024  0
lp                      9348  0
rt2500                177124  1
snd_mixer_oss          14592  1 snd_pcm_oss
irda                  114104  1 sir_dev
crc_ccitt               2304  1 irda
pcspkr                  2944  0
pcmcia                 32940  0
parport_pc             35556  1
parport                31304  3 ppdev,lp,parport_pc
rtc_cmos                7328  0
rtc_core               14984  1 rtc_cmos
rtc_lib                 2944  1 rtc_core
serio_raw               5764  0
psmouse                35984  0
yenta_socket           23180  2
rsrc_nonstatic         11136  1 yenta_socket
pcmcia_core            32792  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_intel8x0           28700  0
ohci1394               31408  0
ieee1394               81720  1 ohci1394
snd_intel8x0m          14092  0
snd_ac97_codec         95652  2 snd_intel8x0,snd_intel8x0m
ac97_bus                2432  1 snd_ac97_codec
snd_pcm                69124  4 snd_pcm_oss,snd_intel8x0,snd_intel8x0m,snd_ac97_codec
snd_timer              19332  2 snd_seq,snd_pcm
snd                    45028  10 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_timer
firewire_ohci          15360  0
firewire_core          36032  1 firewire_ohci
soundcore               6496  1 snd
snd_page_alloc          8072  3 snd_intel8x0,snd_intel8x0m,snd_pcm
shpchp                 29332  0
pci_hotplug            27720  1 shpchp
i2c_sis96x              4996  0
i2c_core               20352  2 nvidia,i2c_sis96x
crc_itu_t               2304  1 firewire_core
sis_agp                 7044  1
agpgart                27224  2 nvidia,sis_agp
sg                     26652  0
tsdev                   6720  0
evdev                   8192  5
thermal                10888  0
processor              24788  1 thermal
fan                     3844  0
button                  6160  0
battery                 8324  0
ac                      4100  0
cpufreq_powersave       1920  1
cpufreq_ondemand        7052  0
p4_clockmod             4500  0
speedstep_lib           4740  1 p4_clockmod
freq_table              3984  2 cpufreq_ondemand,p4_clockmod
sis900                 20224  0
mii                     4864  1 sis900
ext3                  119560  2
jbd                    54312  1 ext3
mbcache                 6916  1 ext3
usb_storage            79296  0
ide_core              112580  1 usb_storage
ehci_hcd               30732  0
sd_mod                 22784  4
sr_mod                 14756  0
cdrom                  34336  1 sr_mod
ohci_hcd               19588  0
usbcore               112520  4 usb_storage,ehci_hcd,ohci_hcd
ata_generic             5380  0
pata_sis               11140  3
libata                108084  2 ata_generic,pata_sis

Ah, and my /proc/acpi/fan/ and /proc/acpi/thermal_zone/ folders are empty...

Last edited by vomix (2007-10-01 17:09:58)

Offline

Board footer

Powered by FluxBB