Re: [TuxOnIce-devel] 2.6.26rc8(toi3.0-rc7) panics after "Sus…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: TAKADA Yoshihito
Date:  
To: tuxonice-devel
Subject: Re: [TuxOnIce-devel] 2.6.26rc8(toi3.0-rc7) panics after "Suspending console(s)"
Hi.
I invested the back trace with disassemble.

Panic-ed here:
> EIP is at swsusp_arch_resume+0xcb/0x114


objdump show address of swsusp_arch_resume:
0000002c <swsusp_arch_resume>:

0000002c + 0xcb is 0x000000F7. it points the inline function,
resume_physical_mapping_init().
I guess it points set_pte().

static int resume_physical_mapping_init(pgd_t *pgd_base)
:
:
                max_pte = pte + PTRS_PER_PTE;
                for (; pte < max_pte; pte++, pfn++) {
                    if (pfn >= max_low_pfn)
                        break;

cb:    89 c2     mov %eax,%edx
cd:    89 f1     mov %esi,%ecx
cf:    8d aa 00 10 00 00     lea 0x1000(%edx),%ebp
d5:    c1 e1 0c     shl $0xc,%ecx
d8:    eb 22     jmp fc <swsusp_arch_resume+0xd0>
da:    3b 35 00 00 00 00     cmp 0x0,%esi
e0:    73 32     jae 114 <swsusp_arch_resume+0xe8>

                    set_pte(pte, pfn_pte(pfn, PAGE_KERNEL_EXEC));
                }

e2:    89 c8     mov %ecx,%eax
e4:    46     inc %esi
e5:    0b 05 00 00 00 00     or 0x0,%eax
eb:    81 c1 00 10 00 00     add $0x1000,%ecx
f1:    23 05 00 00 00 00     and 0x0,%eax
*f7:    89 02     mov %eax,(%edx)
f9:    83 c2 04     add $0x4,%edx
fc:    39 ea     cmp %ebp,%edx
fe:    72 da     jb da <swsusp_arch_resume+0xae>

            }


>