Floppy doesn't work on sparc/5.6. I tested 5.5 and -currrent and same behaviour.
# dd if=floppy56.fs of=/dev/rfd0c bs=36b dd: /dev/rfd0c: Input/output error 1+0 records in 0+0 records out 0 bytes transferred in 3.629 secs (0 bytes/sec) Afte this, the dmesg shows: fd0c: hard error reading fsbn 0 fd0: controller status: state 17 (st0 70<abnrml,seek_cmplt,equ_chck> cyl 0) fd0c: hard error writing fsbn 0 of 0-35 fd0: controller status: state 17 (st0 70<abnrml,seek_cmplt,equ_chck> cyl 0) Here's an old bug report describing similar behaviour. It was marked as fixed but I don't have access to such an old release to confirm if it broke again since then. http://marc.info/?l=openbsd-bugs&m=93776968628448&w=2 fdformat does not seem to work either: # fdformat /dev/rfd0c Format 1440K floppy `/dev/rfd0c'? (y/n): y Processing EEEEEE^C-------------------------------- The floppy works fine from Solaris and an OpenBSD install from floppy also works fine on this machine. So I think it's not a hardware issue.See below for disklabel and dmesg. ---[ disklabel fd0 ]-------------------------------------- # /dev/rfd0c: type: floppy disk: floppy disk label: fictitious duid: 0000000000000000 flags: vendor bytes/sector: 512 sectors/track: 18 tracks/cylinder: 2 sectors/cylinder: 36 cylinders: 80 total sectors: 2880 boundstart: 0 boundend: 2880 drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] c: 2880 0 unused ---[ dmesg ]-------------------------------------- OpenBSD 5.6 (GENERIC) #94: Wed Aug 13 13:54:32 GMT 2014 [email protected]:/usr/src/sys/arch/sparc/compile/GENERIC real mem = 536313856 (511MB) avail mem = 521682944 (497MB) mainbus0 at root: SUNW,SPARCstation-20 cpu0 at mainbus0: RT620/625 @ 166 MHz, on-chip FPU cpu0: 512K byte write-back, 32 bytes/line, sw flush cache enabled obio0 at mainbus0 clock0 at obio0 addr 0xf1200000: mk48t08 (eeprom) timer0 at obio0 addr 0xf1300000: delay constant 54, frequency 2000000 Hz zs0 at obio0 addr 0xf1100000 pri 12, softpri 6 zstty0 at zs0 channel 0 zstty1 at zs0 channel 1 zs1 at obio0 addr 0xf1000000 pri 12, softpri 6 zskbd0 at zs1 channel 0: keyboard, type 5, layout 0x22 wskbd0 at zskbd0: console keyboard zsms0 at zs1 channel 1 wsmouse0 at zsms0 mux 0 fdc0 at obio0 addr 0xf1700000 pri 11, softpri 4: chip 82077 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec auxreg0 at obio0 addr 0xf1800000 power0 at obio0 addr 0xf1a01000 iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range 64MB sbus0 at iommu0: 25 MHz dma0 at sbus0 slot 15 offset 0x400000: rev 2 esp0 at dma0 offset 0x800000 pri 4: ESP200, 40MHz scsibus0 at esp0: 8 targets, initiator 7 sd0 at scsibus0 targ 3 lun 0: <SEAGATE, ST373455LC, 0003> SCSI3 0/direct fixed naa.5000000000000000 sd0: 70007MB, 512 bytes/sector, 143374744 sectors cd0 at scsibus0 targ 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 0494> SCSI2 5/cdrom removable ledma0 at sbus0 slot 15 offset 0x400010: rev 2 le0 at ledma0 offset 0xc00000 pri 6: address 08:00:20:xx:xx:xx le0: 16 receive buffers, 4 transmit buffers bpp0 at sbus0 slot 15 offset 0x4800000: DMA2 "SUNW,DBRIe" at sbus0 slot 14 offset 0x10000 not configured hme0 at sbus0 slot 0 offset 0x8c00000 pri 7: address 08:00:20:xx:xx:xx rev 34 luphy0 at hme0 phy 0: LU6612 10/100 PHY, rev. 1 luphy1 at hme0 phy 1: LU6612 10/100 PHY, rev. 1 ifmedia_match: multiple match for 0x20/0xfffffff, selected instance 0 hme1 at sbus0 slot 0 offset 0x8c10000 pri 7: address 08:00:20:xx:xx:xx rev 34 luphy2 at hme1 phy 0: LU6612 10/100 PHY, rev. 1 luphy3 at hme1 phy 1: LU6612 10/100 PHY, rev. 1 ifmedia_match: multiple match for 0x20/0xfffffff, selected instance 0 hme2 at sbus0 slot 0 offset 0x8c20000 pri 7: address 08:00:20:xx:xx:xx rev 34 luphy4 at hme2 phy 0: LU6612 10/100 PHY, rev. 1 luphy5 at hme2 phy 1: LU6612 10/100 PHY, rev. 1 ifmedia_match: multiple match for 0x20/0xfffffff, selected instance 0 hme3 at sbus0 slot 0 offset 0x8c30000 pri 7: address 08:00:20:xx:xx:xx rev 34 luphy6 at hme3 phy 0: LU6612 10/100 PHY, rev. 1 luphy7 at hme3 phy 1: LU6612 10/100 PHY, rev. 1 ifmedia_match: multiple match for 0x20/0xfffffff, selected instance 0 cgsix0 at sbus0 slot 2 offset 0x0 pri 9: SUNW,501-2325, 1152x900, rev 11 wsdisplay0 at cgsix0 mux 1: console (std, sun emulation), using wskbd0 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0 root on sd0a (1e9e20243ed765fe.a) swap on sd0b dump on sd0b
