Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2007 01:13:03 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        current@FreeBSD.org
Cc:        Norikatsu Shigemura <nork@FreeBSD.org>
Subject:   Re: fdc0 doesn't attach on my current machine
Message-ID:  <20070621011303.38daa40a.nork@FreeBSD.org>
In-Reply-To: <20070615005653.34b43c09.nork@FreeBSD.org>
References:  <20070615005653.34b43c09.nork@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 15 Jun 2007 00:56:53 +0900
Norikatsu Shigemura <nork@freebsd.org> 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: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: [FILTER]
> device_attach: fdc0 attach returned 12
> fdc1: <floppy drive controller> 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: <floppy drive controller> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070621011303.38daa40a.nork>