-
jbk
i tihnk those are for older disks that misreport their block size, so it's overriding that
-
jclulow
tozhu: I would probably leave the BIOS settings alone unless you're having a specific issue.
-
tozhu
Hi Jclulow, Thank you
-
antranigv
I'm getting the following error while building nightly and I have no idea what to do :) "nightly: Error: could not bootstrap tools"
-
antranigv
It starts at "Warning: Command failed for target `smatch.o'". Should I disable smatch?
-
antranigv
Well, disabling smatch didn't help.
-
andyf
You should be able to find more information in `log/latest/nightly.log`. Can you find why it's failing to build smatch.o?
-
antranigv
andyf oh, looks like it was gcc issues, the path was wrong.
-
antranigv
andyf danke, as always
-
andyf
Which .env file are you using with nightly, and what distribution are you running on?
-
antranigv
andyf I'm on OmniOS r151050, however I am building illumos-gate from illumos, without omni(1).
-
andyf
Instructions for building are at
illumos.org/docs/developers/build but if you're running OmniOS you can use one of the files under /opt/onbld/env/
-
andyf
Try `nightly /opt/onbld/env/omnios-illumos-gate` as a starting point
-
andyf
Well,`./usr/src/tools/scripts/nightly /opt/onbld/env/omnios-illumos-gate` to be exact
-
antranigv
andyf default config says python39, but r151050 comes with 3.12, now I'm getting mv: cannot access ../__pycache__/CStyle.cpython-39.pyc
-
andyf
That file (/opt/onbld/env/omnios-illumos-gate) should be right - it has "export PYTHON3_VERSION=3.12" on line 306
-
antranigv
andyf thanks! I just got there :D I should read faster :D
-
antranigv
it's building! thanks!
-
antranigv
finally, an operational question that's been killing me for years. in other Unix systems like FreeBSD I set variables using sysctl, how can I set things in illumos, like ARC max?
-
denk
look at /etc/system
-
andyf
Persistently, you can set them in the `/etc/system` file or an individual file under `/etc/system.d/`
-
andyf
Some can be tuned on the fly with `mdb -kw`, but it depends on how they're used, when they're read etc.
-
antranigv
I see, now I need to figure out how to setup ARC max.
-
andyf
Also whether it's something that makes sense. The ARC uses otherwise unused memory and will shrink automatically when there is memory pressure. It's generally a good thing to use that memory as a filesystem cache.
-
antranigv
andyf oh yeah, indeed, I just like having a static max arc so no surprises
-
unixery-u1
Hi, what is a good ressource to obtain infos about Image Packaging System? How does it work? How does it work with zones? What are the pros and why is it so slow compared to other tools I know :-)
-
andyf
ZFS is intended to be completely self tuning. It doesn't always get it right though (e.g.
github.com/oxidecomputer/helios/blo…ates/files/gimlet-system-zfs%3Adbuf)
-
antranigv
andyf I have an idea for a feature but I have no idea if it's even important. I'd like to implement `kstat -d` which shows a description of a stat or a variable.
-
antranigv
andyf danke for the link
-
andyf
unixery-u1 -
docs.openindiana.org/dev/pdf/ips-dev-guide.pdf is a good place to start for an overview.
-
unixery
thanks
-
antranigv
-
andyf
It is slow mostly because it works by taking the IPS image (e.g. / in the GZ) to a target state, regardless of the starting state. The actual guts of this process is an extremely fast SAT solver.
-
andyf
Compare that to systems which download and unpack an archive to install a new package, for example
-
antranigv
wow it's been building for 30 minutes. How long does it take usually?
-
andyf
antranigv - depends on the machine. 30-90 minutes
-
antranigv
here's my machine:
build0.illumos.am
-
antranigv
it ain't much, but it can get things done.
-
andyf
Probably not much longer then :)
-
antranigv
real 59m34.110s
-
antranigv
well, that's good
-
antranigv
do I need to reboot to get into my nightly build, or can I just chroot into it? I prefer to chroot since my changes are mostly in Userland.
-
antranigv
looks like I can chroot into /code/illumos-gate/proto/root_i386
-
antranigv
and the problem with chrooting is that I might not be able to use a debugger :/
-
andyf
You should be able to, just not on the kernel
-
andyf
For testing userland things you can chroot, or just run the new binaries, or set LD_LIBRARY_PATH and run the binaries.. whatever works to test it
-
andyf
Otherwise you should use `/opt/onbld/bin/onu` to create a new boot environment with the bits you just built
-
andyf
and reboto into it
-
andyf
*reboot
-
antranigv
andyf the problem is that I'm modifying cut, which is a link to ksh, I think
-
andyf
Yes, and very probably part of libcmd.so.1
-
andyf
chroot should work, or you could do
-
andyf
LD_LIBRARY_PATH=/code/illumos-gate/proto/root_i386/usr/lib /code/illumos-gate/proto/root_i386/usr/bin/cut
-
andyf
That should run your new code
-
antranigv
andyf weeee it works, thanks.
-
andyf
If you are in a build environment (entered with ./usr/src/tools/scripts/bldenv /opt/onbld/env/omnios-illumos-gate) you can use $ROOT to refer to the proto root, which simplifies things a little
-
andyf
LD_LIBRARY_PATH=$ROOT/usr/lib $ROOT/usr/bin/cut
-
Guest65
Hi there,can't reboot omnios any help?
-
Guest65
My son tried to installed win on another disk,now the disk on omnios doesn't boot
-
denk
boot a live system and try `zpool import`
-
denk
if you will not see your pool, well, amen...
-
Guest65
Tried with -D
-
Guest65
Is there anyway to access to the data?
-
jbk
the pool might not be destroyed
-
jbk
just do `zpool import` off a booted ISO
-
jbk
that will list all of the pools it thinks it can import
-
jbk
windows might have just overwritten the bootloader
-
Guest65
That's it overwritten
-
Guest65
How can I restore
-
denk
bootadm?
-
Guest65
But I need to repool
-
jbk
what do you mean 'repool'? if booting off ISO and zpool import shows the pool is there, what's there is probably fine.. you could import it and run a scrub if you wanted to be really sure
-
Guest65
I got 3 disk the one in charge is c4t4d0 but doing zpool import it show c3t3d1 that I presume the usb omnios
-
jbk
diskinfo should show you more info on the disks