Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 2004 01:23:45 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        nate@root.org
Subject:   Re: No more floppy drive
Message-ID:  <20040825222345.GB79209@ip.net.ua>
In-Reply-To: <20040825.161733.103236573.imp@bsdimp.com>
References:  <412D0388.9060201@root.org> <20040825214921.GA62984@ip.net.ua> <412D0E04.8040701@root.org> <20040825.161733.103236573.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--4bRzO86E/ozDv8r1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 25, 2004 at 04:17:33PM -0600, M. Warner Losh wrote:
> In message: <412D0E04.8040701@root.org>
>             Nate Lawson <nate@root.org> writes:
> : Ruslan Ermilov wrote:
> :=20
> : > On Wed, Aug 25, 2004 at 02:24:24PM -0700, Nate Lawson wrote:
> : >=20
> : >>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=20
> : >>overlapping 0x3f0-0x3f5.
> : >>
> : >=20
> : > 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:
> : >=20
> : > $ 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=3D"isa"
> : > -hint.fdc.0.port=3D"0x3F0"
> : > -hint.fdc.0.irq=3D"6"
> : > -hint.fdc.0.drq=3D"2"
> : > +#hint.fdc.0.at=3D"isa"
> : > +#hint.fdc.0.port=3D"0x3F0"
> : > +#hint.fdc.0.irq=3D"6"
> : > +#hint.fdc.0.drq=3D"2"
> : >  hint.fd.0.at=3D"fdc0"
> : >  hint.fd.0.drive=3D"0"
> : >  hint.fd.1.at=3D"fdc0"
> :=20
> : Try commenting out the fd hints also.
> :=20
> : > I got this:
> : >=20
> : > $ dmesg |grep fdc
> : > fdc0: ic_type 90 part_id 73
> : > fdc0: <Enhanced floppy controller> at port 0x3f7,0x3f0-0x3f5 irq 6 dr=
q 2 on isa0
> : > fdc0: ic_type 90 part_id 73
> : > fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> :=20
> : Good to see this is working.
>=20
> Generally one doesn't want ANY hints when one has pnpisabios or acpi
> supplying the hints, unless one really does have an exceptional device
> at that location.
>=20
A lot of current@ users report missing /dev/fd0 due to this.  Can this
be fixed somehow?


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--4bRzO86E/ozDv8r1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBLRFxqRfpzJluFF4RAlE0AKCRgHlQBgzpASU/6gtvGIPnY3oQfQCglpY3
CqUtk+AjsuT8UccysLqYfiE=
=h2bE
-----END PGP SIGNATURE-----

--4bRzO86E/ozDv8r1--



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