Re: [gentoo-user] Kernel Upgrade

2003-12-12 Thread Joshua Banks

--- Rumen Yotov <[EMAIL PROTECTED]> wrote:
> Hi Joshua,
> 
> In my opinion you got it right.
> That's only my personal experience of course. Be warned.
> When using genkernel copying .config doesn't seem to work, but the
> other 
> way works.
> I've never compiled my kernels by hand, only with genkernel.

Great Rumen.

Thanks again.

JBanks

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list




Re: [gentoo-user] Kernel Upgrade

2003-12-12 Thread Rumen Yotov
Joshua Banks wrote:

--- Rumen Yotov <[EMAIL PROTECTED]> wrote:

 

Hi,
When using genkernel it uses config-file from 
/etc/kernels/default-config /i think/ not .config in the source root.
I 
do copy .config or some old config-2.4.xx-. to default-config, 
reserving the original of course.
Rumen.
   



A. Thankyou Rumen. Please confirm if possible the following.

Ok, so say I want to upgrade to 2.4.20-gentoo-r8 and use the same
Kernel menu selections selected in 2.4.20-gentoo-r7.
Are you saying that if I use "genkernel" to compile 2.4.20-gentoo-r8
that I can simply replace "etc/kernels/default-config" file with a copy
of "etc/kernels/config-2.4.20-gentoo-r7" file and Genkernel will
compile -r8 with my -r7 kernel menu selections correct???
If so.. Thankyou, thankyou.  Heh... I didn't realize that the actual
kernel menu config settings were stored in /etc/kernel directory.. Or
is this only for Genkernel???
Thanks so much Rumen.

Joshua Banks

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
--
[EMAIL PROTECTED] mailing list
 

Hi Joshua,

In my opinion you got it right.
That's only my personal experience of course. Be warned.
When using genkernel copying .config doesn't seem to work, but the other 
way works.
I've never compiled my kernels by hand, only with genkernel.
Rumen.



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Kernel Upgrade

2003-12-12 Thread Joshua Banks

--- Rumen Yotov <[EMAIL PROTECTED]> wrote:

> Hi,
> When using genkernel it uses config-file from 
> /etc/kernels/default-config /i think/ not .config in the source root.
> I 
> do copy .config or some old config-2.4.xx-. to default-config, 
> reserving the original of course.
> Rumen.


A. Thankyou Rumen. Please confirm if possible the following.

Ok, so say I want to upgrade to 2.4.20-gentoo-r8 and use the same
Kernel menu selections selected in 2.4.20-gentoo-r7.
Are you saying that if I use "genkernel" to compile 2.4.20-gentoo-r8
that I can simply replace "etc/kernels/default-config" file with a copy
of "etc/kernels/config-2.4.20-gentoo-r7" file and Genkernel will
compile -r8 with my -r7 kernel menu selections correct???

If so.. Thankyou, thankyou.  Heh... I didn't realize that the actual
kernel menu config settings were stored in /etc/kernel directory.. Or
is this only for Genkernel???

Thanks so much Rumen.

Joshua Banks

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Rumen Yotov
Joshua Banks wrote:

Ok I will and try and make this simple.
Say I'm using "genkernel" to automate the kernel compile:
Will simply moving the ".config" from the current Kernel tree to new
Kernel tree use the same menu slections that were used in the original
Kernel tree?
E.G.
1) mount /boot
2) cd /usr/src/linux-2.4.20-gentoo-r7
3) cp .config /usr/src/linux-2.4.20-gentoo-r8/.config
4) cd /usr/src
5) rm linux
6) ln -s linux-2.4.20-gentoo-r8 linux
7) cd /usr/src/linux
8) genkernel
9) modify grub.conf to reflect the new kernel
10) umount /boot
11) shutdown -ar


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
--
[EMAIL PROTECTED] mailing list
 

Hi,
When using genkernel it uses config-file from 
/etc/kernels/default-config /i think/ not .config in the source root. I 
do copy .config or some old config-2.4.xx-. to default-config, 
reserving the original of course.
Rumen.



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread SN

- Original Message - 
From: "Wes Gray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 10:19 PM
Subject: Re: [gentoo-user] Kernel Upgrade


> On Wed, Dec 10, 2003 at 11:31:02PM -0800, Joshua Banks wrote:
> > I found the following on Gentoo web forum and just wanted someone to
> > take a look at this and tell me if this is outdated or still in its
> > correctedness. It also looks as though its missing some steps
> > concerning "System.map". Can someone please confirm the following
> > steps. And whether or not after step 11 I should "cp System.map" to
> > "/boot"

Yes you should copy System.map to /boot if you want to do kernel debugging,
if you don't want to do any kernel debugging System.map is useless for you
and you don't have to copy it there.


>
> Not sure about that, I do my kernel by hand and I don't copy System.map.
> Might have to do with using initrd.
>
> > I also don't have anything referencing "bizImage" linux directory tree.
> > Maybe its because I used Genkernel last time?
>
> bzImage is a file name for the kernel file, it's not a directory.
>
> [snip]
> >
> > [1] cp /usr/src/linux/.config /usr/src/linux-2.x.xx-yy/.config
> > [2] cd /usr/src
> > [3] rm linux
> > [4] ln -s linux-2.x.xx-yy linux
> > [5] cd /usr/src/linux
> > [6] make oldconfig
> > [7] make menuconfig or make xconfig
> > [8] make dep clean bzImage modules modules_install
> > **My Comments** shouldn't this be "make dep && make clean bizImage
> > modules modules_install" ??
>
> I usually use "make dep && make ..." but the other command probably
> works fine too.
>
> > And don't I wan't to "cd" to the new 2.4.20-gentoo-r8 kernel tree
> > before issuing this step 8 command?
>
> The ln -s command is making "linux" a link to "linux-2.x.xx-yy",
> so you already did cd there when you did the "cd /usr/src/linux"
>
> > [9] mount /boot (where /boot is an entry in your /etc/fstab, which
> > should [normally not be mounted during normal use)
> > [10] mv /boot/bzImage /boot/bzImage.old
> > [11] cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
> > [12] edit /boot/grub/menu.lst and add an entry for your new kernel and
> > replace the reference to bzImage in your previous kernel entry to point
> > to the deprecated kernel file (bzImage.old)
> > [13] if you are using nvidia- emerge nivdia-kernel
> > [14] if you are using alsa - emerge alsa-driver
> > [15] edit /etc/modules.autoload to reflect any changes in modules to be
> >  auto loaded
> > [16] unmount /boot (ie. umount /boot)
> > [17] shutdown -hr now
> > and voila you new kernel entry should appear in the grub menu waiting
> > to be tried
>
> These instructions are almost exactly what I do and it works fine.  I
> would point out that if you previously have run genkernel in a kernel
> src tree, then you should remove the tree and reemerge it before trying
> to use it for a manual build.
>
> hth
>
> --
> [EMAIL PROTECTED] mailing list
>
>
>


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Joshua Banks
Ok I will and try and make this simple.
Say I'm using "genkernel" to automate the kernel compile:

Will simply moving the ".config" from the current Kernel tree to new
Kernel tree use the same menu slections that were used in the original
Kernel tree?

E.G.
1) mount /boot

2) cd /usr/src/linux-2.4.20-gentoo-r7
3) cp .config /usr/src/linux-2.4.20-gentoo-r8/.config

4) cd /usr/src
5) rm linux
6) ln -s linux-2.4.20-gentoo-r8 linux
7) cd /usr/src/linux
8) genkernel

9) modify grub.conf to reflect the new kernel
10) umount /boot
11) shutdown -ar



__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread brett holcomb
It's bzImage, not bizImage and it's a file.  It's the 
generated kernel.  Copy it to /boot and rename it as you 
please.

make dep  && ... and doing it all on one line are the 
same.  the && form just quits after dep it something goes 
wrong but so will the other.

On Thu, 11 Dec 2003 13:19:02 -0800
 Wes Gray <[EMAIL PROTECTED]> wrote:
On Wed, Dec 10, 2003 at 11:31:02PM -0800, Joshua Banks 
wrote:
I found the following on Gentoo web forum and just 
I also don't have anything referencing "bizImage" linux 
directory tree.
Maybe its because I used Genkernel last time?
bzImage is a file name for the kernel file, it's not a 
directory.

[snip]
[1] cp /usr/src/linux/.config 
/usr/src/linux-2.x.xx-yy/.config
[2] cd /usr/src
[3] rm linux
[4] ln -s linux-2.x.xx-yy linux
[5] cd /usr/src/linux
[6] make oldconfig
[7] make menuconfig or make xconfig
[8] make dep clean bzImage modules modules_install
**My Comments** shouldn't this be "make dep && make 
clean bizImage
modules modules_install" ?? 
I usually use "make dep && make ..." but the other 
command probably
works fine too.

And don't I wan't to "cd" to the new 2.4.20-gentoo-r8 
kernel tree
before issuing this step 8 command?
These instructions are almost exactly what I do and it 
works fine.  I
would point out that if you previously have run genkernel 
in a kernel
src tree, then you should remove the tree and reemerge it 
before trying
to use it for a manual build.

hth

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Wes Gray
On Wed, Dec 10, 2003 at 11:31:02PM -0800, Joshua Banks wrote:
> I found the following on Gentoo web forum and just wanted someone to
> take a look at this and tell me if this is outdated or still in its
> correctedness. It also looks as though its missing some steps
> concerning "System.map". Can someone please confirm the following
> steps. And whether or not after step 11 I should "cp System.map" to
> "/boot"

Not sure about that, I do my kernel by hand and I don't copy System.map.
Might have to do with using initrd.

> I also don't have anything referencing "bizImage" linux directory tree.
> Maybe its because I used Genkernel last time?

bzImage is a file name for the kernel file, it's not a directory.

[snip]
> 
> [1] cp /usr/src/linux/.config /usr/src/linux-2.x.xx-yy/.config
> [2] cd /usr/src
> [3] rm linux
> [4] ln -s linux-2.x.xx-yy linux
> [5] cd /usr/src/linux
> [6] make oldconfig
> [7] make menuconfig or make xconfig
> [8] make dep clean bzImage modules modules_install
> **My Comments** shouldn't this be "make dep && make clean bizImage
> modules modules_install" ?? 

I usually use "make dep && make ..." but the other command probably
works fine too.

> And don't I wan't to "cd" to the new 2.4.20-gentoo-r8 kernel tree
> before issuing this step 8 command?

The ln -s command is making "linux" a link to "linux-2.x.xx-yy",
so you already did cd there when you did the "cd /usr/src/linux"

> [9] mount /boot (where /boot is an entry in your /etc/fstab, which
> should [normally not be mounted during normal use)
> [10] mv /boot/bzImage /boot/bzImage.old
> [11] cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
> [12] edit /boot/grub/menu.lst and add an entry for your new kernel and
> replace the reference to bzImage in your previous kernel entry to point
> to the deprecated kernel file (bzImage.old)
> [13] if you are using nvidia- emerge nivdia-kernel
> [14] if you are using alsa - emerge alsa-driver
> [15] edit /etc/modules.autoload to reflect any changes in modules to be
>  auto loaded
> [16] unmount /boot (ie. umount /boot)
> [17] shutdown -hr now
> and voila you new kernel entry should appear in the grub menu waiting
> to be tried

These instructions are almost exactly what I do and it works fine.  I
would point out that if you previously have run genkernel in a kernel
src tree, then you should remove the tree and reemerge it before trying
to use it for a manual build.

hth

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Dennis Robertson
Mea culpa. I'll simply practice what I preach and shut up about it.
- Original Message - 
From: "Donnie Berkholz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 7:59 PM
Subject: Re: [gentoo-user] Kernel Upgrade




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Vanh Phom
On Thu, 2003-12-11 at 07:31, Joshua Banks wrote:


> [7] make menuconfig or make xconfig
> [8] make dep clean bzImage modules modules_install
> **My Comments** shouldn't this be "make dep && make clean bizImage

Here the way I did it.
make dep clean bzImage

make install  
/// make install will copy the new kernel (vmlinuz)and system.map to
/boot and also rename the old version to .old. With a bonus it's also
copy your config file to /boot too.

make modules
make modules_install

Then edit you grub or lilo as needed.

Vanh







--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Joshua Banks
Ok. So now I'm aware of the root exploit and some of the bugs
associated with -r9. Can I get a confident confirmation from someone
that the following (How-To) -- Upgrade your Kernel -- listed below, is
correct in its entirety??

Thanks,
Joshua Banks
--- Joshua Banks <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> Last time I tried to upgrade my kernel I botched it somehow. I would
> like to upgrade from 2.4.20-gentoo-r7 to r8 and move my r7 .config
> settings into the new r8 kernel. I used Genkernel to compile last
> time
> and this time I would like to manually do this for the learning
> experience.
> 
> I found the following on the Gentoo web forum and just wanted someone
to
> take a look at this and tell me if this is outdated or still in its
> correctedness. It also looks as though its missing some steps
> concerning "System.map". Can someone please confirm the following
> steps. And whether or not after step 11 I should "cp System.map" to
> "/boot"
> 
> I also don't have anything referencing "bizImage" linux directory
> tree.
> Maybe its because I used Genkernel last time?
> 
> I'm running a PIII 667EB coppermine processor.
> 
> *
> If you wish to maintain as much of your old kernel configuration as
> possible when installing your new kernel, copy /usr/src/linux/.config
> to your new kernel tree (1), then switch to the base source directory
> (2) then delete the symlink pointing to linux (3) and re-link linux
> to
> your new kernel tree (4), now enter your new linux directory (5) and
> run make oldconfig (6) - this attempts to preserve existing kernel
> configurations - you will be prompted to make choices regarding new
> kernel options (and if you don't know whether or not to enable some
> option, simply pressing  usually selects "No". Once you have
> completed this step, then you should run make menuconfig (or make
> xconfig) (7) and then carefully look over the sections involved in
> selecting file systems, printer setup, usb setup and possible scsi
> emulation-the time spent here can save much time and many needed
> re-compiles later. After you have finished configuring the kernel,
> you
> must compile and install your new kernel. (8-17) (in step format:)
> 
> [1] cp /usr/src/linux/.config /usr/src/linux-2.x.xx-yy/.config
> [2] cd /usr/src
> [3] rm linux
> [4] ln -s linux-2.x.xx-yy linux
> [5] cd /usr/src/linux
> [6] make oldconfig
> [7] make menuconfig or make xconfig
> [8] make dep clean bzImage modules modules_install
> **My Comments** shouldn't this be "make dep && make clean bizImage
> modules modules_install" ?? 
> And don't I wan't to "cd" to the new 2.4.20-gentoo-r8 kernel tree
> before issuing this step 8 command?
> 
> [9] mount /boot (where /boot is an entry in your /etc/fstab, which
> should [normally not be mounted during normal use)
> [10] mv /boot/bzImage /boot/bzImage.old
> [11] cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
> [12] edit /boot/grub/menu.lst and add an entry for your new kernel
> and
> replace the reference to bzImage in your previous kernel entry to
> point
> to the deprecated kernel file (bzImage.old)
> [13] if you are using nvidia- emerge nivdia-kernel
> [14] if you are using alsa - emerge alsa-driver
> [15] edit /etc/modules.autoload to reflect any changes in modules to
> be
>  auto loaded
> [16] unmount /boot (ie. umount /boot)
> [17] shutdown -hr now
> and voila you new kernel entry should appear in the grub menu waiting
> to be tried
> 
> Thanks,
> Joshua Banks


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Donnie Berkholz
On Thu, 2003-12-11 at 05:10, Joshua Banks wrote:
> --- Donnie Berkholz <[EMAIL PROTECTED]> wrote:
> > Please don't recommend staying with a kernel that has a root exploit.
> > I'd rather have a bug than get rooted.
> 
> 
> So, does -r7 suffer from the same root exploit?

Yes, everything below -r9 does.

> > gentoo-2.4.20-r9 and gentoo-2.4.22-r1 are both patched with the fix,
> > as
> > is the latest version of every other kernel sources package in
> > portage.


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Joshua Banks

--- Donnie Berkholz <[EMAIL PROTECTED]> wrote:
> On Thu, 2003-12-11 at 03:38, Dennis Robertson wrote:
> > No doubt you'll get more informed comment than I can provide on the
> > upgrading process. However, you should be aware that -r8 is the
> subject of a
> > security warning recommending upgrade to -r9. Quite a few of us
> encountered
> > bugs with -r9 so I would recommend you stay where you are for the
> time
> > being, until there is a bug-free upgrade option.
> 
> Please don't recommend staying with a kernel that has a root exploit.
> I'd rather have a bug than get rooted.


So, does -r7 suffer from the same root exploit?


> gentoo-2.4.20-r9 and gentoo-2.4.22-r1 are both patched with the fix,
> as
> is the latest version of every other kernel sources package in
> portage.
> 


Thanks,
Joshua Banks

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Joshua Banks
TOP POSTING this one:

Ahhh.. Thanks Dennis. I will hold-off on upgrading then. Much
appreciated.

I would still like to get some confirmation on the info from my
original posting (the one before this) from any of the seasoned kernel
hackers out there please. 

Thanks,
Joshua Banks
--- Dennis Robertson <[EMAIL PROTECTED]> wrote:
> 
> - Original Message - 
> From: "Joshua Banks" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, December 11, 2003 5:31 PM
> Subject: [gentoo-user] Kernel Upgrade
> 
> 
> > Hello,
> >
> > Last time I tried to upgrade my kernel I botched it somehow. I
> would
> > like to upgrade from 2.4.20-gentoo-r7 to r8 and move my r7 .config
> > settings into the new r8 kernel. I used Genkernel to compile last
> time
> > and this time I would like to manually do this for learning
> experience.
> >
> No doubt you'll get more informed comment than I can provide on the
> upgrading process. However, you should be aware that -r8 is the
> subject of a
> security warning recommending upgrade to -r9. Quite a few of us
> encountered
> bugs with -r9 so I would recommend you stay where you are for the
> time
> being, until there is a bug-free upgrade option.
> Regards.
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Donnie Berkholz
On Thu, 2003-12-11 at 03:38, Dennis Robertson wrote:
> No doubt you'll get more informed comment than I can provide on the
> upgrading process. However, you should be aware that -r8 is the subject of a
> security warning recommending upgrade to -r9. Quite a few of us encountered
> bugs with -r9 so I would recommend you stay where you are for the time
> being, until there is a bug-free upgrade option.

Please don't recommend staying with a kernel that has a root exploit.
I'd rather have a bug than get rooted.

gentoo-2.4.20-r9 and gentoo-2.4.22-r1 are both patched with the fix, as
is the latest version of every other kernel sources package in portage.


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Kernel Upgrade

2003-12-11 Thread Dennis Robertson

- Original Message - 
From: "Joshua Banks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 5:31 PM
Subject: [gentoo-user] Kernel Upgrade


> Hello,
>
> Last time I tried to upgrade my kernel I botched it somehow. I would
> like to upgrade from 2.4.20-gentoo-r7 to r8 and move my r7 .config
> settings into the new r8 kernel. I used Genkernel to compile last time
> and this time I would like to manually do this for learning experience.
>
No doubt you'll get more informed comment than I can provide on the
upgrading process. However, you should be aware that -r8 is the subject of a
security warning recommending upgrade to -r9. Quite a few of us encountered
bugs with -r9 so I would recommend you stay where you are for the time
being, until there is a bug-free upgrade option.
Regards.



--
[EMAIL PROTECTED] mailing list



[gentoo-user] Kernel Upgrade

2003-12-11 Thread Joshua Banks
Hello,

Last time I tried to upgrade my kernel I botched it somehow. I would
like to upgrade from 2.4.20-gentoo-r7 to r8 and move my r7 .config
settings into the new r8 kernel. I used Genkernel to compile last time
and this time I would like to manually do this for learning experience.

I found the following on Gentoo web forum and just wanted someone to
take a look at this and tell me if this is outdated or still in its
correctedness. It also looks as though its missing some steps
concerning "System.map". Can someone please confirm the following
steps. And whether or not after step 11 I should "cp System.map" to
"/boot"

I also don't have anything referencing "bizImage" linux directory tree.
Maybe its because I used Genkernel last time?

I'm running a PIII 667EB coppermine processor.

*
If you wish to maintain as much of your old kernel configuration as
possible when installing your new kernel, copy /usr/src/linux/.config
to your new kernel tree (1), then switch to the base source directory
(2) then delete the symlink pointing to linux (3) and re-link linux to
your new kernel tree (4), now enter your new linux directory (5) and
run make oldconfig (6) - this attempts to preserve existing kernel
configurations - you will be prompted to make choices regarding new
kernel options (and if you don't know whether or not to enable some
option, simply pressing  usually selects "No". Once you have
completed this step, then you should run make menuconfig (or make
xconfig) (7) and then carefully look over the sections involved in
selecting file systems, printer setup, usb setup and possible scsi
emulation-the time spent here can save much time and many needed
re-compiles later. After you have finished configuring the kernel, you
must compile and install your new kernel. (8-17) (in step format:)

[1] cp /usr/src/linux/.config /usr/src/linux-2.x.xx-yy/.config
[2] cd /usr/src
[3] rm linux
[4] ln -s linux-2.x.xx-yy linux
[5] cd /usr/src/linux
[6] make oldconfig
[7] make menuconfig or make xconfig
[8] make dep clean bzImage modules modules_install
**My Comments** shouldn't this be "make dep && make clean bizImage
modules modules_install" ?? 
And don't I wan't to "cd" to the new 2.4.20-gentoo-r8 kernel tree
before issuing this step 8 command?

[9] mount /boot (where /boot is an entry in your /etc/fstab, which
should [normally not be mounted during normal use)
[10] mv /boot/bzImage /boot/bzImage.old
[11] cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
[12] edit /boot/grub/menu.lst and add an entry for your new kernel and
replace the reference to bzImage in your previous kernel entry to point
to the deprecated kernel file (bzImage.old)
[13] if you are using nvidia- emerge nivdia-kernel
[14] if you are using alsa - emerge alsa-driver
[15] edit /etc/modules.autoload to reflect any changes in modules to be
 auto loaded
[16] unmount /boot (ie. umount /boot)
[17] shutdown -hr now
and voila you new kernel entry should appear in the grub menu waiting
to be tried

Thanks,
Joshua Banks



__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel upgrade

2003-12-09 Thread Guy Van Sanden
On Mon, 2003-12-08 at 17:29, Barry Marler wrote:
> On Mon, 08 Dec 2003 17:17:15 +0100
> Guy Van Sanden <[EMAIL PROTECTED]> wrote:
> 
> > I copied the config file in /etc/kernels/...
> > Genkernel uses that file if it exists.
> > 
> > Everything went fine, execpt that USB seems broken in gentoo-r9 (at
> > least on my system).
> 
> 
> 
> If you wished to preserve the functionality you compiled into r8, you should have 
> used its .config.  USB isn't broken in r9.
I did copy my file, but as I use genkernel I need the files in
/etc/kernels, genkernel reported which config it used, and that was
correct.

Anyhow, I tried XFS sources and gentoo-sources-2.4.22-r1 and they work.
USB is broken for my system (maybe chipset/mobo related) in 2.4.20-r9,
the rest of the kernel is identical in functionality to my -r8 one.

-- 
__  

Guy Van Sanden 
http://unixmafia.port5.com  

Registered Linux user #249404 - September 1997
__


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel upgrade

2003-12-08 Thread Rumen Yotov
On Monday 08 December 2003 18:37, Helgi Örn Helgason wrote:
> On 2003-12-08, David Gethings wrote:
> > On Mon, 2003-12-08 at 15:37, David Gethings wrote:
> > > If you wish to change the kernel config use 'genkernel --config'. If
> > > not then just run 'genkernel'.
> >
> > Sorry, forgot to mention. If you do not run genkernel with --config then
> > it does a 'make oldconfig'. AFAIK this is just basic config that comes
> > with the kernel so it will not include your options.
> >
> > To include your option from the previous release then copy .config from
> > the old kernel version to the new. i.e. cp gentoo-r8/.config gentoo-r9/
> >
> > Then you can run genkernel and it will honour your old options.
> >
> > If I am wrong then please someone say so. As this is how I do and if it
> > is wrong then build is potentially broken! :P
>
> I don't know if you are totally wrong, but this is what i dug out; if
> you take a look at the /usr/sbin/genkernel script then you can see that
> it is supposed to search for a file called /etc/kernels/default-config
> which is *Automatically generated by make menuconfig*!
> It seems to be my default kernel-config file, am I right?
> In that case genkernel should be using that file...
>
> Cheers,
> /HÖ
True. When compiled a new 2.4.23-grsec kernel, updating 2.4.22-grsec:
1.Changed linux link to the new source;
2.copied .config from old /2.4.22/ to new /2.4.23/;
3.run genkernel --config and it used /etc/kernels/default-config - not what i 
wanted;
4.backed up default-config and put over my 2.4.22-config  as default-config;
5.run genkernel --config and it worked.
Hope this helps.
Rumen


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel upgrade

2003-12-08 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 08 December 2003 19:30, Helgi Örn Helgason wrote:
> On 2003-12-08, Mike Williams wrote:
> > genkernel creates an /etc/kernels/config- per kernel version.
> > When I change kernel, but want to keep the old config (as best is
> > possible) I copy the config- to the new version and genkernel
> > away.
>
> Ok, that's interesting. What if you want to change kernel version?
> I didn't cp any file, just ran genkernel in the new kernels directory.
> After reboot (sic) evrything seems to be just the way it was before,
> except the now the kernel is *-r9...:-)

It will fall back to the default-config as you saw.
I always make a lot of changes to the config, so the default doesn't suit me.

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/1NTPInuLMrk7bIwRAjFAAKCo9fo05oqg4cqbh5uEo4FOvegTQgCgrzXa
IuTzWxBZe7DAyH7pZRIORGc=
=JYct
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel upgrade

2003-12-08 Thread Helgi Örn Helgason
On 2003-12-08, Mike Williams wrote:
> 
> genkernel creates an /etc/kernels/config- per kernel version.
> When I change kernel, but want to keep the old config (as best is possible) I 
> copy the config- to the new version and genkernel away.
> 
Ok, that's interesting. What if you want to change kernel version?
I didn't cp any file, just ran genkernel in the new kernels directory.
After reboot (sic) evrything seems to be just the way it was before,
except the now the kernel is *-r9...:-)

Cheers,
/HÖ

-- 
/// Helgi Örn Helgason, Registered GNU/Linux User: #189958 \\\
\\\ ~~ Gentoo 1.4 ~ Kernel 2.4.20-gentoo-r9 ~ KDE 3.1.4 ~~ ///


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] kernel upgrade

2003-12-08 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 08 December 2003 16:37, Helgi Örn Helgason wrote:

> I don't know if you are totally wrong, but this is what i dug out; if
> you take a look at the /usr/sbin/genkernel script then you can see that
> it is supposed to search for a file called /etc/kernels/default-config
> which is *Automatically generated by make menuconfig*!
> It seems to be my default kernel-config file, am I right?
> In that case genkernel should be using that file...

genkernel creates an /etc/kernels/config- per kernel version.
When I change kernel, but want to keep the old config (as best is possible) I 
copy the config- to the new version and genkernel away.

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/1LNzInuLMrk7bIwRAmtzAJ9dmjQp4MYZGaauSgia31Fvqy6gHACcDas+
E1tO33D5TsEID0gwrPAHVuM=
=AKNL
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel upgrade

2003-12-08 Thread Helgi Örn Helgason
On 2003-12-08, David Gethings wrote:
> On Mon, 2003-12-08 at 15:37, David Gethings wrote:
> > If you wish to change the kernel config use 'genkernel --config'. If not
> > then just run 'genkernel'.
> Sorry, forgot to mention. If you do not run genkernel with --config then
> it does a 'make oldconfig'. AFAIK this is just basic config that comes
> with the kernel so it will not include your options.
> 
> To include your option from the previous release then copy .config from
> the old kernel version to the new. i.e. cp gentoo-r8/.config gentoo-r9/
> 
> Then you can run genkernel and it will honour your old options.
> 
> If I am wrong then please someone say so. As this is how I do and if it
> is wrong then build is potentially broken! :P
> 
I don't know if you are totally wrong, but this is what i dug out; if
you take a look at the /usr/sbin/genkernel script then you can see that
it is supposed to search for a file called /etc/kernels/default-config
which is *Automatically generated by make menuconfig*!
It seems to be my default kernel-config file, am I right?
In that case genkernel should be using that file...

Cheers,
/HÖ

-- 
/// Helgi Örn Helgason, Registered GNU/Linux User: #189958 \\\
\\\ ~~ Gentoo 1.4 * Kernel 2.4.20-gentoo-r8 * KDE 3.1.4 ~~ ///


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] kernel upgrade

2003-12-08 Thread Barry Marler
On Mon, 08 Dec 2003 17:17:15 +0100
Guy Van Sanden <[EMAIL PROTECTED]> wrote:

> I copied the config file in /etc/kernels/...
> Genkernel uses that file if it exists.
> 
> Everything went fine, execpt that USB seems broken in gentoo-r9 (at
> least on my system).



If you wished to preserve the functionality you compiled into r8, you should have used 
its .config.  USB isn't broken in r9.


-- 
Barry Marler
Information Analyst II
Center for Applied Genetic Technologies
University of Georgia
Athens, GA 
USA

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel upgrade

2003-12-08 Thread Guy Van Sanden
I copied the config file in /etc/kernels/...
Genkernel uses that file if it exists.

Everything went fine, execpt that USB seems broken in gentoo-r9 (at
least on my system).

On Mon, 2003-12-08 at 16:49, David Gethings wrote:
> On Mon, 2003-12-08 at 15:37, David Gethings wrote:
> > If you wish to change the kernel config use 'genkernel --config'. If not
> > then just run 'genkernel'.
> Sorry, forgot to mention. If you do not run genkernel with --config then
> it does a 'make oldconfig'. AFAIK this is just basic config that comes
> with the kernel so it will not include your options.
> 
> To include your option from the previous release then copy .config from
> the old kernel version to the new. i.e. cp gentoo-r8/.config gentoo-r9/
> 
> Then you can run genkernel and it will honour your old options.
> 
> If I am wrong then please someone say so. As this is how I do and if it
> is wrong then build is potentially broken! :P
> 
> Cheers
> 
> Dg
> 
> 
> --
> [EMAIL PROTECTED] mailing list
-- 
__  

Guy Van Sanden 
http://unixmafia.port5.com  

Registered Linux user #249404 - September 1997
__


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel upgrade

2003-12-08 Thread David Gethings
On Mon, 2003-12-08 at 15:37, David Gethings wrote:
> If you wish to change the kernel config use 'genkernel --config'. If not
> then just run 'genkernel'.
Sorry, forgot to mention. If you do not run genkernel with --config then
it does a 'make oldconfig'. AFAIK this is just basic config that comes
with the kernel so it will not include your options.

To include your option from the previous release then copy .config from
the old kernel version to the new. i.e. cp gentoo-r8/.config gentoo-r9/

Then you can run genkernel and it will honour your old options.

If I am wrong then please someone say so. As this is how I do and if it
is wrong then build is potentially broken! :P

Cheers

Dg


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel upgrade

2003-12-08 Thread David Gethings
On Mon, 2003-12-08 at 15:30, Helgi Örn Helgason wrote:
> I want to upgrade my kernel from 2.4.20-gentoo-r8 to 2.4.20-gentoo-r9 as
> recommended. I used genkernel when I installed the kernel the first
> time. Should I use genkernel also when I upgrade?
You certainly can. If you do then you will need to check the
/usr/src/linux is linked to to the new release.

If you wish to change the kernel config use 'genkernel --config'. If not
then just run 'genkernel'.

This is how I do it. I use genkernel because I am lazy. Although there
maybe better/other reasons for using it - or not as the case meybe.

Cheers

Dg


--
[EMAIL PROTECTED] mailing list



[gentoo-user] kernel upgrade

2003-12-08 Thread Helgi Örn Helgason
I want to upgrade my kernel from 2.4.20-gentoo-r8 to 2.4.20-gentoo-r9 as
recommended. I used genkernel when I installed the kernel the first
time. Should I use genkernel also when I upgrade?

Cheers,
/HÖ

-- 
/// Helgi Örn Helgason, Registered GNU/Linux User: #189958 \\\
\\\ ~~ Gentoo 1.4 * Kernel 2.4.20-gentoo-r8 * KDE 3.1.4 ~~ ///


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Kernel Upgrade question..

2003-09-25 Thread Joshua Banks
To funny Stephen.. :D

JBanks
--- Stephen Turner <[EMAIL PROTECTED]> wrote:
> > > As root:
> > > cd /usr/src
> > > rm linux
> > > ln -s linux-2.4.20-gentoo-r7 linux
> > > cd linux
> > > mount /boot
> > > genkernel
> 
> LOL im not gifted enough in the ways of scripting to do it yet plus my
> linux died ok ok i killed it, (accident) and im using win2k at the moment
> (gaming reasons) its a demo version. anyways id like to see a script that
> does all that goey kernel stuff for ya! LOL actually why not cron a script
> that does new kernel gen + updating system :-p altho if something died you
> wouldnt know why. hey what happens if you shut down your system over
> nights (home system conserve electricity) and you have in a daily cronjob
> to do something? it just gets done the next time you log on right? im sure
> it does has too lol geeks and that wierd to put a kink in it like that...
> oh well lol curiosity got me.
> 
> =
> **  computers are a lot like air conditioners, they stop working properly once you 
> open windows
> **
> 
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 
> --
> [EMAIL PROTECTED] mailing list
> 

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade question..

2003-09-25 Thread Stephen Turner
> > As root:
> > cd /usr/src
> > rm linux
> > ln -s linux-2.4.20-gentoo-r7 linux
> > cd linux
> > mount /boot
> > genkernel

LOL im not gifted enough in the ways of scripting to do it yet plus my
linux died ok ok i killed it, (accident) and im using win2k at the moment
(gaming reasons) its a demo version. anyways id like to see a script that
does all that goey kernel stuff for ya! LOL actually why not cron a script
that does new kernel gen + updating system :-p altho if something died you
wouldnt know why. hey what happens if you shut down your system over
nights (home system conserve electricity) and you have in a daily cronjob
to do something? it just gets done the next time you log on right? im sure
it does has too lol geeks and that wierd to put a kink in it like that...
oh well lol curiosity got me.

=
**  computers are a lot like air conditioners, they stop working properly once you 
open windows **

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade question..

2003-09-24 Thread Joshua Banks
--- Christian Herzyk <[EMAIL PROTECTED]> wrote:
> you can copy your old .config file to the new directory. If you run make 
> oldconfig after that your are prompted for all new modules to say if you 
> want to include them or not, so you don't have to check every page in 
> menuconfig.

Thanks for the reply Christian this is very helpful. Much appreciated.

I also found this link to be helpful as well.

http://forums.gentoo.org/viewtopic.php?t=35323

Thanks,
JBanks

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade question..

2003-09-24 Thread Christian Herzyk
Joshua Banks wrote:

--- David <[EMAIL PROTECTED]> wrote:
 

On Tuesday 23 September 2003 04:16 am, Joshua Banks wrote:

try   genkernel --config and then make sure the cpu settings and modules 
you want are included.  Would be nice if genkernel had a man page or a -h or 
--help option!
   



Thanks for the suggestion. I actually planned on doing this already though, as this is 
the only
choice at this point.
Next time I upgrade the Kernel, is there a way to have it use the settings used in the previous
kernel setup? Or do we actually have to go into the kernel menu and reconfigure all the kernel
settings manually each time?
 

Hi Joshua,

you can copy your old .config file to the new directory. If you run make 
oldconfig after that your are prompted for all new modules to say if you 
want to include them or not, so you don't have to check every page in 
menuconfig.

Christian

--
[EMAIL PROTECTED] mailing list


RE: [gentoo-user] Kernel Upgrade question..

2003-09-23 Thread Joshua Banks

--- Jeffrey Smelser <[EMAIL PROTECTED]> wrote:
> You do realize when your on a menu item, hitting the help button explains what that 
> item is??
> Some has really good info, some is a little sparse but its always helped me on items 
> I didn't
> know. Including what the name of the module will be if it has that option.


Woops.. Always overlooking the obvious.. I'm sure this will help.

Thanks Jeffrey.

JBanks

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Kernel Upgrade question..

2003-09-23 Thread Joshua Banks

--- Jeffrey Smelser <[EMAIL PROTECTED]> wrote:
> Yeah, genkernel is just a bash wrapper. IN the beginning of it, it has some options, 
> for example
> you can default the menuconfig to yes if you want.


Cool..
Thanks,

JBanks

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Kernel Upgrade question..

2003-09-23 Thread Jeffrey Smelser
Yeah, genkernel is just a bash wrapper. IN the beginning of it, it has some options, 
for example you can default the menuconfig to yes if you want.

> -Original Message-
> From: Joshua Banks [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 23, 2003 12:22 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [gentoo-user] Kernel Upgrade question..
> 
> 
> 
> --- Jeffrey Smelser <[EMAIL PROTECTED]> wrote:
> > Genkernel will actually do even more then that, look at the 
> source, you can actually default it
> > to use config and a few other options as well.. Be nice if 
> it had something in conf.d/ to
> > change..
> > 
> > If I get some free time, I might change it myself and submit it.
> 
> What do you mean, look at the source? Genkernel itself?
> 
> JBanks
> 
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Kernel Upgrade question..

2003-09-23 Thread Jeffrey Smelser
You do realize when your on a menu item, hitting the help button explains what that 
item is?? Some has really good info, some is a little sparse but its always helped me 
on items I didn't know. Including what the name of the module will be if it has that 
option.

> -Original Message-
> From: Joshua Banks [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 23, 2003 12:16 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [gentoo-user] Kernel Upgrade question..
> 
> 
> --- David <[EMAIL PROTECTED]> wrote:
> > On Tuesday 23 September 2003 04:16 am, Joshua Banks wrote:
> > 
> > try   genkernel --config and then make sure the cpu 
> settings and modules 
> > you want are included.  Would be nice if genkernel had a 
> man page or a -h or 
> > --help option!
> 
> 
> Thanks for the suggestion. I actually planned on doing this 
> already though, as this is the only
> choice at this point.
> 
> Next time I upgrade the Kernel, is there a way to have it use 
> the settings used in the previous
> kernel setup? Or do we actually have to go into the kernel 
> menu and reconfigure all the kernel
> settings manually each time?
> 
> I'm seriously doing as much reading as possible on this 
> subject but I find myself getting lost in
> the vast amount of info on this subject. Not trying to make 
> excuses but its hard to stay goal
> centric trying to sift through mounds of info trying to find 
> what fits and what doesn't for what
> I'm actually trying to accomplish. 
> 
> I realize I'm not going to understand this over night. This 
> is all I really want. 
> My goal is to understand to a degree what can be added and 
> removed safely (in regards to the
> hardware that I have on this pc) from the kernel 
> setup-menuconfig, starting from the top of the
> kernel menu and working all the way down to the bottom.
> 
> I understand that most Kernel menuconfig-setup 
> options/selections will differ from one user to the
> next, but any general examples would be nice. 
> Is there any info out on the web that  walks 
> beginners or  even non-beginners
> through the Kernel-menu-config from top to bottom? Possibly 
> explaining each menu option along the
> way.. :) This would be ideal. Even more ideal would be 
> examples for the PIII architecture if
> possible.
> 
> Thanks,
> Joshua Banks
> 
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Kernel Upgrade question..

2003-09-23 Thread Joshua Banks

--- Jeffrey Smelser <[EMAIL PROTECTED]> wrote:
> Genkernel will actually do even more then that, look at the source, you can actually 
> default it
> to use config and a few other options as well.. Be nice if it had something in 
> conf.d/ to
> change..
> 
> If I get some free time, I might change it myself and submit it.

What do you mean, look at the source? Genkernel itself?

JBanks

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade question..

2003-09-23 Thread Joshua Banks
--- David <[EMAIL PROTECTED]> wrote:
> On Tuesday 23 September 2003 04:16 am, Joshua Banks wrote:
> 
> try   genkernel --config and then make sure the cpu settings and modules 
> you want are included.  Would be nice if genkernel had a man page or a -h or 
> --help option!


Thanks for the suggestion. I actually planned on doing this already though, as this is 
the only
choice at this point.

Next time I upgrade the Kernel, is there a way to have it use the settings used in the 
previous
kernel setup? Or do we actually have to go into the kernel menu and reconfigure all 
the kernel
settings manually each time?

I'm seriously doing as much reading as possible on this subject but I find myself 
getting lost in
the vast amount of info on this subject. Not trying to make excuses but its hard to 
stay goal
centric trying to sift through mounds of info trying to find what fits and what 
doesn't for what
I'm actually trying to accomplish. 

I realize I'm not going to understand this over night. This is all I really want. 
My goal is to understand to a degree what can be added and removed safely (in regards 
to the
hardware that I have on this pc) from the kernel setup-menuconfig, starting from the 
top of the
kernel menu and working all the way down to the bottom.

I understand that most Kernel menuconfig-setup options/selections will differ from one 
user to the
next, but any general examples would be nice. 
Is there any info out on the web that  walks beginners or  even 
non-beginners
through the Kernel-menu-config from top to bottom? Possibly explaining each menu 
option along the
way.. :) This would be ideal. Even more ideal would be examples for the PIII 
architecture if
possible.

Thanks,
Joshua Banks

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Kernel Upgrade question..

2003-09-23 Thread Jeffrey Smelser
Genkernel will actually do even more then that, look at the source, you can actually 
default it to use config and a few other options as well.. Be nice if it had something 
in conf.d/ to change..

If I get some free time, I might change it myself and submit it.

> -Original Message-
> From: David [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 23, 2003 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [gentoo-user] Kernel Upgrade question..
> 
> 
> On Tuesday 23 September 2003 04:16 am, Joshua Banks wrote:
> 
> try   genkernel --config and then make sure the cpu 
> settings and modules 
> you want are included.  Would be nice if genkernel had a man 
> page or a -h or 
> --help option!
> 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade question..

2003-09-23 Thread David
On Tuesday 23 September 2003 04:16 am, Joshua Banks wrote:

try   genkernel --config and then make sure the cpu settings and modules 
you want are included.  Would be nice if genkernel had a man page or a -h or 
--help option!



> I just recently upgraded KDE from 3.1.2 to 3.1.3.  This went smoothly.
> I then upgraded my Kernel from 2.4.20-gentoo-r5 to 2.4.20-gentoo-r7.
>
> This is how I did the kernel upgrade.  (please let me know if there's a
> better way to do this. As I'm new to compiling the kernel and the upgrade
> didn't seem to load the settings that the other kernel was using)
>
> As root:
> cd /usr/src
> rm linux
> ln -s linux-2.4.20-gentoo-r7 linux
> cd linux
> mount /boot
> genkernel
>
> Once "genkernel" completes, I go to /grub/grub.conf and modify this so that
> its pointing to the newer upgraded kernel.
>
> Then,
> umount /boot
> reboot
>
> Now I must of done something wrong because then all of the sudden my
> desktop and icons are huge and chageing the resolution doesn't seem to do
> anything to make the overall desktop area smaller. I can manually adjust
> icon sizes and tool bar settings but it doesn't seem to allow me adjust the
> overall resolution. Even know I have it set for 1280x1024 24bit depth,
> everything is still as though I have the desktop set to 800x600.
>
> So I started digging around to check some logs and this is what I found.
>
> <> = my comments
> cat kdm.log
> etc/X11/xdm/Xsetup_0: line 7: /usr/kde/3.1/bin/kdmdesktop: No such file or
> directory sessions: SessionTypes=Xsession,kde-3.1.2,kde-3.1.3,
> Changing kdmrc in /usr/kde/3.1
> Changing kdmrc in /usr
> 
>
> modprobe: Can't locate module agpgart
> [drm] failed to load kernel module "agpgart"
> 
>
> modprobe: Can't locate module radeon
> [drm] failed to load kernel module "radeon"
> (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
>  kernel last time that it never complained about my radeon card?>
>
> Is there  a file still left around like kernel.config with the kernel
> settings from the kernel I was using before the upgrade.
>
> I'm really confused. Now when I look at the kernel with "genkernel
> --config" it lists my processor as i386 when I'm using an Intel PIII 666eb
> coppermine. There's also a ton of stuff that I believe that I could turn
> off but don't know if its safe or not.  I.E.. bluetooth, ir stuff, token
> ring, ect.. ect...
>
> I'm using PPP to get out to the internet and I have one nic card for the
> internal lan. I have a HP Deskjet printer via 25pin parallel cable and a
> 32MB ATI Radeon vid card.
>
> When I did the intial install everything seemed to go very smoothly. After
> that I emerged KDE which loaded Xfree as well and then used "XFree86
> -configure" to create an XF86Config file and am using KDM as my display
> manager.
>
> What did I do wrong?
>
> Thanks,
> Joshua Banks
>
>
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> --
> [EMAIL PROTECTED] mailing list

-- 
Categorical Imperative: "Act only according to that maxim whereby you can at 
the same time will that it should become a universal law."


 --Immanuel Kant:  (Grounding for the Metaphysics of Morals) (1785)


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Upgrade question..

2003-09-23 Thread Collins Richey
On Tue, 23 Sep 2003 04:16:09 -0700 (PDT)
Joshua Banks <[EMAIL PROTECTED]> wrote:

> I just recently upgraded KDE from 3.1.2 to 3.1.3.  This went smoothly.
> I then upgraded my Kernel from 2.4.20-gentoo-r5 to 2.4.20-gentoo-r7.
> 
> This is how I did the kernel upgrade.  (please let me know if there's a better
> way to do this. As I'm new to compiling the kernel and the upgrade didn't seem
> to load the settings that the other kernel was using)
> 
> As root:
> cd /usr/src
> rm linux
> ln -s linux-2.4.20-gentoo-r7 linux
> cd linux
> mount /boot
> genkernel
> 
> Once "genkernel" completes, I go to /grub/grub.conf and modify this so that
> its pointing to the newer upgraded kernel.
> 
> Then,
> umount /boot
> reboot
> 


> modprobe: Can't locate module agpgart
> [drm] failed to load kernel module "agpgart"
> 
> 
> modprobe: Can't locate module radeon
> [drm] failed to load kernel module "radeon"
> (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
>  kernel last time that it never complained about my radeon card?>
> 

Radeon users please speak up.  I use nvidia, and anytime the kernel changes, I
need to re-emerge the nvidia-... packages.  Probably the same is needed for
radeon.  Not sure whether the same applies to the agpgart error.

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.



--
[EMAIL PROTECTED] mailing list



[gentoo-user] Kernel Upgrade question..

2003-09-23 Thread Joshua Banks
I just recently upgraded KDE from 3.1.2 to 3.1.3.  This went smoothly.
I then upgraded my Kernel from 2.4.20-gentoo-r5 to 2.4.20-gentoo-r7.

This is how I did the kernel upgrade.  (please let me know if there's a better way to 
do this. As
I'm new to compiling the kernel and the upgrade didn't seem to load the settings that 
the other
kernel was using)

As root:
cd /usr/src
rm linux
ln -s linux-2.4.20-gentoo-r7 linux
cd linux
mount /boot
genkernel

Once "genkernel" completes, I go to /grub/grub.conf and modify this so that its 
pointing to the
newer upgraded kernel.

Then,
umount /boot
reboot

Now I must of done something wrong because then all of the sudden my desktop and icons 
are huge
and chageing the resolution doesn't seem to do anything to make the overall desktop 
area smaller.
I can manually adjust icon sizes and tool bar settings but it doesn't seem to allow me 
adjust the
overall resolution. Even know I have it set for 1280x1024 24bit depth, everything is 
still as
though I have the desktop set to 800x600.

So I started digging around to check some logs and this is what I found.

<> = my comments
cat kdm.log 
etc/X11/xdm/Xsetup_0: line 7: /usr/kde/3.1/bin/kdmdesktop: No such file or directory
sessions: SessionTypes=Xsession,kde-3.1.2,kde-3.1.3,
Changing kdmrc in /usr/kde/3.1
Changing kdmrc in /usr


modprobe: Can't locate module agpgart
[drm] failed to load kernel module "agpgart"


modprobe: Can't locate module radeon
[drm] failed to load kernel module "radeon"
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.


Is there  a file still left around like kernel.config with the kernel settings from 
the kernel I
was using before the upgrade.

I'm really confused. Now when I look at the kernel with "genkernel --config" it lists 
my processor
as i386 when I'm using an Intel PIII 666eb coppermine. There's also a ton of stuff 
that I believe
that I could turn off but don't know if its safe or not.  I.E.. bluetooth, ir stuff, 
token ring,
ect.. ect...

I'm using PPP to get out to the internet and I have one nic card for the internal lan. 
I have a HP
Deskjet printer via 25pin parallel cable and a 32MB ATI Radeon vid card.

When I did the intial install everything seemed to go very smoothly. After that I 
emerged KDE
which loaded Xfree as well and then used "XFree86 -configure" to create an XF86Config 
file and am
using KDM as my display manager.

What did I do wrong?

Thanks,
Joshua Banks


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel upgrade

2003-02-27 Thread Troy Dack

Timothy James Friesen said:
> Hello all,
>
> I emerged kernel 2.4.20-rc1 today.  /usr/src/linux still points to my
> 2.4.19-rc10 kernel.  What should I do about this?

The symlink has to be made manually by you.  Some people like to have
multiple kernel trees for testing different things so the ebuilds do not
mess with your symlinks.

You can manually add a couple of commands to /etc/conf.d/local.start to
make the symlink at boot time, uname -r will give you the version of the
running kernel

>  I assume I should
> only  unmerge 2.4.19-rc10 after succesfully compiling 2.4.20-rc1.

Unmerging the kernel will only remove the sources in
/usr/src/linux-2.4.19-rc10 not the actual kernel that you installed into
/boot.  But it is a good idea to keep it around until you get your new
kernel successfully built and booted.

> Also.  Will emerge -u world take me to the altest 1.4-rc3 release once
> all the  mirrors catch up, or will I have to do another emerge command?

See the seperate email that I'm posting here shortly.

-- 
Troy Dack   http://linux.tkdack.com
<[EMAIL PROTECTED]> http://webportage.sf.net

Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D90BE3C
Key fingerprint = 1F3D 6C15 16AA 09D5 0C96  92E5 FD89 16F9 4D90 BE3C



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel upgrade

2003-02-27 Thread Louis C. Candell

You need to remove the old symlink and
create a new sym link towards the new kernel which you
have just downloaded:

cd /usr/src && rm linux && ln -s /usr/src/kernelyouwanttouse linux

if you want to remove the old kernel sources you need to find it in:

/usr/portage/sys-kernel/kernelyouwanttoremove

then you need to:

ebuild kernelyouwantoremove.ebuild unmerge

Hope that helps,

Louis Candell

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Kernel upgrade

2003-02-27 Thread Timothy James Friesen
Hello all,

I emerged kernel 2.4.20-rc1 today.  /usr/src/linux still points to my 
2.4.19-rc10 kernel.  What should I do about this?  I assume I should only 
unmerge 2.4.19-rc10 after succesfully compiling 2.4.20-rc1.

Also.  Will emerge -u world take me to the altest 1.4-rc3 release once all the 
mirrors catch up, or will I have to do another emerge command?

Thanks,

Tim

--
[EMAIL PROTECTED] mailing list