From nobody@FreeBSD.org  Fri Sep  2 22:29:35 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B128A1065678
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  2 Sep 2011 22:29:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id A11628FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  2 Sep 2011 22:29:35 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p82MTZDD071003
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 2 Sep 2011 22:29:35 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p82MTZiM071002;
	Fri, 2 Sep 2011 22:29:35 GMT
	(envelope-from nobody)
Message-Id: <201109022229.p82MTZiM071002@red.freebsd.org>
Date: Fri, 2 Sep 2011 22:29:35 GMT
From: Oliver Pinter <oliver.pntr@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: geli: failed to attach provider
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160409
>Category:       kern
>Synopsis:       [geli] failed to attach provider
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-geom
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 02 22:30:10 UTC 2011
>Closed-Date:    
>Last-Modified:  Fri Sep 02 23:41:09 UTC 2011
>Originator:     Oliver Pinter
>Release:        9.0-BETA2
>Organization:
>Environment:
FreeBSD opn 9.0-BETA2 FreeBSD 9.0-BETA2 #0: Fri Sep  2 10:04:06 CEST 2011     root@:/usr/obj/usr/src/sys/stable  amd64
>Description:
When using the _alias_ (ad4*) of ata disc with ahci(ada0*) dirver, then geli failed to attach the crypted storage.

root@opn ~# geli attach ad4s2g
Enter passphrase:
geli: Provider ad4s2g is invalid.
root@opn ~# geli attach ada0s2g
Enter passphrase:
root@opn ~# uname -a
FreeBSD opn 9.0-BETA2 FreeBSD 9.0-BETA2 #0: Fri Sep  2 10:04:06 CEST 2011     root@:/usr/obj/usr/src/sys/stable  amd64
root@opn ~#
>How-To-Repeat:
geli init -e aes-xts -l 256
geli attach ad4s2g
geli attach ada0s2g
>Fix:
use the original name of device, not the alias

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-geom 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Sep 2 23:40:50 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160409 
>Unformatted:
