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

16Mb DRAM and Bad swap file.



Hello,

We have recently upgraded our hardware from 8Mb to 16Mb DRAM.
After recompiling of the kernel with "CONFIG_ETRAX_DRAM_SIZE=16" we flashes
the card with the new software.
Everything seems OK at startup:

	Memory: 15048k/16384k available (705k kernel code, 1336k reserved, 250k
data, 32k init)

And a check at meminfo says:

	cat meminfo
      	  total:    used:    free:  shared: buffers:  cached:
	Mem:  15441920  6152192  9289728        0  1155072  2351104
	Swap:        0        0        0
	MemTotal:        15080 kB
	MemFree:          9072 kB
	MemShared:           0 kB
	Buffers:          1128 kB
	Cached:           2296 kB
	SwapCached:          0 kB
	Active:           1496 kB
	Inactive:         3056 kB
	HighTotal:           0 kB
	HighFree:            0 kB
	LowTotal:        15080 kB
	LowFree:          9072 kB
	SwapTotal:           0 kB
	SwapFree:            0 kB


But when we starts using the system, for example by trying to connect with
two telnet sessions the following appears and the system will hang:

	Jan  1 00:03:34 Devboard login: ROOT LOGIN ON ttyp0 FROM 192.168.1.5
	swap_dup: Bad swap file entry 09082000
	VM: killing process init
	Kernel panic: Attempted to kill init!


Any ideas of what's wrong??
Maybe the new HW is failing...


Best regards /
   Henrik Löfgren
   Transmode Systems AB