Skip to contentSkip to conversation

Applying patches to xen kernels

DISCUSSION Pasi Kärkkäinen 2 participants 3 messages Mar 14, 2005

lore
Share & tools
lore
#0 lore raw

Hi!

What kind of patches are or should be safe to apply to vanilla kernel tree? I guess driver updates and small security fixes should not be a problem for xen..

1. Extract vanilla kernel (2.6.11)
2. Apply patches (2.6.11.3)
3. Run mkbuildtree

It looks like above steps should be OK. Just asking to be sure :)

Patches which touch arch/ might be a problem ?

Thanks!

-- Pasi Kärkkäinen

                                   ^
                                .     .
                                 Linux
                              /    -    \
                             Choice.of.the
                           .Next.Generation.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click

#1 lore raw
Quoted 7 lines · Pasi Kärkkäinen

1. Extract vanilla kernel (2.6.11)
2. Apply patches (2.6.11.3)
3. Run mkbuildtree

It looks like above steps should be OK. Just asking to be sure :)

Patches which touch arch/ might be a problem ?

A better order, which can also deal with some arch/ patches, is
1. Extract vanilla 2.6.11 kernel
2. Run mkbuildtree
3. Rewrite 2.6.11.3 patch so that arch/i386 hits arch/xen/i386 for any
file that arch/xen overrides
4. Apply modified patch and cross your fingers

-- Keir

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click

#2 lore raw
Quoted 9 lines · Keir Fraser
Quoted 6 lines · Pasi Kärkkäinen

1. Extract vanilla kernel (2.6.11)
2. Apply patches (2.6.11.3)
3. Run mkbuildtree

It looks like above steps should be OK. Just asking to be sure :)

Quoted 9 lines
Quoted 1 line

Patches which touch arch/ might be a problem ?

A better order, which can also deal with some arch/ patches, is
1. Extract vanilla 2.6.11 kernel
2. Run mkbuildtree
3. Rewrite 2.6.11.3 patch so that arch/i386 hits arch/xen/i386 for any
file that arch/xen overrides
4. Apply modified patch and cross your fingers

:)

Thanks!

-- Pasi Kärkkäinen

                                   ^
                                .     .
                                 Linux
                              /    -    \
                             Choice.of.the
                           .Next.Generation.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click