From owner-freebsd-questions@FreeBSD.ORG Sun Dec 26 21:24:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D34D1065672 for ; Sun, 26 Dec 2010 21:24:57 +0000 (UTC) (envelope-from darmawan_salihun@yahoo.com) Received: from web76812.mail.sg1.yahoo.com (web76812.mail.sg1.yahoo.com [124.108.123.116]) by mx1.freebsd.org (Postfix) with SMTP id CF3378FC14 for ; Sun, 26 Dec 2010 21:24:56 +0000 (UTC) Received: (qmail 38337 invoked by uid 60001); 26 Dec 2010 20:58:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1293397094; bh=CwSMfBX4zJh55RRtdVprc5Hld5cX+4K6WoXnQxCqC70=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=lCEyNN/B7twFDB8Ub8ODW1WvKnEZESp/9M4gUvZcOcOY5xMkNp/ART597YRp5JQKnjuK/BfGh8iZpZpmxmfPJYPEaXFpeIk4x1XgKJQYTbEXSthv6HZF7KkRieDDScvlr4I2WZ4lP2lAR75YdYF1vgP6P08Ck5GI3BiF8Uk3lZ4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=AvKc4i4F+eexcSC4XXi+rbWdJWZQR1gcPO3fasi5Wo8gRtRPY1WEh0fc9EUwVDEpqp/KLnlpmezFQ0OI6YbpLUDqhFzx+Ln2r2aIBLGLJ8yzRNSaqJ74K/Jcnsouv1zEZOcHMk33M/TJfHbArRSqmRnULDuVWSMDCOQYkAAd+NM=; Message-ID: <413394.37578.qm@web76812.mail.sg1.yahoo.com> X-YMail-OSG: WM1Or_MVM1lWL8TY9WPrA6OORSfw0WSDw5QqwhLzC85ceuR 6WJFHaPOoCZoeEu2qt8NhKebjWBBjYWvYWp74owI41xpjtgzZv0Mn_S9yRKz j1jFIWwlOb2vsfa8EEZGrwfyAaoXNGNvKXLVzWIB3J5iaD3.pMXAJoPJCbdj Q.dg3IHjPlF1OSrSJOq_mSPSYjtiysfgK0MaswbfJX6wAd7ysLAKDrLS35dZ S244J0GqLn8Qx0Y1kEOu45_uYdWajUO4wOFw_bP5NjcJXjpdX6ySlnSywBRE 0igpAzOhRdPjj5z5vyeuCRNDXu2fxLiWBcBkK5A-- Received: from [114.57.153.212] by web76812.mail.sg1.yahoo.com via HTTP; Mon, 27 Dec 2010 04:58:14 SGT X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.107.285259 Date: Mon, 27 Dec 2010 04:58:14 +0800 (SGT) From: Darmawan Salihun To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: PCI IDE Controller Base Address Register setting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Dec 2010 21:24:57 -0000 Hi, I'm trying to install FreeBSD 8.0 on AMD Geode LX800 (CS5536 "southbridge"). However, it cannot detect the IDE controller (in the CS5536) correctly. It says something similar to this: "IDE controller not present" I did lspci in Linux (BackTrack 3) and I saw that the IDE controller Base Address Registers (BARs) are all disabled (only contains zeros), except for one of them (BAR4). BAR4 decodes 16-bytes I/O ports (FFF0h-FFFFh). The decoded ports "seems" to conform to the PCI IDE specification for "native-PCI IDE controller" (relocatable within the 16-bit I/O address space). I did "cat /proc/ioports" and I found that the following I/O port address ranges decoded correctly to the IDE controller in the CS5536 "southbridge": 1F0h-1F7h 3F6h 170h-177h FFF0h-FFFFh My question: Does FreeBSD require the IDE controller BARs to be programmed to also decode legacy I/O ports ranges (1F0h-1F7h,3F6h and 170h-177h)? What if those ranges are not programmed into the BARs of the IDE controller? Would the IDE controller be considered not present (disabled)? TIA, Darmawan PS: I'm working on the BIOS for this particular system but I have yet to be able to program the BARs to the aforementioned legacy I/O port ranges. This system is very peculiar because the PCI subsystem is virtualized.