Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm porting drivers for omap3-board to 3.5 kernel. When I start board I see it:

Memory: 256MB = 256MB total
Memory: 253564k/253564k available, 8580k reserved, 3226106074K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xc04a78ea - 0xc0573f24   (   0 kB)
    vmalloc : 0xc0573f24 - 0xc0573f2c   (5276 MB)
    lowmem  : 0xc0573fbc - 0xc0573f30   (-1068285412 MB)
    modules : 0xc03d93e4 - 0xc04a7927   (-65536 MB)
      .text : 0xffff1000 - 0x00000004   (-1048576 kB)
      .init : 0xfffe0000 - 0x00000380   (-796917760 kB)
      .data : 0xff000000 - 0x000002e8   (-1073741824 kB)
       .bss : 0xd0000000 - 0x00000100   (-1090519040 kB)
SLUB: Genslabs=11, HWalign=64, Order=0--1068023944, MinObjects=-1068023968, CPUs=-1071855052, Nodes=-1071855184

Why are values of memories so big and negative? How can I fix it?

share|improve this question

closed as off-topic by psusi, slm, strugee, Zelda, devnull Mar 24 '14 at 6:55

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – psusi, slm, strugee, Zelda, devnull
If this question can be reworded to fit the rules in the help center, please edit the question.

This smells like a kernel bug. It's not just the layout, you apparently also have negative CPUs, and 3tb of ram (highmem). I'd try a different version kernel, even if it's an older version. – Patrick Aug 18 '12 at 5:34
If I invert 0xc0573f30 and 0xc0573fbc the numbers add up. – Braiam Aug 3 '13 at 15:59

Looks like somebody is printing unsigned numbers with %d (signed) format...

share|improve this answer
No, they are actually negative... notice the end is less than the start. That's the problem. – psusi Feb 15 '13 at 3:07
Something very weird going on, such as scribbling over the data shown. In any case, there are positive differences (look at the modules line) that are printed as negative. – vonbrand Feb 15 '13 at 3:16

Not the answer you're looking for? Browse other questions tagged or ask your own question.