-
jbk
jclulow: yeah, i'd like to fix that as well (HPET) if no one else gets to it before I can (since it was my fault).. it would be nice if it was just a matter of increasing the sample interval to a sufficiently larger value, but i'd want to re-do the math and if i'm lucky maybe see if someone that had issues could test the fix
-
jbk
since on the systems I had available, apprently the particular model HPET was good enough that it produced basically identical (and more consistent) results than the PIT
-
jbk
so they're probably not good systems to verify any fix
-
jclulow
jbk: Everybody had issues haha
-
jclulow
So it won't be hard to find them
-
jclulow
Like, it's structurally likely to produce a consistently high result right now, at least based on surveys and the ppm maths
-
jclulow
So if you want to bump the interval it may indeed be an easy change
-
toasterson
Anybody ever had cc1plus: out of memory allocating 262144 bytes after a total of 4251648 bytes ?
-
toasterson
VM has 16Gb RAM
-
neirac
toasterson how much swap ?
-
toasterson
I tried with 2GB and none
-
neirac
What does swap -s says ?
-
toasterson
total: 85172k bytes allocated + 16948k reserved = 102120k used, 5424584k available
-
toasterson
thats with no swap device
-
toasterson
with no swap device and max concurrent jobs 1 it works
-
sjorge
jbk: was that the change that caused massive clock drift with ntpd and bhyve to randomly lock up because it's. ??vcpu rendeavous failed??
-
sjorge
My Ivybridge suffered hard from this, box is now gone though. There is a broadwell in it's place.
-
jclulow
sjorge: Yes, if you were seeing NTP drift values of 500-1000 ppm that's pretty likely to have been the cause
-
neirac
Toasters try increasing swap and try again
-
neirac
toasterson try increasing swap
-
neirac
Is it possible to replicate in VMware or any other hypervisor to not use virtio legacy devices?, the main idea is to try working on virtio to attach a nic on the new spec
-
yuripv
vmware does not do virtio; modern qemu on linux should have those though?
-
neirac
yuripv oh right, thanks
-
rmustacc
neirac: I also took another look at the spec last night. It turns out the Id 0x1000 is a transitional device, meaning it'll support both the legacy and new format. This means that you should actually be able to just add that PCI ID 14af,1000 to vioif and it may wokr.
-
rmustacc
*work
-
neirac
rmustacc thanks a lot!, where do I need to add 14af,1000 is there a kernel/drv/virtio.conf ?
-
neirac
In smartos
-
rmustacc
I would first test this by manually running update_drv
-
neirac
rmustacc. I tried update_drv -a -i '"14af,1000"' virtio but failed to attach
-
rmustacc
That's the wrong driver.
-
rmustacc
You need to add that to 'vioif'
-
neirac
update_drv -a -i '"14af,1000"' vioif returns devfsadm: driver failed to attach, I checked in /etc/driver_aliases and the alias is there vioif "14af,1000"
-
rmustacc
OK. Is there anything in /var/adm/messages?
-
neirac
rmustacc I don't see anything related to vioif in /var/adm/messages
-
rmustacc
Did you delete the 14af,1000 relation to virtio?
-
rmustacc
neirac: Sorry, I should have looked closer. You didn' do quite the right thing. You want it to be:
-
rmustacc
update_drv -a -i '"pci14af,1000"' vioif
-
neirac
rmustacc I tried again but did not attach
pastebin.com/pTCgbnuf
-
toasterson
neirac: with 50G of swap I now get `g++: internal compiler error: Bus Error (program cc1plus)`
-
paulf
must be doing a lot of pre-processing
-
tsoome_
toasterson what are you building?
-
toasterson
binutils-gdb from the arm64 gate
-
yuripv
single make job?
-
tsoome_
I had to serialize gmake in many places, that build is fork bomb
-
toasterson
3
-
toasterson
oh, is it the problem with the process server passing in makefiles?
-
toasterson
we had one like this in OI userland
-
neirac
toasterson maybe you could check kstats when the thing is building
-
toasterson
eh, not if it's parallelism errors I don't want to waste time on fork bombs like this. It just has to build so I can get to the things I actually wanted to use to help.
-
toasterson
Here is me hoping fo better tools
-
tsoome_
pgrep make | wc -l
-
tsoome_
that will give some idea
-
tsoome_
or pgrep gcc\|g++ | wc -l
-
toasterson
yep. For binutils-gdb I simply had to remove the -j argument from the make that was called by the makefile so that was easy enough :) The main Makefile I now set to NOTPARALLEL
-
toasterson
and since I am in there i might aswell fix KEEP_STATE
-
rmustacc
neirac: OK. I think the thing to do is to either build a SmartOS image with a fixed /etc/driver_aliases, or try to debug the attach failure with dtrace and triggering the attach with the `devfsadm` command.
-
neirac
rmustacc I'll do that I'll create a omnios image now with the alias
-
rmustacc
Others have the transitional ID, so it seems likely to work. Not sure why vioscsi wasn't coming up there though.
-
richlowe
the builds as they default aren't _that_ parallel toasterson
-
richlowe
I mean, they do make the logs all unreadable because gmake, but they should not make anything explode
-
toasterson
richlowe: Welcome to the should not make things explode defaults of gmake :) Oi-userland is notorious for components that cannot run with paralellism enabled. It's our most frequent CI failure
-
neirac
rmustacc I cannot use dtrace as I used kmdb to modify the is_pit_broken variable to make it boot, I'll create a new image with the /etc/driver_aliases
-
neirac
Is going to take time, my pc is slow and my connection is not very fast as now I'm running pkg update will take some hours.
-
richlowe
we read etc/system earlier than you'd think, you might be able to poke is_pit_broken in there.
-
richlowe
or set it on the kernel command line (I'm less sure about that)
-
jbk
i don't think you can set that one from the bootloader -- ISTR I had to explicitly check for specifying an explicit source because of when this all happens in the boot process
-
jbk
though it likely wouldn't take much to change that
-
toasterson
richlowe: The SMF issues you had on ARM. Where they in an way related to nvlists?
-
toasterson
*any
-
richlowe
no
-
toasterson
Good :)
-
toasterson
today is the day I am finding ALL the bugs
-
neirac
toasterson there are free ampere instances on oracle cloud, they have lots of cpu and ram maybe that's helpful for arm64 porting
-
richlowe
there's no support for the ampere stuff
-
richlowe
and I'm not sure if anyone's cloud-accessible stuff is sufficiently useful for right now
-
neirac
richlowe oh that's right at least you could test that It boots
-
richlowe
it definitely doesn't :)
-
sjorge
@jclulow yep around that range