看板 FB_bugs 關於我們 聯絡資訊
>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 <LABEL_NAME_ENCODED_OTHER_THAN_UTF8> 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: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"