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

Re: [Xen-devel] network_alloc_rx_buffers panic

" This is most likely a get_user or put_user faulting.  Could you
" run gdb on your xen image and then check which function these addresses
" are in:  disas 0xfc52e2a4 will tell you...

$ gdb xen/xen-syms 
(gdb) disas 0xfc52e2a4
Dump of assembler code for function __copy_to_user_ll:
0xfc52e270 <__copy_to_user_ll+0>:       sub    $0x8,%esp
0xfc52e273 <__copy_to_user_ll+3>:       mov    0x14(%esp),%ecx
0xfc52e277 <__copy_to_user_ll+7>:       mov    %esi,(%esp)
0xfc52e27a <__copy_to_user_ll+10>:      mov    0x10(%esp),%esi
0xfc52e27e <__copy_to_user_ll+14>:      mov    %ecx,%edx
0xfc52e280 <__copy_to_user_ll+16>:      mov    %edi,0x4(%esp)
0xfc52e284 <__copy_to_user_ll+20>:      mov    0xc(%esp),%edi
0xfc52e288 <__copy_to_user_ll+24>:      cmp    $0x7,%ecx
0xfc52e28b <__copy_to_user_ll+27>:      jbe    0xfc52e2a4 <__copy_to_user_ll+52>
0xfc52e28d <__copy_to_user_ll+29>:      mov    %edi,%ecx
0xfc52e28f <__copy_to_user_ll+31>:      neg    %ecx
0xfc52e291 <__copy_to_user_ll+33>:      and    $0x7,%ecx
0xfc52e294 <__copy_to_user_ll+36>:      sub    %ecx,%edx
0xfc52e296 <__copy_to_user_ll+38>:      repz movsb %ds:(%esi),%es:(%edi)
0xfc52e298 <__copy_to_user_ll+40>:      mov    %edx,%ecx
0xfc52e29a <__copy_to_user_ll+42>:      shr    $0x2,%ecx
0xfc52e29d <__copy_to_user_ll+45>:      and    $0x3,%edx
0xfc52e2a0 <__copy_to_user_ll+48>:      repz movsl %ds:(%esi),%es:(%edi)
0xfc52e2a2 <__copy_to_user_ll+50>:      mov    %edx,%ecx
0xfc52e2a4 <__copy_to_user_ll+52>:      repz movsb %ds:(%esi),%es:(%edi)
0xfc52e2a6 <__copy_to_user_ll+54>:      mov    (%esp),%esi
0xfc52e2a9 <__copy_to_user_ll+57>:      mov    %ecx,%eax
0xfc52e2ab <__copy_to_user_ll+59>:      mov    0x4(%esp),%edi
0xfc52e2af <__copy_to_user_ll+63>:      add    $0x8,%esp
0xfc52e2b2 <__copy_to_user_ll+66>:      ret    
0xfc52e2b3 <__copy_to_user_ll+67>:      lea    0x0(%esi),%esi
0xfc52e2b9 <__copy_to_user_ll+73>:      lea    0x0(%edi),%edi

This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
Xen-devel mailing list



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