From owner-freebsd-bugs@FreeBSD.ORG Wed Jul 8 16:10:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CE941065678 for ; Wed, 8 Jul 2009 16:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E7E348FC12 for ; Wed, 8 Jul 2009 16:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n68GA4MS038357 for ; Wed, 8 Jul 2009 16:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n68GA43Q038356; Wed, 8 Jul 2009 16:10:04 GMT (envelope-from gnats) Resent-Date: Wed, 8 Jul 2009 16:10:04 GMT Resent-Message-Id: <200907081610.n68GA43Q038356@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ralf Wenk Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B78D1065674 for ; Wed, 8 Jul 2009 16:04:53 +0000 (UTC) (envelope-from wera0003@hs-karlsruhe.de) Received: from rz06.hs-karlsruhe.de (rz06.HS-Karlsruhe.DE [193.196.64.6]) by mx1.freebsd.org (Postfix) with ESMTP id 2CA778FC21 for ; Wed, 8 Jul 2009 16:04:53 +0000 (UTC) (envelope-from wera0003@hs-karlsruhe.de) Received: from rz-wenk1.hs-karlsruhe.de ([193.196.65.46]) by rz06.hs-karlsruhe.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1MOZ3M-0010Pm-2F; Wed, 08 Jul 2009 17:27:24 +0200 Received: from wera0003 by RZ-Wenk1.HS-Karlsruhe.DE with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MOZ3L-0008AI-F6; Wed, 08 Jul 2009 17:27:23 +0200 Message-Id: Date: Wed, 08 Jul 2009 17:27:23 +0200 From: Ralf Wenk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Ralf Wenk Subject: kern/136467: glabel destroys access to GEOM tree if volume label contains non ASCII characters X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ralf Wenk List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2009 16:10:05 -0000 >Number: 136467 >Category: kern >Synopsis: glabel destroys access to GEOM tree if volume label contains non ASCII characters >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 08 16:10:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ralf Wenk >Release: FreeBSD 7.2-STABLE i386 >Organization: Hochschule Karlsruhe, University of Applied Sciences >Environment: System: FreeBSD ptavv.ka.sub.org 7.2-STABLE FreeBSD 7.2-STABLE #2: Mon Jul 6 23:44:29 CEST 2009 root@ptavv.ka.sub.org:/usr/obj/usr/src/sys/ptavv-ng i386 >Description: When GEOM_LABEL is configured into the kernel and e.g. a DVD with an volume label containing an "ä" character is found while booting later gmirror list or gmirror status commands return gmirror: Cannot get GEOM tree: Unknown error: -1 GEOM_LABEL is configured into the kernel, geom_mirror loadad as a module during boot. Some simple tests showed, that loading geom_label as a module before or after geom_mirror does not trigger the problem here. >How-To-Repeat: I found the problem mentioned on the current mailing-list at http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2007-06/msg00448.html where Kazuaki ODA shows the follwing example: # dd if=/dev/zero of=/var/tmp/disk1.img bs=1k count=1k # mdconfig -a -t vnode -f /var/tmp/disk1.img md0 # glabel create md0 # glabel list glabel: Cannot get GEOM tree: Unknown error: -1 >Fix: As a work around you can avoid non-ascii characters in volume labels or do not use geom_label at all. >Release-Note: >Audit-Trail: >Unformatted: