Thank you TSU for your suggestion. What I really want to do is use a CD-RW disc like a floppy disk. I had done that before on a computer running Windows using a program called Nero InCD. Supposedly this can be done on Linux as well.
I have made a little more progress. I successfully mounted one disc read/write. I suspect that some of the discs I was trying to mount may have been formatted as UDF 2.50 for which Linux currently has no write support. I don’t know how to find out what UDF version is on each disc. When putting the discs back into a computer running Windows which would not mount on the Linux box, the listed files were a set of small HTML files that InCD puts on the discs instead of the files I had saved on the discs. Windows reported that one of the discs was corrupt.
The point at which I am stuck now is that I cannot format any disc with UDF. I’m using CD-RW discs. Here’s what I try:
cdrwtool -d /dev/sr0 -q
using device /dev/sr0
512KB internal buffer
setting write speed to 12x
wait_cmd: Bad address
Command failed: bb 00 ff ff 08 40 00 00 00 00 00 00 - sense 00.00.00
set speed
cdrwtool -b full -d /dev/sr0
setting speed to 12
full blank
using device /dev/sr0
512KB internal buffer
setting write speed to 12x
mkudffs /dev/sr0
trying to change type of multiple extents
I’ve tried to format used CD-RW discs and new ones, and I can’t get a successful format on anything. I think on one attempt there were no errors reported but when I ran ‘file -s /dev/sr0’ it just said ‘data’ instead of UDF.
dmesg:
9735.284423] sr 2:0:0:0: [sr0] tag#5 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
9735.284426] sr 2:0:0:0: [sr0] tag#5 Sense Key : Illegal Request [current]
9735.284427] sr 2:0:0:0: [sr0] tag#5 Add. Sense: Logical block address out of range
9735.284429] sr 2:0:0:0: [sr0] tag#5 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
9735.284429] blk_update_request: I/O error, dev sr0, sector 0
9735.296522] sr 2:0:0:0: [sr0] tag#6 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
9735.296524] sr 2:0:0:0: [sr0] tag#6 Sense Key : Illegal Request [current]
9735.296525] sr 2:0:0:0: [sr0] tag#6 Add. Sense: Logical block address out of range
9735.296526] sr 2:0:0:0: [sr0] tag#6 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
9735.296527] blk_update_request: I/O error, dev sr0, sector 0
9735.296528] Buffer I/O error on dev sr0, logical block 0, async page read
9735.304475] sr 2:0:0:0: [sr0] tag#7 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
9735.304477] sr 2:0:0:0: [sr0] tag#7 Sense Key : Illegal Request [current]
9735.304478] sr 2:0:0:0: [sr0] tag#7 Add. Sense: Logical block address out of range
9735.304479] sr 2:0:0:0: [sr0] tag#7 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
9735.304480] blk_update_request: I/O error, dev sr0, sector 0
9735.304481] Buffer I/O error on dev sr0, logical block 0, async page read
9735.312425] sr 2:0:0:0: [sr0] tag#8 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
9735.312427] sr 2:0:0:0: [sr0] tag#8 Sense Key : Illegal Request [current]
9735.312428] sr 2:0:0:0: [sr0] tag#8 Add. Sense: Logical block address out of range
9735.312429] sr 2:0:0:0: [sr0] tag#8 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
9735.312430] blk_update_request: I/O error, dev sr0, sector 0
9735.312431] Buffer I/O error on dev sr0, logical block 0, async page read
9735.320536] sr 2:0:0:0: [sr0] tag#9 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
9735.320538] sr 2:0:0:0: [sr0] tag#9 Sense Key : Illegal Request [current]
9735.320539] sr 2:0:0:0: [sr0] tag#9 Add. Sense: Logical block address out of range
9735.320540] sr 2:0:0:0: [sr0] tag#9 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
9735.320541] blk_update_request: I/O error, dev sr0, sector 0
9735.320542] Buffer I/O error on dev sr0, logical block 0, async page read
9735.328452] sr 2:0:0:0: [sr0] tag#10 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
9735.328454] sr 2:0:0:0: [sr0] tag#10 Sense Key : Illegal Request [current]
9735.328455] sr 2:0:0:0: [sr0] tag#10 Add. Sense: Logical block address out of range
9735.328456] sr 2:0:0:0: [sr0] tag#10 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
9735.328457] blk_update_request: I/O error, dev sr0, sector 0
9735.328458] Buffer I/O error on dev sr0, logical block 0, async page read
9735.336461] sr 2:0:0:0: [sr0] tag#11 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
9735.336463] sr 2:0:0:0: [sr0] tag#11 Sense Key : Illegal Request [current]
9735.336464] sr 2:0:0:0: [sr0] tag#11 Add. Sense: Logical block address out of range
9735.336465] sr 2:0:0:0: [sr0] tag#11 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
9735.336466] blk_update_request: I/O error, dev sr0, sector 0
9735.336467] Buffer I/O error on dev sr0, logical block 0, async page read
9735.344566] sr 2:0:0:0: [sr0] tag#12 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
9735.344568] sr 2:0:0:0: [sr0] tag#12 Sense Key : Illegal Request [current]
9735.344569] sr 2:0:0:0: [sr0] tag#12 Add. Sense: Logical block address out of range
9735.344570] sr 2:0:0:0: [sr0] tag#12 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
9735.344571] blk_update_request: I/O error, dev sr0, sector 0
9735.344572] Buffer I/O error on dev sr0, logical block 0, async page read
9735.352489] sr 2:0:0:0: [sr0] tag#13 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
9735.352491] sr 2:0:0:0: [sr0] tag#13 Sense Key : Illegal Request [current]
9735.352492] sr 2:0:0:0: [sr0] tag#13 Add. Sense: Logical block address out of range
9735.352493] sr 2:0:0:0: [sr0] tag#13 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
9735.352494] blk_update_request: I/O error, dev sr0, sector 0
9735.352495] Buffer I/O error on dev sr0, logical block 0, async page read
9735.364595] sr 2:0:0:0: [sr0] tag#14 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
9735.364597] sr 2:0:0:0: [sr0] tag#14 Sense Key : Illegal Request [current]
9735.364598] sr 2:0:0:0: [sr0] tag#14 Add. Sense: Logical block address out of range
9735.364599] sr 2:0:0:0: [sr0] tag#14 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
9735.364600] blk_update_request: I/O error, dev sr0, sector 0
9735.364601] Buffer I/O error on dev sr0, logical block 0, async page read
9735.372523] Buffer I/O error on dev sr0, logical block 0, async page read
If I can format discs with UDF then I might be able to get things working.