From owner-freebsd-current@FreeBSD.ORG Tue Sep 25 10:32:16 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 F075C1065670; Tue, 25 Sep 2012 10:32:15 +0000 (UTC) (envelope-from levitch@iglou.com) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id 4516F8FC15; Tue, 25 Sep 2012 10:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:References:Message-ID:In-Reply-To:Subject:cc:To:From:Date; bh=E/rKeQO0AJATCpXDodQbCcT8+kPQiD+CLphPy/x8cY8=; b=IpWrI1MLPa3E5jgI683OegdwiK3H6VUStNz5CQLsJYnxjKJfeIIxTrofhj3sXWxvLje1p1dJlsXKFBszf+5iAmzWMN7GU/et/OnuVc6xIdllkvE2k1OrcuAuhKtvtWdz/OpA9n2HF3oNkQNwXjgt6kMhVT+I9xpQ+FjBh6iXIgw=; Received: from iglou3.iglou.com ([192.107.41.6]:53378 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1TGSR4-0000Cu-Fo by authid with igloumta_auth; Tue, 25 Sep 2012 06:32:14 -0400 Received: from shell1.iglou.com ([192.107.41.17]:34813 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1TGSR4-0002cS-5O; Tue, 25 Sep 2012 06:32:14 -0400 Date: Tue, 25 Sep 2012 06:32:13 -0400 (EDT) From: Darrel X-X-Sender: levitch@shell1 To: Alexander Motin In-Reply-To: <506160FE.7070004@FreeBSD.org> Message-ID: References: <506160FE.7070004@FreeBSD.org> User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b X-Mailman-Approved-At: Tue, 25 Sep 2012 11:30:32 +0000 Cc: Garrett Cooper , current@freebsd.org Subject: [solved]: 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 10:32:16 -0000 >> 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. > Ah, yes- about my second year of FreeBSD. All I recall is that 5.0 was released very shortly after my first install. >> 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. > Thank you, Alexander. Darrel