[OpenAFS] openafs, swsusp2, pf_freeze and refrigerator

William John Murray W.J.Murray@rl.ac.uk
Tue, 13 Sep 2005 23:03:20 +0100


   Hi all,
      I tried the cvs snap of the 10th, and again on the 12th and I stll
find


/usr/local/src/openafs-snap-2005-09-12/src/libafs/MODLOAD-2.6.12-1.1398_FC4=
_cubbi1_swsusp2-SP/osi_sleep.c: In function =1B$-1=C3=B2=C3=B8afs_osi_Sleep=
Sig=C3=B2=C3=B9:
/usr/local/src/openafs-snap-2005-09-12/src/libafs/MODLOAD-2.6.12-1.1398_FC4=
_cubbi1_swsusp2-SP/osi_sleep.c:201: error: =1B$-1=C3=B2=C3=B8struct task_st=
ruct=C3=B2=C3=B9 has no member named =C3=B2=C3=B8todo=C3=B2=C3=B9
/usr/local/src/openafs-snap-2005-09-12/src/libafs/MODLOAD-2.6.12-1.1398_FC4=
_cubbi1_swsusp2-SP/osi_sleep.c: In function =1B$-1=C3=B2=C3=B8osi_TimedSlee=
p=C3=B2=C3=B9:
/usr/local/src/openafs-snap-2005-09-12/src/libafs/MODLOAD-2.6.12-1.1398_FC4=
_cubbi1_swsusp2-SP/osi_sleep.c:291: error: =1B$-1=C3=B2=C3=B8PF_FREEZE=C3=
=B2=C3=B9 undeclared (first use in this function)
/usr/local/src/openafs-snap-2005-09-12/src/libafs/MODLOAD-2.6.12-1.1398_FC4=
_cubbi1_swsusp2-SP/osi_sleep.c:291: error: (Each undeclared identifier is r=
eported only once
/usr/local/src/openafs-snap-2005-09-12/src/libafs/MODLOAD-2.6.12-1.1398_FC4=
_cubbi1_swsusp2-SP/osi_sleep.c:291: error: for each function it appears in.=
)
make[6]: ***
[/usr/local/src/openafs-snap-2005-09-12/src/libafs/MODLOAD-2.6.12-1.1398_FC=
4_cubbi1_swsusp2-SP/osi_sleep.o] Error 1

The only check in the config seems to be whether refigerator(PF_FREEZE)
compiles or not, but I don't have PF_FREEZE.

   By the way, I tried just removing it (though you said that was wrong)
and corrupted my ext3 partition, so I'll probably listen next time!
         Bill



On Fri, 2005-09-09 at 10:06 -0400, Derrick J Brashear wrote:
> On Fri, 9 Sep 2005, Murray, WJ (Bill) wrote:
>=20
> >   Hi Derrick,
> >        Same problem as a previous poster - I am not signed into the
> > announce list, silly me. But when nothing appears under 'unstable'
> > on the WWW page it doesn't encourage me to look further.
> >
> >      I tried it, and something still seems to be wrong.
> > I still get an error that PF_FREEZE is not defined.
>=20
> That's fixed in CVS as of yesterday, but not in an rc yet. Sorry.
>=20
> > #ifdef AFS_LINUX26_ENV
> > #ifdef CONFIG_PM
> > #ifdef LINUX_REFRIGERATOR_TAKES_PF_FREEZE
> > 	if (current->flags & PF_FREEZE)
> > 	    refrigerator(PF_FREEZE);
>=20
> not necessarily.
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info