Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 14:42:38 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Rostislav Krasny <rosti_bsd@yahoo.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: new fdc(4) and new fdcontrol(8) behavior (5.3-BETA5) 
Message-ID:  <8360.1095770558@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 21 Sep 2004 05:23:54 PDT." <20040921122354.73480.qmail@web14827.mail.yahoo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20040921122354.73480.qmail@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@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.



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