Bug 143566 - sysutils/diskcheckd runs constantly when using gmirror and not logging to syslogd(8)
Summary: sysutils/diskcheckd runs constantly when using gmirror and not logging to sys...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 01:50 UTC by Vincent Poy
Modified: 2011-08-31 12:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Poy 2010-02-05 01:50:01 UTC
ports/sysutils/diskcheckd runs fine when gmirror is not involved so when ad0 and ad2 were standard /dev/ad0 slices, diskcheckd ran fine.  However, when the same devices are part of gmirror, the HDD light would stay on continuously solid from when diskcheckd is ran until system shutdown - 2 weeks is the longest I have experienced this.  If I stopped diskcheckd, the HDD light would go off immediately.

It is similar to:

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

diskcheckd also is not logging to syslog as /var/log/messages does not show anything except I noticed in ttyv0, it will show the following a few minutes after FreeBSD completely boots:

diskcheckd[x]: reached end of /dev/ad0 with 0 errors
diskcheckd[x]: reached end of /dev/ad2 with 0 errors

How-To-Repeat: run diskcheckd with a system that is running gmirror.
Comment 1 dfilter service freebsd_committer freebsd_triage 2011-08-17 12:18:11 UTC
crees       2011-08-17 11:17:58 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/diskcheckd  Makefile 
  Log:
  No-one seems to be able to answer for this code, so mark DEPRECATED and announce on ports@
  
  PR:             ports/143566
  
  Revision  Changes    Path
  1.15      +3 -0      ports/sysutils/diskcheckd/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Chris Rees freebsd_committer freebsd_triage 2011-08-17 12:18:44 UTC
State Changed
From-To: open->patched

I'm afraid it doesn't look like anyone cares about this port -- I've 
asked on ports@ for volunteers to investigate but otherwise it'll have 
to go. 


Comment 3 Chris Rees freebsd_committer freebsd_triage 2011-08-17 12:18:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->crees

I'll keep track of it
Comment 4 dfilter service freebsd_committer freebsd_triage 2011-08-31 12:40:35 UTC
crees       2011-08-31 11:40:26 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/diskcheckd  Makefile pkg-plist 
    sysutils/diskcheckd/files diskcheckd.8 diskcheckd.c 
                              diskcheckd.in 
  Log:
  - Some bugfixes:
  
   * Calculate delays in microseconds, so that delays of less than
     one second between reads (needed to implement rates exceeding
     64KB/sec) do not get rounded down to zero.
  
   * Fix a reinitialization problem when handling SIGHUP.
  
   * Additional debug messages (only with -d).
  
   * Comment and manpage improvememts
  
  - Pass maintainership to submitter
  
  PR:             ports/115853 ports/143566
  Submitted by:   perryh@pluto.rain.com
  
  Revision  Changes    Path
  1.16      +9 -9      ports/sysutils/diskcheckd/Makefile
  1.6       +29 -12    ports/sysutils/diskcheckd/files/diskcheckd.8
  1.8       +89 -23    ports/sysutils/diskcheckd/files/diskcheckd.c
  1.2       +3 -7      ports/sysutils/diskcheckd/files/diskcheckd.in
  1.3       +1 -1      ports/sysutils/diskcheckd/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Chris Rees freebsd_committer freebsd_triage 2011-08-31 12:41:08 UTC
State Changed
From-To: patched->closed

Please try the latest version.