Date: Thu, 13 Aug 2020 12:52:13 +0300 From: moridin@mm.st To: virtualization@freebsd.org Subject: bhyve/e1000: sigbus if using renamed interface Message-ID: <862bb8c6-5c6a-8ced-d9c3-0302336a9816@mm.st>
next in thread | raw e-mail | index | archive | help
Steps to reproduce: # ifconfig create tap1 name vm1 # bhyve -s0,hostbridge -s1,lpc -s2,e1000,vm1 -lbootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd test zsh: bus error (core dumped) Getting this in 2 different places in code, though the reason must be the same? Program terminated with signal SIGBUS, Bus error. #0 cond_signal_common (cond=0x800e47088) at /usr/src/lib/libthr/thread/thr_cond.c:444 444 if (pshared || cvp->__has_user_waiters == 0) [Current thread is 1 (LWP 101895)] (gdb) bt #0 cond_signal_common (cond=0x800e47088) at /usr/src/lib/libthr/thread/thr_cond.c:444 #1 _thr_cond_signal (cond=0x800e47088) at /usr/src/lib/libthr/thread/thr_cond.c:551 #2 0x0000000000237dff in e82545_tx_thread (param=0x800e47000) at /usr/src/usr.sbin/bhyve/pci_e82545.c:1493 #3 0x000000080062207b in thread_start (curthread=0x800e12500) at /usr/src/lib/libthr/thread/thr_create.c:292 #4 0x0000000000000000 in ?? () Program terminated with signal SIGBUS, Bus error. #0 _mutex_owned (curthread=0x800e12500, mp=0x5a5a5a5a5a5a5a5a) at /usr/src/lib/libthr/thread/thr_mutex.c:1169 1169 if (PMUTEX_OWNER_ID(mp) != TID(curthread)) [Current thread is 1 (LWP 101809)] (gdb) bt #0 _mutex_owned (curthread=0x800e12500, mp=0x5a5a5a5a5a5a5a5a) at /usr/src/lib/libthr/thread/thr_mutex.c:1169 #1 0x000000080062d848 in cond_wait_common (cond=<optimized out>, mutex=0x800e47018, abstime=0x0, cancel=1) at /usr/src/lib/libthr/thread/thr_cond.c:372 #2 0x000000080062dc61 in __thr_cond_wait (cond=0x800e12500, mutex=0x5a5a5a5a5a5a5a5a) at /usr/src/lib/libthr/thread/thr_cond.c:395 #3 0x0000000000237e39 in e82545_tx_thread (param=0x800e47000) at /usr/src/usr.sbin/bhyve/pci_e82545.c:1494 #4 0x000000080062207b in thread_start (curthread=0x800e12500) at /usr/src/lib/libthr/thread/thr_create.c:292 #5 0x0000000000000000 in ?? ()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?862bb8c6-5c6a-8ced-d9c3-0302336a9816>