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

Craig White craigwhite at azapple.com
Sun Jan 23 08:13:57 CST 2005


On Sun, 2005-01-23 at 15:29 +0200, Alon wrote:
> Hi Craig (and Pete),
> 
> As you suggested, I rebooted the machine. That was about 8 hours ago,. and 
> something went wrong.
> My guess it was the lines that I put into the /etc/modules.conf as the 
> network adapter failed to load.
----
of course it was - that's why I pointed them out and asked why?
----
> Unfortunatly, the server is in a NOC and only after 8 hours I was able to 
> gain access physically to it
> and remove those lines. So now I'm back online.
> 
> The sensors issue hasn't been resolved of course
> 
> Here is the path and files on my system (slightly different path than what 
> you had)
> 
>  # ls -l /lib/modules/2.4.21-27.0.2.EL.um.1smp/unsupported/drivers/i2c/
> total 192
> -rwxr--r--    1 root     root         3456 Jan 19 10:39 dmi_scan.o
> -rwxr--r--    1 root     root        10700 Jan 19 10:39 i2c-algo-bit.o
> -rwxr--r--    1 root     root         8980 Jan 19 10:39 i2c-algo-pcf.o
> -rwxr--r--    1 root     root         7764 Jan 19 10:39 i2c-ali1535.o
> -rwxr--r--    1 root     root         8128 Jan 19 10:39 i2c-ali15x3.o
> -rwxr--r--    1 root     root         6892 Jan 19 10:39 i2c-amd756.o
> -rwxr--r--    1 root     root        24420 Jan 19 10:39 i2c-core.o
> -rwxr--r--    1 root     root         8796 Jan 19 10:39 i2c-dev.o
> -rwxr--r--    1 root     root         5808 Jan 19 10:39 i2c-elektor.o
> -rwxr--r--    1 root     root         3996 Jan 19 10:39 i2c-elv.o
> -rwxr--r--    1 root     root         3476 Jan 19 10:39 i2c-hydra.o
> -rwxr--r--    1 root     root         8488 Jan 19 10:39 i2c-i801.o
> -rwxr--r--    1 root     root         5276 Jan 19 10:39 i2c-i810.o
> -rwxr--r--    1 root     root         3024 Jan 19 10:39 i2c-isa.o
> -rwxr--r--    1 root     root         5244 Jan 19 10:39 i2c-philips-par.o
> -rwxr--r--    1 root     root         8192 Jan 19 10:39 i2c-piix4.o
> -rwxr--r--    1 root     root        12056 Jan 19 10:39 i2c-proc.o
> -rwxr--r--    1 root     root         7452 Jan 19 10:39 i2c-sis5595.o
> -rwxr--r--    1 root     root         3852 Jan 19 10:39 i2c-velleman.o
> -rwxr--r--    1 root     root         4308 Jan 19 10:39 i2c-via.o
> -rwxr--r--    1 root     root         7808 Jan 19 10:39 i2c-viapro.o
> -rwxr--r--    1 root     root         5504 Jan 19 10:39 i2c-voodoo3.o
> 
> AND,.. my kernel as a reminder is:
> # uname -r
> 2.4.21-27.0.2.ELsmp
----
and of course - those 2 don't match - just as I has suggested was the
problem.
----
> 
> So, I think the modules are sitting in the right place and those are the 
> correct version.
----
why would you think that? they clearly aren't the same
----
> 
> 
> > why not check for the kernel you are using to make sure that they are
> > installed?
> Didn't I just do that? I gave the uname -r  and the path of where I found 
> the modules.
----
2.4.21-27.0.2.ELsmp != 2.4.21-27.0.2.EL.um.1smp
----
> If that is NOT how I should check them, please let me know how I SHOULD 
> check them.
----
yum remove kernel-smp-unsupported
yum install kernel-smp-unsupported

or you can download it and install it...
wget
ftp://ftp.esat.net/mirrors/whiteboxlinux.org//3.0/en/updates/i686/kernel-smp-unsupported-2.4.21-27.0.2.EL.i686.rpm

see
<ftp://ftp.esat.net/mirrors/whiteboxlinux.org//3.0/en/updates/i686/>

notice how kernel-unsupported rpms match the kernels?
----
> > 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?
> 
> Finding the right path,. does that have anything to do with the 
> /etc/modules?
----
I've never seen anything like paths in /etc/modules.conf  doesn't make
sense to me. If the kernel doesn't know where the modules are located,
system is in serious trouble.
----
> > 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.
> 
> Please forgive me for being stupid, (I can't help it at times), but my 
> intention was NOT
> to build anything if I don't have to. The reason I was using 'make' was 
> because I read
> the INSTALL in the lm_sensors, and it was talking about compiling. Perahps 
> I'm
> reading the wrong instructions, but I did try to read something.
> 
> Did I mention that I'm a novice?
----
indeed - that's why I keep telling you that the modules are compiled
already and there's no need to 'make' - you clearly don't know what you
are doing here.
----
> >> 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?
> 
> Those lines got me into the troubleof not booting properly (well. it killed 
> my network adapter connections).
> That was what I thought I should put in the modules.conf, but obviously that 
> is not what I should do.
> I tried to follow the instructions, and in them there were those lines. So I 
> don't know what values to put into the
> modules.conf.
----
when you get the right kernel-unsupported modules installed (suppose I
should say if and when), when you execute sensors-detect, it will tell
you which modules that it detects and to load into /etc/modules.conf and
thus to modprobe
----
> 
> > I'm quite certain that you still don't have the right kernel-unsupported
> > that matches the kernel you are booting with.
----
certainty was confirmed by you - now you have to fix
----
> This is from my system:
>  # rpm -q --all | grep 2.4.21-27.0.2
> kernel-smp-2.4.21-27.0.2.EL
> kernel-2.4.21-27.0.2.EL
> kernel-smp-unsupported-2.4.21-27.0.2.EL.um.1
----
note once again that
kernel-smp-2.4.21-27.0.2.EL doesn't match kernel-smp-
unsupported-2.4.21-27.0.2.EL.um.1

problem is the um.1 in case you still haven't gotten it

wherever you have gotten these um.1 kernel-smp-unsupported and kernel-
src and kernel-source...they aren't the same as the kernel you are
running

Craig



More information about the Whitebox-users mailing list