[WBEL-users] newbie - kernel and other upgrades questions

Craig White craigwhite at azapple.com
Sat Jan 22 19:05:53 CST 2005


On Sun, 2005-01-23 at 02:45 +0200, Alon wrote:
> Hi Craig,
> 
> 
> > did you modprobe it?
> Yes I did, it was in the previous email, but here it is again:
> 
> # modprobe i2c-proc
> modprobe: Can't locate module i2c-proc
---
# ls -l /lib/modules/2.4.21-20.ELsmp/unsupported/drivers/i2c
total 192
-rwxr--r--    1 root     root         3524 Aug 18 17:57 dmi_scan.o
-rwxr--r--    1 root     root        10272 Aug 18 17:57 i2c-algo-bit.o
-rwxr--r--    1 root     root         8556 Aug 18 17:57 i2c-algo-pcf.o
-rwxr--r--    1 root     root         7496 Aug 18 17:57 i2c-ali1535.o
-rwxr--r--    1 root     root         7844 Aug 18 17:57 i2c-ali15x3.o
-rwxr--r--    1 root     root         6796 Aug 18 17:57 i2c-amd756.o
-rwxr--r--    1 root     root        23864 Aug 18 17:57 i2c-core.o
-rwxr--r--    1 root     root         8836 Aug 18 17:57 i2c-dev.o
-rwxr--r--    1 root     root         5660 Aug 18 17:57 i2c-elektor.o
-rwxr--r--    1 root     root         4032 Aug 18 17:57 i2c-elv.o
-rwxr--r--    1 root     root         3368 Aug 18 17:57 i2c-hydra.o
-rwxr--r--    1 root     root         8284 Aug 18 17:57 i2c-i801.o
-rwxr--r--    1 root     root         5148 Aug 18 17:57 i2c-i810.o
-rwxr--r--    1 root     root         2944 Aug 18 17:57 i2c-isa.o
-rwxr--r--    1 root     root         5196 Aug 18 17:57 i2c-philips-
par.o
-rwxr--r--    1 root     root         7880 Aug 18 17:57 i2c-piix4.o
-rwxr--r--    1 root     root        12056 Aug 18 17:57 i2c-proc.o
-rwxr--r--    1 root     root         7356 Aug 18 17:57 i2c-sis5595.o
-rwxr--r--    1 root     root         3808 Aug 18 17:57 i2c-velleman.o
-rwxr--r--    1 root     root         4180 Aug 18 17:57 i2c-via.o
-rwxr--r--    1 root     root         7700 Aug 18 17:57 i2c-viapro.o
-rwxr--r--    1 root     root         5284 Aug 18 17:57 i2c-voodoo3.o

why not check for the kernel you are using to make sure that they are
installed?
-----
> Did I run detect-sensor?
> Yes I have, but it come up with lots of errors:
> 
> # sensors-detect
>  This program will help you to determine which I2C/SMBus modules you need to
>  load to use lm_sensors most effectively.
>  You need to have done a `make install', issued a `depmod -a' and made sure
>  `/etc/conf.modules' (or `/etc/modules.conf') contains the appropriate
>  module path before you can use some functions of this utility. Read
>  doc/modules for more information.
>  Also, you need to be `root', or at least have access to the /dev/i2c[-/]* 
> files
>  for some things. You can use prog/mkdev/mkdev.sh to create these /dev files
>  if you do not have them already.
>  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.
> 
>  IF THIS IS AN IBM THINKPAD, PRESS CTRL-C NOW!
>  IBM Thinkpads have a severely broken i2c/SMBus implementation, just 
> scanning
>  the bus will break your Thinkpad forever!
>  If this is a non-Thinkpad IBM, we still suggest you press CTRL+C. We have
>  had users reporting system breakage on other IBM systems as well.
> 
>  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): yes
> Probing for PCI bus adapters...
> Sorry, no PCI bus adapters found.
> 
>  We will now try to load each adapter module in turn.
>  Do you now want to be prompted for non-detectable adapters? (yes/NO): yes
> Load `i2c-elektor' (say NO if built into your kernel)? (YES/no): yes
> modprobe: Can't locate module i2c-elektor
> Loading failed (Illegal seek)... skipping.
> Load `i2c-elv' (say NO if built into your kernel)? (YES/no): yes
> modprobe: Can't locate module i2c-elv
> Loading failed (Illegal seek)... skipping.
> Load `i2c-philips-par' (say NO if built into your kernel)? (YES/no): yes
> modprobe: Can't locate module i2c-philips-par
> Loading failed (Illegal seek)... skipping.
> Load `i2c-velleman' (say NO if built into your kernel)? (YES/no): yes
> modprobe: Can't locate module i2c-velleman
> Loading failed (Illegal seek)... skipping.
>  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): yes
> modprobe: Can't locate module i2c-dev
>  Loading failed (Illegal seek), expect problems later on.
> 
>  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).
> Couldn't open /proc/bus/i2c?!? at /usr/sbin/sensors-detect line 2970, 
> <STDIN> line 7.
----
did you modprobe this already? Maybe try again after a restart. I don't
see anything that represents an error other than it seems that it can't
find the files - see above. Are you sure you isntalled the right kernel-
unsupported for the kernel that you are booting?
----
> 
> **********
> 
> > Did you follow the instructions?
> I believe I have, but the run fails. I'm referring to the instructions that 
> show on the sensors-detect command.
> The first instruction is  to: make install    and it fails.
> See the output:
----
I really am not gonna get involved with your efforts to 'make' kernel
modules that are already made and you haven't given a reason to do so.
----
> **********
> 
> The modprobe version installed on my box is:
>  # modprobe --version
> modprobe version 2.4.25
---
fine - didn't ask
---
> **********
> alias eth0 e100
> alias scsi_hostadapter ata_piix
> alias sound-slot-0 i810_audio
> post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 
> 2>&1 || :
> pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 
> 2>&1 || :
> alias usb-controller usb-uhci
> alias usb-controller1 ehci-hcd
> path[misc]=/lib/modules/current/extra/misc
> path=/lib/modules/current/extra
---
what are these paths? why?
---
> > Definitely seems to me that you aren't following the instructions.
> Aparently I have reading comprehension problems. Did I miss a step? 
----
I'm quite certain that you still don't have the right kernel-unsupported
that matches the kernel you are booting with.

Craig



More information about the Whitebox-users mailing list