From: "Hardeep Singh" Subject: Re: [Xen-users] Credit Scheduler! Date: Fri, 30 Jun 2006 11:21:33 -0500 Message-ID: <77d78aa70606300921l3026e3cdmb95f1574f5d395dc@mail.gmail.com> References: <77d78aa70606300749t4c3b32del9f4e5433be31db3e@mail.gmail.com> <20060630151252.GA23455@cockermouth.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1051789369==" Return-path: In-Reply-To: <20060630151252.GA23455@cockermouth.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1051789369== Content-Type: multipart/alternative; boundary="----=_Part_10046_1760782.1151684493107" ------=_Part_10046_1760782.1151684493107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes, I have tried running that command 3 times and it has cropped up everytime! And I have no idea what changesets are. I am pretty much a newbie to xen and after a long struggle did I manage to get xen-unstable working. I needed the credit scheduler for a part of my project. I had downloaded the tarball of xen-unstable yesterday and compiled it and on running the 'xm sched-credit -d vm1 -w 10' I got the error! As for the sequence of commands. - On one instance I ran 'xm sched-credit -d vm1' and that worked fine. It showed me the cap and weight of that domain. After that ''xm sched-credit -d vm1 -w 10' gave an error. - On another instance I directly ran 'xm sched-credit -d vm1 -w 10' and got the same error Please lemme kno if I need to update my unstable version and how to do it. Regards, Hardeep Singh On 6/30/06, Emmanuel Ackaouy wrote: > > That's not a known issue. I'll take a look. > > Is this easily reproduceable? > What changeset are you building? > What exact sequence of "xm sched-credit" commands are you > running to reproduce this? > > On Fri, Jun 30, 2006 at 09:49:57AM -0500, Hardeep Singh wrote: > > Hi, > > > > Thanks a lot with regards to my previous postings. I did a line to > line > > comparison of the .config of the xen3.0 and xen-unstable and found > the > > appropriate disk driver required and managed to boot xen-unstable! > > > > However, I need to run the credit scheduler. I am running > xen-unstable on > > ubuntu distribution on a 64bit architecture. Now when I issue xen the > > following command I get an error as shown below. Can anyone provide > any > > pointers on how to fix this or whether there are any patches. > > > > root@pippin:/home/hardeep# xm sched-credit -d vm1 -w 10 > > > > (XEN) BUG at sched_credit.c:757 > > (XEN) ----[ Xen-3.0-unstable Not tainted ]---- > > (XEN) CPU: 0 > > (XEN) EIP: e008:[] csched_tick+0x420/0x5a0 > > (XEN) EFLAGS: 00010096 CONTEXT: hypervisor > > (XEN) eax: 00000000 ebx: 00000000 ecx: 0000000a edx: 00000000 > > (XEN) esi: ff192080 edi: ff192e08 ebp: ff1646e1 esp: ff19df04 > > (XEN) cr0: 8005003b cr3: 3e919000 > > (XEN) ds: e010 es: e010 fs: 0000 gs: 0000 ss: e010 cs: e008 > > (XEN) Xen stack trace from esp=ff19df04: > > (XEN) ff16419f ff1646e1 000002f5 ff12517b 00000000 ffffffff > 00000246 > > ff192e00 > > (XEN) 0000001e 0000000a 00000000 00000000 00000000 ff1a5144 > 0000000a > > 00000000 > > (XEN) ff192080 ff19dfb4 00000075 ff111ef2 00000000 00000005 > 00000002 > > ff1a6200 > > (XEN) ff1a6200 ffbfed80 41438ac2 ff1140f6 00000000 cd123ee8 > 00000001 > > ff125317 > > (XEN) ff17e080 00000000 ff1a7780 00000000 00007ff0 cee6f200 > c058b030 > > ff112f12 > > (XEN) 00007ff0 cee6f200 ff192080 ff1535d6 cd123edc 00000001 > 00000000 > > 00007ff0 > > (XEN) cee6f200 c058b030 00000000 000e0004 c0101347 00000061 > 00000246 > > cd123ed8 > > (XEN) 00000069 0000007b 0000007b 00000000 00000000 00000000 > ff192080 > > (XEN) Xen call trace: > > (XEN) [] csched_tick+0x420/0x5a0 > > (XEN) [] process_deferred_ops+0x9b/0x160 > > (XEN) [] t_timer_fn+0x72/0xc0 > > (XEN) [] timer_softirq_action+0xc6/0x120 > > (XEN) [] do_update_va_mapping+0xd7/0x390 > > (XEN) [] do_softirq+0x32/0x50 > > (XEN) [] process_softirqs+0x6/0x10 > > (XEN) > > (XEN) ************************************ > > (XEN) CPU0 FATAL TRAP 6 (invalid opcode), ERROR_CODE 0000, IN > INTERRUPT > > CONTEXT. > > (XEN) System shutting down -- need manual reset. > > (XEN) ************************************ > > > > Regards, > > Hardeep Singh > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > -- hardeep ------=_Part_10046_1760782.1151684493107 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes, I have tried running that command 3 times and it has cropped up everytime!

And I have no idea what changesets are. I am pretty much a newbie to xen and after a long struggle did I manage to get xen-unstable working. I needed the credit scheduler for a part of my project. I had downloaded the tarball of xen-unstable yesterday and compiled it and on running the 'xm sched-credit -d vm1 -w 10' I got the error!

As for the sequence of commands.

- On one instance I ran 'xm sched-credit -d vm1' and that worked fine. It showed me the cap and weight of that domain. After that ''xm sched-credit -d vm1 -w 10'  gave an error.
- On another instance I directly ran 'xm sched-credit -d vm1 -w 10'  and got the same error

Please lemme kno if I need to update my unstable version and how to do it.

Regards,
Hardeep Singh


On 6/30/06, Emmanuel Ackaouy <ack@xensource.com> wrote:
That's not a known issue. I'll take a look.

Is this easily reproduceable?
What changeset are you building?
What exact sequence of "xm sched-credit" commands are you
running to reproduce this?

On Fri, Jun 30, 2006 at 09:49:57AM -0500, Hardeep Singh wrote:
>    Hi,
>
>    Thanks a lot with regards to my previous postings. I did a line to line
>    comparison of the .config of the xen3.0 and xen-unstable and found the
>    appropriate disk driver required and managed to boot xen-unstable!
>
>    However, I need to run the credit scheduler. I am running xen-unstable on
>    ubuntu distribution on a 64bit architecture. Now when I issue xen the
>    following command I get an error as shown below. Can anyone provide any
>    pointers on how to fix this or whether there are any patches.
>
>    root@pippin:/home/hardeep# xm sched-credit -d vm1 -w 10
>
>    (XEN) BUG at sched_credit.c:757
>    (XEN) ----[ Xen-3.0-unstable    Not tainted ]----
>    (XEN) CPU:    0
>    (XEN) EIP:    e008:[<ff10fc00>] csched_tick+0x420/0x5a0
>    (XEN) EFLAGS: 00010096   CONTEXT: hypervisor
>    (XEN) eax: 00000000   ebx: 00000000   ecx: 0000000a   edx: 00000000
>    (XEN) esi: ff192080   edi: ff192e08   ebp: ff1646e1   esp: ff19df04
>    (XEN) cr0: 8005003b   cr3: 3e919000
>    (XEN) ds: e010   es: e010   fs: 0000   gs: 0000   ss: e010   cs: e008
>    (XEN) Xen stack trace from esp=ff19df04:
>    (XEN)    ff16419f ff1646e1 000002f5 ff12517b 00000000 ffffffff 00000246
>    ff192e00
>    (XEN)    0000001e 0000000a 00000000 00000000 00000000 ff1a5144 0000000a
>    00000000
>    (XEN)    ff192080 ff19dfb4 00000075 ff111ef2 00000000 00000005 00000002
>    ff1a6200
>    (XEN)    ff1a6200 ffbfed80 41438ac2 ff1140f6 00000000 cd123ee8 00000001
>    ff125317
>    (XEN)    ff17e080 00000000 ff1a7780 00000000 00007ff0 cee6f200 c058b030
>    ff112f12
>    (XEN)    00007ff0 cee6f200 ff192080 ff1535d6 cd123edc 00000001 00000000
>    00007ff0
>    (XEN)    cee6f200 c058b030 00000000 000e0004 c0101347 00000061 00000246
>    cd123ed8
>    (XEN)    00000069 0000007b 0000007b 00000000 00000000 00000000 ff192080
>    (XEN) Xen call trace:
>    (XEN)    [<ff10fc00>] csched_tick+0x420/0x5a0
>    (XEN)    [<ff12517b>] process_deferred_ops+0x9b/0x160
>    (XEN)    [<ff111ef2>] t_timer_fn+0x72/0xc0
>    (XEN)    [<ff1140f6>] timer_softirq_action+0xc6/0x120
>    (XEN)    [<ff125317>] do_update_va_mapping+0xd7/0x390
>    (XEN)    [<ff112f12>] do_softirq+0x32/0x50
>    (XEN)    [<ff1535d6>] process_softirqs+0x6/0x10
>    (XEN)
>    (XEN) ************************************
>    (XEN) CPU0 FATAL TRAP 6 (invalid opcode), ERROR_CODE 0000, IN INTERRUPT
>    CONTEXT.
>    (XEN) System shutting down -- need manual reset.
>    (XEN) ************************************
>
>    Regards,
>    Hardeep Singh

> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users



--
hardeep ------=_Part_10046_1760782.1151684493107-- --===============1051789369== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1051789369==--