I'm not sure what is going wrong here, but my modules are in
/lib/modules/2.2.14-15mdk
there are other directories under /lib/modules also.  (I made an error in my
original response.)  I think there is some option in the kernel build that
specifies where the modules should be found.

However, the kernel is STILL trying to load your SCSI low-level driver as a
module.  This makes me think you are not executing the kernel you created
("I am told that linux is Loading the module").  Check the date on
/boot/vmlinuz to verify it is the one you built.  Then check that lilo.conf
is pointing to your kernel build.  If you didn't change Makefile to
INSTALL_PATH=/boot then your new kernel will be in /, which you should copy
to /boot.

You can always try "make bzdisk" to put your new kernel onto a already
formatted (mkfs -t minix /dev/fd0 1440) floppy and then boot from that.
However, you must build the minix fs into the kernel (not as a module) to do
this.  (This is also a way to check out a new kernel before committing to
it.)

Hope this helps,

Bill

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brian Schroeder
Sent: Sunday, April 30, 2000 11:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] Installing SMP Kernel


Thanks for your advice, Bill.

I have followed what you wrote, but still it doesn't work.  I
included the SCSI optinos in the kernel (not as modules), but I am
getting "unresolved symbol" errors in "/lib/aic7xxx.o", after I am
told that linux is Loading the module.  Finally the kernel panics,
being "Unable to mount root fs" - which is understandable if it can't
load the SCSI driver.

Brian.


Bill Shirley wrote:
>
> First, edit your /usr/src/linux/Makefile and change:
> INSTALL_PATH=
>     to
> INSTALL_PATH=/boot
>
> Optional step:
> ADD a new image section to lilo so you can boot the old kernel if needed:
> Edit /etc/lilo.conf and add a section just like the one label=linux:
>
> image = /boot/vmlinuz.old        <== change this part
>    label = oldlinux              <== changes this part
>    root = /dev/sda1              <== leave this part like other image
> section
>
> If you need to boot the old kernel, at boot time after LILO prompt, press
> tab and type "oldlinux"
> End of optional step.
>
> To build a new kernel, as root, type:
>
> cd /usr/src/linux
>
> make menu
>    OR
> make menuconfig            ; easier
>    OR
> make xconfig               ; for using under X
>
> Configure the options.  Because you are booting from SCSI disks, MAKE SURE
> the SCSI low level drivers and SCSI disks options are part of the kernel
and
> NOT modules (also set the SMP options).
>
> Then type:
>
> make dep
> make bzlilo
> make modules
> make modules_install
>
> Then reboot.
>
> You will still get unresolved symbols on some modules.  To stop this,
remove
> all .o files in all subdirectories under /usr/lib/2.2.14-15mdk before you
> make modules_install. (They will be put back by the make modules_install
> command).
>
> Hope this helps,
>
> Bill
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Brian Schroeder
> Sent: Thursday, April 27, 2000 2:08 AM
> To: [EMAIL PROTECTED]
> Subject: [expert] Installing SMP Kernel
>
> I probably qualify as a newbie here.  I have installed Mandrake 7.02
> onto a dual pentium 166.  To my surprise the install process chose to
> install the non-smp version of the kernel - without giving me an option
> either.
>
> I have tried installing the smp kernel rpm (I did an rpm -ivh, changed
> the file links in /boot and ran lilo), but when I try to boot, it
> complains that the modules were built for a different kernel (ie. the
> non-smp version).
>
> So I tried to build a custom kernel.  This is my first time doing this,
> and I followed the instructions as closely as possible.  Although I
> didn't notice any particular problems with the compile, when I eventually
> got to the reboot it failed to boot with complaints about problems with
> various modules (particularly the SCSI driver modules - since all disks
> are SCSI).  I have since restored the original kernel and have it running
> again, but I think the errors were along the lines of unresolved symbols,
> or other linker/loader type errors.
>
> Has anyone got any suggestions as to what I have done wrong, and what I
> should do?
>
> (As an interesting corollary:  When I installed onto a single-CPU PIII,
> it was the smp kernel that was installed!)
>
> Brian.
--
---------------------------------------------------------------------------
        Brian Schroeder              |
 ,-_|\   [EMAIL PROTECTED]           |
/     \  Origin Energy Resources Ltd |        Anyone can hate,
\_,-*_/  Adelaide Australia          |      but it costs to love.
     v   GPO Box 2576 Adelaide 5001  |
        PH +61 8 8217 5782           |
---------------------------------------------------------------------------

Reply via email to