[ENBD] Re: 20G dd hang up!

Matthew Sackman enbd@lists.community.tummy.com
Mon, 7 Jan 2002 19:33:32 +0000


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

On Mon, Jan 07, 2002 at 11:40:53PM +0900, Takahiro WATANABE wrote:
>=20
> I have tried to use nbd-2.4.17.tgz and change the block size,
> then tested the dd command again.
>=20
> # dd if=3D/dev/zero of=3D/dev/nda bs=3D1048576 count=3D19539
>=20
> Then I have got the following messages constantly:
>=20
> -------- messages ----------
> nbd-client-netserver: write exits OK
> nbd-client-netserver: write enters for sector 38904 len 1024
> nbd-client-netserver: net_send_req enters with req type 1 handle 0x4bfc l=
en 1024 off 19918848
> nbd-client-netserver: net_send_req 8050a08 writes to stream 805a524 from =
req bffff348 len 76
> nbd-client-netserver: net_send_req returns 76 from write_str 805a524 from=
 req bffff348 len 76
> nbd-client-netserver: net_send_req writes to stream 805a524 from buf 805e=
1fc len 1024
> nbd-client-netserver: net_send_req returns 1024 from write_str 805a524 fr=
om buf 805e1fc len 1024
> nbd-client-netserver: net_send_request returns 1024 on req type 1 with ha=
ndle 0x4bfc
> -------- messages ----------
>=20
> Finally, the machine itself hanged up.
>=20
>=20
> What I have done is:
>=20
> # tar zxf (somewhere)/nbd-2.4.17.tgz
> # cd nbd-2.4.17
>=20
> Then I edited the Makefile.=20
> Changed points are:
>=20
> # diff Makefile.orig Makefile
> 44c44
> < SERVER       =3D localhost
> ---
> > SERVER       =3D machineA
> 46c46
> < CLIENT       =3D localhost
> ---
> > CLIENT       =3D machineB.
>=20
> # make config
> # make
> # make test (this didn't succeed.)
> # make install
>=20
> Then I had the server(machineA)=20
> and client(machineB) started as follows:
>=20
> machineA# nbd-server 5058 /dev/sda1  -t 120 -b 1024  -0.
>=20
> machineB# rmmod nbd
> machineB# insmod nbd.o rahead=3D20 merge_requests=3D0 sync_intvl=3D0
> machineB# nbd-client machineA 5058 machineA  -b 1024 -t 120  -jb /tmp/nbd=
.log -p 5 -d 1 /dev/nda.
>=20
What network cards are you using? I have had a whole load of similar
problems with netgear fa311a cards which I've now pulled out of every
machine I have - almost anything seems to be better than those cards
which just drop packets.

Might be something...

Matthew

--=20

Matthew Sackman
Nottingham
England

BOFH Excuse Board:
waste water tank overflowed onto computer

--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjw5+AsACgkQyVidNl+aaf+NUACdHQjQtHWDrjbXxFfvk54Joqvg
qksAoKtRDl+IIadQ4528e2O1irOWsxnx
=E+CB
-----END PGP SIGNATURE-----

--6TrnltStXW4iwmi0--