* [gentoo-user] kernel 2.6 upgrade howto
@ 2004-12-06 17:47 Maarten
2004-12-06 18:23 ` Jean-Francois Gagnon Laporte
2004-12-06 18:26 ` darren kirby
0 siblings, 2 replies; 21+ messages in thread
From: Maarten @ 2004-12-06 17:47 UTC (permalink / raw
To: gentoo-user
Hi list,
I'm new to the list (and gentoo) but not to linux.
I just started with gentoo, had to use the 2004.2 image since 2004.3 crashed
at installtime on my machine (thinkpad 600X)...
I used stage 2. Since then I succesfully installed a lot of apps like KDE and
such, but my kernel is still a selfmade 2.4 one. Now I need to get my
wireless cards working but I'd rather upgrade the kernel first for fear of
doing things twice (or wrong) due to the changed pcmcia drivers.
I think I correctly upgraded 2004.2 to 2004.3 but how do I check that to make
sure? The machine did not do anything spectacular when I made that change,
is that expected behaviour ? Now for the fullfillment of the transition to
2004.3 I need a kernel 2.6, right ? Can someone point me to the docs that
detail that step cause I could not find that very well.
Or do I just somehow get the sources and start compiling ?
How do I make sure I retain my current kernel as a second boot option if the
2.6 kernel will not boot ?
Thanks in advance,
Maarten
--
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-06 17:47 [gentoo-user] kernel 2.6 upgrade howto Maarten
@ 2004-12-06 18:23 ` Jean-Francois Gagnon Laporte
2004-12-06 18:57 ` Maarten
2004-12-06 18:26 ` darren kirby
1 sibling, 1 reply; 21+ messages in thread
From: Jean-Francois Gagnon Laporte @ 2004-12-06 18:23 UTC (permalink / raw
To: gentoo-user
On Mon, 6 Dec 2004 18:47:43 +0100, Maarten <gentoo@ultratux.org> wrote:
>
> Hi list,
>
> I'm new to the list (and gentoo) but not to linux.
>
> I just started with gentoo, had to use the 2004.2 image since 2004.3 crashed
> at installtime on my machine (thinkpad 600X)...
> I used stage 2. Since then I succesfully installed a lot of apps like KDE and
> such, but my kernel is still a selfmade 2.4 one. Now I need to get my
> wireless cards working but I'd rather upgrade the kernel first for fear of
> doing things twice (or wrong) due to the changed pcmcia drivers.
>
> I think I correctly upgraded 2004.2 to 2004.3 but how do I check that to make
> sure?
Okay let's divide the questions shall we. There isn't really any
revision to gentoo. I think you have switched your profile am I right
? What you have is basically told the system with system package were
recommended and current. This isn't the right answer but is the simple
answer. The date tags are primarily used for the releng team and grp
packages. Profiles are an another thing on it's own but it tells the
system defaults in a nutshell.
> The machine did not do anything spectacular when I made that change,
> is that expected behaviour ?
If you were up to date with your local portage tree and recently
update your installation there is no reason to anything since you
already up to date. You only switched profile from what I can read.
> Now for the fullfillment of the transition to 2004.3 I need a kernel 2.6, right ?
Not really, AFAIK gentoo hasn't switched to 2.6 by default. If you
still need to you can run a 2.4 kernel without any problems except you
will miss some goodies. But, if you aren't confortable with 2.6 or
even a linux kernel you might want to stick with a 2.4 kernel. It just
works.
> Can someone point me to the docs that
> detail that step cause I could not find that very well.
Sure here ya go. It still has that fresh smell from the oven (It has
been updated recently)
http://www.gentoo.org/doc/en/migration-to-2.6.xml
May I suggest you go to www.gentoo.org and look at the left side of
the navbar to see a big category called Documentation. Check out the
user docs section it's pretty good.
> Or do I just somehow get the sources and start compiling ?
To keep up to date a gentoo installation :
emerge sync
emerge -uDav world
What it does is emerge sync update your local portage tree to have the
latest ebuilds and then you ask portage to check every package on the
system to see if there is something to update and ask you first if
everything okay. Might want to read the man pages of emerge.
> How do I make sure I retain my current kernel as a second boot option if the
> 2.6 kernel will not boot ?
What boot loader are you using ? Lilo or grub ? Here's my grub.conf
that you might find useful :
default 1
timeout 5
splashimage=(hd0,0)/grub/ninja-girl.xpm.gz
title=Working Kernel
root (hd0,0)
kernel (hd0,0)/vmlinuz.working root=/dev/hda4 video=vesafb:ywrap,mtrr vga=0x317
initrd (hd0,0)/initrd-1024x768
title=Test Kernel
root (hd0,0)
kernel (hd0,0)/vmlinuz root=/dev/hda4 video=vesafb:ywrap,mtrr vga=0x317
initrd (hd0,0)/initrd-1024x768
title=Old Test Kernel
root (hd0,0)
kernel (hd0,0)/vmlinuz.old root=/dev/hda4 vga=0x317 video=vesafb:ywrap,mtrr
initrd (hd0,0)/initrd-1024x768
Hopes this will help you out
Jean-Francois
>
> Thanks in advance,
>
> Maarten
>
> --
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-06 18:23 ` Jean-Francois Gagnon Laporte
@ 2004-12-06 18:57 ` Maarten
2004-12-06 19:25 ` Jean-Francois Gagnon Laporte
0 siblings, 1 reply; 21+ messages in thread
From: Maarten @ 2004-12-06 18:57 UTC (permalink / raw
To: gentoo-user
On Monday 06 December 2004 19:23, Jean-Francois Gagnon Laporte wrote:
> On Mon, 6 Dec 2004 18:47:43 +0100, Maarten <gentoo@ultratux.org> wrote:
> > I think I correctly upgraded 2004.2 to 2004.3 but how do I check that to
> > make sure?
>
> Okay let's divide the questions shall we. There isn't really any
> revision to gentoo. I think you have switched your profile am I right
If that is what I think it is, yes. [Changing some symlink somewhere I forgot]
> > The machine did not do anything spectacular when I made that change,
> > is that expected behaviour ?
>
> If you were up to date with your local portage tree and recently
> update your installation there is no reason to anything since you
> already up to date. You only switched profile from what I can read.
indeed. So the kernel is not updated with changing profiles ?
(or at least, not when going from 2004.2 to 2004.3)
> > Now for the fullfillment of the transition to 2004.3 I need a kernel
> > 2.6, right ?
>
> Not really, AFAIK gentoo hasn't switched to 2.6 by default. If you
> still need to you can run a 2.4 kernel without any problems except you
> will miss some goodies. But, if you aren't confortable with 2.6 or
> even a linux kernel you might want to stick with a 2.4 kernel. It just
> works.
I run linux kernels since 1996, so I should be "comfortable" with them. ;-)
I (wrongly) assumed gentoo-latest-rev used a 2.6 kernel so I was unsure how to
transistion to 2004.3. So, that is cleared up now.
However, I will still want to run with 2.6, definitely.
> > Can someone point me to the docs that
> > detail that step cause I could not find that very well.
>
> Sure here ya go. It still has that fresh smell from the oven (It has
> been updated recently)
>
> http://www.gentoo.org/doc/en/migration-to-2.6.xml
>
> May I suggest you go to www.gentoo.org and look at the left side of
> the navbar to see a big category called Documentation. Check out the
> user docs section it's pretty good.
Of course I did. In fact I couldn't have installed gentoo without it. :-)
(Those are real fine docs by the way. Kudos!)
Somehow I overlooked that migration document. I guess it's just all too new
and confusing and overwhelming the first few visits... My bad. Thanks!
> > How do I make sure I retain my current kernel as a second boot option if
> > the 2.6 kernel will not boot ?
>
> What boot loader are you using ? Lilo or grub ? Here's my grub.conf
> that you might find useful :
Grub.conf will work. My question was rather, will one kernel not overwrite
another (as is sadly the case with a lot of other linux distributions).
One last question: Do you need to re-run grub-install after changing this
file or is it 'okay to go'. (you'll note I come from the lilo world ;-)
>
> Hopes this will help you out
Yes, I think it did. Thanks again.
> Jean-Francois
Maarten
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-06 18:57 ` Maarten
@ 2004-12-06 19:25 ` Jean-Francois Gagnon Laporte
2004-12-07 9:58 ` Maarten
0 siblings, 1 reply; 21+ messages in thread
From: Jean-Francois Gagnon Laporte @ 2004-12-06 19:25 UTC (permalink / raw
To: gentoo-user
On Mon, 6 Dec 2004 19:57:15 +0100, Maarten <gentoo@ultratux.org> wrote:
> On Monday 06 December 2004 19:23, Jean-Francois Gagnon Laporte wrote:
> > On Mon, 6 Dec 2004 18:47:43 +0100, Maarten <gentoo@ultratux.org> wrote:
>
> > > I think I correctly upgraded 2004.2 to 2004.3 but how do I check that to
> > > make sure?
> >
> > Okay let's divide the questions shall we. There isn't really any
> > revision to gentoo. I think you have switched your profile am I right
>
> If that is what I think it is, yes. [Changing some symlink somewhere I forgot]
If so yes you changed the profile.
>
> > > The machine did not do anything spectacular when I made that change,
> > > is that expected behaviour ?
> >
> > If you were up to date with your local portage tree and recently
> > update your installation there is no reason to anything since you
> > already up to date. You only switched profile from what I can read.
>
> indeed. So the kernel is not updated with changing profiles ?
> (or at least, not when going from 2004.2 to 2004.3)
>
No you have to emerge a different sources like gentoo-dev-sources
instead of gentoo-sources.
> > > Now for the fullfillment of the transition to 2004.3 I need a kernel
> > > 2.6, right ?
> >
> > Not really, AFAIK gentoo hasn't switched to 2.6 by default. If you
> > still need to you can run a 2.4 kernel without any problems except you
> > will miss some goodies. But, if you aren't confortable with 2.6 or
> > even a linux kernel you might want to stick with a 2.4 kernel. It just
> > works.
>
> I run linux kernels since 1996, so I should be "comfortable" with them. ;-)
> I (wrongly) assumed gentoo-latest-rev used a 2.6 kernel so I was unsure how to
> transistion to 2004.3. So, that is cleared up now.
> However, I will still want to run with 2.6, definitely.
>
If that's the case i'll go less easy on you ^_^ (just joking) . You
might find this page useful :
http://packages.gentoo.org/packages/?category=sys-kernel
You should be able to pick a kernel that fits your needs. I would
suggest using gentoo-dev-sources at first if you just want a 2.6
kernel that works.
>
>
> > > Can someone point me to the docs that
> > > detail that step cause I could not find that very well.
> >
> > Sure here ya go. It still has that fresh smell from the oven (It has
> > been updated recently)
> >
> > http://www.gentoo.org/doc/en/migration-to-2.6.xml
> >
> > May I suggest you go to www.gentoo.org and look at the left side of
> > the navbar to see a big category called Documentation. Check out the
> > user docs section it's pretty good.
>
> Of course I did. In fact I couldn't have installed gentoo without it. :-)
> (Those are real fine docs by the way. Kudos!)
> Somehow I overlooked that migration document. I guess it's just all too new
> and confusing and overwhelming the first few visits... My bad. Thanks!
There is a resume at the end of the page (
http://www.gentoo.org/doc/en/index.xml#doc_chap7 ) But hey it's monday
for everybody ! The gentoo devs are working on rebuilding the web
site to be more accessible. The main design has been approved a while
ago so I hope this year we'll be able to enjoy the face lift.
>
> > > How do I make sure I retain my current kernel as a second boot option if
> > > the 2.6 kernel will not boot ?
> >
> > What boot loader are you using ? Lilo or grub ? Here's my grub.conf
> > that you might find useful :
>
> Grub.conf will work. My question was rather, will one kernel not overwrite
> another (as is sadly the case with a lot of other linux distributions).
>
That depends on how do you compile your kernel really. I do it this way :
make && make modules_install install
It will build a 2.6.x kernel, install the relevant modules it just
build and copy the bzimage at the root of /boot as vmlinuz (the
.config and System-map is also copied by padding the revision number
at the end). If it already find vmlinuz it will rename the old kernel
as kernel.old ( the old config and System-map too). What I do when I
like a kernel is to copy the working vmlinuz to vmlinuz.working with
it's config and System-map and append .working. That way it's never
clobbered when I don't want too. It's the solution for the lazy people
like me. Here's a snapshot of my /boot since I'm probably not coherent
enough :
ls -l /boot
~
total 5149
lrwxr-xr-x 1 root root 26 Nov 24 09:45 System.map ->
System.map-2.6.9-gentoo-r6
-rw-r--r-- 1 root root 867019 Nov 24 09:45 System.map-2.6.9-gentoo-r6
-rw-r--r-- 1 root root 867019 Nov 24 09:53 System.map.working
lrwxrwxrwx 1 root root 1 May 5 2004 boot -> .
-rw-r--r-- 1 root root 512 Apr 18 2003 boot.0300
lrwxr-xr-x 1 root root 22 Nov 24 09:45 config -> config-2.6.9-gentoo-r6
-rw-r--r-- 1 root root 29390 Nov 24 09:45 config-2.6.9-gentoo-r6
-rw-r--r-- 1 root root 29390 Nov 24 09:54 config.working
-rw-r--r-- 1 root root 1475 Nov 24 10:02 debug.log
drwxr-xr-x 2 root root 1024 Dec 1 09:43 grub
-rw-r--r-- 1 root root 41895 Jul 27 13:07 initrd-1024x768
drwx------ 2 root root 1024 Aug 16 12:07 lost+found
-rw------- 1 root root 161792 Oct 8 2003 map
-rw-r--r-- 1 root root 256 Apr 18 2003 qc-latin1.klt
lrwxr-xr-x 1 root root 23 Nov 24 09:45 vmlinuz -> vmlinuz-2.6.9-gentoo-r6
-rw-r--r-- 1 root root 1618407 Nov 24 09:45 vmlinuz-2.6.9-gentoo-r6
-rw-r--r-- 1 root root 1618407 Nov 24 09:53 vmlinuz.working
> One last question: Do you need to re-run grub-install after changing this
> file or is it 'okay to go'. (you'll note I come from the lilo world ;-)
>
Nope grub doesn't need to be reinstalled. It scans it's configs on the
fly so you only need to edit grub.conf and that's it. Oh and welcome
to the light side lol.
> >
> > Hopes this will help you out
>
> Yes, I think it did. Thanks again.
>
> > Jean-Francois
>
>
>
> Maarten
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-06 19:25 ` Jean-Francois Gagnon Laporte
@ 2004-12-07 9:58 ` Maarten
2004-12-07 10:05 ` Neil Bothwick
2004-12-07 15:17 ` Jean-Francois Gagnon Laporte
0 siblings, 2 replies; 21+ messages in thread
From: Maarten @ 2004-12-07 9:58 UTC (permalink / raw
To: gentoo-user
On Monday 06 December 2004 20:25, Jean-Francois Gagnon Laporte wrote:
> On Mon, 6 Dec 2004 19:57:15 +0100, Maarten <gentoo@ultratux.org> wrote:
> > On Monday 06 December 2004 19:23, Jean-Francois Gagnon Laporte wrote:
> > > On Mon, 6 Dec 2004 18:47:43 +0100, Maarten <gentoo@ultratux.org> wrote:
> > indeed. So the kernel is not updated with changing profiles ?
> > (or at least, not when going from 2004.2 to 2004.3)
>
> No you have to emerge a different sources like gentoo-dev-sources
> instead of gentoo-sources.
OK. done that, but first the 'emerge world' proved to be quite a bit longer
than I expected as it included X and mozilla amongst others.
I believe my poor old pentium3 500 is still pounding on it, hehe.
So things take way longer than expected (no hurry though).
Does this like happen every other week, having one or the other 'major'
ebuilds renewed ? I mean of the size of X, or Kde, or OOo, glibc and alike ?
I'm beginning to believe my pentium3 is severely underpowered here... ;)
What is your opinion on the udev vs ... choice ?
Which is best when handling lots of hotpluggable devices (usb-storage etc) or
is there no real difference there ? What happens if I need to boot a 2.4
kernel, will the missing and/or incompatible /dev structure not bite me ?
> > I run linux kernels since 1996, so I should be "comfortable" with them.
> > ;-) I (wrongly) assumed gentoo-latest-rev used a 2.6 kernel so I was
> > unsure how to transistion to 2004.3. So, that is cleared up now.
> > However, I will still want to run with 2.6, definitely.
>
> If that's the case i'll go less easy on you ^_^ (just joking) .
8-)
Go right ahead. I should be quite fluent in linux now, just the gentoo part
is new. But I've used old slackware, redhat, suse & debian (in that order)
So feel free to skip the basics. The USE flags and some of the paths of config
structures daunt me for now but that's basically it. And I want to learn
gentoo the *right* way, not the easy-but-you-will-regret-that-later way.
> You should be able to pick a kernel that fits your needs. I would
> suggest using gentoo-dev-sources at first if you just want a 2.6
> kernel that works.
Yeah, I chose that one.
> like me. Here's a snapshot of my /boot since I'm probably not coherent
> enough :
No, no, you make perfect sense. I get it. I'm already happy that the install
script does not munge the bootloader config file (as some do IIRC)
> > One last question: Do you need to re-run grub-install after changing
> > this file or is it 'okay to go'. (you'll note I come from the lilo world
> > ;-)
>
> Nope grub doesn't need to be reinstalled. It scans it's configs on the
> fly so you only need to edit grub.conf and that's it. Oh and welcome
> to the light side lol.
Lol indeed; I fully agree. Lilo caused me no end of trouble, and quite
recently even cost me over 2 days work with 480 GB raid5 data at stake, more
or less. Well, long story, I'll not bore you with it but suffice to say that
some new SATA boards' drive mapping will wreak havoc on how lilo will see
drives (let alone BOOT from any of them). I've seen more L99 99 99 99 and L00
00 00 00 errors than I really care to remember. Lilo is dead for me now.
I'll never touch it again. (Well, after the legacy systems have gone...)
> > > Hopes this will help you out
> >
> > Yes, I think it did. Thanks again.
Hey, I already like this list, feels right at home :-))
Thanks for the welcome!
Now to get 2.6 + kismet + gpsd running and I'm truely happy.
All the rest seems to work fine already.
Maarten
> > > Jean-Francois
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-07 9:58 ` Maarten
@ 2004-12-07 10:05 ` Neil Bothwick
2004-12-07 15:17 ` Jean-Francois Gagnon Laporte
1 sibling, 0 replies; 21+ messages in thread
From: Neil Bothwick @ 2004-12-07 10:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 694 bytes --]
On Tue, 7 Dec 2004 10:58:22 +0100, Maarten wrote:
> What is your opinion on the udev vs ... choice ?
> Which is best when handling lots of hotpluggable devices (usb-storage
> etc) or is there no real difference there ?
udev, without a doubt. Working with several hot-pluggable devices and
devfs or a static dev is a nightmare, because the name allocated to each
device depends on the order in which they were connected/detected. udev
lets you symlink these names to human-friendly names like /dev/camera,
/dev/mp3player etc.
See http://www.reactivated.net/udevrules.php for a good explanation of
how to do this.
--
Neil Bothwick
Ifyoucanreadthis,youspendtoomuchtimefiguringouttaglines.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-07 9:58 ` Maarten
2004-12-07 10:05 ` Neil Bothwick
@ 2004-12-07 15:17 ` Jean-Francois Gagnon Laporte
2004-12-07 17:01 ` Maarten
1 sibling, 1 reply; 21+ messages in thread
From: Jean-Francois Gagnon Laporte @ 2004-12-07 15:17 UTC (permalink / raw
To: gentoo-user
On Tue, 7 Dec 2004 10:58:22 +0100, Maarten <gentoo@ultratux.org> wrote:
> On Monday 06 December 2004 20:25, Jean-Francois Gagnon Laporte wrote:
> > On Mon, 6 Dec 2004 19:57:15 +0100, Maarten <gentoo@ultratux.org> wrote:
> > > On Monday 06 December 2004 19:23, Jean-Francois Gagnon Laporte wrote:
> > > > On Mon, 6 Dec 2004 18:47:43 +0100, Maarten <gentoo@ultratux.org> wrote:
>
>
> OK. done that, but first the 'emerge world' proved to be quite a bit longer
> than I expected as it included X and mozilla amongst others.
> I believe my poor old pentium3 500 is still pounding on it, hehe.
> So things take way longer than expected (no hurry though).
> Does this like happen every other week, having one or the other 'major'
> ebuilds renewed ? I mean of the size of X, or Kde, or OOo, glibc and alike ?
> I'm beginning to believe my pentium3 is severely underpowered here... ;)
>
That depends on how often you update. If you do it once a week
probably not. But i'm one of those stupid people who like to update
once per day. Altough my servers don't see a lot of compile time on
stable and at most once per week.
> What is your opinion on the udev vs ... choice ?
Personnally udev is the way to go, most of the troubles of the early
days are gone if not all. Never had any troubles with and as a bonus
you can reserve some blocks to some device like if you like your usb
key to always be /dev/sda. It's pretty flexible, useful, it's not
deprecated and it's maintained.
> Which is best when handling lots of hotpluggable devices (usb-storage etc) or
> is there no real difference there ?
Hotplug + coldplug (hotplugging at boot)
> What happens if I need to boot a 2.4
> kernel, will the missing and/or incompatible /dev structure not bite me ?
>
Well, now that modules-init-tools support both kernel series there's
only one thing stopping you : devfsd vs udev :). But there's hope !
Don't know what are the settings available on the stable baselayout
but here's an interesting snippet of my /etc/conf.d/rc :
# Use this variable to control the /dev management behavior.
# auto - let the scripts figure out what's best at boot
# devfs - use devfs (requires sys-fs/devfsd)
# udev - use udev (requires sys-fs/udev)
# static - let the user manage static nodes
RC_DEVICES="auto"
So in a resume you can run a 2.4 kernel with devfsd and it will be
detected and used. Since udev is a userland program, a 2.4 kernel will
not be bothered with it. That's in theory, I don't know if devfsd and
udev will block each other in portage. If not well run devfsd only
until you switch completly to 2.6.
> 8-)
> Go right ahead. I should be quite fluent in linux now, just the gentoo part
> is new. But I've used old slackware, redhat, suse & debian (in that order)
> So feel free to skip the basics. The USE flags and some of the paths of config
> structures daunt me for now but that's basically it. And I want to learn
> gentoo the *right* way, not the easy-but-you-will-regret-that-later way.
>
That's the spirit ! Browse the documentation & tips and trick section
of the forum. It's so juicy with goodies it's unbelievable. Anyway
will all of the doc available, it's pretty to figure it out ;).
> Lol indeed; I fully agree. Lilo caused me no end of trouble, and quite
> recently even cost me over 2 days work with 480 GB raid5 data at stake, more
> or less. Well, long story, I'll not bore you with it but suffice to say that
> some new SATA boards' drive mapping will wreak havoc on how lilo will see
> drives (let alone BOOT from any of them). I've seen more L99 99 99 99 and L00
> 00 00 00 errors than I really care to remember. Lilo is dead for me now.
> I'll never touch it again. (Well, after the legacy systems have gone...)
>
All I can say is that I understand you better than you could know
(damn I hate redhat ... oops sorry OT ... must control rage ...)
> Hey, I already like this list, feels right at home :-))
> Thanks for the welcome!
>
> Now to get 2.6 + kismet + gpsd running and I'm truely happy.
> All the rest seems to work fine already.
>
> Maarten
>
No problem !
Enjoy your shiney new gentoo
regards,
Jean-Francois
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-07 15:17 ` Jean-Francois Gagnon Laporte
@ 2004-12-07 17:01 ` Maarten
2004-12-07 17:18 ` Hans-Werner Hilse
2004-12-07 17:33 ` Maarten
0 siblings, 2 replies; 21+ messages in thread
From: Maarten @ 2004-12-07 17:01 UTC (permalink / raw
To: gentoo-user
On Tuesday 07 December 2004 16:17, Jean-Francois Gagnon Laporte wrote:
> On Tue, 7 Dec 2004 10:58:22 +0100, Maarten <gentoo@ultratux.org> wrote:
> > On Monday 06 December 2004 20:25, Jean-Francois Gagnon Laporte wrote:
> > > On Mon, 6 Dec 2004 19:57:15 +0100, Maarten <gentoo@ultratux.org> wrote:
> > > > On Monday 06 December 2004 19:23, Jean-Francois Gagnon Laporte wrote:
> > > > > On Mon, 6 Dec 2004 18:47:43 +0100, Maarten <gentoo@ultratux.org>
> > > > > wrote:
> > What is your opinion on the udev vs ... choice ?
>
> Personnally udev is the way to go, most of the troubles of the early
> days are gone if not all. Never had any troubles with and as a bonus
> you can reserve some blocks to some device like if you like your usb
> key to always be /dev/sda. It's pretty flexible, useful, it's not
> deprecated and it's maintained.
Thanks for explaining that. Thanks Neil, too. It was always awkward, the
shifting devicenames under 2.4. So this solves that. Great!
> All I can say is that I understand you better than you could know
> (damn I hate redhat ... oops sorry OT ... must control rage ...)
That was suse actually, a distro which I really like(d?) but one has got to
move on. The thing with suse and redhat is, once you _need_ to compile
something because there is no binary for it, then the trouble really starts.
Good luck getting a promisc-cabable driver for a wifi card into suse without
hours and hours trial and error. Well, sometimes you're lucky.
> > Hey, I already like this list, feels right at home :-))
I'm almost ready to reboot to 2.6.9 but a little (but potential showstopper-)
problem showed up. I have two wired NICs, both of them 3Com575TX. (not a
typo, it is a different card than the 3C574 or 3C589 cards) (Cardbus, 100TX)
I know that I need(ed) the 3c575_cb module for it under 2.4. The thing is,
that came with pcmcia-cs, not with the kernel. This new kernel has the pcmcia
built-in but it seems this driver was deprecated; it just isn't there.
Now chances are it is merged into something else, but not knowing gives me the
creeps. No network -> no nothing. No emerge that is. No emerge no fixing.
And I have no other brand laying around (except for wireless but that's not
proven to work yet)
Anyone know what happened to this infamous 3C575 driver ?
A grep for 575 in Documentation/* (including Changes) yields nothing at all.
The same in .config by the way.
The card is great otherwise, never any problems with it
Maarten
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-07 17:01 ` Maarten
@ 2004-12-07 17:18 ` Hans-Werner Hilse
2004-12-07 17:33 ` Maarten
1 sibling, 0 replies; 21+ messages in thread
From: Hans-Werner Hilse @ 2004-12-07 17:18 UTC (permalink / raw
To: gentoo-user
Hi,
On Tue, 7 Dec 2004 18:01:51 +0100 Maarten <gentoo@ultratux.org> wrote:
> I'm almost ready to reboot to 2.6.9 but a little (but potential showstopper-)
> problem showed up. I have two wired NICs, both of them 3Com575TX. (not a
> typo, it is a different card than the 3C574 or 3C589 cards) (Cardbus, 100TX)
> I know that I need(ed) the 3c575_cb module for it under 2.4. The thing is,
> that came with pcmcia-cs, not with the kernel. This new kernel has the pcmcia
> built-in but it seems this driver was deprecated; it just isn't there.
Did you try out the 3com-drivers in the PCI section? Most PCI drivers work for their correspondent Cardbus Card. Try to insmod them manually if they aren't loaded right from the start. You could then change the settings in /etc/pcmcia to make them recognized. I had the same issue with 8139too drivers.
HWH
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-07 17:01 ` Maarten
2004-12-07 17:18 ` Hans-Werner Hilse
@ 2004-12-07 17:33 ` Maarten
1 sibling, 0 replies; 21+ messages in thread
From: Maarten @ 2004-12-07 17:33 UTC (permalink / raw
To: gentoo-user
On Tuesday 07 December 2004 18:01, Maarten wrote:
> I'm almost ready to reboot to 2.6.9 but a little (but potential
> showstopper-) problem showed up. I have two wired NICs, both of them
> 3Com575TX. (not a typo, it is a different card than the 3C574 or 3C589
> cards) (Cardbus, 100TX) I know that I need(ed) the 3c575_cb module for it
> under 2.4. The thing is, that came with pcmcia-cs, not with the kernel.
> This new kernel has the pcmcia built-in but it seems this driver was
> deprecated; it just isn't there. Now chances are it is merged into
> something else, but not knowing gives me the creeps. No network -> no
> nothing. No emerge that is. No emerge no fixing. And I have no other brand
> laying around (except for wireless but that's not proven to work yet)
> Anyone know what happened to this infamous 3C575 driver ?
> A grep for 575 in Documentation/* (including Changes) yields nothing at
> all. The same in .config by the way.
Never mind that. I've found the explanation, so the solution can't be far
off. It seems all cardbus is hence handled by the PCI driver / bus, thus the
3C59x driver. I suppose however that I need to reconfigure the kernel for
PCI hotplug support so that'll be for tomorrow...
...gotta catch up some sleep now.
Maarten
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-06 17:47 [gentoo-user] kernel 2.6 upgrade howto Maarten
2004-12-06 18:23 ` Jean-Francois Gagnon Laporte
@ 2004-12-06 18:26 ` darren kirby
1 sibling, 0 replies; 21+ messages in thread
From: darren kirby @ 2004-12-06 18:26 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1637 bytes --]
quoth the Maarten:
> Hi list,
>
> I'm new to the list (and gentoo) but not to linux.
>
> I just started with gentoo, had to use the 2004.2 image since 2004.3
> crashed at installtime on my machine (thinkpad 600X)...
> I used stage 2. Since then I succesfully installed a lot of apps like KDE
> and such, but my kernel is still a selfmade 2.4 one. Now I need to get my
> wireless cards working but I'd rather upgrade the kernel first for fear of
> doing things twice (or wrong) due to the changed pcmcia drivers.
>
> I think I correctly upgraded 2004.2 to 2004.3 but how do I check that to
> make sure? The machine did not do anything spectacular when I made that
> change, is that expected behaviour ? Now for the fullfillment of the
> transition to 2004.3 I need a kernel 2.6, right ? Can someone point me to
> the docs that detail that step cause I could not find that very well.
> Or do I just somehow get the sources and start compiling ?
> How do I make sure I retain my current kernel as a second boot option if
> the 2.6 kernel will not boot ?
>
> Thanks in advance,
It is misleading to refer to gentoo 'versions'. 2004.2 and 2003.3 are just
releases of the install cd. After installing, and running "emerge -u system"
your system will be up to date with the most recent stable versions,
regardless of which install cd you choose.
PS you can run any kernel you want...2.4 or 2.6
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
@ 2004-12-06 20:09 Al
0 siblings, 0 replies; 21+ messages in thread
From: Al @ 2004-12-06 20:09 UTC (permalink / raw
To: gentoo-user; +Cc: Maarten
Maarten wrote:
> One last question: Do you need to re-run grub-install after changing this
> file or is it 'okay to go'. (you'll note I come from the lilo world ;-)
good to go - you just need to edit grub.conf and thats it
gentoo slots all kernel versions so all you need to do is update the
/usr/src/linux symlink to the newly installed kernel version.
dont forget that gentoo runs with /boot partition unmounted so
you will need to mount it before you copy the new bzImage over
If you are changing to 2.6 then there is the udev versus devfs choice
to make, I would choose devfs in the 2.6 setup until your happy then think
about udev after that.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
@ 2004-12-06 21:14 brettholcomb
2004-12-06 22:52 ` Bastian Balthazar Bux
0 siblings, 1 reply; 21+ messages in thread
From: brettholcomb @ 2004-12-06 21:14 UTC (permalink / raw
To: gentoo-user
1. Merge one of the 2.6 kernels - I used gentoo-dev-sources.
2. Change the /usr/src/linux symlink to point to the /usr/src/2.6directory
3. Cd /usr/src/linux and do a make menuconfig
4. Go through the menu and select the options you want. I don't recommend taking the 2.4 .config and running make oldconfig on it.
5. Exit menuconfig (save!)
6. Run make && make modules_install
7. Copy the bzImage to /boot - mount /boot first if it's not already.
8. Set LILO or Grub up so that you have another kernel entry it can boot - I call mine Test.
As for udev I went from 2.4 to 2.6 and just went with udev. Check the Gentoo docs for some docs on links to other docs on moving to udev.
>
> From: Maarten <gentoo@ultratux.org>
> Date: 2004/12/06 Mon PM 05:47:43 GMT
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] kernel 2.6 upgrade howto
>
>
> Hi list,
>
> I'm new to the list (and gentoo) but not to linux.
>
> I just started with gentoo, had to use the 2004.2 image since 2004.3 crashed
> at installtime on my machine (thinkpad 600X)...
> I used stage 2. Since then I succesfully installed a lot of apps like KDE and
> such, but my kernel is still a selfmade 2.4 one. Now I
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-06 21:14 brettholcomb
@ 2004-12-06 22:52 ` Bastian Balthazar Bux
2004-12-07 1:34 ` Brett I. Holcomb
0 siblings, 1 reply; 21+ messages in thread
From: Bastian Balthazar Bux @ 2004-12-06 22:52 UTC (permalink / raw
To: gentoo-user
>6. Run make && make modules_install
>7. Copy the bzImage to /boot - mount /boot first if it's not already.
>
>
why not
mount /boot
make && make install && make modules_install ?
At least with grub it work fine it copyies all useful files (config,
System.map, vmlinuz) do the backup of files already there easy.
regards francesco
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-06 22:52 ` Bastian Balthazar Bux
@ 2004-12-07 1:34 ` Brett I. Holcomb
2004-12-07 2:51 ` Bastian Balthazar Bux
2004-12-07 9:15 ` Neil Bothwick
0 siblings, 2 replies; 21+ messages in thread
From: Brett I. Holcomb @ 2004-12-07 1:34 UTC (permalink / raw
To: gentoo-user
The Gentoo docs say for 2.6 simply do make && make modules_install. I
think I tried the make install and got an warning message.
On Mon, 6 Dec 2004, Bastian Balthazar Bux wrote:
>
>> 6. Run make && make modules_install
>> 7. Copy the bzImage to /boot - mount /boot first if it's not already.
>>
>>
> why not
> mount /boot
> make && make install && make modules_install ?
> At least with grub it work fine it copyies all useful files (config,
> System.map, vmlinuz) do the backup of files already there easy.
>
> regards francesco
>
> --
> gentoo-user@gentoo.org mailing list
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-07 1:34 ` Brett I. Holcomb
@ 2004-12-07 2:51 ` Bastian Balthazar Bux
2004-12-07 3:17 ` Brett I. Holcomb
2004-12-07 4:49 ` Nick Rout
2004-12-07 9:15 ` Neil Bothwick
1 sibling, 2 replies; 21+ messages in thread
From: Bastian Balthazar Bux @ 2004-12-07 2:51 UTC (permalink / raw
To: gentoo-user
Brett I. Holcomb wrote:
>The Gentoo docs say for 2.6 simply do make && make modules_install. I
>think I tried the make install and got an warning message.
>
>
>
maybe, but I've installed maybe 20 kernels on few machines in the last
weeks and never seen one ;)
speaking about gentoo-dev-sources & mm-sources
>On Mon, 6 Dec 2004, Bastian Balthazar Bux wrote:
>
>
>
>>>6. Run make && make modules_install
>>>7. Copy the bzImage to /boot - mount /boot first if it's not already.
>>>
>>>
>>>
>>>
>>why not
>>mount /boot
>>make && make install && make modules_install ?
>>At least with grub it work fine it copyies all useful files (config,
>>System.map, vmlinuz) do the backup of files already there easy.
>>
>>regards francesco
>>
>>--
>>gentoo-user@gentoo.org mailing list
>>
>>
>>
>
>--
>gentoo-user@gentoo.org mailing list
>
>
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-07 2:51 ` Bastian Balthazar Bux
@ 2004-12-07 3:17 ` Brett I. Holcomb
2004-12-07 4:49 ` Nick Rout
1 sibling, 0 replies; 21+ messages in thread
From: Brett I. Holcomb @ 2004-12-07 3:17 UTC (permalink / raw
To: gentoo-user
Whatever works <G>. I prefer to mount my boot and copy bzImage by hand as
I give them new names. If you're doing that many machines I'd let it copy
it to!<G>.
On Tue, 7 Dec 2004, Bastian Balthazar Bux wrote:
> Brett I. Holcomb wrote:
>
>> The Gentoo docs say for 2.6 simply do make && make modules_install. I
>> think I tried the make install and got an warning message.
>>
>>
>>
> maybe, but I've installed maybe 20 kernels on few machines in the last weeks
> and never seen one ;)
> speaking about gentoo-dev-sources & mm-sources
>
>> On Mon, 6 Dec 2004, Bastian Balthazar Bux wrote:
>>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-07 2:51 ` Bastian Balthazar Bux
2004-12-07 3:17 ` Brett I. Holcomb
@ 2004-12-07 4:49 ` Nick Rout
1 sibling, 0 replies; 21+ messages in thread
From: Nick Rout @ 2004-12-07 4:49 UTC (permalink / raw
To: gentoo-user
On Tue, 2004-12-07 at 03:51 +0100, Bastian Balthazar Bux wrote:
> Brett I. Holcomb wrote:
>
> >The Gentoo docs say for 2.6 simply do make && make modules_install. I
> >think I tried the make install and got an warning message.
> >
> >
> >
> maybe, but I've installed maybe 20 kernels on few machines in the last
> weeks and never seen one ;)
> speaking about gentoo-dev-sources & mm-sources
in a 2.6 kernel, typing make help gives this information:
"install - Install kernel using
(your) ~/bin/installkernel or
(distribution) /sbin/installkernel or
install to $(INSTALL_PATH) and run lilo"
/sbin/installkernel is from the debianutils package, so not
surprisinglly it installs the kernel as debian would expect to find it.
man installkernel or head /sbin/installkernel for more info.
This seems to install the kernel as /boot/vmlinuz-version with a link to
that from /boot/vmlinuz, and the old kernel moved to /boot/vmlinuz.old.
Is that what you see when you run make install Bastian?
>
> >On Mon, 6 Dec 2004, Bastian Balthazar Bux wrote:
> >
> >
> >
> >>>6. Run make && make modules_install
> >>>7. Copy the bzImage to /boot - mount /boot first if it's not already.
> >>>
> >>>
> >>>
> >>>
> >>why not
> >>mount /boot
> >>make && make install && make modules_install ?
> >>At least with grub it work fine it copyies all useful files (config,
> >>System.map, vmlinuz) do the backup of files already there easy.
> >>
> >>regards francesco
> >>
> >>--
> >>gentoo-user@gentoo.org mailing list
> >>
> >>
> >>
> >
> >--
> >gentoo-user@gentoo.org mailing list
> >
> >
> >
> >
>
>
> --
> gentoo-user@gentoo.org mailing list
>
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-07 1:34 ` Brett I. Holcomb
2004-12-07 2:51 ` Bastian Balthazar Bux
@ 2004-12-07 9:15 ` Neil Bothwick
2004-12-07 20:46 ` Boyd Stephen Smith Jr.
1 sibling, 1 reply; 21+ messages in thread
From: Neil Bothwick @ 2004-12-07 9:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 612 bytes --]
On Mon, 6 Dec 2004 20:34:57 -0500 (EST), Brett I. Holcomb wrote:
> The Gentoo docs say for 2.6 simply do make && make modules_install. I
> think I tried the make install and got an warning message.
The only warning message I've seen is one saying that
grub.conf may need to be edited, it doesn't.
If you trust the makefile to install the modules, why not the kernel
too? It's a lot easier than manually renaming three files (kernel,
System.map and config), renaming the three symlinks to them, copying
three files and creating three new symlinks.
--
Neil Bothwick
EMail - garbage at the speed of light.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
2004-12-07 9:15 ` Neil Bothwick
@ 2004-12-07 20:46 ` Boyd Stephen Smith Jr.
0 siblings, 0 replies; 21+ messages in thread
From: Boyd Stephen Smith Jr. @ 2004-12-07 20:46 UTC (permalink / raw
To: gentoo-user
On Tuesday 07 December 2004 03:15 am, Neil Bothwick <neil@digimed.co.uk>
wrote:
> If you trust the makefile to install the modules, why not the kernel
> too? It's a lot easier than manually renaming three files (kernel,
> System.map and config), renaming the three symlinks to them, copying
> three files and creating three new symlinks.
Well, I don't have to do that much work to install my new kernel. I just
copy 3 files over and edit grub.conf. All my
config/System.map/kernel/initrd files have suitable extensions, so there's
never any replacement.
--
Boyd Stephen Smith Jr.
bss03@volumehost.com
ICQ: 514984 YM/AIM: DaTwinkDaddy
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Re: [gentoo-user] kernel 2.6 upgrade howto
@ 2004-12-07 12:48 brettholcomb
2004-12-07 13:40 ` Neil Bothwick
0 siblings, 1 reply; 21+ messages in thread
From: brettholcomb @ 2004-12-07 12:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
For the few systems I have I just prefer to do it manually. I copy them over to a new name them like vmlinuz-2.6.9-r1, etc. I also copy the working kernel to something like vmlinuz-prevgood. Then I update the test section in LILO to point to the new kernel and it's available for the next time I decide to reboot and try it.
>
> From: Neil Bothwick <neil@digimed.co.uk>
> Date: 2004/12/07 Tue AM 09:15:20 GMT
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] kernel 2.6 upgrade howto
>
>
[-- Attachment #2: reply --]
[-- Type: multipart/signed, Size: 1170 bytes --]
[-- Attachment #3: Type: text/plain, Size: 38 bytes --]
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2004-12-07 20:57 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-06 17:47 [gentoo-user] kernel 2.6 upgrade howto Maarten
2004-12-06 18:23 ` Jean-Francois Gagnon Laporte
2004-12-06 18:57 ` Maarten
2004-12-06 19:25 ` Jean-Francois Gagnon Laporte
2004-12-07 9:58 ` Maarten
2004-12-07 10:05 ` Neil Bothwick
2004-12-07 15:17 ` Jean-Francois Gagnon Laporte
2004-12-07 17:01 ` Maarten
2004-12-07 17:18 ` Hans-Werner Hilse
2004-12-07 17:33 ` Maarten
2004-12-06 18:26 ` darren kirby
-- strict thread matches above, loose matches on Subject: below --
2004-12-06 20:09 Al
2004-12-06 21:14 brettholcomb
2004-12-06 22:52 ` Bastian Balthazar Bux
2004-12-07 1:34 ` Brett I. Holcomb
2004-12-07 2:51 ` Bastian Balthazar Bux
2004-12-07 3:17 ` Brett I. Holcomb
2004-12-07 4:49 ` Nick Rout
2004-12-07 9:15 ` Neil Bothwick
2004-12-07 20:46 ` Boyd Stephen Smith Jr.
2004-12-07 12:48 brettholcomb
2004-12-07 13:40 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox