From owner-freebsd-usb@FreeBSD.ORG Mon Feb 2 19:36:28 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 744AD106566B; Mon, 2 Feb 2009 19:36:28 +0000 (UTC) (envelope-from stevecalfee@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id D0ACA8FC12; Mon, 2 Feb 2009 19:36:27 +0000 (UTC) (envelope-from stevecalfee@gmail.com) Received: by ewy14 with SMTP id 14so2605339ewy.19 for ; Mon, 02 Feb 2009 11:36:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=iFSX8xk+/7iqLaQdrWH8EUWJASU2I4bJLaTqtzcUgzY=; b=YSoqzYUGF6rPAQE6WlQGTW2mF8rTte0EdyUbHuA62oOkVbuem8mngEqIVmtIPdfqd7 qincKbRZXgZjKuyZ9ES0tkY/o25feqDNjX98Y7OvTM7momguR1CEcfeIe8polwFc32kP qvcWhomTO64Rj6X8sCDeyW5Yw44Kzz2sLr2ZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=EOauHJw7GQ3dPvlxIDXjVX0foH93Zcx1pncFRdf2pclmQbmbGHjMTwhl6mj52/WLIL 9NVHm7t1sUrA/GKnRs4BiQ0VK9pkJ0pMAz/3TzoqQWI/7+qI2G87sPE+bRuHUquNo3GK ni531IGXNHdr8uFlPL4ezaHHfjf65j9dsb6HM= MIME-Version: 1.0 Received: by 10.210.58.13 with SMTP id g13mr123078eba.144.1233603385370; Mon, 02 Feb 2009 11:36:25 -0800 (PST) In-Reply-To: <200901311014.01419.hselasky@freebsd.org> References: <4a5ff6bc0901301732t7233335ch1077a74605fffb81@mail.gmail.com> <200901311014.01419.hselasky@freebsd.org> Date: Mon, 2 Feb 2009 11:36:25 -0800 Message-ID: <4a5ff6bc0902021136w193c048am1f32c377de25d70e@mail.gmail.com> From: Steve Calfee To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: newusb/usb2 build breakage in tinybsd X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 19:36:29 -0000 Hi Hans, On Sat, Jan 31, 2009 at 1:13 AM, Hans Petter Selasky wrote: > Hi Steve, > > On Saturday 31 January 2009, Steve Calfee wrote: >> Hi, >> >> I am trying to backport usb2 to freebsd7.0. I have followed the >> instructions at http://www.selasky.org/hans_petter/usb4bsd/index.html >> and things work ok on the install until I get to the recommended make >> step for me to manually handle (printed out by your make file). >> Incidentally, your web site should say to build in the FreeBSD.usb2 >> directory, I think. >> >> One complication is that I am crosscompiling with the tinybsd script - >> at least the target is an x86. >> >> I was held up for awhile because I missed the instruction echo'ed from >> the ..../FreeBSD.usb2/Makefile telling me to patch/change kmod.mk. >> Missing that causes the make to stop because usb2_if.h is missing. > > Are you building the kernel or Modules? > I tried both. But then I did a little RTFM of your website and the install makefile. When I used the make install, and changed kmod.mk the make succeeded except for a few USB2 routines (serial*, wlan*, bluetooth* and storage_rio) that must be using new kernel APIs because their build is broken in my FreeBSD7.0. I removed those broken module builds from the Makefile at ...modules/usb2/Makefile. For now I will ignore them and work on verifying the backport works. Thanks for your opinion on removing td_fpop. I'll let you know if removing that breaks things. Regards, Steve