Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Latest Gentoo Sources - is r3 actually different from r2?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cloney
n00b
n00b


Joined: 10 Oct 2003
Posts: 65

PostPosted: Wed Jan 07, 2004 12:50 pm    Post subject: Latest Gentoo Sources - is r3 actually different from r2? Reply with quote

According to the changelog, there's some bugfixes. However, the ebuild for r3 uses exactly the same files as r2 in the same manner as r2, and the resulting kernel calls itself r2 on bootup.

All modules are installed to 2.4.22-gentoo-r2, etc... what's going on here? Is there a subtle difference I'm failing to see, or has something gone boink?

Cloney
Back to top
View user's profile Send private message
vdboor
Guru
Guru


Joined: 03 Dec 2003
Posts: 592
Location: The Netherlands

PostPosted: Wed Jan 07, 2004 2:35 pm    Post subject: Reply with quote

I'm not a developer, so I can't answer your question fully.

However, the reason for the version number can be explained quite easily: in /usr/src/linux/Makefile you'll see a few version variables. They form the kernel version you see, and the place where "make modules_install" installs the modules. In your case, the EXTRAVERSION has been set to -gentoo-r2 ;)

I'm not not sure whether this is a bug in the ebuild, or you have indeed, -r2.
_________________
The best way to accelerate a windows server is by 9.81M/S²
Linux user #311670 and Yet Another Perl Programmer

[ screenies | Coding on KMess ]
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Wed Jan 07, 2004 4:31 pm    Post subject: Reply with quote

google for rtc vulnerability


Carlo
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
Cloney
n00b
n00b


Joined: 10 Oct 2003
Posts: 65

PostPosted: Wed Jan 07, 2004 5:18 pm    Post subject: Reply with quote

Have done. I've also checked the 2.4.22-r2 ebuild, which also applies the RTC patch, so I don't see the difference.

Code:
root@tron gentoo-sources # diff gentoo-sources-2.4.22-r2.ebuild gentoo-sources-2.4.22-r3.ebuild
3c3
< # $Header: /home/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.22-r2.ebuild,v 1.3 2004/01/06 15:17:52 plasmaroo Exp $
---
> # $Header: /home/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.22-r3.ebuild,v 1.1 2004/01/06 20:55:12 plasmaroo Exp $
22c22
<       http://dev.gentoo.org/~iggy/gentoo-sources-${PVR}.patch.bz2"
---
>       http://dev.gentoo.org/~iggy/gentoo-sources-2.4.22-r2.patch.bz2"
36c36
<       bzcat ${DISTDIR}/gentoo-sources-${PVR}.patch.bz2 | patch -p1 \
---
>       bzcat ${DISTDIR}/gentoo-sources-2.4.22-r2.patch.bz2 | patch -p1 \


It seems that the ebuild for 2.4.22-r3 specifically requests the -r2 stuff instead of using the autodetecty script that r2 used. Hence it's just installing r2 again.

Sorry if I seem like a pain, I just have a strange insistence on understanding what I'm doing.

EDIT: Ah, think I've sussed it - the RTC fix was backported to -r2 as well? Seems odd, given the bump of -r3 into stable. The last sync I did seems to have given me a slightly updated ebuild (v1.2), and the -r3 name problem's fixed. Ta.

Cloney
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Wed Jan 07, 2004 5:56 pm    Post subject: Reply with quote

Cloney wrote:
EDIT: Ah, think I've sussed it - the RTC fix was backported to -r2 as well? Seems odd, given the bump of -r3 into stable.

First they fixed the problem, then they raised the kernel revision and afterwards, when all kernels are patched, we'll see the GLSA. I don't really understand the way, they handle security problems, too.


Carlo
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9625
Location: beyond the rim

PostPosted: Wed Jan 07, 2004 6:25 pm    Post subject: Reply with quote

Both -r2 and -r3 were fixed, the bump was to encourage people to upgrade their kernel. If only -r2 would have been fixed many people wouldn't have noticed it.
Btw, the situation is similar for gentoolkit, the version bumps there are only to encourage people to re-emerge it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum