FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 12-22-2007, 06:28 PM
Matthew Saltzman
 
Default Vanilla kernel RPM?

Some time back, there was a discussion on fedora-list about vanilla
kernels. IIRC, Rahul offered to create an RPM for the vanilla
kernel.org kernels with no Fedora patches or only security patches for
those of us that wanted to test with vanilla kernels. I am wondering
whatever happened to that proposal.

I have a Thinkpad T61 with nVidia graphics. In F8, the machine refueses
to suspend--it goes into suspend mode and then spontaneously comes out.
This happens with the nVidia driver and the VESA driver (the nv driver
still doesn't work 8^(...). In RHEL5, an identical machine running the
VESA driver works perfectly.

I'd like to try to help troubleshoot this
(https://bugzilla.redhat.com/show_bug.cgi?id=254214), and I think having
a vanilla kernel might be useful.

--
Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 12-22-2007, 06:33 PM
Josh Boyer
 
Default Vanilla kernel RPM?

On Sat, 22 Dec 2007 19:28:21 +0000
Matthew Saltzman <mjs@CLEMSON.EDU> wrote:

> Some time back, there was a discussion on fedora-list about vanilla
> kernels. IIRC, Rahul offered to create an RPM for the vanilla
> kernel.org kernels with no Fedora patches or only security patches for
> those of us that wanted to test with vanilla kernels. I am wondering
> whatever happened to that proposal.
>
> I have a Thinkpad T61 with nVidia graphics. In F8, the machine refueses
> to suspend--it goes into suspend mode and then spontaneously comes out.
> This happens with the nVidia driver and the VESA driver (the nv driver
> still doesn't work 8^(...). In RHEL5, an identical machine running the
> VESA driver works perfectly.
>
> I'd like to try to help troubleshoot this
> (https://bugzilla.redhat.com/show_bug.cgi?id=254214), and I think having
> a vanilla kernel might be useful.
>

The specfile in rawhide has a vanilla option. All you have to do is
run:

make vanilla-$TARGET

And it will build a vanilla kernel (with only patches for the config
mechanisms IIRC).

josh

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 12-22-2007, 06:39 PM
Nicolas Mailhot
 
Default Vanilla kernel RPM?

Le samedi 22 décembre 2007 à 13:33 -0600, Josh Boyer a écrit :
> On Sat, 22 Dec 2007 19:28:21 +0000
> Matthew Saltzman <mjs@CLEMSON.EDU> wrote:

> The specfile in rawhide has a vanilla option. All you have to do is
> run:
>
> make vanilla-$TARGET
>
> And it will build a vanilla kernel (with only patches for the config
> mechanisms IIRC).

Does it really work? I know I had to move the oldconfig patch when I
adapted the specfile to mm kernels (patch already posted, can rebase and
re-post if someone wants to add mm build capabilities to fedora spec)

--
Nicolas Mailhot
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 12-22-2007, 07:10 PM
Josh Boyer
 
Default Vanilla kernel RPM?

On Sat, 22 Dec 2007 20:39:52 +0100
Nicolas Mailhot <nicolas.mailhot@laposte.net> wrote:

>
> Le samedi 22 décembre 2007 à 13:33 -0600, Josh Boyer a écrit :
> > On Sat, 22 Dec 2007 19:28:21 +0000
> > Matthew Saltzman <mjs@CLEMSON.EDU> wrote:
>
> > The specfile in rawhide has a vanilla option. All you have to do is
> > run:
> >
> > make vanilla-$TARGET
> >
> > And it will build a vanilla kernel (with only patches for the config
> > mechanisms IIRC).
>
> Does it really work? I know I had to move the oldconfig patch when I
> adapted the specfile to mm kernels (patch already posted, can rebase and
> re-post if someone wants to add mm build capabilities to fedora spec)

It worked for me a while ago. Though I wasn't adding patches. I was
just building what was in CVS without the extra patches.

josh


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 12-22-2007, 07:43 PM
Nicolas Mailhot
 
Default Vanilla kernel RPM?

Le samedi 22 décembre 2007 à 14:10 -0600, Josh Boyer a écrit :
> On Sat, 22 Dec 2007 20:39:52 +0100
> Nicolas Mailhot <nicolas.mailhot@laposte.net> wrote:
>
> >
> > Le samedi 22 décembre 2007 à 13:33 -0600, Josh Boyer a écrit :
> > > On Sat, 22 Dec 2007 19:28:21 +0000
> > > Matthew Saltzman <mjs@CLEMSON.EDU> wrote:
> >
> > > The specfile in rawhide has a vanilla option. All you have to do is
> > > run:
> > >
> > > make vanilla-$TARGET
> > >
> > > And it will build a vanilla kernel (with only patches for the config
> > > mechanisms IIRC).
> >
> > Does it really work? I know I had to move the oldconfig patch when I
> > adapted the specfile to mm kernels (patch already posted, can rebase and
> > re-post if someone wants to add mm build capabilities to fedora spec)
>
> It worked for me a while ago. Though I wasn't adding patches. I was
> just building what was in CVS without the extra patches.

IIRC the spec logic relies on a special make oldconfig target which is
only available if the non-interactive oldconfig patch is applied on the
kernel. Which means this particular patch can not be skipped even in the
vanilla case.

At least when I build mm kernels I need to kill every fedora patch
except this one for things to work

--
Nicolas Mailhot
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-02-2008, 10:51 PM
Chuck Ebbert
 
Default Vanilla kernel RPM?

On 12/22/2007 03:43 PM, Nicolas Mailhot wrote:
> Le samedi 22 décembre 2007 à 14:10 -0600, Josh Boyer a écrit :
>> On Sat, 22 Dec 2007 20:39:52 +0100
>> Nicolas Mailhot <nicolas.mailhot@laposte.net> wrote:
>>
>>> Le samedi 22 décembre 2007 à 13:33 -0600, Josh Boyer a écrit :
>>>> On Sat, 22 Dec 2007 19:28:21 +0000
>>>> Matthew Saltzman <mjs@CLEMSON.EDU> wrote:
>>>> The specfile in rawhide has a vanilla option. All you have to do is
>>>> run:
>>>>
>>>> make vanilla-$TARGET
>>>>
>>>> And it will build a vanilla kernel (with only patches for the config
>>>> mechanisms IIRC).
>>> Does it really work? I know I had to move the oldconfig patch when I
>>> adapted the specfile to mm kernels (patch already posted, can rebase and
>>> re-post if someone wants to add mm build capabilities to fedora spec)
>> It worked for me a while ago. Though I wasn't adding patches. I was
>> just building what was in CVS without the extra patches.
>
> IIRC the spec logic relies on a special make oldconfig target which is
> only available if the non-interactive oldconfig patch is applied on the
> kernel. Which means this particular patch can not be skipped even in the
> vanilla case.
>

That is what is does when you build a vanilla kernel from the fedora
spec file -- it only applies the oldconfig patch and any needed
official kernel updates. (-rcX and -gitY for rawhide, stable updates
for release kernels.)

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-03-2008, 09:17 AM
Nicolas Mailhot
 
Default Vanilla kernel RPM?

Le mercredi 02 janvier 2008 à 18:51 -0500, Chuck Ebbert a écrit :
> On 12/22/2007 03:43 PM, Nicolas Mailhot wrote:

> > IIRC the spec logic relies on a special make oldconfig target which is
> > only available if the non-interactive oldconfig patch is applied on the
> > kernel. Which means this particular patch can not be skipped even in the
> > vanilla case.
> >
>
> That is what is does when you build a vanilla kernel from the fedora
> spec file

Nope. That's what it does if you rebuild from a non-vanilla srpm. Since
this patch is in the %if !%{nopatches} like the others, it won't be
included in a vanilla srpm and won't build in mock (at least it was when
I posted the original message but I see someone just fixed it in cvs
without tracing the change in the log)

Anyway for people interested a can-build-mm patch for the latest cvs
spec is attached. Probably works for everything but the few mm kernels
released for a vanilla .0 version

--
Nicolas Mailhot
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 08:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org