9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Getting sbcd working, and a bug in tar
@ 1995-08-28 21:52 Jeremy
  0 siblings, 0 replies; only message in thread
From: Jeremy @ 1995-08-28 21:52 UTC (permalink / raw)


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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-08-28 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-08-28 21:52 Getting sbcd working, and a bug in tar Jeremy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).