From owner-freebsd-current@FreeBSD.ORG Wed Jun 20 16:13:06 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A3E516A469; Wed, 20 Jun 2007 16:13:06 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.freebsd.org (Postfix) with ESMTP id C6A5513C45B; Wed, 20 Jun 2007 16:13:05 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from mail.ninth-nine.com ([IPv6:2001:3e0:4cf:1:d2:ff:fe23:1b4]) (authenticated bits=0) by sakura.ninth-nine.com (8.14.1/8.14.1/NinthNine) with ESMTP id l5KGD4A3065574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Jun 2007 01:13:04 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Thu, 21 Jun 2007 01:13:03 +0900 From: Norikatsu Shigemura To: current@FreeBSD.org Message-Id: <20070621011303.38daa40a.nork@FreeBSD.org> In-Reply-To: <20070615005653.34b43c09.nork@FreeBSD.org> References: <20070615005653.34b43c09.nork@FreeBSD.org> X-Mailer: Sylpheed 2.4.2 (GTK+ 2.10.13; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [IPv6:2001:3e0:4cf:0:230:48ff:fe41:2455]); Thu, 21 Jun 2007 01:13:04 +0900 (JST) Cc: Norikatsu Shigemura Subject: Re: fdc0 doesn't attach on my current machine X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jun 2007 16:13:06 -0000 On Fri, 15 Jun 2007 00:56:53 +0900 Norikatsu Shigemura wrote: > I didn't notice this issue until now. So I don't know when this > issue started. The issue is that I can't attach floppy disk > drive. I doesn't disable FDC on BIOS, and I can boot from > floppy disk. What should I do? > # kldload fdc > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: [FILTER] > device_attach: fdc0 attach returned 12 > fdc1: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc1: [FILTER] > device_attach: fdc1 attach returned 12 Thanks for simokawa's advice. I can fix this issue. Because device.hints force-required fdc0 on isa, so fdc0 on acpi0 couldn't allocate some resources. fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 --- /boot/device.hints.orig 2006-05-21 22:00:29.000000000 +0900 +++ /boot/device.hints 2007-06-21 00:53:56.000000000 +0900 @@ -1,8 +1,8 @@ # $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.16 2006/05/17 21:25:22 marius 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"