Re: nvme timeout issues with hardware and bhyve vm's

2023-12-07 Thread Chuck Tuffli
On Thu, Dec 7, 2023 at 2:39 PM Pete Wright wrote: ... > Hi Warner, just resurfacing this thread because I've had a few lockups > on my workstation running 14.0-STABLE. I was able to capture a photo of > the hang and this seems to be the most important line: > > nvme0: Resetting controller due to

Re: nvme timeout issues with hardware and bhyve vm's

2023-10-16 Thread Chuck Tuffli
On Fri, Oct 13, 2023 at 7:34 PM Warner Losh wrote: ... > Let me now if you see similar messages in stable/14. I think I've fixed all > the > issues with timeouts, though you shouldn't ever seem them in a vm setup > unless something else weird is going on. I'd be interested in a repo case too as

Re: Can't assign address to igc

2023-08-15 Thread Chuck Tuffli
Bah, actually adding freebsd-net this time On Tue, Aug 15, 2023 at 7:44 PM Chuck Tuffli wrote: > > [Adding freebsd-net@] > > On Tue, Aug 1, 2023 at 10:46 AM Chuck Tuffli wrote: > > > > Running a recent-ish version (n264266-8f8da1bcc799) on an Intel NUC > > (R

Re: Can't assign address to igc

2023-08-15 Thread Chuck Tuffli
[Adding freebsd-net@] On Tue, Aug 1, 2023 at 10:46 AM Chuck Tuffli wrote: > > Running a recent-ish version (n264266-8f8da1bcc799) on an Intel NUC > (RNUC11PABi5), assigning an IPv4 address to igc0 doesn't work. There > is no error message, and this has been working in the past.

Can't assign address to igc

2023-08-01 Thread Chuck Tuffli
Running a recent-ish version (n264266-8f8da1bcc799) on an Intel NUC (RNUC11PABi5), assigning an IPv4 address to igc0 doesn't work. There is no error message, and this has been working in the past. Looking through dmesg only shows: igc0: link state changed to UP igc0: link state changed to DOWN igc

Re: nvme related(?) panic on recent -CURRENT

2023-07-04 Thread Chuck Tuffli
On Thu, Jun 29, 2023 at 12:47 PM Juraj Lutter wrote: > > With recent -current, following occured: > > db> bt > Tracing pid 0 tid 100063 td 0xfe00c5c35e40 > kdb_enter() at kdb_enter+0x32/frame 0xfe00c5e31c90 > vpanic() at vpanic+0x181/frame 0xfe00c5e31ce0 > panic() at panic+0x43/frame 0

Re: nvme related(?) panic on recent -CURRENT

2023-06-30 Thread Chuck Tuffli
On Thu, Jun 29, 2023 at 12:47 PM Juraj Lutter wrote: > > With recent -current, following occured: > > db> bt > Tracing pid 0 tid 100063 td 0xfe00c5c35e40 > kdb_enter() at kdb_enter+0x32/frame 0xfe00c5e31c90 > vpanic() at vpanic+0x181/frame 0xfe00c5e31ce0 > panic() at panic+0x43/frame 0

build failure WITH_ASAN

2022-07-29 Thread Chuck Tuffli
make buildworld -DWITH_UBSAN -DWITH_ASAN is failing for me with the error: building shared library libc.so.7 ld: error: cannot open /usr/home/ctuffli/dev/freebsd/obj/usr/home/ctuffli/dev/freebsd/src.git/amd64.amd64/tmp/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan_static-x86_64.a: No such file

bhyve core dump related to llvm 14

2022-07-21 Thread Chuck Tuffli
I have a virtual machine used to test the NVMe emulation in bhyve. All of the tests in the VM pass running under FreeBSD 13.1-R, but the same VM running under -current causes bhyve(8) to dump core because of a segmentation fault. git bisect identified the last "good" commit on main as cb2ae616

Re: nvme INVALID_FIELD in dmesg.boot

2022-05-25 Thread Chuck Tuffli
On Wed, May 25, 2022 at 6:59 AM Alexander Motin wrote: ... > > nvme0: SET FEATURES (09) sqid:0 cid:15 nsid:0 cdw10:000b cdw11:031f > > nvme0: INVALID_FIELD (00/02) sqid:0 cid:15 cdw0:0 ... > Those messages mean that driver tried to enable certain types of > asynchronous events, but probabl

Re: nvme INVALID_FIELD in dmesg.boot

2022-05-25 Thread Chuck Tuffli
On Wed, May 25, 2022 at 5:26 AM Matteo Riondato wrote: ... > nvme0: SET FEATURES (09) sqid:0 cid:15 nsid:0 cdw10:000b > cdw11:031f > nvme0: INVALID_FIELD (00/02) sqid:0 cid:15 cdw0:0 ... > nda0 at nvme0 bus 0 scbus16 target 0 lun 1 > nda0: nvme version 1.2 x4 (max x4) lanes PCIe Gen3 (max

Re: network address not restored on resume

2022-03-23 Thread Chuck Tuffli
On Tue, Mar 22, 2022 at 4:25 PM Kevin Oberman wrote: > Not enough information to guess. > > What is the content of /etc/rc.conf in regard to configuration of this > interface? defaultrouter="192.168.5.1" ifconfig_igc0="inet 192.168.5.10 netmask 255.255.255.0" > What shows up in the log file wh

network address not restored on resume

2022-03-22 Thread Chuck Tuffli
On a recent-ish current (git hash 66b86c8a7604), after resuming from sleep, the main network interface doesn't get restored. Further, manually fixing this via service netif or ifconfig seems to fail. Am I doing something wrong? root@stargate:~ # uname -a FreeBSD stargate.tuffli.net 14.0-CURRENT Fr

build failure on -current

2021-12-17 Thread Chuck Tuffli
When building current from git, I keep hitting the error below. This is with meta-mode, but I've also tried deleting the object directory. The system also has a couple of tweaks to src-env.conf that were an attempt to avoid building any (most?) of clang. Relevant system information: $ uname -mrsv

Re: problem with re(4) interface

2021-11-22 Thread Chuck Tuffli
On Mon, Nov 22, 2021 at 9:34 AM Chris wrote: > > On 2021-11-22 08:47, Chuck Tuffli wrote: > > Running on a recent-ish -current > > # uname -a > > FreeBSD stargate.tuffli.net 14.0-CURRENT FreeBSD 14.0-CURRENT > > main-81b22a9892 GENERIC amd64 > > > &g

problem with re(4) interface

2021-11-22 Thread Chuck Tuffli
Running on a recent-ish -current # uname -a FreeBSD stargate.tuffli.net 14.0-CURRENT FreeBSD 14.0-CURRENT main-81b22a9892 GENERIC amd64 I'm having trouble using the second NIC interface in a bridge to provide network connectivity to bhyve VMs and need some help figuring out what is wrong. The sy

Re: I got a panic for "nvme0: cpl does not map to outstanding cmd" on a MACHIATObin Double Shot

2021-07-02 Thread Chuck Tuffli
On Thu, Jun 24, 2021 at 11:50 PM Mark Millard via freebsd-current wrote: > > I've given up on figuring any useful out for this example. > I've also not had a repeat so far. > > I'm progressing to much more recent commits for the > environment to be based on as well. > > The primary aarch64 system

Re: bhyve fopen failure

2021-03-04 Thread Chuck Tuffli
On Tue, Mar 2, 2021 at 10:13 AM Mark Johnston wrote: > > On Tue, Mar 02, 2021 at 09:31:22AM -0800, Chuck Tuffli wrote: > > I'm porting some code to bhyve and am getting a failure I don't > > understand. This is git as of af11c2029006 FWIW. > > > > The co

bhyve fopen failure

2021-03-02 Thread Chuck Tuffli
I'm porting some code to bhyve and am getting a failure I don't understand. This is git as of af11c2029006 FWIW. The code in question is for an emulated device and looks like: dbg = fopen("/tmp/bhyve_ata.log", "w+"); if (dbg == NULL) perror("fopen"); Running this fails with: f

Re: Intel TigerLake NVMe vmd: Adding Support & Debugging a Patch

2020-12-31 Thread Chuck Tuffli
On Wed, Dec 30, 2020 at 4:38 PM Neel Chauhan wrote: > > Hi Chuck, > > On 2020-12-30 10:04, Chuck Tuffli wrote: > > What is the output from > > # pciconf -rb pci0:0:14:0 0x40:0x48 > > The output is: > > 01 00 00 00 01 2e 68 02 00 Perfect. The Linux drive

Re: Intel TigerLake NVMe vmd: Adding Support & Debugging a Patch

2020-12-30 Thread Chuck Tuffli
On Tue, Dec 29, 2020 at 6:30 PM Neel Chauhan wrote: > > Hi freebsd-hackers@, CC'd freebsd-current@, > > I hope you all had a wonderful holiday season. > > I recently got a HP Spectre x360 13t-aw200 which is an Intel > TigerLake-based laptop. It has the Intel "Evo" branding and an "Optane" > SSD wh

Re: port build fails with missing sys/smr_types.h

2020-12-04 Thread Chuck Tuffli
On Thu, Dec 3, 2020 at 4:43 PM Mark Johnston wrote: ... > $ fetch > http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/13.0-CURRENT/amd64/20201126/FreeBSD-13.0-CURRENT-amd64-20201126-9e082d278b9.raw.xz > $ unxz FreeBSD-13.0-CURRENT-amd64-20201126-9e082d278b9.raw.xz > $ sudo mdconfig -a -f Fre

Re: port build fails with missing sys/smr_types.h

2020-12-03 Thread Chuck Tuffli
On Thu, Dec 3, 2020 at 3:18 PM Mark Johnston wrote: > > On Thu, Dec 03, 2020 at 01:08:52PM -0800, Chuck Tuffli wrote: > > Hi > > > > I'm trying to fix the build of qemu-utils but am seeing failures on > > CURRENT (13.0-HEAD-9e082d278b9) like: > > > &

port build fails with missing sys/smr_types.h

2020-12-03 Thread Chuck Tuffli
Hi I'm trying to fix the build of qemu-utils but am seeing failures on CURRENT (13.0-HEAD-9e082d278b9) like: In file included from util/oslib-posix.c:50: In file included from /usr/include/sys/user.h:51: In file included from /usr/include/sys/proc.h:50: /usr/include/sys/filedesc.h:47:10: fatal er

Re: PCIe NVME drives not detected on Dell R6515

2020-05-14 Thread Chuck Tuffli
On Mon, May 4, 2020 at 11:12 AM Miroslav Lachman <000.f...@quip.cz> wrote: > > On 2020-04-27 08:02, Miroslav Lachman wrote: > > I don't know what is with Scott. I hope he is well. > > Is there somebody else who can help me with this issue? > > Scott wrote there are hotplug PCIe buses not probed dur

Re: Build failed compiling ittnotify_static.pico

2020-03-15 Thread Chuck Tuffli
On Sat, Mar 14, 2020 at 1:16 AM Dimitry Andric wrote: > > On 14 Mar 2020, at 04:53, Masachika ISHIZUKA wrote: > > > >>> cc: error: no such file or directory: > >>> '/usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c' > >>> cc: error: no input file

Re: nda(4) does not work (reliably) in VMware Workstation

2018-12-13 Thread Chuck Tuffli
On Sun, Dec 9, 2018 at 3:50 PM Chuck Tuffli wrote: > On Sun, Dec 9, 2018 at 3:43 PM Yuri Pankov wrote: > >> Chuck Tuffli wrote: >> > On Sat, Dec 8, 2018 at 12:28 PM Yuri Pankov > > <mailto:yur...@yuripv.net>> wrote: >> > >> > Hi, >&

Re: nda(4) does not work (reliably) in VMware Workstation

2018-12-09 Thread Chuck Tuffli
On Sun, Dec 9, 2018 at 3:43 PM Yuri Pankov wrote: > Chuck Tuffli wrote: > > On Sat, Dec 8, 2018 at 12:28 PM Yuri Pankov > <mailto:yur...@yuripv.net>> wrote: > > > > Hi, > > > > Running -HEAD in VMware Workstation 15.0.2 VM. Trying to u

Re: nda(4) does not work (reliably) in VMware Workstation

2018-12-09 Thread Chuck Tuffli
On Sat, Dec 8, 2018 at 12:28 PM Yuri Pankov wrote: > Hi, > > Running -HEAD in VMware Workstation 15.0.2 VM. Trying to use nda(4) > instead of nvd(4) shows the following list of errors, and eventually > panics: > > https://people.freebsd.org/~yuripv/nda1.png > https://people.freebsd.org/~yuripv/n

Re: linux-c7 and opengl apps?

2018-10-05 Thread Chuck Tuffli
On Wed, Oct 3, 2018 at 2:39 AM Johannes Lundberg wrote: > Hi > > Have anyone successfully run opengl apps with linux-c7? > > Linux opengl apps works great with linux-c6 on gpu < kabylake but > linux-c6-dri does not include support for kabylake gpus. > Linux glxinfo in c7 show support for hardware

Re: Announcing Emulex 10G Ethernet NIC driver availability

2012-02-12 Thread Chuck Tuffli
On Fri, Feb 10, 2012 at 12:03 AM, Daniel Braniss wrote: >> On Tue, Feb 7, 2012 at 10:39 PM, Matthew Jacob wrote: >> > Any plans for iscsi, fcoe? >> > >> >> Hi All, >> >> >> >> >> >> >> >> Please find the 10Gb Ethernet NIC driver for Emulex OneConnect >> >> (BladeEngine) and Lancer family of netwo

Re: Announcing Emulex 10G Ethernet NIC driver availability

2012-02-08 Thread Chuck Tuffli
On Tue, Feb 7, 2012 at 10:39 PM, Matthew Jacob wrote: > Any plans for iscsi, fcoe? > >> Hi All, >> >> >> >> Please find the 10Gb Ethernet NIC driver for Emulex OneConnect >> (BladeEngine) and Lancer family of network adapters at Yes, Emulex is working on a native FC/FCoE driver (initiator and/or