OpenVZ Forum


Home » General » Support » *SOLVED* latest patch fails on kernel 2.6.16
*SOLVED* latest patch fails on kernel 2.6.16 [message #3591] Tue, 06 June 2006 14:02 Go to previous message
chubby is currently offline  chubby
Messages: 5
Registered: March 2006
Junior Member
Hi,


tried to compile the latest patch (patch-026test012-combined) on a kernel 2.6.16 on Debian sarge.
Patching goes ok but the build produces errors:

The errors seem to come from the scheduling.
At first i tried to allow fair scheduling & VCPU scheduler support
[*] Fair CPU scheduler (EXPERIMENTAL)
[*] VCPU scheduler support

This error occured
CC kernel/fairsched.o
kernel/fairsched.c: In function `fairsched_do_dump':
kernel/fairsched.c:886: error: `PAGE_KERNEL' undeclared (first use in this function)
kernel/fairsched.c:886: error: (Each undeclared identifier is reported only once
kernel/fairsched.c:886: error: for each function it appears in.)
make[2]: *** [kernel/fairsched.o] Fout 1
make[1]: *** [kernel] Fout 2
make[1]: Leaving directory `/usr/src/linux-2.6.16'
make: *** [stamp-build] Fout 2

Next i tried to disable the fair scheduling:
[] Fair CPU scheduler (EXPERIMENTAL)
[] VCPU scheduler support
...
kernel/sched.c:3955: error: structure has no member named `start_time'
kernel/sched.c:3955: error: `vcpu_timeslice' undeclared (first use in this function)
kernel/sched.c: In function `init_boot_vcpus':
kernel/sched.c:5366: let op: implicit declaration of function `__add_vcpu'
kernel/sched.c:5366: error: `idle_vsched' undeclared (first use in this function)
kernel/sched.c:5370: error: `default_vsched' undeclared (first use in this function)
kernel/sched.c: In function `init_idle':
kernel/sched.c:5394: error: `idle_vsched' undeclared (first use in this function)
kernel/sched.c: In function `__migrate_task':
kernel/sched.c:5531: let op: implicit declaration of function `double_rq_lock'
kernel/sched.c:5558: let op: implicit declaration of function `double_rq_unlock'
kernel/sched.c: In function `migration_thread':
kernel/sched.c:5577: error: `migration_req_t' undeclared (first use in this function)
kernel/sched.c:5577: error: `req' undeclared (first use in this function)
kernel/sched.c:5603: error: syntax error before ')' token
kernel/sched.c:5603: let op: type defaults to `int' in declaration of `__mptr'
kernel/sched.c:5603: let op: initialisatie van incompatibel pointertype
kernel/sched.c:5603: error: syntax error before ')' token
kernel/sched.c:5603: error: syntax error before ')' token
kernel/sched.c: In function `move_task_off_dead_cpu':
kernel/sched.c:5630: let op: unused variable `vsched'
kernel/sched.c:5631: let op: unused variable `mask'
kernel/sched.c: In function `vmigration_call':
kernel/sched.c:5895: error: `migration_req_t' undeclared (first use in this function)
kernel/sched.c:5895: error: `req' undeclared (first use in this function)
kernel/sched.c:5896: error: syntax error before ')' token
kernel/sched.c:5896: let op: type defaults to `int' in declaration of `__mptr'
kernel/sched.c:5896: let op: initialisatie van incompatibel pointertype
kernel/sched.c:5896: error: syntax error before ')' token
kernel/sched.c:5896: error: syntax error before ')' token
kernel/sched.c: In function `init_boot_vcpu':
kernel/sched.c:7512: let op: implicit declaration of function `init_vcpu'
kernel/sched.c:7512: error: `boot_idle_vcpu' undeclared (first use in this function)
kernel/sched.c:7514: let op: implicit declaration of function `install_vcpu'
kernel/sched.c:7514: error: `idle_vsched' undeclared (first use in this function)
kernel/sched.c:7518: error: `boot_vcpu' undeclared (first use in this function)
kernel/sched.c:7520: error: `default_vsched' undeclared (first use in this function)
kernel/sched.c: At top level:
kernel/sched.c:7176: let op: `init_rq' defined but not used
kernel/sched.c:7504: let op: `init_boot_vcpu' defined but not used
make[2]: *** [kernel/sched.o] Fout 1
make[1]: *** [kernel] Fout 2
make[1]: Leaving directory `/usr/src/linux-2.6.16'
make: *** [stamp-build] Fout 2
...

Any ideas?

[Updated on: Thu, 08 June 2006 07:47] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using ISDN-Card in VPS possible?
Next Topic: *SOLVED* locales
Goto Forum:
  


Current Time: Sun Nov 17 21:38:15 GMT 2024

Total time taken to generate the page: 0.04326 seconds