-
copec
Are there any well-known performance issues with virtio nics with freebsd in a bhyve?
-
nikolam
Whan I open man man and exit from it with Ctrl+C , there is no bash propmt echo on typing characters anymore and bash prompt does not go into new line anymore
-
nikolam
I actually observed similar thing on linux too in bash, but it is that easy to reproduce in Smartos
-
Orion7
try using the command [reset] and if that doesn't work use [printf "\033c"]
-
Orion7
-
nikolam
Similar thing happens on Linux, after entering nslookup and then exiting with Ctrl+C
-
toasterson
virsh console or any serial console forwarding is notorious for that
-
tsoome
it means, the app (man) is missing terminal restore code from SIGINT handler.
-
nikolam
it's ssh session.
-
» nikolam go to go for the evening
-
gonzosysadm[m]
so the weirdest thing happened, couple of hours back i tried to import the debian-11 image, and it hung at the final stages whie extracting the image. i ended up ctrl-c'ing it, and trying to imgadm import again,but that failed because of the zfs filesystem left behind. so i tried to destry it, but it was busy so i destroy -f it, and it hung.. for about 5-10 mins, and then at some point i lost ssh connection. after awhile it came back -
-
gonzosysadm[m]
machine had rebooted
-
gonzosysadm[m]
ok, i try to import image again. this time it works. i'm busy w other stuff in the mean time, eventually i get to actually setting the vm up, and i connect to it over ssh. immediately i notice smt is off, the root prompt shows the uuid, nd not the hostname - like some process was aborted prematurely .. i try to run a few commands, most of them are hanging .. in the mean time i lose ssh access to the hst again - my urrent session froze,
-
gonzosysadm[m]
and any new sessions hung
-
gonzosysadm[m]
so i log into ipmi and see the console: mr_sas0: mrsas_tbolt_reset_ppc(): RESET FAILED, return failure !!! ... and mr_sas0: io_timeout_checker: FW Fault, calling reset adapter
-
gonzosysadm[m]
i rebooted, same thing. reboot into recovery, run a scrub - no errors. write 20GB of random data using dd - no errors. i force-deleted the zone that was using the problematic image and imgadm delete the image, and ... things seem fine now
-
gonzosysadm[m]
this makes no sense to me. even if the image was faulty or corrupted somehow, how can the errors be so severe to the point all i/o hangs
-
gonzosysadm[m]
any suggestions?
-
bahamat
Well, there could be a couple of things going on.
-
bahamat
First, if you're really having hardware issues, that could explain all of this behavior.
-
bahamat
Secondly, zfs recv doesn't do any of the standard zfs integrity checking. So if you've got a corrupted stream, it's going to assume that it's fine, but then bad things will happen later on.
-
bahamat
It could also be a combination of these things.
-
gonzosysadm[m]
is there some imgadm cache that could have been used at the second attempt? i wasn;t paying attention. but the import worked the 2nd time (after zfs destroy hang + reboot)
-
bahamat
No, there's no cache.
-
gonzosysadm[m]
i just imported the image again
-
gonzosysadm[m]
no errors, but as soon as i create a vm based on it, bam, they begin
-
gonzosysadm[m]
vmadm destroy hung too, it's back to recovery now to be able to untangle it. surely if it was smt with the image more people would have noticed (and even then i'd expect zfs errors, not driver errors?)
-
gonzosysadm[m]
this seems like hardware problems, i just don;t understand why this image, reliably
-
bahamat
Yeah, from what you're describing, hardware does seem like the culprit here.