[Debian] Re: What version of debian kernel to use?

Ola Lundqvist ola at opalsys.net
Fri Mar 2 01:20:26 EST 2007


Privet Vasily

I still get a number of errors.

kernel/sched.c: In function '__activate_task':
kernel/sched.c:1565: warning: implicit declaration of function 've_stop_idle'
kernel/sched.c:1565: error: 've' undeclared (first use in this function)
kernel/sched.c:1565: error: (Each undeclared identifier is reported only once
kernel/sched.c:1565: error: for each function it appears in.)
kernel/sched.c: In function 'deactivate_task':
kernel/sched.c:1718: error: 'pcpu' undeclared (first use in this function)
kernel/sched.c:1735: warning: implicit declaration of function 've_strt_idle'
kernel/sched.c:1735: error: 've' undeclared (first use in this function)
kernel/sched.c:1735: error: 'cpu' undeclared (first use in this function)
kernel/sched.c: In function 'pull_task':
kernel/sched.c:3037: error: 've' undeclared (first use in this function)
kernel/sched.c: In function 'vsched_add_vcpu':
kernel/sched.c:8218: warning: implicit declaration of function 'VE_CPU_STATS'
kernel/sched.c:8218: error: 'struct fairsched_node' has no member named 'owner_env'
kernel/sched.c:8219: error: invalid application of 'sizeof' to incomplete type 'struct ve_cpu_stats' 
kernel/sched.c:8219: warning: passing argument 1 of 'memset' makes pointer from integer without a cast
kernel/sched.c:8221: error: 'struct fairsched_node' has no member named 'owner_env'
...
mm/page_alloc.c: In function '__alloc_collect_stats':
mm/page_alloc.c:929: error: 'kstat_glb_lock' undeclared (first use in this function)
mm/page_alloc.c:929: error: (Each undeclared identifier is reported only once
mm/page_alloc.c:929: error: for each function it appears in.)
mm/page_alloc.c:930: warning: implicit declaration of function 'KSTAT_LAT_ADD'
mm/page_alloc.c:930: error: 'kstat_glob' undeclared (first use in this function)make[2]: *** [mm/page_alloc.o] Fel 1
...
fs/dcache.c: In function 'shrink_dcache_memory':
fs/dcache.c:727: warning: implicit declaration of function 'KSTAT_PERF_ENTER'
fs/dcache.c:727: error: 'shrink_dcache' undeclared (first use in this function)
fs/dcache.c:728: error: expected ';' before 'if'
fs/dcache.c:735: warning: implicit declaration of function 'KSTAT_PERF_LEAVE'
fs/dcache.c:736: error: expected ';' before 'return'
fs/dcache.c:734: warning: label 'out' defined but not used
fs/dcache.c:725: warning: unused variable 'res'
fs/dcache.c:737: warning: no return statement in function returning non-void
make[2]: *** [fs/dcache.o] Fel 1
make[2]: *** Inväntar oavslutade jobb...
  CC      arch/sparc64/kernel/prom.o
fs/inode.c: In function 'shrink_icache_memory':
fs/inode.c:530: warning: implicit declaration of function 'KSTAT_PERF_ENTER'
fs/inode.c:530: error: 'shrink_icache' undeclared (first use in this function)
fs/inode.c:530: error: (Each undeclared identifier is reported only once
fs/inode.c:530: error: for each function it appears in.)
fs/inode.c:531: error: expected ';' before 'if'
fs/inode.c:543: warning: no return statement in function returning non-void
make[2]: *** [fs/inode.o] Fel 1

The reason why I got more than the first error is that I run it on deb-build-sparc.openvz.org
which allow me to build several files in parallell.

Please make a testbuild there to see that it works.

You can find the kernel config file in:
/home/ola/build/linux-openvz-2.6/.config on that machine.

Regards,

// Ola

On Thu, Mar 01, 2007 at 07:19:48PM +0300, Vasily Tarasov wrote:
> Hello, Ola,
> 
> This is a fixed patch:
> http://download.openvz.org/~vass/diff-ovz-2.6.18-028test015-deb-2.gz
> 
> Thanks,
> Vasily
> 
> Ola Lundqvist wrote:
> > Privet Vasily (and others)
> >
> > On amd64, 486 and sparc architecture I got this build error:
> >
> > kernel/sched.c: In function '__activate_task':
> > kernel/sched.c:1565: warning: implicit declaration of function 've_stop_idle'
> > kernel/sched.c:1565: error: 've' undeclared (first use in this function)
> > kernel/sched.c:1565: error: (Each undeclared identifier is reported only once
> > kernel/sched.c:1565: error: for each function it appears in.)
> > kernel/sched.c: In function 'deactivate_task':
> > kernel/sched.c:1718: error: 'pcpu' undeclared (first use in this function)
> > kernel/sched.c:1735: warning: implicit declaration of function 've_strt_idle'
> > kernel/sched.c:1735: error: 've' undeclared (first use in this function)
> > kernel/sched.c:1735: error: 'cpu' undeclared (first use in this function)
> > kernel/sched.c: In function 'pull_task':
> > kernel/sched.c:3037: error: 've' undeclared (first use in this function)
> > kernel/sched.c: In function 'vsched_add_vcpu':
> > kernel/sched.c:8218: warning: implicit declaration of function 'VE_CPU_STATS'
> > kernel/sched.c:8218: error: 'struct fairsched_node' has no member named 'owner_env'
> > kernel/sched.c:8219: error: invalid application of 'sizeof' to incomplete type 'struct ve_cpu_stats' 
> > kernel/sched.c:8219: warning: passing argument 1 of 'memset' makes pointer from integer without a cast
> > kernel/sched.c:8221: error: 'struct fairsched_node' has no member named 'owner_env'
> > make[2]: *** [kernel/sched.o] Fel 1
> > make[1]: *** [kernel] Fel 2
> > make[1]: Leaving directory `/home/ola/build/linux-openvz-2.6/linux-source-2.6.18'
> >
> >
> > It would be nice if you could fix that.
> >
> > Regards,
> >
> > // Ola
> >
> >
> > On Tue, Feb 27, 2007 at 03:50:35PM +0300, Vasily Tarasov wrote:
> >   
> >> Hej, Ola,
> >>
> >> this is OpenVZ patch against 2.6.18.dfsg.1-11 Debian kernel:
> >> http://download.openvz.org/~vass/patch-ovz-028.015-2.6.18.dfsg.1-11.gz
> >>
> >> Vasily
> >>
> >> Ola Lundqvist wrote:
> >>     
> >>> Privet Vasily
> >>>
> >>> On Thu, Feb 22, 2007 at 02:28:52PM +0300, Vasily Tarasov wrote:
> >>>   
> >>>       
> >>>> Hello, Ola
> >>>>
> >>>> I want to clarify one thing.
> >>>>
> >>>> linux-source-2.6.18 package is available now in testing and in unstable
> >>>> repositories.
> >>>> Last version in testing repository is 2.6.18-7 and last version in
> >>>> unstable repository is 2.6.18.dfsg.1-11
> >>>>
> >>>> As far as I understand testing repository will be transformed to stable
> >>>> one as soon as Etch will be released. We want to have OpenVZ patch
> >>>> against Etch kernel, thus I should prepare patch against 2.6.18-7
> >>>> version, but not against 2.6.18.dfsg.1-11one. Should I?
> >>>>     
> >>>>         
> >>> There is a special exception for the kernel currently. In general you
> >>> are correct but the case today is actually that the 2.6.18.dfsg.1-11
> >>> will be a part of stable. At least according to the release team.
> >>>
> >>> So make the patch against that version.
> >>>
> >>> Regards,
> >>>
> >>> // Ola
> >>>
> >>>   
> >>>       
> >>>> Thank you,
> >>>> Vasily
> >>>>
> >>>>     
> >>>>         
> 
> 

-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  ola at opalsys.net                   Annebergsslingan 37        \
|  opal at debian.org                   654 65 KARLSTAD            |
|  http://opalsys.net/               Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------


More information about the Debian mailing list