From dagoon@ldah.math.uni.lodz.pl  Wed Sep 13 03:44:10 2000
Return-Path: <dagoon@ldah.math.uni.lodz.pl>
Received: from ldah.math.uni.lodz.pl (ldah.math.uni.lodz.pl [212.191.65.29])
	by hub.freebsd.org (Postfix) with ESMTP id 72A0437B422
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 13 Sep 2000 03:44:08 -0700 (PDT)
Received: (from dagoon@localhost)
	by ldah.math.uni.lodz.pl (8.11.0/8.9.3) id e8DAh1p00587;
	Wed, 13 Sep 2000 12:43:01 +0200 (CEST)
	(envelope-from dagoon)
Message-Id: <200009131043.e8DAh1p00587@ldah.math.uni.lodz.pl>
Date: Wed, 13 Sep 2000 12:43:01 +0200 (CEST)
From: Marcin Gryszkalis <dagoon@ldah.math.uni.lodz.pl>
Reply-To: dagoon@ldah.math.uni.lodz.pl
To: FreeBSD-gnats-submit@freebsd.org
Subject: edquota fails with alignment error
X-Send-Pr-Version: 3.2

>Number:         21247
>Category:       alpha
>Synopsis:       edquota fails with alignment error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-alpha
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 13 03:50:00 PDT 2000
>Closed-Date:    Thu Oct 26 10:41:56 PDT 2000
>Last-Modified:  Thu Oct 26 10:46:06 PDT 2000
>Originator:     Marcin Gryszkalis
>Release:        FreeBSD 4.1-STABLE alpha
>Organization:
Math Dept. of University of Lodz
>Environment:
 AlphaStation 500, 2 scsi disks, 

>Description:

 Whole second disk is /home and it's the only partition with quota.
 After edquota user it goes like this:

"/tmp/EdP.aKn468" 3L, 132C written
pid 468 (edquota): unaligned access: va=0x11ffb2bc pc=0x1600b288c
ra=0x1600b2810 op=stq
pid 468 (edquota): unaligned access: va=0x11ffb2cc pc=0x1600b288c
ra=0x1600b2810 op=stq
pid 468 (edquota): unaligned access: va=0x11ffb2c4 pc=0x1600b288c
ra=0x1600b2810 op=stq
edquota: /home: cannot change current allocation

 I wrote a short program to test quotactl() and it works ok, so the
porblem is in edquota.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gallatin 
State-Changed-When: Thu Oct 26 10:41:56 PDT 2000 
State-Changed-Why:  
Fixed in src/usr.sbin/edquota/edquota.c 1.10. 
Author contacted and happily running a patched version 
in -stable 

Will MFC in a few days 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21247 
>Unformatted:
fixed in edquota.c 1.10

