From owner-freebsd-current Wed Aug 21 13: 1:39 2002 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 E231F37B400 for ; Wed, 21 Aug 2002 13:01:33 -0700 (PDT) Received: from innocence.interface-business.de (innocence.interface-business.de [193.101.57.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DF7043E7B for ; Wed, 21 Aug 2002 13:01:32 -0700 (PDT) (envelope-from j@uriah.heep.sax.de) Received: from innocence.interface-business.de (localhost.interface-business.de [127.0.0.1]) by innocence.interface-business.de (8.12.5/8.12.5/ifb evision: 1.23 $) with ESMTP id g7LK1L8q090614; Wed, 21 Aug 2002 22:01:21 +0200 (CEST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by innocence.interface-business.de (8.12.5/8.12.5/Submit) with UUCP id g7LK1LAG090613; Wed, 21 Aug 2002 22:01:21 +0200 (CEST) Received: from uriah.heep.sax.de (localhost.heep.sax.de [127.0.0.1]) by uriah.heep.sax.de (8.12.5/8.12.5) with ESMTP id g7LJw4Bs082253; Wed, 21 Aug 2002 21:58:04 +0200 (MET DST) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.12.5/8.12.5/Submit) id g7LJw3Lm082252; Wed, 21 Aug 2002 21:58:03 +0200 (MET DST) (envelope-from j) Date: Wed, 21 Aug 2002 21:58:03 +0200 From: Joerg Wunsch To: "Simon 'corecode' Schubert" Cc: current@freebsd.org Subject: Re: acpi prevents fdc to detect correctly Message-ID: <20020821215803.A79795@uriah.heep.sax.de> Reply-To: Joerg Wunsch References: <20020819170055.492ea16c.corecode@corecode.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020819170055.492ea16c.corecode@corecode.ath.cx>; from corecode@corecode.ath.cx on Mon, Aug 19, 2002 at 05:00:55PM +0200 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As Simon 'corecode' Schubert wrote: > my kernel can't detect fdc anymore when loading acpi. does anybody else > have such issues? Hmm, not here. However, my fdc driver is modloaded, too (from the bootloader). I just tried to unload it, then load acpi (which yields module_register_init: MOD_LOAD (nexus/acpi, 0xc02109c0, 0xc3a83824) error 1 but the module appears in kldstat anyway), and then fdc, but that works. Unfortunately, my scratch machine which is available for testing doesn't speak ACPI at all. > i know that it worked with a Aug 6 or a Aug 3 kernel, this was the last > time i accessed my fd0. I haven't been changing much in the fdc(4) code lately. However, the driver gets its resource allocations from elsewhere, and if ACPI is present, wasn't it responsible for assigning resources? I don't know enough about ACPI, sorry. > fdc0: output ready timeout > fdc0: cmd 3 failed at out byte 1 of 3 > fdc0: output ready timeout > fdc0: cmd 3 failed at out byte 1 of 3 All this smells a bit similar to the behaviour of the problem in kern/21397, although it happens on those Compaqs even without ACPI. What's mysterious there is that the boot-time probe works but any later access fails with an FDC that's no longer responding at all to ISA bus selections (pattern 0xff on the bus). > fdc0: cannot reserve I/O port range (6 ports) > fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0 Hmm. This means that the resources are told to be unavailable by whoever has to decide about this. If i read this right, with the acpi module loaded, resource allocation is perhaps handled by ACPI, while otherwise it's handled by the PnP BIOS? -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message