[OpenAFS-devel] Oopses
Sandro Weiser
sandro.weiser@gmx.de
Sun, 23 Jan 2005 23:42:54 +0100
--nextPart1844484.eLWUfPOQN1
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
--nextPart1844484.eLWUfPOQN1
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQBB9ChyeZUcZyW5y/ERAh/dAJ0QFcPB10tILYv51rzVFthZcdLi/gCfdVdN
ZPKxj2+vXRYcApPjst/o3Gw=
=ZS7q
-----END PGP SIGNATURE-----
--nextPart1844484.eLWUfPOQN1--