General Category > LisaList2

Writing to Floppy Em in XENIX

(1/2) > >>

8088mph:
I wanted to use Lisa XENIX as a terminal emulator to a Linux PC so I made a couple changes to the Kermit source code and compiled it on XENIX. The program works great, exactly what I wanted. I tried to backup my source changes and the kermit binary to a floppy image using a Floppy Em but regardless of if I try using a blank LOS floppy image or an existing XENIX disk image, I always get corrupt data when trying to read it back. I tried these commands:

tar cvf /dev/fd files

tar cvfk /dev/fd 400 files

Any ideas? If nothing else, I can transfer the files to the PC using Kermit and create a disk image there.

rayarachelian:
Hi 8088mph, welcome.

Not sure, does it work when writing to a real floppy drive? You might want to ask at the big mess o'wires site, my guess would be Xenix is doing something odd, or maybe it's confusing the disk size 400k vs 800k.

are you able to do tar tvf from the disk device and get back what it wrote?

Off the top of my head, and I barely remember this, there's several different floppy devices in the /dev/ directory which turn on different options, I don't recall what they mean, but I think some of them will eject the floppy after a close, and possibly some are different sizes.

8088mph:
I have not tried with a real floppy. I would assume it works since it's the command they have in the XENIX manual. I can try it. I am able to write to the image with no errors. The problem is when I try extracting it with tar xvf, sometimes some of the files are missing, other times they're there but I get a checksum error on tar, sometimes no error but when I go to run the extracted binary, it prints out garbage or doesn't work. I installed Multiplan and Lyrix using the Floppy Emu and tar xvf, and they work, so I think the problem is in writing the files.

stepleton:
Just a thought: do you think this might be an incompatibility having to do with Xenix using a really ancient version of tar?

What happens if you use dd to read and write raw data to the disk? Do you get the same thing on the other side?

jamesdenton:

--- Quote from: 8088mph on April 06, 2020, 09:08:21 pm ---I wanted to use Lisa XENIX as a terminal emulator to a Linux PC so I made a couple changes to the Kermit source code and compiled it on XENIX.

--- End quote ---

Off-topic, but...

Which version of Kermit did you end up using?

I posted two different versions of the source code that I know will compile on UniPlus. I am not sure about XENIX.

https://github.com/arcanebyte/uniplus/tree/master/kermit

Navigation

[0] Message Index

[#] Next page

Go to full version