Fedora13 showed 128 TB /proc/kcore on 2GB RAM

Rick Stevens ricks at nerd.com
Mon Jul 12 18:41:02 UTC 2010


On 07/12/2010 11:24 AM, Chen, Helen Y wrote:
> Hi,
>
> I am running Fedora 13 with the 2.6.33.5-112-2.2 kernel, and am trying to make an ISO image of my hard disk for other use.  Unfortunately "mkisofs" failed because /proc/kcore exceeded its 4GB file size limit.  In fact, the size of the kcore on my  system is shown to be 128TB, and the machine itself only contains 2GB of RAM.  Has anyone experienced the same problem?  BTW, the kcore files on my redhat machines reflect the actual RAM size as it should be.   Also, does anyone know why "mkisofs" even tries to copy a virtual file into the ISO image it is creating?

All 64-bit systems show 128TB of kcore, as that's the limit the 64-bit
chipset can handle and kcore is set up to map the maximum memory.

If you're imaging your system for a DVD or whatever, you shouldn't
image any of the virtual filesystems (/proc or /sys) or any hardware
devices (/dev) in the first place.  Use something like:

genisoimage -m "/proc/*" -m "/sys/*" -m "/dev/*" -m core ...

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-                      LOOK OUT!!! BEHIND YOU!!!                     -
----------------------------------------------------------------------


More information about the users mailing list