Re: Weird SCSI trouble

Kurt Garloff (garloff@suse.de)
Tue, 29 Jun 1999 12:58:29 +0200


--rJwd6BRFiFCcLxzm
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 27, 1999 at 09:53:44PM +0200, Nicolas Weeger wrote:
> Hi everybody
>=20
> ok, here's a simple description of my problem :
>=20
> i have a SCSI burner
>=20
>=20
> i usually get an error, like 'cpio : invalid magic number'
> and sometimes files (like mpeg or others) are corrupted when copying
> them....
>=20
> now, if i do :
>=20
> mount /dev/scd0 /cdrom
> cd /cdrom
> cp <any-file> /tmp
> cd ..
> umount cdrom
>=20
> then the file is ok !!!!!
> somebody has an explanation ?
>=20
> i use kernel 2.2.10, i have the same trouble with 2.2.9
> SCSI card is Tekram 390F
> burner is a Yamaha 16/4/4

This is a hard to detect problem.
Your CDR might have a hard time reading your files. I don't know=20
the access patterns of rpm, but they might be different from cp.

Maybe your SCSI bus is too long and arbitration does not work as designed,
so you get conflicts. Maybe the termination is bad. In both cases you
should find some errors in yout syslog. (You did not disable Parity, I hope=
!)

Which SCSI driver do you use? You should use ncr53c8xx ...

--=20
Kurt Garloff <garloff@suse.de> SuSE GmbH, N=FCrnberg, FRG
Linux kernel development; SCSI driver: DC390 (tmscsim/AM53C974)

--rJwd6BRFiFCcLxzm
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in

iQCVAwUBN3im1RaQN/7O/JIVAQHvdwP/f1zfsobqe6dl/VenmsvJfRoNmZOoh+FK
ND/KXxC5WSvqfuoovXJbRKYi7Ab0NmGpqSSxVO9hQDzNFTukz0XI1IiawiYbIrRU
uHsgGZxrgMnwwf9e81OJYOfBwRJX2uljONQM3o80nCH+HT616gG0y1Yq6gvRoFlG
ISuhCohgfdU=
=35Q0
-----END PGP SIGNATURE-----

--rJwd6BRFiFCcLxzm--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/