Bruce Dubbs wrote:
> pmap: Unknown format in smaps file!
> This indicates a kernel issue to me. Indeed, looking at /proc/1/smaps,
> it looks quite different from /proc/1/maps. The pmap.c code does:
>
> fields = sscanf(mapbuf,...
> if (nfields < 6)
> xerrx(EXIT_FAILURE, _("Unknown format in smaps file!"));
>
> Now that I look at this, the code has not caught up with the kernel.
>
> $ sudo cat /proc/1/smaps
>
> 00400000-00408000 r-xp 00000000 103:00 853659 /sbin/init
> Size: 32 kB
> Rss: 32 kB
>
> I suspect it would work with just changing the above to:
>
> if (nfields < 6) continue;
That's the wrong fix, but I'm going to debug it!
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page