Subject: port-sparc/27322: running fdformat causes system to lockup
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/22/2004 00:19:24
>Number:         27322
>Category:       port-sparc
>Synopsis:       running fdformat causes system to lockup
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 22 08:47:03 UTC 2004
>Originator:     Rob Mohr
>Release:        2.0 RC3
NetBSD diamond 2.0_RC3 NetBSD 2.0_RC3 (GENERIC) #0: Tue Oct 5 17:53:35 CEST 2004 tecneeq@ascent:/home/tecneeq/builds/NetBSD-2.0_RC3-sparc-obj/sys/arch/sparc/compile/GENERIC sparc
Running fdformat yields the following:

fdformat -f /dev/fd0c
ready to format /dev/fd0c with 80 cylinders, 2 tracks, 9 sectors of 512 bytes (720k) Yes/No[y]?

Oct 21:19:04:26 diamond /netbsd: fd0c: hard error reading from fsbn 0

Oct 21:19:04:26 diamond /netbsd: fd0: controller status: state 17 (st0 70<abnrml, seek)cmplt, drv_chck> cyl 0)


At his point the system locks up and does not respond to mouse or keyboard input with the exception of STOP-A which brought the system to the prom prompt.

On occasion, the above will be followed by a kernal panic and reboot rather than locking up.

Executing "test floppy" from the prom yields a successful test.

Running "eject floppy" from within NetBSD yields the same errors documented above, however the floppy *is* ejected.  Pressing enter gets me back to a unix command line prompt.

Attempt to run fdformat