cvs commit: src/sys/dev/fdc fdc_isa.c

John Birrell jb at cimlogic.com.au
Tue Sep 28 23:51:36 PDT 2004


On Wed, Sep 29, 2004 at 12:38:29AM -0600, M. Warner Losh wrote:
> In message: <18087.1096439345 at critter.freebsd.dk>
>             "Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> : In message <20040929061750.GA910 at freebsd3.cimlogic.com.au>, John Birrell writes:
> : >On Wed, Sep 29, 2004 at 05:17:26AM +0000, Warner Losh wrote:
> : >> imp         2004-09-29 05:17:26 UTC
> : >> 
> : >>   FreeBSD src repository
> : >> 
> : >>   Modified files:        (Branch: RELENG_5)
> : >>     sys/dev/fdc          fdc_isa.c 
> : >>   Log:
> : >>   MFC: Merge case 8 into the resource allocation from 1.15:
> : >>   
> : >>   >>revision 1.15
> : >[ ... ]
> : >>   If you get floppy hangs on boot, please try after this patch and let
> : >>   me know if they are solved.
> : >
> : >This patch doesn't change things for me. The server doesn't hang
> : >indefinitely, but in waits for about 2 minutes (as it did before the patch)
> : >after writing:
> : >
> : >acd0: CDROM <WEARNES CDD-1020/B1.0> at ata1-master PIO3
> : >
> : >to the screen. Then it carries on as though nothing had ever happened.
> : >During the 2 minute delay, the floppy disk light is on, but I don't hear
> : >the burrrp-buzzurrp[1] sound that the floopy disk usually makes when it
> : >is probed without a disk in it.
> : 
> : Can you try to set the debugflags in fdc.c to 255 and g_debugflags in geom/geom_kern.c
> : to 7 and see if you can find out what's going on in those two minutes ?
> 
> Can you also send me your dmesg line for fdc?

Sep 29 16:11:32 freebsd3 kernel: fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
Sep 29 16:11:32 freebsd3 kernel: fdc0: [FAST]
Sep 29 16:11:32 freebsd3 kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0

For phk:

The debug settings show a loop:

Retry line 1054
Too many retries
00 00 00 00 af 10 12 80 57 00

.... at first. This happens for at least the first 30 seconds. I'll need to setup
a serial console to capture the output accurately because the output changes and
some geom debug is output. There is too much for me to transcribe.

Can you suggest a place where debug could be cancelled because the machine gets
very frantic when it's booted? 8-)

-- 
John Birrell


More information about the cvs-src mailing list