From owner-freebsd-current@FreeBSD.ORG Tue Sep 25 07:43:22 2012 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 B72BB106564A for ; Tue, 25 Sep 2012 07:43:22 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 220CE8FC08 for ; Tue, 25 Sep 2012 07:43:21 +0000 (UTC) Received: by lbdb5 with SMTP id b5so450013lbd.13 for ; Tue, 25 Sep 2012 00:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=3P28T/1zSEa7US+jnO6ankQkz4IYc8XbvZj+Spt83Ck=; b=TSnb5TEMHfojfqr4ICTd4Z/4jqu+1pn7QYus4RoeUob2x++Yd1tZhgUElHQqp0CsR1 gnDCp+RX1Af9QlqjucvkjLLXQWCaA2H/eUEpD8bJtKgaSCn2+/jwB6/wzk93/n3aLzo3 WiKnbw/0jPAn1d6+dJw4UV+4yPGb0V9Q9+z4yTQDy/C6OvCor7T29cobZYHmKBQUcJbv wPoda03W8cafCdkzee+oWRiJi+OczELLiKQatMW7E6VJSNH1bmVcYA5DhwBDac1vbCb5 RU8tDfgLWPsdBF5q57dEg9HiUsKWbVjYnsUgSjdB/ngLaIut2Rae/Bok6YE7JdNbkzYl Me0w== Received: by 10.112.8.228 with SMTP id u4mr5313084lba.38.1348558999862; Tue, 25 Sep 2012 00:43:19 -0700 (PDT) Received: from pc.mavhome.dp.ua (mavhome.mavhome.dp.ua. [213.227.240.37]) by mx.google.com with ESMTPS id gt19sm4896202lab.8.2012.09.25.00.43.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Sep 2012 00:43:19 -0700 (PDT) Sender: Alexander Motin Message-ID: <506160FE.7070004@FreeBSD.org> Date: Tue, 25 Sep 2012 10:45:02 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120621 Thunderbird/13.0.1 MIME-Version: 1.0 To: Darrel References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Garrett Cooper , current@freebsd.org Subject: Re: Fwd: device atapicam on r240673 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, 25 Sep 2012 07:43:22 -0000 On 25.09.2012 07:51, Garrett Cooper wrote: > For years I have put 'device atapicam' in my kernel. If my memory > serves my well, this was to assist with dvd recording. I must have > missed something. Is it now as simple as adding hw.ata.atapi_dma="1" > to /boot/loader.conf? atapicam is no longer needed after migration to CAM-based ATA stack. hw.ata.atapi_dma="1" is also default value starting from about 2004. > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g > -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs > -fdiagnostics-show-option -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -fno-common -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 > -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx > -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding > -fstack-protector -Werror vers.c > ctfconvert -L VERSION -g vers.o > linking kernel.debug > atapi-cam.o: In function `atapi_action': > /usr/src/sys/dev/ata/atapi-cam.c:436: undefined reference to `ata_controlcmd' > /usr/src/sys/dev/ata/atapi-cam.c:651: undefined reference to `ata_queue_request' > *** [kernel.debug] Error code 1 > > Stop in /usr/obj/usr/src/sys/D. > *** [buildkernel] Error code 1 > > Stop in /usr/src. > *** [buildkernel] Error code 1 > > Stop in /usr/src. > (132) @ 23:41:19> That is probably result of building atapicam together with option ATA_CAM, that is at least useless combination. -- Alexander Motin