Unix Technical Forum

updating slackware 9.1 packages from ftp site, updating kernel 2.4.24

This is a discussion on updating slackware 9.1 packages from ftp site, updating kernel 2.4.24 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, guys I have recently download a series of packages from ftp.planetmirror.com under slackwares 9.1 directory, there's a sub-directory ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 08:27 AM
Edward Ascencio
 
Posts: n/a
Default updating slackware 9.1 packages from ftp site, updating kernel 2.4.24

Hi, guys

I have recently download a series of packages from ftp.planetmirror.com
under slackwares 9.1 directory, there's a sub-directory called patches.

tree-view
slackware 9.1/patches/
-/kernels
-/packages { precompiled using kernel
2.4.24}
-/source


Understanding that we use the upgradepkg utility to install the packages,
what would be the best way to update all necessary files including updating
the kernel from 2.4.22 to 2.4.24 or possibly to 2.6.2.

And should I download all sub-directories under the slackware9.1 / patches
directory, one more thing where should I keep the patches directory to
insure proper installation of the files.


Any insight in this matter, would be great?


Edward A.





Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 08:27 AM
DB
 
Posts: n/a
Default Re: updating slackware 9.1 packages from ftp site, updating kernel2.4.24



Edward Ascencio wrote:

> Hi, guys
>
> I have recently download a series of packages from ftp.planetmirror.com
> under slackwares 9.1 directory, there's a sub-directory called patches.
>
> tree-view
> slackware 9.1/patches/
> -/kernels
> -/packages { precompiled using kernel
> 2.4.24}
> -/source
>
>
> Understanding that we use the upgradepkg utility to install the packages,
> what would be the best way to update all necessary files including updating
> the kernel from 2.4.22 to 2.4.24 or possibly to 2.6.2.
>
> And should I download all sub-directories under the slackware9.1 / patches
> directory, one more thing where should I keep the patches directory to
> insure proper installation of the files.
>
>
> Any insight in this matter, would be great?
>
>
> Edward A.


Try http://swaret.org

DB

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 08:28 AM
Moss Hart
 
Posts: n/a
Default Re: updating slackware 9.1 packages from ftp site, updating kernel 2.4.24

On Wed, 18 Feb 2004 03:03:42 GMT,
Edward Ascencio <edward.associates@comcast.net> wrote:

> I have recently download a series of packages from ftp.planetmirror.com
>under slackwares 9.1 directory, there's a sub-directory called patches.
>
>tree-view
>slackware 9.1/patches/
> -/kernels
> -/packages { precompiled using kernel
>2.4.24}
> -/source
>
>
>Understanding that we use the upgradepkg utility to install the packages,
>what would be the best way to update all necessary files including updating
>the kernel from 2.4.22 to 2.4.24 or possibly to 2.6.2.



The reason there's a kernels subdirectory under patches is that
Pat released an update to the kernel that shipped with 9.l1 to protect
against a local root exploit.

Since he provides a variety of precompiled kernels in the kernels directory
he updates for them all. You only need one, (probably bare.i) and it merely
fixes the vulnerability, doesn't upgrade your kernel version.

To upgrade your kernel version you would have to apply patches
from kernel.org (or mirror) to the 2.4.22 (iirc) kernel source provided with
9.1 then compile. To jump to 2.6 is more challenging, since I think you
couldn't use "make oldconfig".


>
>And should I download all sub-directories under the slackware9.1 / patches
>directory, one more thing where should I keep the patches directory to
>insure proper installation of the files.


After you downloaded the upgraded kernel you require (see above) you can
download the patches to anwhere you like (to save time make sure you just
download patches for packages you ave installed) and then upgradepkg them.


Hope this helps.

Moss Hart



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 08:29 AM
Paulo Roberto Dallan
 
Posts: n/a
Default Re: updating slackware 9.1 packages from ftp site, updating kernel 2.4.24

Moss Hart wrote:

> On Wed, 18 Feb 2004 03:03:42 GMT,
> Edward Ascencio <edward.associates@comcast.net> wrote:
>
>> <snip>

>
> To upgrade your kernel version you would have to apply patches
> from kernel.org (or mirror) to the 2.4.22 (iirc) kernel source provided
> with 9.1 then compile. To jump to 2.6 is more challenging, since I think
> you couldn't use "make oldconfig".
>


I've read somewhere you could use make oldconfig (see link http:/
linuxdevices.com/articles/AT3855888078.html ); would it be something
specific to Slack? (asking because i'm running Slack 9.1 & FC1, and i'm
about to upgrade!).

Thanks!

Paulo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 08:29 AM
David
 
Posts: n/a
Default Re: updating slackware 9.1 packages from ftp site, updating kernel2.4.24

Paulo Roberto Dallan wrote:
>
> I've read somewhere you could use make oldconfig (see link http:/
> linuxdevices.com/articles/AT3855888078.html ); would it be something
> specific to Slack? (asking because i'm running Slack 9.1 & FC1, and i'm
> about to upgrade!).


You can't use "make oldconfig" when making a major kernel change
(2.4.xx to 2.6.x) it won't work.

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.24 SMP i686 (GCC) 3.3.3
Uptime: 44 days, 7:47, 3 users, load average: 0.20, 0.19, 0.2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 08:29 AM
Paulo R. Dallan
 
Posts: n/a
Default Re: updating slackware 9.1 packages from ftp site, updating kernel 2.4.24

David wrote:

> Paulo Roberto Dallan wrote:
>>
>> I've read somewhere you could use make oldconfig (see link http:/
>> linuxdevices.com/articles/AT3855888078.html ); would it be something
>> specific to Slack? (asking because i'm running Slack 9.1 & FC1, and i'm
>> about to upgrade!).

>
> You can't use "make oldconfig" when making a major kernel change
> (2.4.xx to 2.6.x) it won't work.
>

ok, sorry, if you tell me i believe you

It is just that i read in the article mentioned above the following:

/To migrate an existing kernel configuration from a Linux distribution based
on the 2.4 kernel to a 2.6-based distribution, copy the file named .config
(located in the main source code directory for your existing Linux kernel
source code) to the directory where your Linux 2.6 kernel source code is
located. For example, to migrate a customized configuration file that you
were using with TimeSys Linux 4.1 (using the 2.4.21 kernel) for the Intel
IQ80315 reference board to TimeSys Linux based on the 2.6 kernel, you would
do the following:
# cd /opt/timesys/linux/4.1/iq80315/src/2.4.21-timesys-4.1/kernel
# cp .config /opt/timesys/linux/5.0/iq80315/src/2.6-timesys-5.0/kernel
# cd /opt/timesys/linux/5.0/iq80315/src/2.6-timesys-5.0/kernel
# make oldconfig
At this point, you will be prompted for a value for all currently undefined
kernel configuration variables. Once you supply values for these variables,
the make oldconfig command will generate an updated kernel configuration
file. You can then simply build the new kernel, or can continue kernel
configuration using a more sophisticated configuration editor such as make
xconfig./

Although the article is generic, he is using his distribution as an example.
Maybe it works there, but not for Slack, as you mentioned.

Ok, will try another way.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 08:30 AM
David
 
Posts: n/a
Default Re: updating slackware 9.1 packages from ftp site, updating kernel2.4.24

Paulo R. Dallan wrote:
> David wrote:
>
>>You can't use "make oldconfig" when making a major kernel change
>>(2.4.xx to 2.6.x) it won't work.

>
> ok, sorry, if you tell me i believe you
>
> Although the article is generic, he is using his distribution as an example.
> Maybe it works there, but not for Slack, as you mentioned.


I've never had much luck when doing it with a major kernel
upgrade (2.0.x to 2.2.x) & (2.2.x to 2.4.x). I could have been
doing something wrong I guess but I finally gave up and configure
the new kernel the first time then do make oldconfig for all of
the new releases of that kernel version.

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.25 SMP i686 (GCC) 3.3.3
Uptime: 1:58, 3 users, load average: 0.28, 0.81, 0.66
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:25 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com