Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-16 Thread Michael Cheponis
Yes, the process for making a floppy useful to an OS is the same as any other computer media. The common "1.44" MB floppy is actually 2.0 MB (12 Mbits) worth of data. However, a controller chip (usually an NEC 765 or equivalent) is used to write certain patterns onto the diskette; for a standard

Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-16 Thread tlaronde
Le Tue, Nov 15, 2022 at 04:04:05PM -0800, Michael Cheponis a écrit : >[...] > > I see other unexpected behavior; when I copy to identical files that are > exactly 1/2 of 1.4 MB long > # ll f1 f2 > > -rw-r--r-- 1 mac wheel 737280 Nov 15 02:53 f1 > -rw-r--r-- 1 mac wheel 737280 Nov 15 02:54

Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-15 Thread Michael van Elst
On Tue, Nov 15, 2022 at 04:04:05PM -0800, Michael Cheponis wrote: > Nov 15 23:42:22 arm64 /netbsd: [ 1728677.3990874] sd1(umass1:0:0): not > ready, data = 00 00 00 00 3a 00 00 00 00 00 > Nov 15 23:42:22 arm64 /netbsd: [ 1729062.2630115] sd1: detached > Nov 15 23:42:22 arm64 /netbsd: [

Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-15 Thread Michael Cheponis
Hmm, this is getting more interesting: Nov 14 20:55:16 arm64 /netbsd: [ 1632636.5571825] umass1 at uhub2 port 1 configuration 1 interface 0 Nov 14 20:55:16 arm64 /netbsd: [ 1632636.5601839] umass1: TEACV0.0 (0x0644) TEACV0.0 (0x), rev 1.10/2.00, addr 3 Nov 14 20:55:16 arm64 /netbsd: [

Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-14 Thread Michael van Elst
On Mon, Nov 14, 2022 at 09:33:07AM -0800, Michael Cheponis wrote: > *# scsictl sd1 format/dev/rsd1: device had unknown status 4* Is there any other message (on console) ? There are 3 cases that produce a 'status 4': - "have short sense" (printed only with SCSI debugging) - "passthrough: adapter

Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-14 Thread Michael Cheponis
*# scsictl sd1 format/dev/rsd1: device had unknown status 4* The dd trick seems to work only if the diskette is pre-formatted. great suggestions, thank you. I'll keep whacking at this. -Mike On Mon, Nov 14, 2022 at 9:11 AM Michael van Elst wrote: > michael.chepo...@gmail.com (Michael

Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-14 Thread Michael van Elst
michael.chepo...@gmail.com (Michael Cheponis) writes: >I would think 'fdformat' would work, but... >*arm64# ./fdformat -f /dev/rsd1 >*fdformat: Device `/dev/rsd1' does not support floppy formatting: >Inappropriate ioctl for device* Try 'scsictl sd1 format'.

Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-14 Thread Andy Ruhl
I found 2 old amd64 floppy images from 2.0. No idea why I still have these: -rwxr--r-- 1 andy andy 1474560 Nov 30 2004 boot1.fs -rwxr--r-- 1 andy andy 1474560 Nov 30 2004 boot2.fs Can you try writing a file of that size to one of those /dev/rsd files using dd? (The man page for

noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-14 Thread Michael Cheponis
I would think 'fdformat' would work, but... *[ 1063553.609981] umass1 at uhub2 port 3 configuration 1 interface 0* *[ 1063553.612982] umass1: TEACV0.0 (0x0644) TEACV0.0 (0x), rev 1.10/2.00, addr 3* *[ 1063553.620984] umass1: using UFI over CBI with CCI* *[ 1063553.621985] atapibus0 at umass1: