From owner-freebsd-alpha Thu Oct 7 21:30:27 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9AD0614BDE for ; Thu, 7 Oct 1999 21:30:25 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA97566; Thu, 7 Oct 1999 21:30:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 0E6F314BDE; Thu, 7 Oct 1999 21:21:02 -0700 (PDT) Message-Id: <19991008042102.0E6F314BDE@hub.freebsd.org> Date: Thu, 7 Oct 1999 21:21:02 -0700 (PDT) From: aron@cs.rice.edu To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: alpha/14200: kldstat command has formatting problems on 64-bit machines Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14200 >Category: alpha >Synopsis: kldstat command has formatting problems on 64-bit machines >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-alpha >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 7 21:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Mohit Aron >Release: FreeBSD 4.0-19990809 >Organization: Rice University >Environment: FreeBSD wallis.cs.rice.edu 4.0-19990809-SNAP FreeBSD 4.0-19990809-SNAP #38: Tue Sep 14 19:15:32 CDT 1999 aron@wallis.cs.rice.edu:/usr/home/aron/FreeBSD-src/sys/compile/WALLIS alpha >Description: The kldstat command gives information about the address, size etc of loadable kernel modules. However, on 64-bit machines, the addresses are 64-bits wide. This makes the address value run into the size value in the output of the kldstat command. For example, here's a sample output of kldstat on a 500MHz Alphastation: Id Refs Address Size Name 1 1 0xfffffc0000300000 3eab80 kernel Notice how the address and size fields run into each other due to inadequate space provided for the address on a 64-bit machine. >How-To-Repeat: Simply issue the command 'kldstat' on an alpha. >Fix: Just modify the kldstat program to reserve sufficient space for printing out the address field on 64-bit machines. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message