[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

QNAP TS-421 Kernel and Memory Size



It looks like there is a bug in kernel 3.2.0-4-kirkwood
WRT how it handles the memory on QNAP TS-421. The stock
kernel shows the full 1GB of RAM, the Debian kernel
shows 880488KB.

Also in dmesg:

Truncating RAM at 20000000-3fffffff to -367fffff (vmalloc region overlap).
...
Memory: 872MB = 872MB total
Memory: 871128k/871128k available, 21800k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xf7000000 - 0xfe800000   ( 120 MB)
    lowmem  : 0xc0000000 - 0xf6800000   ( 872 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc03e757c   (3966 kB)
      .init : 0xc03e8000 - 0xc040c000   ( 144 kB)
      .data : 0xc040c000 - 0xc0446820   ( 235 kB)
       .bss : 0xc0446844 - 0xc04a9ed8   ( 398 kB)

Is there a better kernel to use?

I suppose I could use the stock kernel with a custom initrd,
and hope qcontrol still works.

Gordan


Reply to: