From owner-freebsd-current@FreeBSD.ORG Wed Feb 4 16:26:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2998E16A4CF for ; Wed, 4 Feb 2004 16:26:30 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D14CE43D48 for ; Wed, 4 Feb 2004 16:26:27 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id C601172DBF; Wed, 4 Feb 2004 16:26:27 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id C3BAE72DB5; Wed, 4 Feb 2004 16:26:27 -0800 (PST) Date: Wed, 4 Feb 2004 16:26:27 -0800 (PST) From: Doug White To: Matt Dawson In-Reply-To: <200402031202.42129.matt@mattsnetwork.co.uk> Message-ID: <20040204162237.D96240@carver.gumbysoft.com> References: <200402031202.42129.matt@mattsnetwork.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Hacking the BIOS to get my floppy back? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 05 Feb 2004 00:26:30 -0000 On Tue, 3 Feb 2004, Matt Dawson wrote: > Any pointers would be welcome. I have a box running 5.2.1RC in the > workshop which has the old AMI ACPI and floppy problem. If I boot with > ACPI disabled I get floppy drive. If I boot with ACPI enabled I get no > floppy and the usual fdc0: command failed at out byte 1 of 3 message in > dmesg. First, it'd help to know what motherboard & BIOS version you're using, and if you're on the latest revision. > My question is this: How does one go about hacking the ACPI in the BIOS? Yes; use acpidump to extract the DSDT, hack, recompile with iasl (in ports as acpica-tools or something like that), then use the dsdt_* loader.conf options to load it. The actual options are on the acpi(4) man page, under the section "OVERRIDING YOUR BIOS BYTECODE". And actually, since Linux uses the same code drop, they may have the same problems, and fixes, that FreeBSD needs, particularly if they are patches to the DSDT. Check the archives for links on DSDT hacking. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org