Re: [expert] Kernel Source Tree Version Conflict.

1999-06-06 Thread Sheldon Lee Wen

Bernhard Rosenkraenzer wrote:
> 
> On Sat, 5 Jun 1999, Sheldon Lee Wen wrote:
> 
> > > Won't work - cd /usr/src/linux ; make menuconfig will.
> >
> > Right, If I knew the options that the kernel and modules were build with,
> 
> I've attached the .config file to this message. You can also get it from
> the kernel SRPM, if you have the sources.
> 
> > but I cannot find the config file for the smp kernel, and the default values
> > don't work.
> 
> If you intend to compile your own kernel, you should set the options to
> match your system, anyway - it'll get rid of drivers you won't ever need,
> saving diskspace and speeding some things up.
> 
> LLaP
> bero

Thanks. That did the trick. I didn't want to recpmile my kernel without 
some sort of starting point. Everytime I just do it from scratch RH blows
up so I didn't want that to happen here.

Cheers.
Sheldon


-- 
==
Sheldon Lee Wen [EMAIL PROTECTED], Nortelnetworks Ottawa Canada
Skyeast CSA
x55800
"Superstition is a word the ignorant use to describe their ignorance."
  -- Sifu.
==



Re: [expert] Kernel Source Tree Version Conflict.

1999-06-05 Thread Greg Rumple

Yeah I had this exact same problem on Redhat 6.0.  The problem lies in
that if you choose to run the SMP kernel, the header files are still from
the non-smp build.  The only way I could come up with to fix this was to
install the kernel by hand, and build it SMP only.  That way my header
files, etc, were all for SMP.  I can't think of a slick way for either
Redhat or Mandrake to fix this...

--
Greg Rumple
[EMAIL PROTECTED]

On Sat, 5 Jun 1999, Sheldon Lee Wen wrote:

> Hi,
> 
>  Has anyone running the 2.2.9-19mdksmp kernel has problems installing
> VMWare 1.0? When trying to install it says that the kernel source tree
> is for the non-smp kernel. It looks like that kernel that was compiled
> in that source tree was the 2.2.9-19mdk kernel and when you try to
> compile modules against it you get a version mismatch. I've already
> tried changing the linux/version.h header file to say smp instead
> of the stock single cpu. It'll then compile the modules but when
> you try to insert them you get unresolved symbol errors.
> 
> Anyone know how to fix this without trashing the kernel tree
> and recompiling a whole new kernel from a new source tree?
> 
> Thanks.
> Sheldon.
> 



Re: [expert] Kernel Source Tree Version Conflict.

1999-06-05 Thread Bernhard Rosenkraenzer

On Sat, 5 Jun 1999, Sheldon Lee Wen wrote:

> > Won't work - cd /usr/src/linux ; make menuconfig will.
> 
> Right, If I knew the options that the kernel and modules were build with,

I've attached the .config file to this message. You can also get it from
the kernel SRPM, if you have the sources.

> but I cannot find the config file for the smp kernel, and the default values
> don't work.

If you intend to compile your own kernel, you should set the options to
match your system, anyway - it'll get rid of drivers you won't ever need,
saving diskspace and speeding some things up.

LLaP
bero


 SMP kernel config


Re: [expert] Kernel Source Tree Version Conflict.

1999-06-05 Thread Sheldon Lee Wen

Bernhard Rosenkraenzer wrote:
> 
> On Sat, 5 Jun 1999, Sheldon Lee Wen wrote:
> 
> >  Has anyone running the 2.2.9-19mdksmp kernel has problems installing
> > VMWare 1.0? When trying to install it says that the kernel source tree
> > is for the non-smp kernel. It looks like that kernel that was compiled
> > in that source tree was the 2.2.9-19mdk kernel and when you try to
> > compile modules against it you get a version mismatch.
> 
> Right, because there's only one kernel-source package, and it's as general
> as possible (no smp, no fb, no special optimizations).
> 
> > I've already
> > tried changing the linux/version.h header file to say smp instead
> > of the stock single cpu.
> 
> Won't work - cd /usr/src/linux ; make menuconfig will.

Right, If I knew the options that the kernel and modules were build with,
but I cannot find the config file for the smp kernel, and the default values
don't work.

Sheldon.



Re: [expert] Kernel Source Tree Version Conflict.

1999-06-05 Thread Bernhard Rosenkraenzer

On Sat, 5 Jun 1999, Sheldon Lee Wen wrote:

>  Has anyone running the 2.2.9-19mdksmp kernel has problems installing
> VMWare 1.0? When trying to install it says that the kernel source tree
> is for the non-smp kernel. It looks like that kernel that was compiled
> in that source tree was the 2.2.9-19mdk kernel and when you try to
> compile modules against it you get a version mismatch.

Right, because there's only one kernel-source package, and it's as general
as possible (no smp, no fb, no special optimizations).

> I've already
> tried changing the linux/version.h header file to say smp instead
> of the stock single cpu.

Won't work - cd /usr/src/linux ; make menuconfig will.

LLaP
bero