From owner-freebsd-current@FreeBSD.ORG Wed Apr 30 14:55:18 2003 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 ACD4637B401 for ; Wed, 30 Apr 2003 14:55:18 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25A5D43FBD for ; Wed, 30 Apr 2003 14:55:18 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0402.cvx21-bradley.dialup.earthlink.net ([209.179.193.147] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19AzXk-0004kj-00; Wed, 30 Apr 2003 14:55:13 -0700 Message-ID: <3EB045C5.C676A1BF@mindspring.com> Date: Wed, 30 Apr 2003 14:53:09 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: jeff@walters.name, current@freebsd.org References: <200304301308.06597.jeff@walters.name> <3EB04300.E9028B91@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4a3c42c0e2d5769158b32e2a778a27e7e667c3043c0873f7e350badd9bab72f9c350badd9bab72f9c Subject: Re: ACPI vs. /dev/fd0 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: Wed, 30 Apr 2003 21:55:19 -0000 Terry Lambert wrote: > Jeff Walters wrote: > > I cannot load the ACPI module in 5.0-current and get a working floppy drive > > simultaneously. With ACPI loaded the dmesg | grep fdc0 is: > > > > fdc0: cmd 3 failed at out byte 1 of 3 > > fdc0: cmd 3 failed at out byte 1 of 3 > > fdc0: cannot reserve I/O port range (6 ports) > > > > With the ACPI module disabled in /boot/loader.conf, I get: > > > > fdc0: at port > > 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 > > fdc0: FIFO enabled, 8 bytes threshold > > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > > Probably it needs to be explicitly enabled, having been disabled > by default. Is this an external/drive-swap-bay floppy? More comments: it's probably worth checking the status on each open request, and enabling it if it's currently disabled, and checking the status to make sure it did it. A lot of ACPI assumes that the OS will take over responsibility for power management and things like that. I've seen more than one ACPI setup that powered down things under it's control. This may mean that there needs to be a power management layer integrated into the device management subsystems in FreeBSD, at some point. -- Terry