-
xmerlin
jperkin, Is it possible to create an i386 compilation sandbox in a ceeb6d4e-acab-11ee-8483-00151714048c pkgbuild-lts area? ...I am trying to compile the 32-bit package of Samba, but the sandbox keeps giving me errors. I need to compile the 32-bit portion for the 32-bit libraries present in SmartOS that prevent the member server mode from working correctly and from properly seeing the accounts in the system ...I suppose that such
-
xmerlin
limitation is still present.
-
jperkin
yes you should be able to select the -i386 sandbox type e.g. 2023Q4-i386
-
jperkin
I noticed the other day that my samba32-compat package which I provide to work around that was failing, I'll see if I can get to that soon
-
jperkin
it takes the i386 samba build and relocates the libraries from it for a 64-bit package
-
jperkin
-
xmerlin
I've selected the 2023Q4-i386 sandbox but it doesn't work as expected ...I've compiled 32bit packages on 2020Q4 but it doesn't work now
-
jperkin
can you paste the errors you are getting somewhere?
-
xmerlin
-
xmerlin
you can see both errors
-
jperkin
hmm, that suggests it's using the wrong bmake, 'type bmake' should print /opt/local/bin/bmake but I'm guessing yours says /opt/tools/bin/bmake?
-
jperkin
which suggests the i386 bootstrap kit is missing, I'll check
-
xmerlin
right -> /opt/tools/bin/bmake
-
jperkin
yeh it's missing, ok I'll fix that
-
xmerlin
thanks
-
jbk
speaking of that, is there anything special needed to build GZ pkgsrc packages?
-
jperkin
nope, just use e.g. 2023Q4-tools as the run-sandbox arg
-
jperkin
if you need anything added to the main set just lemme know
-
jperkin
xmerlin: I'll need to publish a new pkgbuild image to fix that properly, but for now you can exit the sandbox and download
pkgsrc.smartos.org/packages/SmartOS…-pbulk/bootstrap-2023Q4-i386.tar.gz manually into /data/packages/SmartOS/bootstrap-pbulk, then the next run-sandbox should work correctly.
-
andyf
jzu - Solaris CBE works under bhyve on OmniOS if you drop the hostbridge, use e1000 for the networking and put the LPC on bus 31. I don't know if smartos exposes enough control for you to make those changes.
-
jzu
andyf: Hmm that's interesting
-
jzu
I get the Solaris loading text and then nothing on ttya/zlogin console
-
jzu
andyf: what's LPC?
-
jperkin
unfortunately some of the bhyve args are very hardwired in SmartOS
-
andyf
It's been a long time since I looked but I think you can drop to grub and edit the boot options to select the serial console - it should get further then but will likely hang during device scan.
-
jzu
yeah I get the output when selecting ttya so I bet it's hanging
-
andyf
LPC is a bus that things like serial ports are hung off. I'm double checking but I think the OmniOS `type=windows` moves it
-
jzu
ah right, the serial ports is working until the loading 'freezes' right after 'SunOS Release 5.11 Version 11.4.0.15.0 64-bit' text
-
andyf
Yes, it does, it moves the PCI-ISA lpc thing from slot 1 to slot 31, which is apparently needed to boot either Windows or Solaris.
-
jzu
hmm wonder how do I set that on SmartOS
-
jzu
maybe I'll just try to get the DVD inserted into the T2000 and forget about network installation through the AI server running in Bhyve :)
-
jbk
i tihnk it means 'low pin count'... effectively it's what replaces the old ISA bus on modern systems for things where a PCI interface would be overkill (e.g. serial ports, TPM, etc)
-
andyf
SmartOS already puts it in 31, so you don't have to do that yourself.
-
andyf
So it's then probably hanging on the hostbridge, or the NIC.
-
jzu
ok so IF I'm lucky e1000 might resolve it
-
andyf
It looks like you can set `hostbridge=none` in the zone config to skip the hostbridge.
-
andyf
-
jperkin
yeh unfortunately you can't easily override virtio-net-viona which is hardcoded in there, however one ugly workaround I managed when I was working on packer stuff is that if you add duplicate arguments in bhyve_extra_opts then the bhyve command will use the later ones
-
jperkin
IIRC some had to go in a bhyve_config(5) file
-
jzu
hehe :)
-
andyf
jzu - do let us know if you have success, and good luck!
-
jzu
Thanks :)
-
xmerlin
jperkin, it works, thank you
-
jperkin
nice, thanks
-
xmerlin
Speaking of encryption, is it possible to encrypt all zones and/or is it possible to encrypt a zone?
-
xmerlin
jperkin, there is a strange problem compiling gcc13
pastebin.com/bHYDA3uH
-
jperkin
ah yeh that's an odd side-effect with check-shlibs, if the package is already installed then it'll produce that error, pkg_delete gcc13 should fix it
-
xmerlin
ok
-
jperkin
I think I may have introduced that with my enhanced checks a few months ago as I don't remember it happening before