On Tuesday 29 August 2006 21:38, Jon Escombe wrote:
> Rafael J. Wysocki wrote:
>
> >>>> http://www.dresco.co.uk/debug/suspend_e820_patch.jpg
> >>> This one is really strange, like a miscompilation or something.
> >>>
> >>> Could you identify which line of code corresponds to count_data_pages+0x38
> >>> (using gdb)?
> >> Would be happy to, may need a pointer in the right direction though?
> >
> > If you have compiled the kernel with debug info (CONFIG_DEBUG_INFO=y), go to
> > the directory where your kernel sources are and run
> >
> > $ gdb vmlinux
> >
> > and then
> >
> > (gdb) l *count_data_pages+0x38
> >
> > [If your kernel is not compiled with debug info, you'll need to recompile it
> > and retest to verify if the address where it crashes is still the same.]
>
> (gdb) l *count_data_pages+0x38
> 0xc013fbfc is in count_data_pages (kernel/power/snapshot.c:205).
> 200
> 201 for_each_zone (zone) {
> 202 if (is_highmem(zone))
> 203 continue;
> 204 mark_free_pages(zone);
> 205 for (zone_pfn = 0; zone_pfn <
> zone->spanned_pages; ++zone_pfn)
> 206 n += saveable(zone, &zone_pfn);
> 207 }
> 208 return n;
> 209 }
> (gdb)
Thanks. Unfortunately now it looks even more stranger. I've no idea of
what's wrong, sorry.
Greetings,
Rafael
--
You never change things by fighting the existing reality.
R. Buckminster Fuller
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/suspend-devel