Date: Mon, 23 Dec 2013 17:50:52 +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: <20131223155052.GD59496@kib.kiev.ua> In-Reply-To: <201312231335.rBNDZSVb021695@pozo.com> References: <201312221754.rBMHssMv004688@pozo.com> <20131223073102.GA59496@kib.kiev.ua> <201312231335.rBNDZSVb021695@pozo.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Mon, Dec 23, 2013 at 05:35:23AM -0800, Manfred Antar wrote: > At 11:31 PM 12/22/2013, you wrote: > >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 drive on i386 and sparc64 on current. > >> I don't have any other machines to test on. > >> here is example: > >> > >> r259199: > >> (/)4794}mt rew > >> (/)4795}tar cvf /dev/sa0 kernel > >> a kernel > >> > >> r259200: > >> (/)4781}mt rew > >> (/)4782}tar cvf /dev/sa0 kernel > >> a kerneltar: Write error > >> > >> the changes between the two revisions: > >> line 3682 removed: > >> > >> bp->b_resid = bip->bio_resid; /* XXX: remove */ > >> > >> 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. > > > > It will take me a few hours, back to work today. > Same thing happens with dump too. > The Tape drives are SCSI Quantum DLT used on both machines i386 and sparc64 (Sun Netra) > using version 258174 of vfs_bio.c on current kernels, I was able to do a full dump of both machines without a problem. > The error is when trying to read or write to the tape drive. > What is the exact command for kdump that you want ? > I can do it when I get home this afternoon. > Thanks > Manfred > ktrace -i tar ... kdump -s >some.file I need some.file. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSuFvbAAoJEJDCuSvBvK1BFZUP/ivYTZjKgK3swOHvz5USvi2V 05DLeSwpNp6wYoFwODX6LWGFJ45lK+aeHfHKL/XGTOEmuXWaEdUhvKf/bDkAzTG4 hj0XbGs2alz17560GzfAdmsWCSPEQCpDHANxxu5RLDMjGugB3jmWxuMOqdUIdCbV /h/vWqqfJHAGO/56wQ7vGud+PAK9XHs7COaMc3E3iiXiVSO0RNP+EqkanR5IW3EJ +uXCf7rVn18sSXNAfoC504i9e6bRbuB+MmVAWJHUEqDAFAX6v3xxKqIoOpyD9SnV Y1kJnpzr3X+OlWKIuNjQTnelh/i96HtDyoQpezbKErOr5ou1iEPSwOETOZ9SfqnI mIJZ2tSnIdP8S240b1d56qeDPOtd/MieWoD4/QfGRwUg6CIgHWc4azrNINbodak/ UoYpv8ChqS9gs1/2HzkDUgw2pi9Lw4lZtRF0UlppGYpto2fzte2Kbpe8RLvA4U2c dJKNRKgOJeJSWUbTNZgEMZydw9lp0qh3SwL1AeOdSPVc4nQgXYsCYa8rYrQnY+hC qPifyE8fS1fJ1cCFjia9G0DgumBNc+jkAlGOn1grdCTz/DzSHLZHdoAis9Xn9oZv rCbHQCIsnebWb4/434FqPG4reqXs6ggNFRLs9XoaYJJT84cQdassbDvsX9fkFcmr EaDgjoqLZgWAUyhKjaG/ =pCFs -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131223155052.GD59496>
