From owner-freebsd-current@FreeBSD.ORG Tue Mar 4 23:05:29 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5648E106566C for ; Tue, 4 Mar 2008 23:05:29 +0000 (UTC) (envelope-from chargen@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id CD3B78FC13 for ; Tue, 4 Mar 2008 23:05:28 +0000 (UTC) (envelope-from chargen@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so962437fgg.35 for ; Tue, 04 Mar 2008 15:05:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=kmlCXE5+dBCtcz38/2CoHh8aA1cMmWUMZokHzL6rn8A=; b=eEO3rtQ5wMzQXRVWT7OOIkKMPWY+ZVrLg5SOCYFY0LiMVnq6BwYZ4kZSMj2xd6m47L5ef8lDxmi0BFuKVxl3zRnap5dQZGIzxJXx2SOgfVVxNbPcbIMCq2vMPBSqqZKk6V+RRr+mMtoBhwIoR1w32oca9J4+75tEze+BwYr5EZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=X3ZJnz2HFgFWrfYjAcv37N/PnYfnWBw9/sa5H85KHp5Ce4gJQqh/2izZwfnM/Kj9QLCgQBlaagJW+49P0X+ZRB9cnYBKkUHoRNu56Fy/55QME52Z/M0szpth/bTA5bm7z83/YFDeJX612Zeuof3IDSfg2MEnS61R2s8Grtu3DQ4= Received: by 10.86.93.17 with SMTP id q17mr1929033fgb.18.1204670279079; Tue, 04 Mar 2008 14:37:59 -0800 (PST) Received: by 10.86.50.17 with HTTP; Tue, 4 Mar 2008 14:37:59 -0800 (PST) Message-ID: <292361ab0803041437t48245090y3db91d2e7d9a0c9b@mail.gmail.com> Date: Tue, 4 Mar 2008 23:37:59 +0100 From: Chargen To: "M. Warner Losh" In-Reply-To: <20080304.083144.1219863991.imp@bsdimp.com> MIME-Version: 1.0 References: <47CCDA8A.60004@errno.com> <0B526200-AE42-436D-BB28-51B396D95FC5@rabson.org> <20080304.083144.1219863991.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: IPSEC/crypto is broken in FreeBSD/powerpc 7.0-RELEASE! 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, 04 Mar 2008 23:05:29 -0000 On Tue, Mar 4, 2008 at 4:31 PM, M. Warner Losh wrote: > digging deeper... > > The crypto code looks good to me. It explicitly sets the driver name. > Drivers that have a class explicitly set will have that driver's probe > called, and only that driver's probe. In arm, amd64, sparc64, i386 > and ia64, all of the devices for the nexus routine are added this way, > so there's no problem. > > I think that the real problem is that both 'real' hardware and 'fake' > hardware is being attached to the nexus driver for the AIM. The > grackle, uninorth and unin drivers all ask the nexus for their names. > That's because they really should be children of a openfirmware device > that enumerates these things. However, since there's now a 'fake' > device on nexus that doesn't ask the nexus for its name (since that's > not how children of nexus work) there's a problem. > > So the fix to the problem is to add a layer for the AIM class of > machine to attach grackle, uninorth or unin to a ofw device. > on the topic of IPSEC/Crypto/Cryptodev (soft), is anyone interested in testing pr- 120270 (feature request http://www.freebsd.org/cgi/query-pr.cgi?pr=120270 ) - because there are still some features missing like AES-192/256 hardware support C'