From nobody@FreeBSD.ORG  Fri Sep 29 15:00:05 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 8BEB837B66C; Fri, 29 Sep 2000 15:00:05 -0700 (PDT)
Message-Id: <20000929220005.8BEB837B66C@hub.freebsd.org>
Date: Fri, 29 Sep 2000 15:00:05 -0700 (PDT)
From: efutch@nyct.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: [Patch] rc.conf knob for unaligned access warnings on Alpa
X-Send-Pr-Version: www-1.0

>Number:         21649
>Category:       conf
>Synopsis:       [Patch] rc.conf knob for unaligned access warnings on Alpa
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 29 15:10:01 PDT 2000
>Closed-Date:    Mon Mar 12 17:12:38 PST 2001
>Last-Modified:  Mon Mar 12 18:20:54 PST 2001
>Originator:     Eric Futch
>Release:        4.1-STABLE
>Organization:
New York Connect
>Environment:
FreeBSD alpha.nyct.net 4.1-STABLE FreeBSD 4.1-STABLE #0: Thu Sep  7 09:46:39 EDT 2000     efutch@alpha.nyct.net:/usr/src/sys/compile/ALPHA  alpha
>Description:
Here is a patch to provide users with a rc.conf knob to easily turn on/off the unaligned access warnings.  These can be kind of annoying at times.  Comments, questions, suggestions welcome.
>How-To-Repeat:
Many 3rd party programs that run on the Alpha will cause unaligned access warnings.
>Fix:
Try the patch set found at:

http://quake.nyct.net/~efutch/FreeBSD/patches/conf/unaligned.patch

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: brian 
State-Changed-When: Mon Oct 2 14:58:07 PDT 2000 
State-Changed-Why:  
The patch lacks an addition to rc.conf.5 - any chance of an update ? 


Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Mon Oct 2 14:58:07 PDT 2000 
Responsible-Changed-Why:  
I'll do this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21649 

From: "Eric D. Futch" <efutch@nyct.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: conf/21649: [Patch] rc.conf knob for unaligned access warnings
 on Alpa
Date: Wed, 4 Oct 2000 10:43:46 -0400 (EDT)

 Here's the patch for rc.conf.5.  While I was in there I also noticed that
 that osf1_enable is not discussed.  Also included is a patch to add
 osf1_enable to rc.conf.5.  I hope I got this right, I'm not good with man
 pages :)
 
 
 Patch to add unaligned_print to rc.conf.5:
 
 Index: src/share/man/man5/rc.conf.5
 ===================================================================
 RCS file: /home/ncvs/src/share/man/man5/rc.conf.5,v
 retrieving revision 1.64.2.7
 diff -u -r1.64.2.7 rc.conf.5
 --- src/share/man/man5/rc.conf.5       2000/08/18 10:27:50     1.64.2.7
 +++ src/share/man/man5/rc.conf.5       2000/10/04 14:35:41
 @@ -1212,6 +1217,10 @@
  these are the flags to pass to the
  .Xr sshd 8
  daemon.
 +.It Ar unaligned_print
 +(bool) If set to  
 +.Ar NO
 +then unaligned access warnings will not be printed. (alpha)
  .Sh FILES
  .Bl -tag -width /etc/defaults/rc.conf -compact
  .It Pa /etc/defaults/rc.conf
 
 
 Patch to add osf1_enable to rc.conf.5:
 
 Index: src/share/man/man5/rc.conf.5
 ===================================================================
 RCS file: /home/ncvs/src/share/man/man5/rc.conf.5,v
 retrieving revision 1.64.2.7
 diff -u -r1.64.2.7 rc.conf.5
 --- src/share/man/man5/rc.conf.5       2000/08/18 10:27:50     1.64.2.7
 +++ src/share/man/man5/rc.conf.5       2000/10/04 14:35:41
 @@ -1157,6 +1157,11 @@
  .Ar YES
  if you wish to enable Linux/ELF binary emulation at system initial
  boot time.
 +.It Ar osf1_enable
 +(bool) Set to
 +.Ar YES
 +if you wish to enable OSF/1 (Digital UNIX) binary emulation at system
 +initial boot time. (alpha)
  .It Ar rand_irqs
  (str) Set to the list of IRQs to monitor for random number creation
  (see the man page for
 
 
 -- 
 Eric Futch              New York Connect.Net, Ltd.
 efutch@nyct.net         Technical Support Staff
 http://www.nyct.net     (212) 293-2620
 "Bringing New York The Internet Access It Deserves"
 KNYC: 04-Oct-00 09:51 EDT: 64.9 F (18.3 C), overcast, humidity 70%
 
 
State-Changed-From-To: analyzed->feedback 
State-Changed-By: brian 
State-Changed-When: Wed Oct 4 11:59:35 PDT 2000 
State-Changed-Why:  
Put this in ``feedback'' state to indicate that it's due an MFC. 
I'll MFC in 3 weeks if there are no problems. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21649 
Responsible-Changed-From-To: brian->freebsd-bugs 
Responsible-Changed-By: brian 
Responsible-Changed-When: Mon Nov 6 13:10:14 PST 2000 
Responsible-Changed-Why:  
I don't wish to MFC this as it's a new feature rather than a bug fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21649 
State-Changed-From-To: feedback->closed 
State-Changed-By: jkh 
State-Changed-When: Mon Mar 12 17:12:38 PST 2001 
State-Changed-Why:  
This has been fixed in both -current and -stable 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21649 
>Unformatted:
