From owner-freebsd-current@FreeBSD.ORG Wed Aug 25 21:21:56 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 4B16016A4CE; Wed, 25 Aug 2004 21:21:56 +0000 (GMT) Received: from mail.ipnet.kiev.ua (ns.ip.net.ua [82.193.96.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CB1643D46; Wed, 25 Aug 2004 21:21:55 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by mail.ipnet.kiev.ua (8.12.11/8.12.11) with ESMTP id i7PLLoL1037096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Aug 2004 00:21:51 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7PLLriU060788; Thu, 26 Aug 2004 00:21:53 +0300 (EEST) (envelope-from ru) Date: Thu, 26 Aug 2004 00:21:53 +0300 From: Ruslan Ermilov To: Poul-Henning Kamp , Warner Losh , Nate Lawson Message-ID: <20040825212153.GA60718@ip.net.ua> References: <20040825204757.GD35529@ip.net.ua> <42278.1093467451@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <42278.1093467451@critter.freebsd.dk> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: current@FreeBSD.org Subject: Re: No more floppy drive 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, 25 Aug 2004 21:21:56 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 25, 2004 at 10:57:31PM +0200, Poul-Henning Kamp wrote: >=20 > Ruslan, I have my left arm in a sling and keyboard work is very > painful still so this will be short: >=20 My sympathy. :-( > There are two current problem issues with floppy disks, one is a > ACPI and possibly ISA issue about resource reservation, >=20 I don't think this is related to ACPI. But before I wrote, I tried with and without ACPI -- it didn't make any difference. I think this is an ISA resource reservation issue (see below). > and the > other is that I may have made the probe/attach too selective with > my last commit to fdc.c. >=20 No, I tried backing it out too, before I wrote. This doesn't make any difference except for a visible change (s/printf/ device_printf/ that you made in this commit). > I don't know which of the two you hit here, but suspect the first > because the "device_attach: fdc0 attach returned 2" doesn't look > like anything I have any connection with. >=20 On a kernel compiled without "device fdc" and booted verbosely, "kldload fdc" results in the following: : fdc0: cannot reserve I/O port range (6 ports) : ppc0: cannot reserve I/O port range : fdc1: ic_type 90 part_id 73 : fdc1: at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 = on isa0 : fdc1: ic_type 90 part_id 73 : fdc1: output ready timeout : fdc1: output ready timeout : fdc1: output ready timeout : fdc1: output ready timeout : fdc1: output ready timeout : fdc1: output ready timeout : fdc1: output ready timeout : fdc1: output ready timeout : fdc1: input ready timeout : fdc1: output ready timeout : fdc1: input ready timeout : fdc1: output ready timeout : fdc1: input ready timeout : fdc1: output ready timeout : fdc1: input ready timeout Note that it somehow staffs ppc0 in the middle. The ppc related output before kldload was: : ppc0: parallel port found at 0x3bc : ppc0: cannot reserve I/O port range : ppc0: failed to probe at port 0x3bc-0x3c3 irq 7 on isa0 : ppc1: using normal I/O port range : ppc1: SPP : ppc1: at port 0x3bc-0x3bf irq 7 on isa0 : ppc1: Generic chipset (NIBBLE-only) in COMPATIBLE mode : ppbus0: on ppc1 This is very very odd -- obviously I don't have neither fdc1 nor ppc1. ;) > Please pepper the stuff with printfs and see if you can find out > where it explodes, and then send email to Warner, Nate and me > about what you find. >=20 What stuff would you like me to pepper, given the additional information above? Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBLQLxqRfpzJluFF4RAkgEAJ92SBTMjjGBROdwHfk41pYr9+U8iwCfQAxo 4kzhd9D4Wpb/lBAGJEXFUCI= =LgTz -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--