#
✕ nick:marcan
#asahi · 2021-05-16 10:13
marcanthis sounds a lot like a buffering thing in pyserial or even macos, now that you mentioned that
#asahi · 2021-05-16 10:13
marcanvery doubtful it's the cable
#asahi · 2021-05-16 10:12
marcanwhat I pushed was a C side change fwiw
#asahi · 2021-05-16 10:11
marcanor even pyserial on macos
#asahi · 2021-05-16 10:11
marcanwonder if it's a bug in the macos acm driver?
#asahi · 2021-05-16 10:06
marcan(I intended to have that be a static buffer, but since we already have giant ring buffers I instead did it properly and got rid of it entirely)
#asahi · 2021-05-16 10:05
marcanuartproxy_send_event was overflowing the stack hard
#asahi · 2021-05-16 10:05
marcanjannau: see if what I just pushed fixed it
#asahi · 2021-05-16 09:51
marcanalso I'm dumb :-)
#asahi · 2021-05-16 09:48
marcanand are you sure you're not doing something weird like running the hv twice? does this happen from a clean reboot>chainload.py>run_guest.py?
#asahi · 2021-05-16 09:48
marcanwait hold on, you say over serial it does this; is this with vuart for the guest?
#asahi · 2021-05-16 09:45
marcando you have a traceback of the error?
#asahi · 2021-05-16 09:39
marcanjannau: I'd say use usbmon and take a trace of the data on the wire, to narrow it down to python or C
#asahi · 2021-05-16 09:38
marcan*notice
#asahi · 2021-05-16 09:38
marcanjust a botched setting I didn't understand
#asahi · 2021-05-16 09:38
marcanbroke authentication yesterday, didn't noticed today until I tried connecting another client first
#asahi · 2021-05-16 09:35
marcanwell that was a nice dumb way to break my IRC bouncer
#asahi · 2021-05-16 08:57
marcanjannau, pipcet[m]: you probably want to print reply.hex() along with that message and see what that's about, or turn on debug
#asahi · 2021-05-16 08:56
marcanhm
#asahi · 2021-05-16 08:56
marcanoh wait no, the other way around
#asahi · 2021-05-16 08:55
marcanwhich should not happen
#asahi · 2021-05-16 08:55
marcanthat means the checksum function got passed an empty buffer
#asahi · 2021-05-16 08:55
marcanit's not calculating the *expected* checksum properly
#asahi · 2021-05-16 08:54
marcanI haven't seen any checksum errors yet, but that 00000000 thing is definitely a python bug
#asahi · 2021-05-15 18:43
marcangoing to sleep now but I'll look tomorrow
#asahi · 2021-05-15 18:43
marcankettenis: you can just comment that stuff out, it's just about managing messages in the uart buffer at script startup time
#asahi · 2021-05-15 18:40
marcanI have 3.5
#asahi · 2021-05-15 18:39
marcansorry
#asahi · 2021-05-15 18:39
marcaner
#asahi · 2021-05-15 18:39
marcanI had it without the _hm
#asahi · 2021-05-15 18:39
marcantty_dev.reset_input_buffer()
#asahi · 2021-05-15 18:39
marcanthat's from sven's PR
#asahi · 2021-05-15 18:38
marcanpyserial version difference?
#asahi · 2021-05-15 18:38
marcanis that really 16 masters, or is it 16 tags on a single master?
#asahi · 2021-05-15 18:35
marcanand couldn't funnel them into a single DART so they just yolo'd it and threw two on there
#asahi · 2021-05-15 18:35
marcanlike they had two DMA masters that get randomly used
#asahi · 2021-05-15 18:34
marcanthat just sounds like a massive hack
#asahi · 2021-05-15 18:05
marcanwonder if it all works under the hypervisor too!
#asahi · 2021-05-15 18:05
marcanI want to see the pcie stuff work :)
#asahi · 2021-05-15 18:05
marcanI should try it, now that I have sven's hack merged too
#asahi · 2021-05-15 18:04
marcan(feel free to ping me in the future if I do this again...)
#asahi · 2021-05-15 18:04
marcanwasn't even much of a review
#asahi · 2021-05-15 18:04
marcansorry it took so long, it was really silly of me to leave it on the backburner like that
#asahi · 2021-05-15 09:51
marcanI'll just edit and push :)
#asahi · 2021-05-15 09:51
marcansure
#asahi · 2021-05-15 09:50
marcanjust no need for the usage flag, it can just be 0
#asahi · 2021-05-15 09:50
marcanyou can leave the hv_vuart change as is, I'm going to mess with that anyway
#asahi · 2021-05-15 09:50
marcannot point in trying to write to both, especially since one will be handed off to the guest
#asahi · 2021-05-15 09:50
marcanjannau: can you drop the USAGE_VUART thing? I'm just going to make the python side pick the right one
#asahi · 2021-05-15 09:48
marcanjannau: you have a clang-format issue :)

plus ›