Re: Please help me figure this kernel stuff out!!


Subject: Re: Please help me figure this kernel stuff out!!
From: Iain Stevenson (iain@IainStevenson.com)
Date: Thu Sep 27 2001 - 12:20:14 MDT


You may not be doing much wrong - you may have built the kernel with
components that disagree with your system. You can try eliminating devices
that are not present on your machine.

If you post information on your system, someone may send you their config
file which you can try :-)

You can search the list for advice on building the kernel - for example Paul
Lucas describes the steps excellently in an email thusly:

> Anyone have a quick, 1, 2, 3 on how to compile a kernel?

    Once you get all the RPMs, you:

        1. cd /usr/src/linux
        2. Edit the Makefile and make EXTRAVERSION be something else
           like:

            EXTRAVERSION = -sf

           i.e., your initials. Then

        3. make xconfig
        4. Load the old config from the configs subdirectory.
        5. Add in IrDA as shown on my pages.
        6. Save and exit.
        7. make dep
        8. make && make modules && make modules_install
        9. Install the kernel:

            strip vmlinux
            cp vmlinux /boot/vmlinux-2.4.x-sf
            cp System.map /boot/System.map-2.4.x-sf

           (Substitute 2.4.x with your actual kernel version.)

.. to which for BootX you add this ...

       10. Use the "mount" command to mount your boot HFS partition
            e.g. mount -thfs /dev/sda6 /mnt/sda6
            where you replace /dev/sda6 and /mnt/sda6 with the appropriate
            details for your boot device and its assigned mount point
       11. cp /boot/vmlinux-2.4.x-sf /mnt/sda6/"System Folder"/"Linux
Kernels"/
       12. Reboot and select vmlinux-2.4.x-sf from the drop down list in
BootX

That's it.

  Iain

on 27/9/01 6:19 pm, Kitt Thompson at omegaman@theshop.net wrote:

> I would really appreciate it if I could get some help on
> compiling a new kernel. I have spent the last three days
> carefully sorting though all the information that I could find on compiling
> a new kernel. Most of the info for the PPC with Boot X
> is fragmented at best. The other %90 of the info is for the Intel
> side of things and it doesn't help me much when it comes to the Boot X
> part. In short, I compiled version 2.4.10 of the kernel and copied it to
> the Linux Kernels folder in my system folder. Selecting this new kernel
> causes my mac to freeze when it's moving from the MacOS
> to Linux. I really need to have some questions answered on how to do this.
> Please, if you have the time and patience, email me at
> omegaman@theshop.net.
>
> Help is greatly appreciated.
>
> Sincerely,
> Kitt Thompson
>
> "When the going gets weird, the weird turn pro."
> -H.S.T



This archive was generated by hypermail 2a24 : Thu Sep 27 2001 - 11:40:55 MDT