-
gitomat
[illumos-gate] 13373 Import upstream improvements to bhyve VNC server -- Marko Kiiskila <marko⊙ao>
-
andyf
Does anyone know how to use `eeprom` to read the new bootnext list from the zfs label?
-
andyf
got it `eeprom -bp`
-
tsoome
yep
-
wilbury
tsoome: fwiw, isn't it worth to add SYMLINKS from kenv to eeprom also on freebsd?
-
tsoome
symlinks?
-
wilbury
LINKS, i mean
-
tsoome
you mean, to have kenv aliased to eeprom?
-
wilbury
yes
-
wilbury
or wouldn't it make any sense?
-
tsoome
i think, they are not that similar and probably would create more confusion
-
tsoome
you can always just have local shell alias
-
andyf
Thanks tsoome, I knew you would know :D
-
andyf
-
tsoome
alias xs="echo go to sleep!"
-
tsoome
:)
-
andyf
`pmset -g sleepnow` ?
-
andyf
tsoome - I broke a box with `beadm activate -t xxx; beadm destroy xxx; init 6`
-
andyf
had to get it power cycled
-
tsoome
hm?
-
tsoome
went to loop?
-
andyf
the photograph they sent me was just a blank screen
-
andyf
it came back in the old BE fine after the power cycle
-
tsoome
efi or bios?
-
andyf
efi
-
andyf
I tested it in a bhyve VM and it does the same
-
andyf
anyway, we should be removing the nvlist entry when we destroy a BE. Otherwise if another is created later with the same name, it gets the T flag
-
andyf
I also fixed `beadm rename`
-
tsoome
yes, but, loader set_currdev() must survive this, not hung itself.
-
tsoome
zfs_get_bootonce() will wipe the bootenv area, but then we call set_currdev() and that one probably will get stuck.
-
tsoome
btw, you may have noticed, the other part of bootenv is illumos-nvstore - the nvlist to store non-volatile R/W variables.
-
andyf
yes, I saw it
-
andyf
and the generic store implementation
-
andyf
do you have an update for the eeprom man page in the wings?
-
tsoome
no, not yet.
-
andyf
ok, I just might do it, just didn't want to duplicate
-
tsoome
-
tsoome
i did add eeprom as "reference", maybe something could be done better etc, so I wanted to avoid making it written in stone too early:D
-
andyf
That's fair enough, I just wanted to check the value when testing beadm destroy
-
tsoome
ofc we can just mark it unstable on manual and thats it.
-
andyf
"The command line interface of eeprom is Uncommitted. The output of eeprom is Not-An-Interface and may change at any time."
-
andyf
:)
-
tsoome
ah.
-
tsoome
its there?
-
tsoome
anyhow, need to go offline once more...
-
andyf
no, there's no stability stuff there at the moment
-
andyf
that's just the text from the prototype
-
bahamat
I've got a question about boot modules, if anybody's around and/or has a few minutes.
-
bahamat
I'm pxe booting with a module that I want as a file. It's there, but the path name is the full url, and not the name I specified
-
bahamat
It's going to /system/boot/
http:/hostname/file and not just /system/boot/file
-
rmustacc
You mean boot-time modules?
-
bahamat
Yes
-
bahamat
I'm trying to do the same thing we do for networking.json
-
bahamat
but the name isn't what I expected it to be
-
rmustacc
The thing to look at is what are the actual module lines that end up passed through to the actual bootloader.
-
bahamat
Before I spend hours digging into this, I was hoping maybe someone knew what I might ber doing wrong
-
bahamat
This is what I've got in ipxe:
-
bahamat
-
bahamat
And this is what we do for networking.json:
-
bahamat
module
${next-server}/bootfs/1c697a6118e1/networking.json type=file name=networking.json
-
bahamat
The only difference I can tell is that I'm not including a hash module for it, but it seems silly that that would be the difference.
-
rmustacc
In theory, name= is supposed to be what the name comes from. You're using the joyent ipxe?
-
bahamat
No, it's not
-
bahamat
it's equinix metal
-
rmustacc
OK. You're probably hitting the internal size limits in ipxe.
-
rmustacc
But you can see what name we actually got.
-
bahamat
bootparams has this:
-
bahamat
-
rmustacc
Well, that's what it got from the boot loader then.
-
rmustacc
Take a look at OS-3770
-
rmustacc
Which is in joyent/ipxe
-
bahamat
but on triton I get this:
-
bahamat
module-name-0=networking.json
-
rmustacc
Read the bug, please. I suspect that's the problem.
-
bahamat
Ah, yeah, that looks like it might be what I'm running into.
-
bahamat
I wonder if ipxe follows redirects...
-
bahamat
maybe I could trick it into being shorter somehow.
-
rmustacc
Dunno, sorry.
-
bahamat
But thanks for the pointer. I at least know what I'm dealing with now.
-
rmustacc
Chainload your own ipxe?
-
bahamat
That's one option I'm thinking of
-
bahamat
You've at least saved me many hours of digging and re-discovering OS-3770.
-
bahamat
or maybe just using a variable for the URL will work
-
bahamat
But either way, I can deal with the file in the current place until I can get that part fixed
-
sjorge
v_a_b: the Japanese person, whose name I forgot,... has a riscv port already I believe
-
richlowe
they sort of said "Here it is" and disappeared, which is a shame
-
gitomat
[illumos-gate] 13378 unknown ld(1) guidance should be a warning -- Richard Lowe <richlowe⊙rn>
-
richlowe
gitomat: for future reference, bot, that was enough latency to scare me. do better.
-
gitomat
Not bad for government work, though.
-
sjorge
richlowe: true, I vaguely remember something about not liking our build system so nothing got upstreamed
-
sjorge
I think it was also a university student project? Or somehow attached to a university?
-
sjorge
Memory hazy at best
-
andyf
It looked good (as did the arm one). Certainly a good starting point but all rewritten in GNU make to cross compile from Linux...
-
richlowe
the cross work robert and I did almost certainly will work with minimal poking
-
andyf
Funnily enough, I was looking into that today for something else :)
-
DrHyde
Hello Illuminati! I think I've found a bug in /usr/bin/sh's wildcard expansion but not sure where to report it
-
richlowe
bugs.illumos.org
-
DrHyde
not in omnios's tracker (as that's the distribution i'm using)?
-
v_a_b
sjorge Yes, I remember his mail. But I expect that some things would have to be changed and adapted to that new board.
-
andyf
DrHyde - I'd be interested in the details
-
DrHyde
-
andyf
Interesting, I can't replicate it immediately on omnios r151036
-
DrHyde
on my machine /usr/bin/sh is a symlink to i86/ksh93
-
andyf
yes, same here
-
DrHyde
which has md5 sum ffb847606e5e1752270c4afad4e8eb85
-
DrHyde
want me to create an account on there for you to have a look?
-
andyf
have you set any shell options, or is it all out of the box?
-
DrHyde
i don't think there's anything relevant in my .profile, and i don't think i've touched /etc/profile
-
DrHyde
sh -o says that 'glob' is on and 'globstar' is off
-
andyf
ok, globstar is on for me
-
andyf
but I changed it, and no difference
-
rmustacc
It probably won't make a difference, but what locale are you both in?
-
andyf
C
-
DrHyde
i'm in en_GB.UTF-8