RE: [expert] Making a new kernel?

1999-11-10 Thread Vanco, Donald

 -Original Message-
 From: Joseph Chen [mailto:[EMAIL PROTECTED]]
 I did configured my 3Com905C, ether static or module 
 loadable.  Also I see errors related to sound, since no driver is there to
support 
 my SB Live sound card.  lsmod shows module sound unused.
Not familiar with the issues around SB Live - but I assume you've
run sndconfig and set it up (if possible)?  What is in your
/etc/conf.modules ?


 Now it turns out that module 3c90x (good for my NIC) has been 
 there from the CD install, but linuxconfig tool just hasn't got an entry
for that
 module.  I hand type in 3c90x when configure network and it boots and
 works well.
Hmm... so does that mean your problem is solved?  Are you losing the
network on reboots? 
Sorry - this is a bit unclear to me.


 Now I still have to compile the kernel to include my SB Live 
 card driver and I am nurverous about dealing with the module.
You should be fine.  It's been my experience that sound works more
consistent when set as modules rather than coded into the kernel, but I
believe there was a whole thread here on the SB Live card so follow that
advice...
You should make sure that you have clean source.  Lots of folks in
the Alpha world don't like kernel source RPMs for whatever reason - they
always pull the "raw" source.  You should also make sure your source tree is
clean by starting the process with "make mrproper" - but be advised that
this will wipe out any .config file in the tree!

 Please let me know how to find .config info and I'll post it. 
  I guess it is in /usr/src/linux
That is correct.
Good luck -
Don



 On Tue, 9 Nov 1999, Vanco, Donald wrote:
 
  Can you get into single user mode and try inserting the 
 modules you need and
  see which one is freezing the system? 
  Can you post the .config info?
  I usually see issues with NICs or sound.
  
  Don
  
   -Original Message-
   From: Joseph Chen [mailto:[EMAIL PROTECTED]]
   Sent: Monday, November 08, 1999 4:54 PM
   To: [EMAIL PROTECTED]
   Subject: [expert] Making a new kernel?
   
   
   Hi,
   
   The kernel I compiled of the src with Mandrake 6.1 CD is 
 always not
   working properly, either freezing when "Finding module 
 dependencies"
   occurs or crashing when runing.  I suspect that the new 
   modules screws up
   the existing ones there, but I'm not quite sure.  Should I 
   delete all the
   existing modules in /lib/modules/ before do "make 
 modules_install"?
   
   All I did is
 make mrproper
 make xconfig
 make dep
 make clean
 make bzImage
 make modules
 make modules_install
   
   What else do I need to do?
   
   Thanks,
   
   Joe
   
   
   
  
 



Re: [expert] Making a new kernel?

1999-11-09 Thread Joseph Chen


Hi,

On Mon, 8 Nov 1999, John LeMay wrote:

 You make no mention of actually moving the new kernel from
 /usr/src/linux/arch/i386/boot to /boot, but I assume you did that. I do
 not believe make mrproper or make clean are necessary any longer. Don't
 forget to run /sbin/lilo after you edit /etc/lilo.conf and move the new
 kernel. The steps:
 
 make xconfig
 make dep
 make bzImage
 make modules
 mv /lib/modules/current /lib/modules/modules.old
 make modules_install
 vi /etc/lilo.conf
 mv /boot/bzImage /boot/oldimage
 cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
 /sbin/lilo
 
 Reboot.

I always put a new bzImage to a floppy so I don't need to configure lilo.
So I just boot it from a floppy.

Last time I did it differently: before invoking "make modules_install", 
I did:
cd /lib;
mv modules modules-old
cd /usr/src/linux; make modules_install
Then reboot with new kernel on the floppy.

Now I got some progress in that my 3com905C NIC was recognized, which is
why I need to recompile the kernel.  However, lpd is not working properly
from the new kernel. The cause I guess is that 2 modules of "parport_pc"
or the like shows (through lsmod) "uninitialized".  The result is that
printing jobs are just hanging there until I reboot linux with the
original kernel.

My conclusion is that the loadable modules somehow are incompatible.  I am
newbie in using modules (this is my first time to use loadable
modules) so I'll appreciated it very much if someone can kindly tell me
how to deal with modules.

Joe




RE: [expert] Making a new kernel?

1999-11-09 Thread Vanco, Donald

Can you get into single user mode and try inserting the modules you need and
see which one is freezing the system? 
Can you post the .config info?
I usually see issues with NICs or sound.

Don

 -Original Message-
 From: Joseph Chen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, November 08, 1999 4:54 PM
 To: [EMAIL PROTECTED]
 Subject: [expert] Making a new kernel?
 
 
 Hi,
 
 The kernel I compiled of the src with Mandrake 6.1 CD is always not
 working properly, either freezing when "Finding module dependencies"
 occurs or crashing when runing.  I suspect that the new 
 modules screws up
 the existing ones there, but I'm not quite sure.  Should I 
 delete all the
 existing modules in /lib/modules/ before do "make modules_install"?
 
 All I did is
   make mrproper
   make xconfig
   make dep
   make clean
   make bzImage
   make modules
   make modules_install
 
 What else do I need to do?
 
 Thanks,
 
 Joe
 
 
 



RE: [expert] Making a new kernel?

1999-11-09 Thread Joseph Chen

Don,


I did configured my 3Com905C, ether static or module loadable.  Also I see
errors related to sound, since no driver is there to support my SB Live
sound card.  lsmod shows module sound unused.

Now it turns out that module 3c90x (good for my NIC) has been there from
the CD install, but linuxconfig tool just hasn't got an entry for that
module.  I hand typep in 3c90x when configure network and it boots and
works well.

Now I still have to compile the kernel to include my SB Live card driver
and I am nurverous about dealing with the module.


Please let me know how to find .config info and I'll post it.  I guess it
is in /usr/src/linux, but I am not quite sure.  I need go home to check on
it.

-- Joe




On Tue, 9 Nov 1999, Vanco, Donald wrote:

 Can you get into single user mode and try inserting the modules you need and
 see which one is freezing the system? 
 Can you post the .config info?
 I usually see issues with NICs or sound.
 
 Don
 
  -Original Message-
  From: Joseph Chen [mailto:[EMAIL PROTECTED]]
  Sent: Monday, November 08, 1999 4:54 PM
  To: [EMAIL PROTECTED]
  Subject: [expert] Making a new kernel?
  
  
  Hi,
  
  The kernel I compiled of the src with Mandrake 6.1 CD is always not
  working properly, either freezing when "Finding module dependencies"
  occurs or crashing when runing.  I suspect that the new 
  modules screws up
  the existing ones there, but I'm not quite sure.  Should I 
  delete all the
  existing modules in /lib/modules/ before do "make modules_install"?
  
  All I did is
  make mrproper
  make xconfig
  make dep
  make clean
  make bzImage
  make modules
  make modules_install
  
  What else do I need to do?
  
  Thanks,
  
  Joe
  
  
  
 



Re: [expert] Making a new kernel?

1999-11-08 Thread John LeMay

You make no mention of actually moving the new kernel from
/usr/src/linux/arch/i386/boot to /boot, but I assume you did that. I do
not believe make mrproper or make clean are necessary any longer. Don't
forget to run /sbin/lilo after you edit /etc/lilo.conf and move the new
kernel. The steps:

make xconfig
make dep
make bzImage
make modules
mv /lib/modules/current /lib/modules/modules.old
make modules_install
vi /etc/lilo.conf
mv /boot/bzImage /boot/oldimage
cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
/sbin/lilo

Reboot.


Joseph Chen wrote:
 
 Hi,
 
 The kernel I compiled of the src with Mandrake 6.1 CD is always not
 working properly, either freezing when "Finding module dependencies"
 occurs or crashing when runing.  I suspect that the new modules screws up
 the existing ones there, but I'm not quite sure.  Should I delete all the
 existing modules in /lib/modules/ before do "make modules_install"?
 
 All I did is
 make mrproper
 make xconfig
 make dep
 make clean
 make bzImage
 make modules
 make modules_install
 
 What else do I need to do?
 
 Thanks,
 
 Joe

-- 
John J. LeMay Jr.
NJMC, LLC.
http://www.njmc.com



RE: [expert] Making a new kernel?

1999-01-16 Thread Yongling Ding

i replied to this issue a while ago, but nobody confirmed it. my case was
after the upgrade to 2.2.13. what i did is to get rid of one "/" in the
pathnames in modules.dep that was generated automatically or manually,
because the file generated with "depmod -a" has two "/"s in the pathnames.
since then, i have no problem. so take a look at this file at least. source
from kernel.org has less compilation options (such as NLS modules).
obviously, mandrake added something. by the way, you can boot with the
installation floppy disk (vmlinuz root=/dev/hda) in case that you don't have
a rescue disk in hand.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Charles Sellers
Sent: Thursday, November 18, 1999 3:08 AM
To: [EMAIL PROTECTED]
Subject: Re: [expert] Making a new kernel?


I had a similar problem after installing 6.1.  I posted questions on
here, but had very little success.  Finally I just downloaded the latest
source from ftp.kernel.org, untarred it, and built it myself (doesn't
take long).  This worked, and now I don't have the problem.  Hope this
helps.
Chad Sellers

Joseph Chen wrote:

 Hi,

 The kernel I compiled of the src with Mandrake 6.1 CD is always not
 working properly, either freezing when "Finding module dependencies"
 occurs or crashing when runing.  I suspect that the new modules screws up
 the existing ones there, but I'm not quite sure.  Should I delete all the
 existing modules in /lib/modules/ before do "make modules_install"?

 All I did is
 make mrproper
 make xconfig
 make dep
 make clean
 make bzImage
 make modules
 make modules_install

 What else do I need to do?

 Thanks,

 Joe