From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 29 04:42:50 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6BF0D913 for ; Mon, 29 Oct 2012 04:42:50 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 522508FC16 for ; Mon, 29 Oct 2012 04:42:50 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q9T4gibZ020398 for ; Sun, 28 Oct 2012 21:42:44 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <508E0944.9080903@rawbw.com> Date: Sun, 28 Oct 2012 21:42:44 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121023 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org Subject: 'device atapicam' breaks the build Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2012 04:42:50 -0000 Following atapicam(4), I added 'device atapicam' into sys/amd64/conf/GENERIC. This causes 'make buildkernel' to fail: ld -d -warn-common -r -d -o zlib.ko.debug zlib.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko.debug export_syms | xargs -J% objcopy % zlib.ko.debug objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug zlib.ko 1 error *** [buildkernel] Error code 2 1 error *** [buildkernel] Error code 2 1 error Also loading it manually with 'kldload atapicam' fails: kldload: can't load atapicam: Exec format error with system log having an error: link_elf_obj: symbol ata_controlcmd undefined What is wrong with atapicam? I need atapicam because section 23.3.3 of handbook suggests that it is a prerequisite for being able to use DVD drive from the vbox guests. Yuri 9.1-RC3