From owner-freebsd-ports Mon Dec 2 2:10: 4 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 514FC37B401 for ; Mon, 2 Dec 2002 02:10:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F0F943EAF for ; Mon, 2 Dec 2002 02:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB2AA1x3016728 for ; Mon, 2 Dec 2002 02:10:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB2AA18p016727; Mon, 2 Dec 2002 02:10:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8968937B401; Mon, 2 Dec 2002 02:01:03 -0800 (PST) Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D99B443EC2; Mon, 2 Dec 2002 02:01:02 -0800 (PST) (envelope-from vova@sw.ru) Received: from vova by vbook.express.ru with local (Exim 4.10) id 18InNt-0000QG-00; Mon, 02 Dec 2002 13:01:01 +0300 Message-Id: Date: Mon, 02 Dec 2002 13:01:01 +0300 From: "Vladimir B.Grebenschikov" Reply-To: "Vladimir B.Grebenschikov" To: FreeBSD-gnats-submit@FreeBSD.org Cc: current@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/45911: GEOM-related problem sysutils/diskcheckd does not work Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45911 >Category: ports >Synopsis: GEOM-related problem sysutils/diskcheckd does not work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 02 02:10:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Vladimir B. Grebenschikov >Release: FreeBSD 5.0-CURRENT i386 >Organization: SWsoft >Environment: System: FreeBSD vbook.express.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #12: Wed Nov 27 16:18:57 MSK 2002 root@vbook.express.ru:/usr/obj/usr/local/src/sys/VBOOK i386 # pkg_info -I diskcheckd\* diskcheckd-20010823_3 Daemon to check for disk read errors # >Description: It seem there are some problems with accessing HDD through GEOM: # egrep -v \^# /usr/local/etc/diskcheckd.conf /dev/ad0 * 28 * # diskcheckd # tail /var/log/messages ... Dec 2 12:46:50 vbook diskcheckd[1444]: DIOCGDINFO on /dev/ad0 failed: Operation not supported by device # strace /usr/local/sbin/diskcheckd -d ... open("/dev/ad0", O_RDONLY) = 3 ioctl(3, DIOCGDINFO, 0xbfbff250) = -1 ENODEV (Operation not supported by device) ... When I have change /dev/ad0 in config file to /dev/ad0s2c it work. But I want to check integrity of all drive, not only FreeBSD part. >How-To-Repeat: Just run diskcheckd on post-GEOM CURRENT. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message