Help. Need help on Kernel Upgrade

Help. Need help on Kernel Upgrade

Post by Ken Szet » Sun, 31 Dec 1899 09:00:00



I am trying to upgrade my Linux Kernel version 2.2.5 to 2.2.11 and I keep
running into a dead end.

Let me tell you what I have done so far:

I downloaded the patch file to upgrade my kernel to 2.2.11 from
ftp.us.kernel.org.  (filename: patch-2.2.11.gz)

I expanded the file by typing gzip -cd patch-2.2.11.gz | patch -p0

Patching occured with a few errors and could not find a bunch of files.  [I
think it is okay because the missing files are for MIPS, Alpha and PPC.  I
am running i386]

I ran 'make mrproper' before 'make xconfig or make menuconfig'
After saving the configuration, I ran "make dep" (no errors yet)

I typed "make bzImage" and the kernel began to compile but it stopped after
a few seconds.  Could anyone tell me what I have done wrong?

would it be easier to download a new kernel (linux-2.2.11.tar.gz), expand
it, configure it, and compile it?  I tried this approach before patching and
the kernel ran.  However, must of my services failed to start due to
incorrect version in /boot/system.map

I am stuck and have no idea what else to do....  I would really like to
upgrade my kernel because I would like to setup IP Masquerade to allow VPN
traffic to go out..

Any information is greatly appreciated.

Thanks in advance.

Ken Szeto

 
 
 

Help. Need help on Kernel Upgrade

Post by Paul Kimo » Sun, 31 Dec 1899 09:00:00



> I am trying to upgrade my Linux Kernel version 2.2.5 to 2.2.11 and I keep
> running into a dead end.
> I downloaded the patch file to upgrade my kernel to 2.2.11 from
> ftp.us.kernel.org.  (filename: patch-2.2.11.gz)

> I expanded the file by typing gzip -cd patch-2.2.11.gz | patch -p0

> Patching occured with a few errors and could not find a bunch of files.  [I
> think it is okay because the missing files are for MIPS, Alpha and PPC.  I
> am running i386]

The file patch-2.2.11.gz will take you from 2.2.10 to 2.2.11.  Did you
miss applying patch-2.2.{6,7,8,9,10}.gz first?

Quote:> I typed "make bzImage" and the kernel began to compile but it stopped after
> a few seconds.  Could anyone tell me what I have done wrong?

Could you tell us what you mean by "stopped", and whether any error
messages were output?

--


 
 
 

Help. Need help on Kernel Upgrade

Post by Ken Szet » Sun, 31 Dec 1899 09:00:00



> User-Agent: slrn/0.9.5.7 (UNIX)



> > I am trying to upgrade my Linux Kernel version 2.2.5 to 2.2.11 and I
keep
> > running into a dead end.

> > I downloaded the patch file to upgrade my kernel to 2.2.11 from
> > ftp.us.kernel.org.  (filename: patch-2.2.11.gz)

> > I expanded the file by typing gzip -cd patch-2.2.11.gz | patch -p0

> > Patching occured with a few errors and could not find a bunch of files.
[I
> > think it is okay because the missing files are for MIPS, Alpha and PPC.
I
> > am running i386]

Good point.  I was having doubt about this and I did skip (6,7,8,9,10).  I
will try patching again will all the incremental patch.  However, whenever a
file have been patched, it will come up with a prompt...  is there a way to
turn off the prompt and have it automatically enter 'yes'?

- Show quoted text -

> The file patch-2.2.11.gz will take you from 2.2.10 to 2.2.11.  Did you
> miss applying patch-2.2.{6,7,8,9,10}.gz first?

> > I typed "make bzImage" and the kernel began to compile but it stopped
after
> > a few seconds.  Could anyone tell me what I have done wrong?

> Could you tell us what you mean by "stopped", and whether any error
> messages were output?

> --


 
 
 

Help. Need help on Kernel Upgrade

Post by Paul Kimo » Sun, 31 Dec 1899 09:00:00



>  I
> will try patching again will all the incremental patch.  However, whenever a
> file have been patched, it will come up with a prompt...  is there a way to
> turn off the prompt and have it automatically enter 'yes'?

It does?!  What version of "patch" are you running?  (See the man page for
the "-f" option.)

--

 
 
 

Help. Need help on Kernel Upgrade

Post by Ken Szet » Sun, 31 Dec 1899 09:00:00


After upgradeing the Linux kernel using each of the patch my kernel was able
to compile and is now version 2.2.11.  However, a few services reported
/boot/System.map has an incorrect kernel version.  (e.g. SMB and there might
be more but this is all I can see from work)  Any suggestions would be
great.


> User-Agent: slrn/0.9.5.7 (UNIX)



> > I am trying to upgrade my Linux Kernel version 2.2.5 to 2.2.11 and I
keep
> > running into a dead end.

> > I downloaded the patch file to upgrade my kernel to 2.2.11 from
> > ftp.us.kernel.org.  (filename: patch-2.2.11.gz)

> > I expanded the file by typing gzip -cd patch-2.2.11.gz | patch -p0

> > Patching occured with a few errors and could not find a bunch of files.
[I
> > think it is okay because the missing files are for MIPS, Alpha and PPC.
I
> > am running i386]

> The file patch-2.2.11.gz will take you from 2.2.10 to 2.2.11.  Did you
> miss applying patch-2.2.{6,7,8,9,10}.gz first?

> > I typed "make bzImage" and the kernel began to compile but it stopped
after
> > a few seconds.  Could anyone tell me what I have done wrong?

> Could you tell us what you mean by "stopped", and whether any error
> messages were output?

> --


 
 
 

Help. Need help on Kernel Upgrade

Post by Paul Kimo » Sun, 31 Dec 1899 09:00:00



> a few services reported
> /boot/System.map has an incorrect kernel version.  (e.g. SMB and there might
> be more but this is all I can see from work)

SMB?  I didn't know that it needed to know about kernel symbols.

The System.map file is a sort of kernel table of contents, and
is produced as part of building the kernel.  Some of these error
messages are produced by klogd(8) and ps(1); see their man pages
to see where they look for the appropriate System.map file.

Please (1) trim unnecessary quoted material, and (2) put your new
material in or after it.  That is the standard Usenet style.

--

 
 
 

1. Need help for upgrading the Linux kernel

I have just got the Linux kernel 1.1.75 and I'm sure and how to upgrade my
kernel, after I have untar the file (the full source version). I think I need to
re-complie the kernel for my system, but again I'm sure what to do. Could
someone give me some help PLEASE....

Thank in advannce

PS: PLease reply via email

2. Need secure web-based BBS/messaging system

3. Upgrading my kernel... help needed BEFORE I start :)

4. Speed of CDROM in RH 5.2?

5. Need help on RedHat kernel upgrade

6. Piping STDERR to /dev/null when using system()

7. Error while upgrading kernel 2.2 to 2.8 Need help ASAP

8. do tape streamer work on parallel port?

9. Need help with system calls for kernel upgrade with Linux-FT filecache

10. NEED HELP for Upgrade kernel

11. Need advice/help upgrading kernel/gcc/g++/etc...

12. Upgrading Kernel Help Needed

13. upgrading kernel - help needed