From owner-freebsd-bugs Wed Oct 17 19:40: 6 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6052137B407 for ; Wed, 17 Oct 2001 19:40:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9I2e1m71130; Wed, 17 Oct 2001 19:40:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AEE4937B401 for ; Wed, 17 Oct 2001 19:38:50 -0700 (PDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9I2cod70941; Wed, 17 Oct 2001 19:38:50 -0700 (PDT) (envelope-from nobody) Message-Id: <200110180238.f9I2cod70941@freefall.freebsd.org> Date: Wed, 17 Oct 2001 19:38:50 -0700 (PDT) From: Nitin Bahadur To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/31345: savecore does not work for sizes 2GB+ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31345 >Category: bin >Synopsis: savecore does not work for sizes 2GB+ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 17 19:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Nitin Bahadur >Release: 4.4-RELEASE >Organization: >Environment: FreeBSD 4.4-RELEASE FreeBSD 4.4-RELEASE #0 Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 >Description: savecore calculates the dumpsize incorrectly for memory size 2GB+ Basically it is a type conversion problem >How-To-Repeat: panic a machine with 2GB+ memory >Fix: savecore.c : line 589 original: dumpsize = kdumpsize * getpagesize(); fix : dumpsize = (off_t)kdumpsize * (off_t)getpagesize(); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message