Re: new fdc(4) and new fdcontrol(8) behavior (5.3-BETA5)

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 21 Sep 2004 14:42:38 +0200
In message <20040921122354.73480.qmail_at_web14827.mail.yahoo.com>, Rostislav Kras
ny writes:

>dmesg fragment from 5.3-BETA5 (verbose):
>
>fdc0: ic_type 90 part_id 80
>fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on
>isa0

>Why the 3F7h port isn't used by new fdc(4) on my system? Is it a
>hardware detection bug?

Warner is working on this issue.

>
>2. fdcontrol cannot access /dev/fd0 when there is no diskette inserted
>
>When no diskette is inserted then running 'fdcontrol [anyflag]
>/dev/fd0' produce following error message:
>
>fdcontrol: open(/dev/fd0): Device not configured

We don't have a specific errno for "No media in drive".  It would have
been nice, but defining errno's is a tricky business.

>What is inspected behavior of fdcontrol(8) in 5.3-BETA5? Isn't its
>current behavior buggy? Is it concerned with 3F7h port that is not used
>on my system by the new fdc(4) driver?

The 0x3f7 is a bug, and as I said Warner is working on that.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Tue Sep 21 2004 - 10:42:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC