mol kernel problems
David C. Hacker, DVM
yellowdog-newbie@lists.terrasoftsolutions.com
Sat, 21 Aug 2004 09:58:01 -0400
--Apple-Mail-1-972848038
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
Here is a FAQ that I done on this subject. The website seems to be
down so I included it in the message.
Why do I get an error stating "No mol-0.9.69 kernel modules
corresponding to the running 2.4.22-2f kernel where found"?
This problem is due to the fact that the mol-kmods that shipped with
YDL 3.01 where built for the multi-processor (SMP) kernel and not the
single processor kernel that most YDL users use. In order to fix the
problem you need to use yum (Yellowdog Updater/Modifer) program to
upgrade to kernel 2.4.22-2g and the mol-kmods that go with that kernel.
First off you need to edit your /etc/yum.conf file. (To update your
yum.conf file open a root terminal and use the command emacs
/etc/yum.conf.) Put in another entry for the 3.01 updates repository
that is found here, http://ydl.osuosl.org/yum/3.0.1/update/ . Then
from a root terminal run yum update. (To get a root terminal open
konsole in kde or gnome terminal in gnome, and type su at the prompt
and enter your root password.) This will install the 2.4.22.2g kernel
and the mol-kmods. It will also update all other programs on your
system which have newer versions available. You may also want to add
the freshrpms.net repository to get other updates that aren't available
from terrasoft. This will install a newer version of yum, which works
much better and gives more feedback on the status of the process. Here
is the url, http://ayo.freshrpms.net/yellowdog/3.0/ppc/freshrpms/
If you don't want to update all of your programs you can do yum install
kernel and yum install mol-kmods. If you get a messages asking if you
want to install the 2.4.22-2g version, then click yes.
Following is the contents of my /etc/yum.conf file. You can copy it to
a text file and replace your existing /etc/yum.conf file with it.
------------------------------------------------------------------------
-------------------------------
# $Id: yum-yd.conf,v 1.5 2003/09/18 16:29:06 dude Exp $
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=yellowdog-release
gpgcheck=1
tolerant=1
exactarch=1
[os]
name=Yellow Dog Linux $releasever - $basearch - os
baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/os
[updates]
name=Yellow Dog Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/updates
[freshrpms]
name=Yellow Dog Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/
freshrpms
#[ruffpack]
#name=Yellow Dog Linux $releasever - $basearch - ruffpack
#baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/
ruffpack
[3.01 updates]
name=Yellow Dog Linux 3.01 updates
baseurl=http://ydl.osuosl.org/yum/3.0.1/update/
------------------------------------------------------------------------
-----------------------------------
Once I get my new kernel installed, how do I set my system to boot from
the new kernel?
I will divide this into two categories, one for oldworld machines using
BootX and one for newworld machines using yaboot.
First off, the new kernel will be installed in the /boot directory.
The associated modules will be installed in /lib/modules/[kernel
version]/.
If you are using BootX you will have to get a copy of the new kernel,
2.4.22-2g in this case, over to your mac os partiton and into your
BootX kernels folder. You can do this several ways. If you have
storage space on an ftp server you can copy it there and then download
it once you are back in Mac OS. The easiest way is to attach the file
vmlinux-2.4.22-2g to an email and send it to yourself, and then
retrieve the email in Mac OS and put it in your BootX kernels folder.
Once you have the kernel copied over to Mac OS you have to select it in
the BootX menu as the kernel you want to boot.
If you are using yaboot you will have to edit your /etc/yaboot.conf
file. (To do this open a root terminal and use the command emacs
/etc/yaboot.conf.) You then need to add an entry for the new kernel
and make sure the label for it is the same as the default= line. Your
yaboot.conf file will look something like the following when you are
done.
-----------------------------------------------------------
default = yellowdoglinux
image = cd:,/boot/vmlinux-2.4.22-2g
label = yellowdoglinux
root=/dev/????
read-only
image = cd:,/boot/vmlinux-2.4.22-2f
label = oldkernel
root=/dev/????
read-only
---------------------------------------------------------------
Once you have made the changes to your /etc/yaboot.conf file, the next
step is to run the command ybin -v from a root terminal. This will
update your bootstrap partition with the new yaboot.conf file so that
the system can find the new kernel. The next time you boot you can
just hit enter to boot the new kernel or you can type oldkernel to boot
from the original 2.4.22-2f kernel.
Now that your system is booted from the new kernel and you have the new
mol-kmods installed you should be able to run the command startmol (for
Mac OS 7-9) or startmol -X (for Mac OS X).
David C. Hacker, DVM
On Aug 21, 2004, at 6:24 AM, wolf_moon456 wrote:
> I just installed ydl 3.0 and everything works great,
> except for mol. I tried recompiling the kernel, as per
> the instructions on maconlinux.org, but I get this
> every time:
>
> -- Error: Unconfigured kernel source!
> --- (missing
> file:/usr/src/linux/include/linux/config.h)
>
> I'm running an iMac 350Mhz, with a 20GB hard drive and
> 192MB RAM.
> Thanks!
--Apple-Mail-1-972848038
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
charset=US-ASCII
Here is a FAQ that I done on this subject. The website seems to be
down so I included it in the message.
<bold><bigger><x-tad-bigger>
Why do I get an error stating "No mol-0.9.69 kernel modules
corresponding to the running 2.4.22-2f kernel where found"?</x-tad-bigger></bigger></bold>
This problem is due to the fact that the mol-kmods that shipped with
YDL 3.01 where built for the multi-processor (SMP) kernel and not the
single processor kernel that most YDL users use. In order to fix the
problem you need to use yum (Yellowdog Updater/Modifer) program to
upgrade to kernel 2.4.22-2g and the mol-kmods that go with that
kernel. First off you need to edit your /etc/yum.conf file. (To
update your yum.conf file open a root terminal and use the command
emacs /etc/yum.conf.) Put in another entry for the 3.01 updates
repository that is found here, http://ydl.osuosl.org/yum/3.0.1/update/
. Then from a root terminal run yum update. (To get a root terminal
open konsole in kde or gnome terminal in gnome, and type su at the
prompt and enter your root password.) This will install the 2.4.22.2g
kernel and the mol-kmods. It will also update all other programs on
your system which have newer versions available. You may also want to
add the freshrpms.net repository to get other updates that aren't
available from terrasoft. This will install a newer version of yum,
which works much better and gives more feedback on the status of the
process. Here is the url,
http://ayo.freshrpms.net/yellowdog/3.0/ppc/freshrpms/
If you don't want to update all of your programs you can do yum
install kernel and yum install mol-kmods. If you get a messages
asking if you want to install the 2.4.22-2g version, then click yes.
Following is the contents of my /etc/yum.conf file. You can copy it
to a text file and replace your existing /etc/yum.conf file with it.
-------------------------------------------------------------------------------------------------------
# $Id: yum-yd.conf,v 1.5 2003/09/18 16:29:06 dude Exp $
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=yellowdog-release
gpgcheck=1
tolerant=1
exactarch=1
[os]
name=Yellow Dog Linux $releasever - $basearch - os
baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/os
[updates]
name=Yellow Dog Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/updates
[freshrpms]
name=Yellow Dog Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/freshrpms
#[ruffpack]
#name=Yellow Dog Linux $releasever - $basearch - ruffpack
#baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/ruffpack
[3.01 updates]
name=Yellow Dog Linux 3.01 updates
baseurl=http://ydl.osuosl.org/yum/3.0.1/update/
-----------------------------------------------------------------------------------------------------------
<bold><bigger><x-tad-bigger>Once I get my new kernel installed, how do
I set my system to boot from the new kernel?
</x-tad-bigger></bigger></bold>
I will divide this into two categories, one for oldworld machines
using BootX and one for newworld machines using yaboot.
First off, the new kernel will be installed in the /boot directory.
The associated modules will be installed in /lib/modules/[kernel
version]/.
If you are using BootX you will have to get a copy of the new kernel,
2.4.22-2g in this case, over to your mac os partiton and into your
BootX kernels folder. You can do this several ways. If you have
storage space on an ftp server you can copy it there and then download
it once you are back in Mac OS. The easiest way is to attach the file
vmlinux-2.4.22-2g to an email and send it to yourself, and then
retrieve the email in Mac OS and put it in your BootX kernels folder.
Once you have the kernel copied over to Mac OS you have to select it
in the BootX menu as the kernel you want to boot.
If you are using yaboot you will have to edit your /etc/yaboot.conf
file. (To do this open a root terminal and use the command emacs
/etc/yaboot.conf.) You then need to add an entry for the new kernel
and make sure the label for it is the same as the default= line. Your
yaboot.conf file will look something like the following when you are
done.
-----------------------------------------------------------
default = yellowdoglinux
image = cd:,/boot/vmlinux-2.4.22-2g
label = yellowdoglinux
root=/dev/????
read-only
image = cd:,/boot/vmlinux-2.4.22-2f
label = oldkernel
root=/dev/????
read-only
---------------------------------------------------------------
Once you have made the changes to your /etc/yaboot.conf file, the next
step is to run the command ybin -v from a root terminal. This will
update your bootstrap partition with the new yaboot.conf file so that
the system can find the new kernel. The next time you boot you can
just hit enter to boot the new kernel or you can type oldkernel to
boot from the original 2.4.22-2f kernel.
Now that your system is booted from the new kernel and you have the
new mol-kmods installed you should be able to run the command startmol
(for Mac OS 7-9) or startmol -X (for Mac OS X).
David C. Hacker, DVM
On Aug 21, 2004, at 6:24 AM, wolf_moon456 wrote:
<excerpt>I just installed ydl 3.0 and everything works great,
except for mol. I tried recompiling the kernel, as per
the instructions on maconlinux.org, but I get this
every time:
-- Error: Unconfigured kernel source!
--- (missing
file:/usr/src/linux/include/linux/config.h)
I'm running an iMac 350Mhz, with a 20GB hard drive and
192MB RAM.
Thanks!</excerpt>
--Apple-Mail-1-972848038--