Unix Technical Forum

upgrading to kernel 2.6.17.13

This is a discussion on upgrading to kernel 2.6.17.13 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I am not sure on how to correctly upgrade to kernel 2.6. In the /etra/linux-2.6 I see how to ...


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-20-2008, 08:47 PM
Earl Larsen
 
Posts: n/a
Default upgrading to kernel 2.6.17.13

I am not sure on how to correctly upgrade to kernel 2.6. In the
/etra/linux-2.6 I see how to upgrade with initrd. I do not need initrd
since I have ext2 file system. So would I fallow the steps skipping the
part for initrd?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:47 PM
Jeffrey Froman
 
Posts: n/a
Default Re: upgrading to kernel 2.6.17.13

Earl Larsen wrote:

> I do not need initrd
> since I have ext2 file system. So would I fallow the steps skipping the
> part for initrd?


Yes indeed. Install the kernel-generic and kernel-modules packages from the
extra/linux-2.6.17.13/ directory, add a stanza to /etc/lilo.conf for the
newly installed kernel, run /sbin/lilo, and reboot. Quick and easy :-)

(Beware other posters demanding that you must compile your own kernel from
scratch in order to upgrade. For some reason, compiling seems to come up
whenever someone asks about upgrading the kernel packages.)


Jeffrey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:47 PM
Ron Gibson
 
Posts: n/a
Default Re: upgrading to kernel 2.6.17.13

On Thu, 25 Jan 2007 10:09:27 -0600, Earl Larsen wrote:

> I am not sure on how to correctly upgrade to kernel 2.6. In the
> /etra/linux-2.6 I see how to upgrade with initrd. I do not need initrd
> since I have ext2 file system. So would I fallow the steps skipping the
> part for initrd?


An initial ram disk is only needed if you do not have support for the
devices and filesystems needed to boot up.

So compile a kernel with all needed support and skip the initrd stuff.

Also see...

man mkinitrd
--
Linux Help: http://rsgibson.com/linux.htm
Email - rsgibson@verizon.borg
Replace borg with net

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 08:47 PM
=?ISO-8859-15?Q?J=E9r=F4me?= PRIOR
 
Posts: n/a
Default Re: upgrading to kernel 2.6.17.13

> Earl Larsen wrote:
>
> > I do not need initrd
> > since I have ext2 file system. So would I fallow the steps skipping
> > the part for initrd?

>
> Yes indeed. Install the kernel-generic and kernel-modules packages
> from the extra/linux-2.6.17.13/ directory, add a stanza
> to /etc/lilo.conf for the newly installed kernel, run /sbin/lilo, and
> reboot. Quick and easy :-)
>


don't forget to install udev, no need, but it's simply eXellent so.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 08:47 PM
Dominic-Luc Webb
 
Posts: n/a
Default Re: upgrading to kernel 2.6.17.13

On Thu, 25 Jan 2007, Earl Larsen wrote:

> I am not sure on how to correctly upgrade to kernel 2.6. In the
> /etra/linux-2.6 I see how to upgrade with initrd. I do not need initrd
> since I have ext2 file system. So would I fallow the steps skipping the
> part for initrd?


First, are you sure you want 2.6.17? During Xmas, I installed 2.6.19
partly because of some IRQ problems in 2.6.18. I have no experience
with 2.6.17, but unless there is specific reason for that particular
choice, I would consider using latest kernel. I have not had problems
with 2.6.19. I also use ext2 (force of habit and no problems or
deficiencies detected).

Dominic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 08:47 PM
Douglas Mayne
 
Posts: n/a
Default Re: upgrading to kernel 2.6.17.13

On Thu, 25 Jan 2007 08:54:15 -0800, Jeffrey Froman wrote:

> Earl Larsen wrote:
>
>> I do not need initrd
>> since I have ext2 file system. So would I fallow the steps skipping the
>> part for initrd?

>
> Yes indeed. Install the kernel-generic and kernel-modules packages from the
> extra/linux-2.6.17.13/ directory, add a stanza to /etc/lilo.conf for the
> newly installed kernel, run /sbin/lilo, and reboot. Quick and easy :-)
>
> (Beware other posters demanding that you must compile your own kernel from
> scratch in order to upgrade. For some reason, compiling seems to come up
> whenever someone asks about upgrading the kernel packages.)
>

Ack! The 2.6.17.13 is just fine in most cases, IMO.
>
> Jeffrey
>

To the OP: remember to fix the pointer /etc/rc.d/rc.modules to point to
the 2.6.x version. I sometimes forgot that step, until it shows up with
something not working on the next boot (mouse).

--
Douglas Mayne

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 08:47 PM
rm@biteme.org
 
Posts: n/a
Default Re: upgrading to kernel 2.6.17.13

Jeffrey Froman <jeffrey@fro.man> wrote:
> Earl Larsen wrote:
>
>> I do not need initrd since I have ext2 file system. So would I
>> fallow the steps skipping the part for initrd?

>
> Yes indeed. Install the kernel-generic and kernel-modules packages
> from the extra/linux-2.6.17.13/ directory, add a stanza to
> /etc/lilo.conf for the newly installed kernel, run /sbin/lilo, and
> reboot. Quick and easy :-)
>
> (Beware other posters demanding that you must compile your own
> kernel from scratch in order to upgrade. For some reason,
> compiling seems to come up whenever someone asks about upgrading
> the kernel packages.)


Beware those posters who imply that compiling your own kernel "from
scratch" is something to be feared and avoided. If you don't want
to compile your own kernel, stick with an OS, like windoze, where
compiling is neither necessary, nor possible.

cordially, as always,

rm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 08:47 PM
Robby Workman
 
Posts: n/a
Default Re: upgrading to kernel 2.6.17.13

On 2007-01-25, Douglas Mayne <doug@localhost.localnet> wrote:
>>

> To the OP: remember to fix the pointer /etc/rc.d/rc.modules to point to
> the 2.6.x version. I sometimes forgot that step, until it shows up with
> something not working on the next boot (mouse).



Using udev, I find no reason to use rc.modules for 'force loading' modules,
so I have a static rc.modules.local (which is called from rc.S if it exists,
in lieu of any other rc.modules* script:

### Update module dependencies ###
RELEASE=`uname -r`
# If /usr is mounted and we have 'find', we can try to take a shortcut:
if [ -x /usr/bin/find -a -e /lib/modules/$RELEASE/modules.dep \
-a /lib/modules/$RELEASE/modules.dep -nt /etc/modules.conf ]; then
NEWMODS="`/usr/bin/find /lib/modules/$RELEASE -type f -newer \
/lib/modules/$RELEASE/modules.dep`"
# Only rebuild dependencies if new module(s) are found:
if [ ! "" = "$NEWMODS" ]; then
echo "Updating module dependencies for Linux $RELEASE:"
/sbin/depmod -a
else
echo "Module dependencies up to date (no new kernel modules found)."
fi
else
# we don't have find, or there is no existing modules.dep, or it is
# out of date.
echo "Updating module dependencies for Linux $RELEASE:"
/sbin/depmod -A
fi


If I need special parameters for a specific module when it loads (for example,
psmouse), then those go in /etc/modprobe.d/options

RW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 08:48 PM
King Beowulf
 
Posts: n/a
Default Re: upgrading to kernel 2.6.17.13

rm@biteme.org wrote:
> Jeffrey Froman <jeffrey@fro.man> wrote:
>> Earl Larsen wrote:

---snip------
> If you don't want
> to compile your own kernel, stick with an OS, like windoze, where
> compiling is neither necessary, nor possible.
>
> cordially, as always,
>
> rm


This time I can't resists feeding the troll.
T
hat is just so much bullshit. You, sir, are an ass. 99% of computer users, no
matter how expert and skilled, do not need to compile the kernel of any OS.
Computers is a tool and the OS is pretty much irrelevant: It's just a means to rn
software that *really* does something.

PV does such a fantastic job on Slackware that is good to go right out of the box.
Fast and stable.

BTW, Yes I am posting this from Thunderbird/Windoze. So what? My 2 PIII laptops are
busy compiling 2.6.17.13 and SLAMD64 is acting up on this one.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 08:48 PM
rm@biteme.org
 
Posts: n/a
Default Re: upgrading to kernel 2.6.17.13

King Beowulf <kingbeowulf@nospam.gmail.com> wrote:

> That is just so much bullshit. You, sir, are an ass. 99% of
> computer users, no matter how expert and skilled, do not need to
> compile the kernel of any OS.


That's good. Because 99% of computer users, use Windoze, which they
can't compile, even if they wanted to.

> Computers is a tool and the OS is pretty much irrelevant: It's
> just a means to rn software that *really* does something.


Oh, so there is no real difference between linux and windoze?
Except that one runs most of the decent software and the other
doesn't? Because one OS features a pretty much complete driver set,
even if third party, while the other lacks many, many, and almost
all, new drivers?

> PV does such a fantastic job on Slackware that is good to go right
> out of the box. Fast and stable.


(modquote! modquote!)

Sure it does. And it runs all kinds of garbage, "right out of the
box" that isn't required. About the only advantage that linux has
over windoze is that it can be compiled and that all the extra shit
can be weeded out.

And since the ability to compile, or even simply to read the source,
is about the only advantage linux has over windoze, what would be
the point of using linux if you weren't going to compile the kernel?

> BTW, Yes I am posting this from Thunderbird/Windoze. So what? My
> 2 PIII laptops are busy compiling 2.6.17.13 and SLAMD64 is acting
> up on this one.


Why are you compiling the 2.6 kernel? We thought that linux was
ready to go, right out of the box?

Hmm?

And you call _us_ a troll?

cordially, as always,

rm
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 10:02 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