> On Dec 31, 2025, at 6:47 AM, Marco Hoehle <[email protected]> wrote:
> 
> Not sure if this is the right list to ask - but I will try ;).

This is the right list!

See my interleaved replies below.


> I used the x-mas period to setup my local cell again, this time using only 
> omnios latest LTS release (illumos). Unfortunately it was not fully straight 
> forward and I would like to know how to address the below points:
> 
> Also I would like to know if you could incorporate the below mentioned 
> patches for omnios (solaris tree) so that the next maintenance releases will 
> again build out of the box.
> 
> - build process / dokumentation
> - zone support.
> 
> Sorry I try to be brief with the text.
> 
> * —————— build process:
> 
> To build the following pre-requisites are mandatory (this is missing in any 
> doc)
> 
> - SolarisStudio 12.3 (or below).
> - gmake
> - the patches from Tim Creech to work around the „old kerberos includes“ in 
> Illumos 
> - 
> https://git.sr.ht/~tcreech/openafs/commit/220e4c02cf61fdf02dedd65162630171e40571cb
> 
> This patches are mandatory, else „aklog“ and „klog“ will not build. 
> 
> After the patch build will succeed, but kernel optimization needs to be 
> disabled to avoid a kernel panic in afsd (honestly, I am not skilled enough 
> to find out why ..)

There are some SSE (vector) instructions that are not allowed in kernel code.
I believe this has something to do with kernel register conventions, but I 
don't recall the details.
There should already be patches to prevent this on the current master branch 
and in 1.8.0 and up,
but perhaps there is more to do there.  I'll look into it.

> I used this configure options for the build: 
> 
> AS=/../solarisstudio12.3/bin/sunas \
>     CC=/../solarisstudio12.3/bin/suncc \
>     SOLARISCC=/../solarisstudio12.3/bin/suncc \
>     CFLAGS="-Wl,-rpath=/opt/openafs/lib " \
>     ./configure --prefix=/opt/openafs --with-afs-sysname=sunx86_511 
> --enable-namei-fileserver --disable-optimize-kernel
> 
> gmake 
> 
> * —————— build finished after this and all is up and running...
> 
> * —————— zone support
> 
> Also - Tim Creech has some nice and simple hints how to make openafs 
> available in all zones - This works like a charm and I would like to know if 
> you could publish this also on the wiki in the solaris section ? 
> 
> https://werc.tcreech.com/notes/Illumos/OpenAFS_in_Zones
> 
> 
> Well that’s it. 
> 
> So my main question are : 
> 
> - could you please add the patch to the next maintenance release, or minimum 
> a hint on the wiki to show others how to build on omnios / illumos.
> - could you please update the solaris documentation with hints about the 
> build procedure (see the configure options).
> - could you please update the solaris documentation with the references on 
> how to use openafs in zones.

I'll do what I can to get these suggestions submitted and approved for 
upstream, but I can't make any promises, since others must approve.

> Also if you would need, please let me know how I can help and I will happily 
> use some of my spare time to support you.
Thank you, I may ask you to review and/or test the upstream patches.

> And last but not least, I am quite happy with my cell and I am also very 
> grateful that you all keep the old code running and in a clean shape …  ;-) 

Congrats!  Thanks for exercising it on illumOS - I've always wanted to try that 
myself.
> 
> Thanks in advance and have a good start in 2026.

You too.

--
Mark Vitale
OpenAFS release team

Reply via email to