From owner-freebsd-geom@FreeBSD.ORG Sun Apr 29 02:46:49 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BFD6106564A for ; Sun, 29 Apr 2012 02:46:49 +0000 (UTC) (envelope-from vrachil@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 93E098FC0C for ; Sun, 29 Apr 2012 02:46:48 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so1784953wgb.31 for ; Sat, 28 Apr 2012 19:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=TJU8Y93d+tMt/MSjJ9htypTBuMEXQQ1IRI35XGOSF7s=; b=mBMBjNsVDNfkW6vX7MRMuJS9KYLxFRRClVXRPBZ7WJGk11RvjOtBnKPKzwFQSANYVP 2AYZuKQAMNUyMg8BfRlRGrVYJt64416xKTd9PEnGAS0xVfgk95hWjqlbtfZ5hRh7bSRg dO6RMwZKCK4k4Z4pBf0SAV1w9JI86oAVwZAzr1+2kotrZIFeKuCq0Q9M7LtlEYrn4DQs yCitNyMj/aQMcDKzTX628ffJHb9mXOTUga2qny26QRId4YP8d2qlWbASfchYLLkDBP5+ Y8MsG9oFeofJX5RlUdv1zOli2snoaRgPL4hWwHGa3Y3unPoKjDyAzpFwvZW2J/js41Lr EL6g== Received: by 10.180.92.130 with SMTP id cm2mr10510933wib.4.1335667607554; Sat, 28 Apr 2012 19:46:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.179.199 with HTTP; Sat, 28 Apr 2012 19:46:27 -0700 (PDT) From: Ilias-Dimitrios Vrachnis Date: Sun, 29 Apr 2012 05:46:27 +0300 Message-ID: To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: A question about geli and aesni X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 02:46:49 -0000 Hello, I have a question about the aesni integration with geli: I use a geli encrypted root, on an aesni-capable cpu, and I noticed that the .eli device is not hardware accelerated even though aesni.ko is loaded (from loader.conf and not kld_list). I have a suspicion that this happens because I did not load the module before running geli init, but I cannot confirm it at the moment. Running geli init on an md device after the machine is fully booted up, results in a hardware accelerated device, so the cpu is not the problem here. Googling for this issue did not reveal something relevant nor did man 4 aesni/man 8 geli, so here I am at the mailing list asking for pointers. Has anyone seen this behavior before? Do you have any hints? PS. I'm running -CURRENT (r234772) From owner-freebsd-geom@FreeBSD.ORG Mon Apr 30 11:07:29 2012 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAB4A1065670 for ; Mon, 30 Apr 2012 11:07:29 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BB5C98FC26 for ; Mon, 30 Apr 2012 11:07:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3UB7Tsi053878 for ; Mon, 30 Apr 2012 11:07:29 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3UB7Txb053876 for freebsd-geom@FreeBSD.org; Mon, 30 Apr 2012 11:07:29 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Apr 2012 11:07:29 GMT Message-Id: <201204301107.q3UB7Txb053876@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-geom@FreeBSD.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 11:07:29 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165745 geom [geom] geom_multipath page fault on removed drive o kern/165428 geom [glabel][patch] Add xfs support to glabel o kern/164254 geom [geom] gjournal not stopping on GPT partitions o kern/164252 geom [geom] gjournal overflow o kern/164143 geom [geom] Partition table not recognized after upgrade R8 a kern/163020 geom [geli] [patch] enable the Camellia-XTS on GEOM ELI o kern/162010 geom [geli] panic: Provider's error should be set (error=0) o kern/161979 geom [geom] glabel doesn't update after newfs, and glabel s o kern/161752 geom [geom] glabel(8) doesn't get gpt label change o bin/161677 geom gpart(8) Probably bug in gptboot o kern/160562 geom [geom][patch] Allow to insert new component to geom_ra o kern/160409 geom [geli] failed to attach provider f kern/159595 geom [geom] [panic] panic on gmirror unload in vbox [regres p kern/158398 geom [headers] [patch] includes o kern/158197 geom [geom] geom_cache with size>1000 leads to panics o kern/157879 geom [libgeom] [regression] ABI change without version bump o kern/157863 geom [geli] kbdmux prevents geli passwords from being enter o kern/157739 geom [geom] GPT labels with geom_multipath o kern/157724 geom [geom] gpart(8) 'add' command must preserve gap for sc o kern/157723 geom [geom] GEOM should not process 'c' (raw) partitions fo o kern/157108 geom [gjournal] dumpon(8) fails on gjournal providers o kern/155994 geom [geom] Long "Suspend time" when reading large files fr o kern/154226 geom [geom] GEOM label does not change when you modify them o kern/150858 geom [geom] [geom_label] [patch] glabel(8) is not compatibl o kern/150626 geom [geom] [gjournal] gjournal(8) destroys label o kern/150555 geom [geom] gjournal unusable on GPT partitions o kern/150334 geom [geom] [udf] [patch] geom label does not support UDF o kern/149762 geom volume labels with rogue characters o bin/149215 geom [panic] [geom_part] gpart(8): Delete linux's slice via o kern/147667 geom [gmirror] Booting with one component of a gmirror, the o kern/145818 geom [geom] geom_stat_open showing cached information for n o kern/145042 geom [geom] System stops booting after printing message "GE o kern/143455 geom gstripe(8) in RELENG_8 (31st Jan 2010) broken o kern/142563 geom [geom] [hang] ioctl freeze in zpool o kern/141740 geom [geom] gjournal(8): g_journal_destroy concurrent error o kern/140352 geom [geom] gjournal + glabel not working o kern/135898 geom [geom] Severe filesystem corruption - large files or l o kern/134922 geom [gmirror] [panic] kernel panic when use fdisk on disk o kern/134113 geom [geli] Problem setting secondary GELI key o kern/133931 geom [geli] [request] intentionally wrong password to destr o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o bin/131415 geom [geli] keystrokes are unregulary sent to Geli when typ o kern/131353 geom [geom] gjournal(8) kernel lock o kern/129674 geom [geom] gjournal root did not mount on boot o kern/129645 geom gjournal(8): GEOM_JOURNAL causes system to fail to boo o kern/129245 geom [geom] gcache is more suitable for suffix based provid f kern/128276 geom [gmirror] machine lock up when gmirror module is used o kern/127420 geom [geom] [gjournal] [panic] Journal overflow on gmirrore o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o kern/124969 geom gvinum(8): gvinum raid5 plex does not detect missing s o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), o kern/123122 geom [geom] GEOM / gjournal kernel lock o kern/122738 geom [geom] gmirror list "losts consumers" after gmirror de o kern/122067 geom [geom] [panic] Geom crashed during boot o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/115856 geom [geli] ZFS thought it was degraded when it should have o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile f kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113419 geom [geom] geom fox multipathing not failing back o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o bin/86388 geom [geom] [geom_part] periodic(8) daily should backup gpa o kern/84556 geom [geom] [panic] GBDE-encrypted swap causes panic at shu o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro o bin/78131 geom gbde(8) "destroy" not working. 72 problems total. From owner-freebsd-geom@FreeBSD.ORG Wed May 2 13:06:16 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A6C51065672 for ; Wed, 2 May 2012 13:06:16 +0000 (UTC) (envelope-from resul.cetinel@inforcept.com) Received: from nusret.endersys.com (nusret.endersys.com [77.92.112.244]) by mx1.freebsd.org (Postfix) with ESMTP id 657ED8FC0C for ; Wed, 2 May 2012 13:06:15 +0000 (UTC) Received: (surmail 18132 invoked from network); 2 May 2012 12:59:06 -0000 Received: from asy62.asy144.tellcom.com.tr (HELO AuthenticatedHELO) (resul.cetinel@inforcept.com@[Authenticated]) (envelope-sender ) by nusret.endersys.com (surmail-1.0) with SMTP for ; 2 May 2012 12:59:06 -0000 Message-ID: <4FA12FAC.7080004@inforcept.com> Date: Wed, 02 May 2012 15:59:24 +0300 From: =?ISO-8859-1?Q?Mustafa_Resul_=C7etinel?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to use SAN with FreeBSD ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 13:06:16 -0000 Hi everyone, I'm looking to put together a SAN box with my FreeBSD. But i cannot find any documents for this case. I reaaly wnat to know is there anybody with SAN experience, especially on FreeBSD? And what must i do, what are the step for carriying out storage support for FreeBSD? Could you please examine all steps for me and who needs this configuration steps ? Thanks in advance _Some information about my system :_ FreeBSD localhost 8.2-RELEASE FreeBSD 8.2-RELEASE #3 r218745: Wed Feb 16 15:07:48 PST 2011 root@build8x64.pcbsd.org:/usr/obj/storage/fbsd-sources/8.2/sys/GENERIC amd64 QLogic 2562 HBA card, SAN environment is EMC From owner-freebsd-geom@FreeBSD.ORG Thu May 3 15:37:46 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 921D9106566C for ; Thu, 3 May 2012 15:37:46 +0000 (UTC) (envelope-from darksoul@darkbsd.org) Received: from quasar.darkbsd.org (shinigami.darkbsd.org [82.227.96.182]) by mx1.freebsd.org (Postfix) with ESMTP id 460528FC1A for ; Thu, 3 May 2012 15:37:44 +0000 (UTC) Received: from quasar.darkbsd.org (localhost [127.0.0.1]) by quasar.darkbsd.org (Postfix) with ESMTP id 73D238F78; Thu, 3 May 2012 17:30:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=darkbsd.org; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type; s=selector1; bh=AHXpnWsd87HRCOWAW53hj4r8ico=; b=X IS9iUuUnZpkH335pYKUBkYXqfzN6XOmyRIuuvII2uKeaFPEVJGUKkOQ3UOV2OmPj 1DuYnvA9QAf/IaplXGOqJkoV6cACUQ4/YJscSw4uSIvWafpGZDlZz5hugF1GgzJf 9QAMNkLPkHi8YM3jI5LjBoosfrYhoKKL9gGgdZeSYk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=darkbsd.org; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type; q=dns; s=selector1; b=LahZckRGWJKugwehWdpIDh+y4ZA RBAmlY6OUCf+fK/CjraqYZ893LT5KjZjx9AXdy5KSPqotLBVlxzUPYuDG1gdtSqH tkqv+MYS/PC/iZPX7qAe/gPNw+ioLodiut5kBwdhx44zrOn2V8/QF6XB/2mBMScX ZtSzwZrh2PGM7MuY= Received: from quasar.darkbsd.org ([127.0.0.1]) by quasar.darkbsd.org (quasar.darkbsd.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sYBZMKGzVstJ; Thu, 3 May 2012 17:29:55 +0200 (CEST) Received: from zelretch.yomi.darkbsd.org (zelretch.yomi.darkbsd.org [192.168.3.13]) by quasar.darkbsd.org (Postfix) with ESMTP id 561308F71; Thu, 3 May 2012 17:29:52 +0200 (CEST) Received: from zelretch.yomi.darkbsd.org (localhost [127.0.0.1]) by zelretch.yomi.darkbsd.org (Postfix) with ESMTP id F3FAE2840C8; Fri, 4 May 2012 00:29:43 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=darkbsd.org; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type; s=selector1; bh=AHXpnWsd87HRCOWAW53hj4r8ico=; b=X IS9iUuUnZpkH335pYKUBkYXqfzN6XOmyRIuuvII2uKeaFPEVJGUKkOQ3UOV2OmPj 1DuYnvA9QAf/IaplXGOqJkoV6cACUQ4/YJscSw4uSIvWafpGZDlZz5hugF1GgzJf 9QAMNkLPkHi8YM3jI5LjBoosfrYhoKKL9gGgdZeSYk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=darkbsd.org; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type; q=dns; s=selector1; b=LahZckRGWJKugwehWdpIDh+y4ZA RBAmlY6OUCf+fK/CjraqYZ893LT5KjZjx9AXdy5KSPqotLBVlxzUPYuDG1gdtSqH tkqv+MYS/PC/iZPX7qAe/gPNw+ioLodiut5kBwdhx44zrOn2V8/QF6XB/2mBMScX ZtSzwZrh2PGM7MuY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=darkbsd.org; h= content-type:content-type:in-reply-to:references:subject:subject :mime-version:user-agent:from:from:date:date:message-id:received :received; s=selector1; t=1336058974; bh=PxG9WaKPbfYemIJHw+eCC3p afC0DFuDXOcEyR2RuxX4=; b=v1yu7yH2hXANFiYOtSFrytUorTGA+Ozj9awR/5n 1g29uxl41fXusEZIR8XKBT6EsrE1PhUtEl8kSpL401fo6Wiwjj1W2ajmE/zyhnFG ijGlJUU4PrH3g+P+xj4w9BQzEiQuAGrT1wVsyIFFXhuYzqGpf7MkKaS5Kb9B2PDA 9vV4= Received: from zelretch.yomi.darkbsd.org ([127.0.0.1]) by zelretch.yomi.darkbsd.org (zelretch.yomi.darkbsd.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 34L3irlRhzjC; Fri, 4 May 2012 00:29:34 +0900 (JST) Received: from [192.168.3.42] (archer.yomi.darkbsd.org [192.168.3.42]) (Authenticated sender: darksoul) by zelretch.yomi.darkbsd.org (Postfix) with ESMTPSA id E4D982840C7; Fri, 4 May 2012 00:29:33 +0900 (JST) Message-ID: <4FA2A457.5040604@darkbsd.org> Date: Fri, 04 May 2012 00:29:27 +0900 From: DarkSoul User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120412 Thunderbird/11.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Mustafa_Resul_=C7etinel?= References: <4FA12FAC.7080004@inforcept.com> In-Reply-To: <4FA12FAC.7080004@inforcept.com> X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD7D7AAED66F1FC4896171117" Cc: freebsd-geom@freebsd.org Subject: Re: How to use SAN with FreeBSD ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 15:37:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD7D7AAED66F1FC4896171117 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I tested FreeBSD+QLogic+EMC on FreeBSD 8.2-RELEASE actually. First of all, you need to load the isp(4) driver using the ispfw module, via /boot/loader.conf Then, you will be able to view the LUNs from your EMC box. However, 8.2-RELEASE has a broken GEOM_MULTIPATH driver, which means you won't be able to implement path failover (it doesn't work). Also, I am not sure how FreeBSD would handle (even with latest multipath drivers) the switch of storage processors in the event of storage failure= =2E So I would personally recommend using 9.0 for the latest GEOM_MULTIPATH version (it's been rewritten), and testing : - Fibre path failover - Storage Processor failover Cheers, On 05/02/2012 09:59 PM, Mustafa Resul =C7etinel wrote: > Hi everyone, > > I'm looking to put together a SAN box with my FreeBSD. But i cannot > find any documents for this case. I reaaly wnat to know is there > anybody with SAN experience, especially on FreeBSD? And what must i > do, what are the step for carriying out storage support for FreeBSD? > Could you please examine all steps for me and who needs this > configuration steps ? > > Thanks in advance > > _Some information about my system :_ > > FreeBSD localhost 8.2-RELEASE FreeBSD 8.2-RELEASE #3 r218745: Wed Feb > 16 15:07:48 PST 2011 =20 > root@build8x64.pcbsd.org:/usr/obj/storage/fbsd-sources/8.2/sys/GENERIC = amd64 > > > QLogic 2562 HBA card, SAN environment is EMC > > > > > > > > > > _______________________________________________ > freebsd-geom@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org"= --=20 Stephane LAPIE, EPITA SRS, Promo 2005 "Even when they have digital readouts, I can't understand them." --MegaTokyo --------------enigD7D7AAED66F1FC4896171117 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+ipFwACgkQ24Ql8u6TF2PGvgCg5GtoccQTSc6xki9VgWpodXi8 Dp0Anj9dhKpEL+dcZCsrwePb+QAKSBAv =QPc1 -----END PGP SIGNATURE----- --------------enigD7D7AAED66F1FC4896171117-- From owner-freebsd-geom@FreeBSD.ORG Thu May 3 19:50:56 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00089106566C for ; Thu, 3 May 2012 19:50:55 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id A35CB8FC15 for ; Thu, 3 May 2012 19:50:55 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 191C66D4; Thu, 3 May 2012 21:41:19 +0200 (CEST) Date: Thu, 3 May 2012 21:39:38 +0200 From: Pawel Jakub Dawidek To: Ilias-Dimitrios Vrachnis Message-ID: <20120503193938.GD1397@garage.freebsd.pl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DO5DiztRLs659m5i" Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-geom@freebsd.org Subject: Re: A question about geli and aesni X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 19:50:56 -0000 --DO5DiztRLs659m5i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 29, 2012 at 05:46:27AM +0300, Ilias-Dimitrios Vrachnis wrote: > Hello, I have a question about the aesni integration with geli: >=20 > I use a geli encrypted root, on an aesni-capable cpu, and I noticed > that the .eli device is not hardware accelerated even though aesni.ko > is loaded (from loader.conf and not kld_list). > I have a suspicion that this happens because I did not load the module > before running geli init, but I cannot confirm it at the moment. It doesn't matter what was available during 'geli init'. > Running geli init on an md device after the machine is fully booted > up, results in a hardware accelerated device, so the cpu is not the > problem here. > Googling for this issue did not reveal something relevant nor did man > 4 aesni/man 8 geli, so here I am at the mailing list asking for > pointers. > Has anyone seen this behavior before? Do you have any hints? It looks like GEOM discovers your encrypted device before aesni module registers itself into opencrypto framework. If you want to experiment, you could try changing this line in sys/geom/geom.h: DECLARE_MODULE(name, name##_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST); to something like this: DECLARE_MODULE(name, name##_mod, SI_SUB_DRIVERS, SI_ORDER_ANY); --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --DO5DiztRLs659m5i Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+i3vkACgkQForvXbEpPzQxKgCgvn+aTY1sBJMqGXwJGNIviA2B GoYAniEmsJOVY4+tVhsNcRDlH8TY2xnE =+omN -----END PGP SIGNATURE----- --DO5DiztRLs659m5i-- From owner-freebsd-geom@FreeBSD.ORG Thu May 3 22:37:17 2012 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4AB1106567C; Thu, 3 May 2012 22:37:17 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 78ABA8FC12; Thu, 3 May 2012 22:37:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q43MbHGm040200; Thu, 3 May 2012 22:37:17 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q43MbHpe040196; Thu, 3 May 2012 22:37:17 GMT (envelope-from linimon) Date: Thu, 3 May 2012 22:37:17 GMT Message-Id: <201205032237.q43MbHpe040196@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-geom@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/167562: [geli] geli cannot use gpt labels in loader.conf X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 22:37:17 -0000 Old Synopsis: geli cannot use gpt labels in loader.conf New Synopsis: [geli] geli cannot use gpt labels in loader.conf Responsible-Changed-From-To: freebsd-bugs->freebsd-geom Responsible-Changed-By: linimon Responsible-Changed-When: Thu May 3 22:37:03 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=167562 From owner-freebsd-geom@FreeBSD.ORG Fri May 4 07:20:16 2012 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1968F106564A for ; Fri, 4 May 2012 07:20:16 +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 DF3008FC0C for ; Fri, 4 May 2012 07:20:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q447KFbr032488 for ; Fri, 4 May 2012 07:20:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q447KF47032487; Fri, 4 May 2012 07:20:15 GMT (envelope-from gnats) Date: Fri, 4 May 2012 07:20:15 GMT Message-Id: <201205040720.q447KF47032487@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: Sayetsky Anton Cc: Subject: Re: kern/167562: [geli] geli cannot use gpt labels in loader.conf X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sayetsky Anton List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 07:20:16 -0000 The following reply was made to PR kern/167562; it has been noted by GNATS. From: Sayetsky Anton To: bug-followup@freebsd.org Cc: Subject: Re: kern/167562: [geli] geli cannot use gpt labels in loader.conf Date: Fri, 4 May 2012 10:16:14 +0300 Found possible workaround - adding something like "load_geli gpt/device /boot/keys/geli.key", but I think that's isn't truly correct way. From owner-freebsd-geom@FreeBSD.ORG Fri May 4 07:31:08 2012 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A76AC106564A; Fri, 4 May 2012 07:31:08 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 93B168FC0C; Fri, 4 May 2012 07:31:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q447V85w061145; Fri, 4 May 2012 07:31:08 GMT (envelope-from pjd@freefall.freebsd.org) Received: (from pjd@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q447V8K3061134; Fri, 4 May 2012 07:31:08 GMT (envelope-from pjd) Date: Fri, 4 May 2012 07:31:08 GMT Message-Id: <201205040731.q447V8K3061134@freefall.freebsd.org> To: vsjcfm@gmail.com, pjd@FreeBSD.org, freebsd-geom@FreeBSD.org, pjd@FreeBSD.org From: pjd@FreeBSD.org Cc: Subject: Re: kern/167562: [geli] geli cannot use gpt labels in loader.conf X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 07:31:08 -0000 Synopsis: [geli] geli cannot use gpt labels in loader.conf State-Changed-From-To: open->feedback State-Changed-By: pjd State-Changed-When: ptk 4 maj 2012 07:26:07 UTC State-Changed-Why: You should be able to use any variable name prefix for the keyfiles, you just have to have all three variables: _load="YES" _type=":geli_keyfile0" _name="/path/to/your/keyfile" Those three tells the loader to load the given file. GELI uses what's in _type to find keyfiles. If you have gpt/foo provider you have to be sure to put it into _type's value, but you can use any prefix you like, eg. doesntmatter_load="YES" doesntmatter_type="gpt/foo:geli_keyfile0" doesntmatter_name="/boot/keys/key" Responsible-Changed-From-To: freebsd-geom->pjd Responsible-Changed-By: pjd Responsible-Changed-When: ptk 4 maj 2012 07:26:07 UTC Responsible-Changed-Why: I'll take this one. http://www.freebsd.org/cgi/query-pr.cgi?pr=167562