From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 28 Aug 1995 17:52:36 -0400 From: Jeremy Fitzhardinge jeremy@suede.sw.oz.au Subject: Getting sbcd working, and a bug in tar Topicbox-Message-UUID: 1c49f812-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19950828215236.nS9VRg8TC4KbOHSQnPBGweEIG2YtTY0KQvrGMgVVHBA@z> Hi all, I got the CD on Friday, so I spent the weekend getting it onto my home box. I found that my "Soundblaster compatible" Laserwave CD controller is not really compatible enough. I can bind #m to /dev, but when I try to read from /dev/cd (either manually or with 9660srv) it hangs forever with the CD spinning, in an uninterruptable state. If I eject the cd it terminates with an error. Has anyone had success with using SB-ish CD controllers? Otherwise I'll look at the Linux code and see how it handles my controller (it works well under Linux). I also found while transferring stuff from the CD to the P9 installation via Linux that P9's tar miscalculates directory checksums when there are UTF characters in filenames, making it incompatible with both tars I tried (GNU and pax). The fix is simple (this is from memory since I don't have the source here) - in /sys/src/cmd/tar.c, in the function where it calculates the checksum, it has the line: i += *cp++; where cp is a signed char *. I changed it to i += 0xff & *cp++; J