From owner-freebsd-current@FreeBSD.ORG Wed Aug 25 22:09:11 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 088E716A4CE; Wed, 25 Aug 2004 22:09:11 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id B10D443D1D; Wed, 25 Aug 2004 22:09:10 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-127-84-57.dsl.snfc21.pacbell.net [67.127.84.57]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i7PM998U000421; Wed, 25 Aug 2004 15:09:09 -0700 Message-ID: <412D0E04.8040701@root.org> Date: Wed, 25 Aug 2004 15:09:08 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <20040825204757.GD35529@ip.net.ua> <42278.1093467451@critter.freebsd.dk> <20040825212153.GA60718@ip.net.ua> <412D0388.9060201@root.org> <20040825214921.GA62984@ip.net.ua> In-Reply-To: <20040825214921.GA62984@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Poul-Henning Kamp cc: Warner Losh 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 22:09:11 -0000 Ruslan Ermilov wrote: > On Wed, Aug 25, 2004 at 02:24:24PM -0700, Nate Lawson wrote: > >>Ruslan Ermilov wrote: >> >>>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) >> >>>What stuff would you like me to pepper, given the additional >>>information above? >> >>Please send output of devinfo -r to see who is holding something >>overlapping 0x3f0-0x3f5. >> > > Nothing overlapped (I verified with "devinfo -u"), but your mail > made me think. I keep my /boot/device.hints on this notebook > identical to GENERIC.hints. After commenting out "fdc" lines > in /boot/device.hints: > > $ diff -u /sys/i386/conf/GENERIC.hints /boot/device.hints > --- /sys/i386/conf/GENERIC.hints Sat Apr 3 13:59:14 2004 > +++ /boot/device.hints Thu Aug 26 00:32:55 2004 > @@ -1,8 +1,8 @@ > # $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.13 2004/04/01 21:48:31 alfred Exp $ > -hint.fdc.0.at="isa" > -hint.fdc.0.port="0x3F0" > -hint.fdc.0.irq="6" > -hint.fdc.0.drq="2" > +#hint.fdc.0.at="isa" > +#hint.fdc.0.port="0x3F0" > +#hint.fdc.0.irq="6" > +#hint.fdc.0.drq="2" > hint.fd.0.at="fdc0" > hint.fd.0.drive="0" > hint.fd.1.at="fdc0" Try commenting out the fd hints also. > I got this: > > $ dmesg |grep fdc > fdc0: ic_type 90 part_id 73 > fdc0: at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 > fdc0: ic_type 90 part_id 73 > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Good to see this is working. -- Nate