Date: Wed, 17 Oct 2001 19:38:50 -0700 (PDT) From: Nitin Bahadur <bnitin@cs.wisc.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/31345: savecore does not work for sizes 2GB+ Message-ID: <200110180238.f9I2cod70941@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110180238.f9I2cod70941>