-
aade
Website down?
-
warden
aade: it's responding to me (from Italy)
-
aade
Just me then.
-
szilard
For a bugreport I should post the output of the following command: printf '\x1b'
-
szilard
But it doesn1t seem to work on my side:
-
szilard
szilard@omnios:~% strace printf '\x1b'
-
szilard
ERROR: unable to open /dev/log
-
szilard
szilard@omnios:~% sudo strace printf '\x1b'
-
szilard
Password:
-
szilard
ERROR: tracer already exists
-
szilard
Whats wrong with this? Is strace is dtrace under the hood or something?
-
aade
No
-
aade
Well at least not to my knowledge. Are you actually trying to debug printf?
-
aade
What shell are you using to start with?
-
szilard
SunOS omnios 5.11 omnios-r151056-1acbca4f5bd i86pc i386 i86pc
-
szilard
I try to help to debug this:
fish-shell/fish-shell #12458
-
aade
With bash for instance you get a built-in printf
-
szilard
this is zsh:
-
szilard
szilard@omnios:~% echo $SHELL
-
szilard
/usr/bin/zsh
-
aade
and if you strace /usr/bin/printf you get the same thing?
-
aade
I'm not sure I understand what you're trying to do. Are you on Linux doing this or what?
-
szilard
root@omnios:~# echo $SHELL
-
szilard
/usr/bin/zsh
-
szilard
root@omnios:~# strace /usr/bin/printf '\x1b'
-
szilard
ERROR: tracer already exists
-
szilard
still the same.
-
andyf
strace is a tool to trace STREAMS messages. I think you want `truss`
-
andyf
which is closer to the Linux strace
-
szilard
aade: fish segfaults on OmniOS. I try to compare its behaviour with Linux to find any possible culprits.
-
szilard
andyf: thanks!
-
aade
ezilard: Like andyf said, truss is the analog on illumos. I assumed however that you'd already tried that by reading your bug report. Toward the top of the page you have truss and then later on down in the oodles of trace dumps you're running strace.
-
aade
And there's mentions of Linux.
-
aade
What is fish and is this porting work you're trying to do?
-
aade
Have you analyzed the core dump perhaps?
-
szilard
I am trying to install windows server in a bhyve zone, the installer boots but the mouse doesn't works. Any hints?
-
sommerfeld
what options are passed to bhyve? the working config I have has `-s 30:0,fbuf,vga=off,wait,w=1600,h=1200,unix=/z/vm/bhwin/vnc/vm.vnc -s 30:1,xhci,tablet` at the end of the args (this is on openindiana)
-
sommerfeld
(the unix=... path is to set the socket endpoint used by VNC)
-
szilard
I use zoneadm / zadm, so I am not in full control of the passed args
-
sommerfeld
sure, but you can still look at the args of the running process with pargs
-
szilard
sure!
-
sommerfeld
I believe the tablet-style mouse is what works best for VNC console for a VM
-
szilard
-
szilard
-
sommerfeld
yes, I have -s 31,lpc earlier in the args
-
m1ari
I have a vague memory of someone commenting about the lpc 30/31 issue here or one of the similar channels recently
-
» m1ari goes to grep logs
-
m1ari
or maybe not so recently: I think this is the bit I remembered
log.omnios.org/omnios/2025-07-17
-
szilard
will check, thanks
-
szilard
I have modified the zone config like type=windows, it sets lpc to 31, which I can see in the bhyve.cfg:
-
szilard
pci.0.31.0.device=lpc
-
szilard
it still doesn't works.
-
andyf
Give me a minute and I'll paste mine. I just need to boot the machine that has it.
-
andyf