Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  7 Oct 1999 21:21:02 -0700 (PDT)
From:      aron@cs.rice.edu
To:        freebsd-gnats-submit@freebsd.org
Subject:   alpha/14200: kldstat command has formatting problems on 64-bit machines
Message-ID:  <19991008042102.0E6F314BDE@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991008042102.0E6F314BDE>