From owner-freebsd-current@FreeBSD.ORG Tue Feb 27 05:49:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 447B816A400 for ; Tue, 27 Feb 2007 05:49:24 +0000 (UTC) (envelope-from hyogeollee@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id D38A113C441 for ; Tue, 27 Feb 2007 05:49:23 +0000 (UTC) (envelope-from hyogeollee@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so934591ugh for ; Mon, 26 Feb 2007 21:49:22 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:content-type:content-transfer-encoding; b=bv4dS6PVOyK3vnXrjNdc7tmqcfVJBqeFDknVWW0pUDvvycctt1cMJSl5A4jNjoJ0BKlOyB8PihlDyz1uVXdLfmj1dmuKT4E0bKA8G54PdQbza4LVcnKactWQukaC6xptqJ8Dc5KY5+uQvwZEhZS4r3C/17QaFurodm8nsdDDW9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:content-type:content-transfer-encoding; b=lWz79pWVUcEWe+YCFI1HEFA/+lhREcuMu4Cj7fAQaZHY74fV1aFPYU1NnfZMpLeLNd2o+W97lfat66UDdev78LpcW1bpLJhKLaoVlpC7UuLHwPqKJVUv+qudoOHTZ4C/0C5TSUufeWhPoaVoHh/Pogvu7pSfRAuNtZVF6+psyXM= Received: by 10.114.111.1 with SMTP id j1mr2440428wac.1172553738503; Mon, 26 Feb 2007 21:22:18 -0800 (PST) Received: from ?192.168.0.2? ( [61.79.92.86]) by mx.google.com with ESMTP id m26sm14246701pof.2007.02.26.21.22.17; Mon, 26 Feb 2007 21:22:17 -0800 (PST) Message-ID: <45E3C002.6030100@gmail.com> Date: Tue, 27 Feb 2007 14:22:10 +0900 From: "Hyo geol, Lee" User-Agent: Thunderbird 1.5.0.9 (X11/20070128) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: 20070203161519.GD64874@garage.freebsd.pl Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: 7bit Subject: geli broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 05:49:24 -0000 > On Saturday 03 February 2007 17:15, Pawel Jakub Dawidek wrote: > >/ On Thu, Feb 01, 2007 at 11:21:18PM -0500, Yoshihiro Ota wrote: > />/ > RCS file: /home/ncvs/src/sys/geom/eli/g_eli.c,v > />/ > Working file: g_eli.c > />/ > head: 1.34 > /... > >/ > The change noted above caused problem with my system. > />/ > After typing password, the geli device was never recognized never > />/ > response. It looked like it was in an infinity loop. > />/ > I have the following entry in my fstab and I need to type in my password > />/ > for it. > />/ > > />/ > /dev/da0s2.eli /export ufs rw 2 2 > />/ > > />/ > After reverting to 1.33, my system started without problems. I use > />/ > GENERIC kernel configuration without WITNESS and INVARIANTS. > />/ > />/ Could you provide dmesg from your machine? > / > Any news on this one? I experience the same problem. > > Stefan I had same problem. I assume that system has 1 cpu but turn on SMP option makes sleep forever. Here some patch. --- /usr/src/sys/geom/eli/g_eli.c.orig Tue Feb 27 14:20:33 2007 +++ /usr/src/sys/geom/eli/g_eli.c Tue Feb 27 14:21:34 2007 @@ -326,7 +326,7 @@ sc = wr->w_softc; #ifdef SMP /* Before sched_bind() to a CPU, wait for all CPUs to go on-line. */ - if (sc->sc_crypto == G_ELI_CRYPTO_SW && g_eli_threads == 0) { + if (smp_cpus != 1 && sc->sc_crypto == G_ELI_CRYPTO_SW && g_eli_threads == 0) { while (!smp_started) tsleep(wr, 0, "geli:smp", hz / 4); }