Subject: bin/238: quotacheck reports read Bad
To: None <gnats-admin>
From: Joao Paulo G. Nacao <nacao@rivendel.lin.ufrj.br>
List: netbsd-bugs
Date: 04/29/1994 09:35:05
>Number: 238
>Category: bin
>Synopsis: quotacheck reports read bad
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 29 09:35:02 1994
>Originator: Joao Paulo G. Nacao
>Organization:
Nuclear Instrumetation Labs / COPPE / UFRJ
>Release:
>Environment:
System: NetBSD rivendel.lin.ufrj.br 0.9a RIVENDEL#0 i386
Kernel current, supped on Apr 24 01:35:55 1994
>Description:
When try to use quota, quotacheck -a reports:
read: Bad address
read: Bad address
read: Bad address
THE FOLLOWING FILE SYSTEMS HAD AN UNEXPECTED INCONSISTENCY:
/dev/rwd0e (/usr), /dev/rsd0a (/home1), /dev/rsd0e (/home)
>How-To-Repeat:
on a quota configured Kernel execute:
# quotacheck -a
>Fix:
cast the function bread before use it.
bread(daddr_t,char *,long);
sorry no diffs:-(
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------