bin/112163: bootparamd is not 64-bit clean

Tyler Spivey tspivey at pcdesk.net
Thu Apr 26 17:40:06 UTC 2007


>Number:         112163
>Category:       bin
>Synopsis:       bootparamd is not 64-bit clean
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 26 17:40:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Tyler Spivey
>Release:        FreeBSD 6.2-RELEASE sparc64
>Organization:
N/A
>Environment:
System: FreeBSD fajrero 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 23:30:59 UTC 2007 root at s-dallas.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64


	
>Description:
Bootparamd is not 64-bit clean, and not in an obvious way. It
will just misteriously fail.
>How-To-Repeat:
Run bootparamd, and send a request to it,
e.g. with a Solaris jumpstart client.
>Fix:

Here is a small patch. The changes will print as they change.
save this to a file, and run (from
the top-level bootparamd directory): ed <file

patch:
e bootparamd/bootparamd.c
31s/unsigned long/uint32_t
51s/long/uint32_t
84s/4)/sizeof(uint32_t))
w
e bootparamd/main.c
35s/unsigned long/uint32_t
w
e callbootd/callbootd.c
82s/long/uint32_t
w


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list