RE: [newbie] smp kernel 2.2.13-7mdk and modules

2000-01-01 Thread marcelo pimentel



-Original Message-
From: Ernest N. Wilcox Jr. [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 01, 2000 6:41 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] smp kernel 2.2.13-7mdk and modules


On Wed, 29 Dec 1999, Hidong Kim wrote:
  |  Hi, Gary,
  |
  |  Yes, I do have a dual Pentium II machine.  smp was working fine when I
  |  was running mandrake 5.3 kernel 2.2.9.  I think much of my difficulties
  |  here are due to my unfamiliarity with recompiling kernels from rpms.  I
  |  had always compiled kernels from tar.gz.  On the mandrake 6.1
  |  installation cd, there are several kernel rpms, like kernel,
  |  kernel-source, kernel-headers, etc.  Which of these packages are needed
  |  for compiling an smp kernel?  From the mandrake web site documentation,
  |  it seems like kernel-source and kernel-headers are all that you need.
  |  But then what about kernel-smp and kernel-smp-fb?  I tried recompiling

FYI - the kernel-smp and the kernel-smp-fb are installable kernels which
have
been compiled for you. You install the rpm, then edit /etc/lilo.conf, then
run
/sbin/lilo to write the boot loader to the HD. If you need better
documentation on lilo, it has been covered in great detail and should be
available in the archives.

HTH,

Ernie   ([EMAIL PROTECTED])


  |  an smp kernel with all of these packages installed, and still no
success
  |  getting a bootable smp 2.2.13-7mdk kernel.  For all of the people at
  |  mandrakesoft, is there a tar.gz of 2.2.13-7mdk?  Right now, a tar.gz of
  |  the 2.2.13-7mdk kernel source is more to be desired than gold by me.
  |  Thanks,
  |
  |
  |
  |  Hidong
  |
  |
  |  Gary K Stinnett Jr wrote:
  |  >
  |  > Do you have a multi-processor motherboard?
  |  > The smp kernel is for mult-processor systems.  "Thanks M Thompson at
Hot Mail"
  |  >
  |  > I had a problem with installing a driver for my sound card, I know
this is
  |  > completely different to your problem, because my linux box was using
the smp
  |  > kernel.
  |  >
  |  > After I did away with that and used the 2.2.13-7mdk kernel I did not
have a
  |  > problem.
  |  >
  |  > Later,
  |  >
  |  > Gary
  |  >
  |  > Warren Doney wrote:
  |  >
  |  > > Hidong Kim wrote:
  |  > > >
  |  > > > Hi, Axalon,
  |  > > >
  |  > > > I tried the 'depmod -a', but the 2.2.13-7mdk smp kernel is still
hanging
  |  > > > during boot at "Finding module dependencies".  Should it be
'depmod -a
  |  > > > 2.2.13-7mdk' or 'depmod -a 2.2.13'?  Thanks,
  |  > > >
  |  > >
  |  > > move your old modules from (top level) /lib/modules to a new folder
  |  > > /lib/oldmodules (I just used KFM)
  |  > > or whatever before you make modules-->lnstall-->depmod etc. Before
you
  |  > > reboot, put a working version of older kernel moudules in
/lib/modules
  |  > > so you can boot with an older kernel if anything goes wrong. I.E. I
made
  |  > > sure I had a bootdisk+modules for 2.2.13-7 before I rebooted my
newly
  |  > > compiled 2.2.13-22. I don't think it would work with 2 lots of the
same
  |  > > version e.g. 13-22 + 13-22 (havent tried it though). For me, depmod
  |  > > still
  |  > > spits out unresolved stuff, but I can boot o.k. off my new
kernel.
  |  > > I think I hosed out some suff from the src tree when I did a make
  |  > > mrproper or a make clean somewhere, Wish I'd moved the RPM from
/tmp
  |  > >
  |  > > Warren.




Re: [newbie] smp kernel 2.2.13-7mdk and modules

2000-01-01 Thread Ernest N. Wilcox Jr.

On Wed, 29 Dec 1999, Hidong Kim wrote:
  |  Hi, Gary,
  |  
  |  Yes, I do have a dual Pentium II machine.  smp was working fine when I
  |  was running mandrake 5.3 kernel 2.2.9.  I think much of my difficulties
  |  here are due to my unfamiliarity with recompiling kernels from rpms.  I
  |  had always compiled kernels from tar.gz.  On the mandrake 6.1
  |  installation cd, there are several kernel rpms, like kernel,
  |  kernel-source, kernel-headers, etc.  Which of these packages are needed
  |  for compiling an smp kernel?  From the mandrake web site documentation,
  |  it seems like kernel-source and kernel-headers are all that you need. 
  |  But then what about kernel-smp and kernel-smp-fb?  I tried recompiling

FYI - the kernel-smp and the kernel-smp-fb are installable kernels which have
been compiled for you. You install the rpm, then edit /etc/lilo.conf, then run
/sbin/lilo to write the boot loader to the HD. If you need better
documentation on lilo, it has been covered in great detail and should be
available in the archives.

HTH,

Ernie   ([EMAIL PROTECTED])


  |  an smp kernel with all of these packages installed, and still no success
  |  getting a bootable smp 2.2.13-7mdk kernel.  For all of the people at
  |  mandrakesoft, is there a tar.gz of 2.2.13-7mdk?  Right now, a tar.gz of
  |  the 2.2.13-7mdk kernel source is more to be desired than gold by me. 
  |  Thanks,
  |  
  |  
  |  
  |  Hidong 
  |  
  |  
  |  Gary K Stinnett Jr wrote:
  |  > 
  |  > Do you have a multi-processor motherboard?
  |  > The smp kernel is for mult-processor systems.  "Thanks M Thompson at Hot Mail"
  |  > 
  |  > I had a problem with installing a driver for my sound card, I know this is
  |  > completely different to your problem, because my linux box was using the smp
  |  > kernel.
  |  > 
  |  > After I did away with that and used the 2.2.13-7mdk kernel I did not have a
  |  > problem.
  |  > 
  |  > Later,
  |  > 
  |  > Gary
  |  > 
  |  > Warren Doney wrote:
  |  > 
  |  > > Hidong Kim wrote:
  |  > > >
  |  > > > Hi, Axalon,
  |  > > >
  |  > > > I tried the 'depmod -a', but the 2.2.13-7mdk smp kernel is still hanging
  |  > > > during boot at "Finding module dependencies".  Should it be 'depmod -a
  |  > > > 2.2.13-7mdk' or 'depmod -a 2.2.13'?  Thanks,
  |  > > >
  |  > >
  |  > > move your old modules from (top level) /lib/modules to a new folder
  |  > > /lib/oldmodules (I just used KFM)
  |  > > or whatever before you make modules-->lnstall-->depmod etc. Before you
  |  > > reboot, put a working version of older kernel moudules in /lib/modules
  |  > > so you can boot with an older kernel if anything goes wrong. I.E. I made
  |  > > sure I had a bootdisk+modules for 2.2.13-7 before I rebooted my newly
  |  > > compiled 2.2.13-22. I don't think it would work with 2 lots of the same
  |  > > version e.g. 13-22 + 13-22 (havent tried it though). For me, depmod
  |  > > still
  |  > > spits out unresolved stuff, but I can boot o.k. off my new kernel.
  |  > > I think I hosed out some suff from the src tree when I did a make
  |  > > mrproper or a make clean somewhere, Wish I'd moved the RPM from /tmp
  |  > >
  |  > > Warren.



Re: [newbie] smp kernel 2.2.13-7mdk and modules

1999-12-29 Thread Warren Doney

On Thu, 30 Dec 1999, Hidong Kim wrote:
: Hi, Warren,
: 
: Thanks for the reply.  There's one thing I don't quite understand, see
: below:
: 
: 
: 
: Warren Doney wrote:
: > 
: > Hidong Kim wrote:
: > >
: > > Hi, Axalon,
: > >
: > > I tried the 'depmod -a', but the 2.2.13-7mdk smp kernel is still hanging
: > > during boot at "Finding module dependencies".  Should it be 'depmod -a
: > > 2.2.13-7mdk' or 'depmod -a 2.2.13'?  Thanks,
: > >
: > 
: > move your old modules from (top level) /lib/modules to a new folder
: > /lib/oldmodules (I just used KFM)
: > or whatever before you make modules-->lnstall-->depmod etc. Before you
: > reboot, put a working version of older kernel moudules in /lib/modules
: > so you can boot with an older kernel if anything goes wrong.
: 
: Can't I just boot off of an older kernel on a boot floppy in case of
: emergency?  If I put working versions of older kernel modules in
: /lib/modules, won't that overwrite the modules that were just created? 
:

UM, I don't Know for sure, but it worked for me, modules were in 2 seperate
folders, 2.2.13-7 & 2.2.13-22, If you don't have the modules for the older 
kernels, it might hang at finding dependancys.

Warren.



Re: [newbie] smp kernel 2.2.13-7mdk and modules

1999-12-29 Thread Hidong Kim

Hi, Gary,

Yes, I do have a dual Pentium II machine.  smp was working fine when I
was running mandrake 5.3 kernel 2.2.9.  I think much of my difficulties
here are due to my unfamiliarity with recompiling kernels from rpms.  I
had always compiled kernels from tar.gz.  On the mandrake 6.1
installation cd, there are several kernel rpms, like kernel,
kernel-source, kernel-headers, etc.  Which of these packages are needed
for compiling an smp kernel?  From the mandrake web site documentation,
it seems like kernel-source and kernel-headers are all that you need. 
But then what about kernel-smp and kernel-smp-fb?  I tried recompiling
an smp kernel with all of these packages installed, and still no success
getting a bootable smp 2.2.13-7mdk kernel.  For all of the people at
mandrakesoft, is there a tar.gz of 2.2.13-7mdk?  Right now, a tar.gz of
the 2.2.13-7mdk kernel source is more to be desired than gold by me. 
Thanks,



Hidong 


Gary K Stinnett Jr wrote:
> 
> Do you have a multi-processor motherboard?
> The smp kernel is for mult-processor systems.  "Thanks M Thompson at Hot Mail"
> 
> I had a problem with installing a driver for my sound card, I know this is
> completely different to your problem, because my linux box was using the smp
> kernel.
> 
> After I did away with that and used the 2.2.13-7mdk kernel I did not have a
> problem.
> 
> Later,
> 
> Gary
> 
> Warren Doney wrote:
> 
> > Hidong Kim wrote:
> > >
> > > Hi, Axalon,
> > >
> > > I tried the 'depmod -a', but the 2.2.13-7mdk smp kernel is still hanging
> > > during boot at "Finding module dependencies".  Should it be 'depmod -a
> > > 2.2.13-7mdk' or 'depmod -a 2.2.13'?  Thanks,
> > >
> >
> > move your old modules from (top level) /lib/modules to a new folder
> > /lib/oldmodules (I just used KFM)
> > or whatever before you make modules-->lnstall-->depmod etc. Before you
> > reboot, put a working version of older kernel moudules in /lib/modules
> > so you can boot with an older kernel if anything goes wrong. I.E. I made
> > sure I had a bootdisk+modules for 2.2.13-7 before I rebooted my newly
> > compiled 2.2.13-22. I don't think it would work with 2 lots of the same
> > version e.g. 13-22 + 13-22 (havent tried it though). For me, depmod
> > still
> > spits out unresolved stuff, but I can boot o.k. off my new kernel.
> > I think I hosed out some suff from the src tree when I did a make
> > mrproper or a make clean somewhere, Wish I'd moved the RPM from /tmp
> >
> > Warren.



Re: [newbie] smp kernel 2.2.13-7mdk and modules

1999-12-29 Thread Gary K Stinnett Jr

Do you have a multi-processor motherboard?
The smp kernel is for mult-processor systems.  "Thanks M Thompson at Hot Mail"

I had a problem with installing a driver for my sound card, I know this is
completely different to your problem, because my linux box was using the smp
kernel.

After I did away with that and used the 2.2.13-7mdk kernel I did not have a
problem.

Later,

Gary

Warren Doney wrote:

> Hidong Kim wrote:
> >
> > Hi, Axalon,
> >
> > I tried the 'depmod -a', but the 2.2.13-7mdk smp kernel is still hanging
> > during boot at "Finding module dependencies".  Should it be 'depmod -a
> > 2.2.13-7mdk' or 'depmod -a 2.2.13'?  Thanks,
> >
>
> move your old modules from (top level) /lib/modules to a new folder
> /lib/oldmodules (I just used KFM)
> or whatever before you make modules-->lnstall-->depmod etc. Before you
> reboot, put a working version of older kernel moudules in /lib/modules
> so you can boot with an older kernel if anything goes wrong. I.E. I made
> sure I had a bootdisk+modules for 2.2.13-7 before I rebooted my newly
> compiled 2.2.13-22. I don't think it would work with 2 lots of the same
> version e.g. 13-22 + 13-22 (havent tried it though). For me, depmod
> still
> spits out unresolved stuff, but I can boot o.k. off my new kernel.
> I think I hosed out some suff from the src tree when I did a make
> mrproper or a make clean somewhere, Wish I'd moved the RPM from /tmp
>
> Warren.



Re: [newbie] smp kernel 2.2.13-7mdk and modules

1999-12-29 Thread Hidong Kim

Hi, Warren,

Thanks for the reply.  There's one thing I don't quite understand, see
below:



Warren Doney wrote:
> 
> Hidong Kim wrote:
> >
> > Hi, Axalon,
> >
> > I tried the 'depmod -a', but the 2.2.13-7mdk smp kernel is still hanging
> > during boot at "Finding module dependencies".  Should it be 'depmod -a
> > 2.2.13-7mdk' or 'depmod -a 2.2.13'?  Thanks,
> >
> 
> move your old modules from (top level) /lib/modules to a new folder
> /lib/oldmodules (I just used KFM)
> or whatever before you make modules-->lnstall-->depmod etc. Before you
> reboot, put a working version of older kernel moudules in /lib/modules
> so you can boot with an older kernel if anything goes wrong.

Can't I just boot off of an older kernel on a boot floppy in case of
emergency?  If I put working versions of older kernel modules in
/lib/modules, won't that overwrite the modules that were just created? 
Thanks,



Hidong


 I.E. I made
> sure I had a bootdisk+modules for 2.2.13-7 before I rebooted my newly
> compiled 2.2.13-22. I don't think it would work with 2 lots of the same
> version e.g. 13-22 + 13-22 (havent tried it though). For me, depmod
> still
> spits out unresolved stuff, but I can boot o.k. off my new kernel.
> I think I hosed out some suff from the src tree when I did a make
> mrproper or a make clean somewhere, Wish I'd moved the RPM from /tmp
> 
> Warren.



Re: [newbie] smp kernel 2.2.13-7mdk and modules

1999-12-29 Thread Warren Doney

Hidong Kim wrote:
> 
> Hi, Axalon,
> 
> I tried the 'depmod -a', but the 2.2.13-7mdk smp kernel is still hanging
> during boot at "Finding module dependencies".  Should it be 'depmod -a
> 2.2.13-7mdk' or 'depmod -a 2.2.13'?  Thanks,
>

move your old modules from (top level) /lib/modules to a new folder 
/lib/oldmodules (I just used KFM)
or whatever before you make modules-->lnstall-->depmod etc. Before you
reboot, put a working version of older kernel moudules in /lib/modules
so you can boot with an older kernel if anything goes wrong. I.E. I made
sure I had a bootdisk+modules for 2.2.13-7 before I rebooted my newly
compiled 2.2.13-22. I don't think it would work with 2 lots of the same 
version e.g. 13-22 + 13-22 (havent tried it though). For me, depmod
still
spits out unresolved stuff, but I can boot o.k. off my new kernel.
I think I hosed out some suff from the src tree when I did a make
mrproper or a make clean somewhere, Wish I'd moved the RPM from /tmp

Warren.



Re: [newbie] smp kernel 2.2.13-7mdk and modules

1999-12-29 Thread Hidong Kim

Hi, Axalon,

I tried the 'depmod -a', but the 2.2.13-7mdk smp kernel is still hanging
during boot at "Finding module dependencies".  Should it be 'depmod -a
2.2.13-7mdk' or 'depmod -a 2.2.13'?  Thanks,



Hidong



Axalon Bloodstone wrote:
> 
> On Wed, 29 Dec 1999, Hidong Kim wrote:
> 
> > John Aldrich wrote:
> > >
> > > On Tue, 28 Dec 1999, Hidong Kim wrote:
> > > > Hi,
> > > >
> > > > Are there any known problems with kernel 2.2.13-7mdk and smp?  I
> > > > recompiled the smp kernel using the kernel-source and kernel-headers
> > > > RPMs from the Mandrake 6.1 installation CD, and now the machine won't
> > > > boot.  It hangs at "Finding module dependencies".  A up 2.2.13-7mdk
> > > > kernel boots fine.  Thanks,
> > > >
> > > You need to run "depmod -a" to re-do the module dependancies for the
> > > new kernel and install 'em in the config files.
> > > John
> >
> >
> > Hi, John,
> >
> > Thanks for the reply.  When do I do 'depmod -a'?  Here's the sequence of
> > commands I use to compile a kernel:
> >
> > 1. make mrproper
> > 2. make xconfig
> > 3. make dep
> > 4. make bzImage
> > 5. make modules
> > 6. make modules_install
> 
> depmod -a 'new_kernel_version'
> 
> > 7. copy new bzImage to floppy and /boot
> >
> > Where does 'depmod -a' fit into this sequence?  Thanks,
> >
> >
> >
> > Hidong
> >
> 
> --
> MandrakeSoft  http://www.mandrakesoft.com/
> --Axalon



Re: [newbie] smp kernel 2.2.13-7mdk and modules

1999-12-29 Thread Hidong Kim

John Aldrich wrote:
> 
> On Tue, 28 Dec 1999, Hidong Kim wrote:
> > Hi,
> >
> > Are there any known problems with kernel 2.2.13-7mdk and smp?  I
> > recompiled the smp kernel using the kernel-source and kernel-headers
> > RPMs from the Mandrake 6.1 installation CD, and now the machine won't
> > boot.  It hangs at "Finding module dependencies".  A up 2.2.13-7mdk
> > kernel boots fine.  Thanks,
> >
> You need to run "depmod -a" to re-do the module dependancies for the
> new kernel and install 'em in the config files.
> John


Hi, John,

Thanks for the reply.  When do I do 'depmod -a'?  Here's the sequence of
commands I use to compile a kernel:

1. make mrproper
2. make xconfig
3. make dep
4. make bzImage
5. make modules
6. make modules_install
7. copy new bzImage to floppy and /boot

Where does 'depmod -a' fit into this sequence?  Thanks,



Hidong



[newbie] smp kernel 2.2.13-7mdk and modules

1999-12-28 Thread Hidong Kim

Hi,

Are there any known problems with kernel 2.2.13-7mdk and smp?  I
recompiled the smp kernel using the kernel-source and kernel-headers
RPMs from the Mandrake 6.1 installation CD, and now the machine won't
boot.  It hangs at "Finding module dependencies".  A up 2.2.13-7mdk
kernel boots fine.  Thanks,



Hidong