From owner-freebsd-bugs Thu Oct 4 13:40:14 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 D676C37B407 for ; Thu, 4 Oct 2001 13:40:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f94Ke2564840; Thu, 4 Oct 2001 13:40:02 -0700 (PDT) (envelope-from gnats) Received: from mail.disney.com (mail.disney.com [204.128.192.15]) by hub.freebsd.org (Postfix) with ESMTP id BA15937B409 for ; Thu, 4 Oct 2001 13:32:28 -0700 (PDT) Received: from Hermes10.corp.disney.com (hermes10.corp.disney.com [153.7.110.102]) by mail.disney.com (Switch-2.2.0/Switch-2.2.0) with SMTP id f94KVPv16639 for ; Thu, 4 Oct 2001 13:31:26 -0700 (PDT) Received: from [172.30.50.1] by hermes.corp.disney.com with ESMTP for FreeBSD-gnats-submit@freebsd.org; Thu, 4 Oct 2001 13:31:31 -0700 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by pecos.fa.disney.com (8.11.3/8.11.3) with ESMTP id f94KlAs18583 for ; Thu, 4 Oct 2001 13:47:10 -0700 (PDT) Received: from snoopy.fan.fa.disney.com (snoopy.fan.fa.disney.com [153.7.117.170]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id NAA26024 for ; Thu, 4 Oct 2001 13:32:26 -0700 (PDT) (envelope-from Jim.Pirzyk@mailhost) Received: (from Jim.Pirzyk@localhost) by snoopy.fan.fa.disney.com (8.11.6/8.11.6) id f94KWQ845206; Thu, 4 Oct 2001 13:32:26 -0700 (PDT) (envelope-from Jim.Pirzyk) Message-Id: <200110042032.f94KWQ845206@snoopy.fan.fa.disney.com> Date: Thu, 4 Oct 2001 13:32:26 -0700 (PDT) From: Jim Pirzyk Reply-To: Jim Pirzyk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/31048: linprocfs:/proc/meminfo cannot handle multiple swap spaces. 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: 31048 >Category: kern >Synopsis: linprocfs:/proc/meminfo cannot handle multiple swap spaces. >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: Thu Oct 04 13:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Jim Pirzyk >Release: FreeBSD 4.4-RELEASE i386 >Organization: >Environment: System: FreeBSD snoopy 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Fri Sep 21 11:16:23 PDT 2001 root@snoopy:/auto/roy/dist/pub/FreeBSD/4.4-RELEASE/sys/compile/UP_WORKSTATION i386 >Description: Here is the confgured swap space: pstat -sk Device 1K-blocks Used Avail Capacity Type /dev/rad0s1b 2097024 32 2096992 0% Interleaved /dev/rad2s1b 2097024 0 2097024 0% Interleaved Total 4194048 32 4194016 0% But here is what cat /compat/linux/proc/meminfo reports: total: used: free: shared: buffers: cached: Mem: 533966848 83238912 450727936 31825920 0 19726336 Swap: 2147483648 18446744071562362880 4294672384 MemTotal: 521452 kB MemFree: 440164 kB MemShared: 31080 kB Buffers: 0 kB Cached: 19264 kB SwapTotal: 2097152 kB SwapFree: 4194016 kB Notice that SwapFree is more than SwapTotal in both cases. >How-To-Repeat: Have the linprocfs filesystems mounted and two swap spaces. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message