[OpenAFS-devel] Oopses
Sandro Weiser
psi-systems@gmx.net
Sun, 23 Jan 2005 13:30:19 +0100
--nextPart1852675.k23M5Zoy2e
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Am Freitag, 21. Januar 2005 15:20 schrieb Derrick J Brashear:
> Try this, no clue if it will help but it's worth a try:
> --- rx_packet.c 19 Jan 2005 22:39:54 -0000 1.41
> +++ src/rx/rx_packet.c 21 Jan 2005 14:19:20 -0000
> @@ -644,8 +644,10 @@
> MUTEX_EXIT(&rx_stats_mutex);
>
> #ifdef KERNEL
> - if (queue_IsEmpty(&rx_freePacketQueue))
> - osi_Panic("rxi_AllocPacket error");
> + if (queue_IsEmpty(&rx_freePacketQueue)) {
> + rxi_NeedMorePackets =3D TRUE;
> + return (struct rx_packet *)0;
> + }
> #else /* KERNEL */
> if (queue_IsEmpty(&rx_freePacketQueue))
> rxi_MorePacketsNoLock(rx_initSendWindow);
I changed the code, now the processes simply wait forever in state S and=20
even kill -9 can't kill them. But no oopses anymore!
Please send further suggestions, patches!
Sandro
=2D-=20
Sandro Weiser <Sandro.Weiser@gmx.de>
=46ingerprint: 77E0 7C87 4DB2 6BBB 5419 343C 7995 1C67 25B9 CBF1
--nextPart1852675.k23M5Zoy2e
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQBB85jgeZUcZyW5y/ERAgPoAJ4j71U0XGMxzaKNfamm+apovN4HngCfY4sW
kVj6eD/KIAb7G+UfAGg+Wk8=
=LGGM
-----END PGP SIGNATURE-----
--nextPart1852675.k23M5Zoy2e--