Re: fdc0 doesn't attach on my current machine

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Thu, 21 Jun 2007 01:13:03 +0900
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
_at__at_ -1,8 +1,8 _at__at_
 # $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"
Received on Wed Jun 20 2007 - 14:13:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC