[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v11]xen: sched: convert RTDS from time to event driven model

Hi Tianyang,

Great job! However, we still have 1 mile in the 100-mile journey. :-D

I applied the patch on staging and tried some test cases. One of them
is as follows:

I tried to create a cpupool and then migrate a VM to the new cpupool;
However, the system triggers the bug as below. I guess this is some
kind of bug that are known to us,  and Dario had some uncommitted
patch to fix it, IIRC?

I'm thinking maybe we should mark this issue as known issue so that we
won't be surprised to see it.
However, this issue should not stay in the code forever, for sure. :-)

The test scenario is:
Pool-0 has rtds scheduler,
then I create  cpupools with credit, credit2, rtds scheduler; The bug
occurs when I run the scripts. However, my machine just got stuck and
never goes up.. :-(
What's worse, the remote power switch I have cannot be connected as
well, so I cannot power off/on the machine to reboot tonight. I will
do it tomorrow when I get to school.

Below is the error message.

(XEN) Xen call trace:

(XEN)    [<ffff82d0801293ed>] sched_rt.c#rt_free_pdata+0x48/0x93

(XEN)    [<ffff82d08012e182>] schedule_cpu_switch+0x250/0x28a

(XEN)    [<ffff82d080101b49>] cpupool.c#cpupool_assign_cpu_locked+0x31/0x11f

(XEN)    [<ffff82d080102385>] cpupool_do_sysctl+0x1eb/0x68d

(XEN)    [<ffff82d080130785>] do_sysctl+0x615/0x102c

(XEN)    [<ffff82d0802449c2>] lstar_enter+0xe2/0x13c



(XEN) ****************************************

(XEN) Panic on CPU 5:

(XEN) Assertion 'sd->schedule_lock == &prv->lock' failed at sched_rt.c:690



Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.