SCIENTIFIC-LINUX-DEVEL Archives

November 2006

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stephan Wiesand <[log in to unmask]>
Reply To:
Stephan Wiesand <[log in to unmask]>
Date:
Fri, 17 Nov 2006 17:31:01 +0100
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (132 lines)
Hi Enrico, Troy, All,

and this spec modification works for both, dom0 and domU? In other words, 
a -xen kernel for SL/TUVEL4 is always smp, even the domU one? Forgive my 
stupid questions, I've only experimented with xen on "SL5" (TUVEL5 beta 1 
with a little lie in /etc/redhat-release) where they have only smp 
kernels (which will turn all lock instructions needed for SMP into noops 
at boot time if the system is actually UP).

As a side remark, I've been working on a 1.4.2 package that will build and
work on SL3/4/5. I was almost sure it's ready, but this xen-related change
for SL4 change should obviously be included once the question above is
answered.

But regarding SL5, there's one design question to be answered:

Should/will SL stay with the "kernel-module" scheme for kernel modules, or 
adopt the "kmod" scheme that's in use in FC6 and EL5beta, and will most 
likely be in EL5 GA? I don't have too strong an opinion on this issue
(both have their pros and cons), but it would be nice to have the giants'
ruling on it...

Hope I haven't started a flame war now,
	Stephan

On Fri, 17 Nov 2006, Enrico M. V. Fasanelli wrote:

> Hi Troy,
> 
> no, I'm sorry. I'm using the RHEL4 ones, built by xensource people.
> 
> You can download the "dom0" stuff from
> http://www.xensource.com/download/dl_303rhel4.html and the "domU" ones from
> http://www.xensource.com/download/dl_303guest_rhel4.html
> 
> They work perfectly on my new SL4.4 box
> 
> Ciao,
> 
>          Enrico
> 
> Troy Dawson wrote:
> > Hello Enrico,
> > You don't happen to have a kernel-xen for Scientific Linux 4.x do you?
> >
> > Troy
> >
> > Enrico M. V. Fasanelli wrote:
> > > Dear all,
> > >
> > > I made two little changes to the openafs-1.4.1-11.SL.spec in order to
> > > build an rpm kernel module for xen kernel.
> > >
> > > Here the diff.
> > >
> > >
> > > [root@main-00 ~]# diff -c /usr/src/redhat/SPECS/openafs-1.4.1-12.SL.spec \
> > > > /usr/src/redhat/SPECS/openafs-1.4.1-11.SL.spec
> > > *** /usr/src/redhat/SPECS/openafs-1.4.1-12.SL.spec      2006-11-17
> > > 13:25:29.000000000 +0100
> > > --- /usr/src/redhat/SPECS/openafs-1.4.1-11.SL.spec      2006-05-19
> > > 09:40:48.000000000 +0200
> > > ***************
> > > *** 1,5 ****
> > > %define afsvers 1.4.1
> > > ! %define pkgrel 0.12.SL
> > >
> > > #release candidates:
> > > #define srcvers %{afsvers}-%(echo %{pkgrel}|sed 's/^0//'|sed 
> > > 's/\\..*//')
> > > --- 1,5 ----
> > > %define afsvers 1.4.1
> > > ! %define pkgrel 0.11.SL
> > >
> > > #release candidates:
> > > #define srcvers %{afsvers}-%(echo %{pkgrel}|sed 's/^0//'|sed 
> > > 's/\\..*//')
> > > ***************
> > > *** 16,22 ****
> > > # (*) Request building of kernel modules
> > > #       --define "build_modules 1"
> > >  %{!?kernel: %define kernel %(uname -r)}
> > > - %define xen %(echo %{kernel} | grep -q xen && echo 1 || echo 0)
> > > %define smp %(echo %{kernel} | grep -q smp && echo 1 || echo 0)
> > > %define hugemem %(echo %{kernel} | grep -q hugemem && echo 1 || echo 0)
> > > %define largesmp %(echo %{kernel} | grep -q largesmp && echo 1 || 
> > > echo 0)
> > > --- 16,21 ----
> > > ***************
> > > *** 819,825 ****
> > >  %if %{build_modules}
> > >
> > > srcdir=${sysname}/dest/root.client/usr/vice/etc/modload
> > > ! %if %smp || %hugemem || %xen
> > >  modname=libafs-%{kernel}.mp.ko
> > >  %else
> > >  modname=libafs-%{kernel}.ko
> > > --- 818,824 ----
> > >  %if %{build_modules}
> > >
> > > srcdir=${sysname}/dest/root.client/usr/vice/etc/modload
> > > ! %if %smp || %hugemem
> > >  modname=libafs-%{kernel}.mp.ko
> > >  %else
> > >  modname=libafs-%{kernel}.ko
> > > ***************
> > > *** 1125,1135 ****
> > > 
> > > ############################################################################### 
> > >
> > >
> > > %changelog
> > > - * Fri Nov 17 2006  Enrico M.V. Fasanelli <[log in to unmask]> 1.4.1-12.SL
> > > - - added check on "xen" in the kernel version substring in order to build
> > > -   the kernel module with correct version number.
> > > - - correct the afsvers value in this changelog
> > > -
> > > * Fri May 19 2006  Stephan Wiesand <[log in to unmask]> 1.4.0-11.SL
> > >  - added openafs-1.4.1-rxkad-ticketsize.patch, see mail to openafs-info
> > >    by H. Reuter 2006-05-17 (and the reply by R. Toebbicke)
> > > --- 1124,1129 ----
> > >
> >
> >
> 

-- 
Stephan Wiesand
  DESY - DV -                     Phone:   +49 33762 7 7370
  Platanenallee 6                 Fax:     +49 33762 7 7216
  15738 Zeuthen, Germany          e-mail:  [log in to unmask]

ATOM RSS1 RSS2