From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 27 11:07:37 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9243D10659D4 for ; Mon, 27 Dec 2010 11:07:37 +0000 (UTC) (envelope-from darmawan_salihun@yahoo.com) Received: from web76815.mail.sg1.yahoo.com (web76815.mail.sg1.yahoo.com [124.108.123.119]) by mx1.freebsd.org (Postfix) with SMTP id E3D568FC19 for ; Mon, 27 Dec 2010 11:07:36 +0000 (UTC) Received: (qmail 65658 invoked by uid 60001); 27 Dec 2010 11:07:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1293448055; bh=CwSMfBX4zJh55RRtdVprc5Hld5cX+4K6WoXnQxCqC70=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Enwf3Ph4i57pTpZmrKmDqcWOBL4wNDCOnT7/617uVMovR9DmmTZWTq+2uCq/QK4BcrdkesyGJO0PKd7yBjBUHFneJjt7z228HufHTcCW0U7qNHU2JnFagMrcEGnKO2RunLCFLx7pTt2kCsGtki8NDLEbqCTmw8APsmRVMu5vdXE= 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=rnhHV/q5nOCff9I+ayjGnep8RLSlPqOnRiS7erNKP2l0oSnbXqVmp5eg8rBEZxEXItRvoT0ytqv0D87Q0pHLG35S1NftMYIsjB2z9Z4nS7Ar6w3gsJaQY+FFd8kEKDb/5NAUPflxD/BitE1fKoB9gHrNIXUE+6mbjN3Zbw2sm4Y=; Message-ID: <511355.65650.qm@web76815.mail.sg1.yahoo.com> X-YMail-OSG: 4a36FFcVM1muo2PLzGIil78wOI7Bnn2s94uPir2tXHu3e9V cIdDs3UcIsLagXQedt9zyrHIcsE_3oyqs1Y65LSUTZpnN2oMoYZGHwbwl0IB m2Hx44nmFubJOS2ZfYVcmwRMG46IwOx2nSRxwW0YmvkAvVb2tiOy2ANX1Qys U9friANVA_p_9aS_drD6h5D4OSs6fqkH5FcISylVIER1mt0zKsv8aLKxENnj B_LInETcaC5CR0DF4L7YtJRQlM7SjmG54HMtR8u3.Ac8MEOH5U8JBe2cG31e JcoTqHlBkfsRor50VcQQYrWD_lcV5Di6WKH97.w-- Received: from [125.163.31.214] by web76815.mail.sg1.yahoo.com via HTTP; Mon, 27 Dec 2010 19:07:35 SGT X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.107.285259 Date: Mon, 27 Dec 2010 19:07:35 +0800 (SGT) From: Darmawan Salihun To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: PCI IDE Controller Base Address Register setting X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2010 11:07:37 -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.