alpha/30486: AlphaServer DS10 floppy access is broken

Sten Spans sten at blinkenlights.nl
Wed May 25 20:06:05 GMT 2005


On Wed, 25 May 2005, Wilko Bulte wrote:

> On Wed, May 25, 2005 at 11:00:02AM -0700, Marcel Moolenaar wrote..
>> On May 25, 2005, at 9:35 AM, Marcel Moolenaar wrote:
>>
>>>> But not good either:
>>>>
>>>> ds10#fdformat /dev/fd0
>>>> Format 1440K floppy `/dev/fd0'? (y/n): y
>>>> Processing EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE done.
>>>
>>> Hmmm, this sounds like another problem. The PIO problem mentioned
>>> in the PR. I'll try formatting a disk later today.
>>
>> alpha% sudo fdformat /dev/fd0
>> Format 1440K floppy `/dev/fd0'? (y/n): y
>> Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done.
>>
>> alpha% sudo dd if=/dev/fd0 of=/tmp/fd0 bs=9216
>> 160+0 records in
>> 160+0 records out
>> 1474560 bytes transferred in 64.281643 secs (22939 bytes/sec)
>>
>> alpha% sudo dd of=/dev/fd0 if=/tmp/fd0 bs=9216
>> 160+0 records in
>> 160+0 records out
>> 1474560 bytes transferred in 64.890015 secs (22724 bytes/sec)
>>
>> alpha% sudo newfs /dev/fd0
>> /dev/fd0: 1.4MB (2880 sectors) block size 16384, fragment size 2048
>>         using 3 cylinder groups of 0.50MB, 32 blks, 64 inodes.
>> super-block backups (for fsck -b #) at:
>>  160, 1184, 2208
>>
>> alpha% sudo fsck_ufs /dev/fd0
>> ** /dev/fd0
>> ** Last Mounted on
>> ** Phase 1 - Check Blocks and Sizes
>> ** Phase 2 - Check Pathnames
>> ** Phase 3 - Check Connectivity
>> ** Phase 4 - Check Reference Counts
>> ** Phase 5 - Check Cyl groups
>> 2 files, 2 used, 605 free (21 frags, 73 blocks, 3.5% fragmentation)
>>
>> I can't reproduce the failure... :-(
>
> What machine?  Your Miata?  This is on my DS10.  I think (but I did not
> check...) that my 164sx works.  It probably does not have -current on
> it (I use it as the install target when I build releases :)

I am not 100% sure yet but I think I might have found something:
http://www.uwsg.iu.edu/hypermail/linux/alpha/9912.3/0000.html
https://www.redhat.com/archives/axp-list/2000-January/msg00727.html

But now, with a fresh new, zero'd floppy it seems to work sometimes:

deepthought# dd if=/dev/zero of=/dev/fd0 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.177883 secs (2878 bytes/sec)
deepthought# fdformat /dev/fd0
Format 1440K floppy `/dev/fd0'? (y/n): y
Processing E---------------------------------------
^C
deepthought# dd if=/dev/zero of=/dev/fd0 count=1
dd: /dev/fd0: Input/output error
1+0 records in
0+0 records out

The floppy "quirk" might be needed to keep things going.

On another note, the busdma fix might fix some of the other
reported crashes for RELENG5, I'll try digging up a soundcard.
I'll only be able to test pci cards though, not quite sure
if those were affected as well.

-- 
Sten Spans

"There is a crack in everything, that's how the light gets in."
Leonard Cohen - Anthem


More information about the freebsd-alpha mailing list