Site Tools


freebsd

FreeBSD

Fallos comunes

A veces al actualizar o crear jails aparece esto

# pkg update
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly, please wait...
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E5
0810656AA52D0000:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:/usr/src/crypto/openssl/crypto/store/store_register.c:237:scheme=file
0810656AA52D0000:error:80000002:system library:file_open:No such file or directory:/usr/src/crypto/openssl/providers/implementations/storemgmt/file_store.c:267:calling stat(/etc/ssl/certs/4042bcee.0)
0810656AA52D0000:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:/usr/src/crypto/openssl/crypto/store/store_register.c:237:scheme=file
0810656AA52D0000:error:80000002:system library:file_open:No such file or directory:/usr/src/crypto/openssl/providers/implementations/storemgmt/file_store.c:267:calling stat(/etc/ssl/certs/4042bcee.0)
0810656AA52D0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:

Se suele solucionar con

certctl rehash

FreeBSD Guest con red virtio

Las VMS con red virtio tienen un rendimiento muy lento por defecto que se puede solucionar desactivando checksum offload (TCO/RCO).

    ifconfig <interface> -rxcsum -txcsum -tso4 -tso6 -lro -vlanhwtso
    
    
    
    Add hw.vtnet.X.csum_disable=1 to /boot/loader.conf 
    
    
    Alternatively, to load VirtIO support as	modules	at  boot  time,	 place
       the following lines in loader.conf(5):

	     virtio_load="YES"
	     virtio_pci_load="YES"

Poor network performance inside a Jail

https://wiki.freebsd.org/Networking/10GbE/Router#Disabling_LRO_and_TSO

Similar al anterior pero aplicable a maquinas fisicas

ifconfig <interface> -rxcsum -txcsum -tso4 -tso6 -lro -vlanhwtso
freebsd.txt · Last modified: by victor