fdc0 doesn't attach on my current machine

Norikatsu Shigemura nork at FreeBSD.org
Wed Jun 20 16:13:06 UTC 2007


On Fri, 15 Jun 2007 00:56:53 +0900
Norikatsu Shigemura <nork at 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"


More information about the freebsd-current mailing list