cvs commit: src/sys/dev/fdc fdc_isa.c
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Sep 29 01:31:57 PDT 2004
Ok, that clearly looks like your DRIVECHANGE line is not working (for us).
Either we don't read register 3f7 where it should be, or it just plainly
doesn't work.
I'm headed out the door right now, I'll try to think about this during the day.
Poul-Henning
In message <20040929082638.GA901 at freebsd3.cimlogic.com.au>, John Birrell writes:
>On Wed, Sep 29, 2004 at 09:59:39AM +0200, Poul-Henning Kamp wrote:
>> (empty drive)
>> dd if=/dev/fd0 count=1 of=/dev/null
>
>[freebsd3(FreeBSD):jb] dd if=/dev/fd0 count=1 of=/dev/null
>dd: /dev/fd0: Input/output error
>0+0 records in
>0+0 records out
>0 bytes transferred in 20.199995 secs (0 bytes/sec)
>
>> (insert floppy)
>> dd if=/dev/fd0 count=1 of=/dev/null
>
>[freebsd3(FreeBSD):jb] dd if=/dev/fd0 count=1 of=/dev/null
>dd: /dev/fd0: Input/output error
>0+0 records in
>0+0 records out
>0 bytes transferred in 4.058299 secs (0 bytes/sec)
>
>> (remove floppy)
>> dd if=/dev/fd0 count=1 of=/dev/null
>
>[freebsd3(FreeBSD):jb] dd if=/dev/fd0 count=1 of=/dev/null
>dd: /dev/fd0: Input/output error
>0+0 records in
>0+0 records out
>0 bytes transferred in 20.079999 secs (0 bytes/sec)
>
>> (insert floppy)
>> dd if=/dev/fd0 count=1 of=/dev/null
>
>[freebsd3(FreeBSD):jb] dd if=/dev/fd0 count=1 of=/dev/null
>dd: /dev/fd0: Input/output error
>0+0 records in
>0+0 records out
>0 bytes transferred in 1.958785 secs (0 bytes/sec)
>
>> (remove floppy)
>> (insert floppy)
>> dd if=/dev/fd0 count=1 of=/dev/null
>
>[freebsd3(FreeBSD):jb] dd if=/dev/fd0 count=1 of=/dev/null
>dd: /dev/fd0: Input/output error
>0+0 records in
>0+0 records out
>0 bytes transferred in 1.960621 secs (0 bytes/sec)
>
>
>With debug.fdc.debugflags=0x40 (compiled in), there wasn't any device specific
>debug output. With the floppy disk in, there was the "diiiiiiscup' sound as
>the head was driven to a position.
>
>--
>John Birrell
>
--
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.
More information about the cvs-src
mailing list