Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2013 09:31:03 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Manfred Antar <null@pozo.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: vfs_bio.c revision 259200 breaks writing to tape drive on current
Message-ID:  <20131223073102.GA59496@kib.kiev.ua>
In-Reply-To: <201312221754.rBMHssMv004688@pozo.com>
References:  <201312221754.rBMHssMv004688@pozo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--aOZrkUVdaUsw04Ox
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Dec 22, 2013 at 09:54:49AM -0800, Manfred Antar wrote:
> The change to vfs_bio.c in revision 259200 breaks writing to scsi tape dr=
ive on i386 and sparc64 on current.
> I don't have any other machines to test on.
> here is example:
>=20
> r259199:
> (/)4794}mt rew
> (/)4795}tar cvf /dev/sa0 kernel
> a kernel
>=20
> r259200:
> (/)4781}mt rew
> (/)4782}tar cvf /dev/sa0 kernel
> a kerneltar: Write error
>=20
> the changes between the two revisions:
> line 3682 removed:
>=20
> bp->b_resid =3D bip->bio_resid;   /* XXX: remove */
>=20
> I noticed this when trying to do a dump and getting end of tape error.
> tried different tape drives , different cables no change.
> backed out r259200 to 259199 and everything works as before.
> Manfred

Show me the kdump of the tar commands on both revisions.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBAgAGBQJSt+a2AAoJEJDCuSvBvK1BES0QAIIwzSc7msBOqE4p8EnRd0wn
FszXzyQuDhm+U0C9rMa6QVwYphczSlRNeBdaWw/vnZ1S6nxor9ImiZ4Y8i57EuO7
5PwfQiFavqFbmV75LRUN5d6vdVXKi5rHNME2KhQN7durihdFkfsqnSF0Icsqx3yz
L+8rcqdfUDdlkc6+gjU/YOfx39/zI5xmxWxfob5SFwbtwy68NcYkdZsGfqXt3NLL
zfjw6GQYmHzl75DY4C6Lh4yY/JCIqsATxQd7aWv7U/jafzlRFO3InelIl3VWrlKu
7+XWBgXEy7HYtvi4/8+XYzU+BZR8R0bJw9c+FFZdidNGb1SGZzLFr88tDjWKOBXm
lRHnRC7CzSGvGL2YNBHe3+Cr2U3+u8cv5DxW0ECoKjQKIzf3C26jC1+pxnUR3pTP
jdFMbinezz+0gXfqOyNFaucf4HByxdid2YhdQURNqtLE6QQoABYwob4v5ED9OlhS
Pri3YWmOSBxw86rXqIUcrBxO5El7iS49oW4IxoDl5WSfRQQWmWVr73lxylAqTBGj
TTPgaSOtGLfUU5PSCZAXiXZU/wVMqVP9UPB8RnXDN4u861w8aAXQFmq6gfJoE1z0
Y8Vcmn9jhnkiHViwfQikkD9No9Wbh/ySOXKA+ofqV2fJ6SxFDjCslZQdf1OrOXfY
S8hBAGE48PlfP71sNLrY
=Lm7m
-----END PGP SIGNATURE-----

--aOZrkUVdaUsw04Ox--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131223073102.GA59496>