Package: watchdog
Version: 5.2-0.2
Severity: normal

After upgrading to 2 GB RAM and a HIGHMEM-enabled kernel watchdog keeps
rebooting my machine because it thinks there is no memory left:
 Apr  6 15:08:59 affi-huw watchdog[273]: memory 2249164 kB is less than 1 pages

I found the problem in this line of src/memory.c:
   if (free * 1024 < minpages * EXEC_PAGESIZE) {

So 2249164 * 1024 is -1991823360 which of course is less than 1 page.  :-)

This is bad because after an upgrade the machine is caught in a reboot loop.
 Andy.


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux orange.akte.de 2.4.29-pentium4 #1 Mit Jan 26 21:03:41 CET 2005 
i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages watchdog depends on:
ii  libc6                         2.2.5-11.8 GNU C Library: Shared libraries an
ii  makedev                       2.3.1-58   Creates device files in /dev.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to