-
toasterson
antranigv: COntributions needed
github.com/richlowe/arm64-gate
-
toasterson
I am guessing lofiadm does not work in a zone?
-
tsoome
it should.
-
toasterson
hmmm then I need to debug why it failed
-
antranigv
toasterson as much as I admire illumos and look up to it (and port amazing features back to FreeBSD :P), I don't have enough knowledge to contirbute. unless there's a mentorship program, then I'll look into moving my whole company to illumos (including our custom OS :D)
-
toasterson
antranigv: I do consulting for that kind of large moves.
-
antranigv
toasterson can I DM? :)
-
toasterson
Sure
-
toasterson
tsoome: Well then I have found a bug. Or at least a misconfiguration. lofiadm: /dev/dsk/c4t1d0p0 was not created: No such file or directory
-
toasterson
-
toasterson
but there is no disk link
-
tsoome
you probably need to add this device name
-
tsoome
/dev/lofi/* are there, but disk names are not.
-
toasterson
you mean to the zone perms?
-
tsoome
yes, in zone config
-
toasterson
is there a need for lofiadm to use /dev/dsk instead of /dev/lofi?
-
tsoome
only if you need disk emulation for partitioning etc
-
toasterson
ah, ok so yes I need to add that then.
-
Molnija
lofi = loop file?
-
tsoome
yes
-
Molnija
right
-
toasterson
hmmm, something seems to take to long for lofiadm. it creates the /dev/dsk/c4t1d0p0 now but lofiadm tries to stat64 for it and gets ENOENT
-
toasterson
so lofiadm fails
-
toasterson
oh, because I am missing rdsk....
-
toasterson
in zonecfg perms
-
tsoome
ah:D
-
tsoome
I was already suspecting some new and fancy bug:D
-
tomww
about bhyve and booting solaris 11.4 CBE (the free developer version). it unfortunatley hands while loading modules (reaches "dld0" then freeze for ever). does anyone have an idea how to debug this?
-
tomww
it would be a small help if debuggung the module load could be more verbose, e.g. getting printed to console "start loadin module asy, enteriny asy, ..."
-
tomww
is there a kernel setting that makes module loading a bit more chatty?
-
igork
tomww: boot -kvd moddebug=0x80000001
-
igork
and take a look what stopped
-
igork
moddebug=0x80000001 - after loads to kmd
-
tomww
Ahh, thanks. It's been several years back when I last used the extra setting. I'll try and tell if that shed more light at the problem.
-
tomww
okay. maybe on a track. it fails a lot earlier, load 'ska/ska_kpti' id 5 loaded @ 0xfffffffffdc00000/0xfffffffffde00000 size 86224/8288
-
tomww
and I'll play around a bit. igork thank you!
-
tsoome
why create zonecfg_get_dflt_sched_class() taking size argument of int when all call instances are providing result from size_t.... grrrr.
-
richlowe
because it was 32bit and nobody noticed
-
richlowe
believe me, I have met a lot.
-
Molnija
that sounds like the qmail bug... :P
-
richlowe
if you're fighting this too tsoome, check out the arm gate
-
tsoome
I do believe you:)
-
richlowe
it's possible I "fixed" a lot of things you'll meet by the compiler.
-
richlowe
(I assume this is compiler stuff, not 64bit-izing stuff?)
-
richlowe
'cos if youre doing that there's way more pitfalls, and shouldn't upstream what's in arm (as the readme tells you not to) :)
-
toasterson
tsoome: I am not that consistent :)
-
tsoome
well, this specific case ends up in warning about this comparre: if (strlcpy(class, sched_str, clsize) >= clsize)
-
tsoome
where clsize is int...
-
tomww
-
tsoome
whee, zonecfg_get_dflt_sched_class is private interface, so we can fix it:)
-
richlowe
You can probably fix it regardless, because the actual problems are going to happen either way
-
richlowe
the problem would be types that potentially get smaller
-
richlowe
(don't quote me on that though)
-
tsoome
:D
-
richlowe
tomww: once you're multi-threaded (which happens really early), the 1 bit of moddebug gets less useful
-
richlowe
there's a setting -- somewhere -- that disables multi-threaded autoconf
-
richlowe
but I don't remember where