NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/55822 CVS commit: src/sys/dev/pci
Hi,
> This fixed the panic, but now I get
>
> iavf0 at pci0 dev 2 function 0autoconfiguration error: :unable to get VF interface version
The reason why iavf(4) did not work on bhyve may be the combination between
bhyve and NetBSD, because it didn't appear on ESXi and Linux as far as I know.
Can you let me know about the environment of the VM?
1. Which version of bhyve did you use?
2. Which driver version of ixl did the bhyve use?
- This is not the FW version shown in a probe message.
3. Can other network devices using PCI passthrough, for example ixl, ixg and ixv
work well on the same VM (not NetBSD-9 host)
And can you tell me the message when iavf(4) is loaded with -i
debug_level=3 option?
You may already know, but just in case, the usage of the debug option
is following:
1. build and install kernel not containing iavf(4)
2. build and install modules
3. run the kernel and do "modload -i debug_level=3 if_iavf" command
Regards,
-- yamaguchi
On Tue, Dec 1, 2020 at 10:35 PM Bert Kiers <kiers%original.xs4all.nl@localhost> wrote:
>
> The following reply was made to PR kern/55822; it has been noted by GNATS.
>
> From: Bert Kiers <kiers%original.xs4all.nl@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: yamaguchi%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
> kiers%original.xs4all.nl@localhost
> Subject: Re: PR/55822 CVS commit: src/sys/dev/pci
> Date: Tue, 1 Dec 2020 14:24:49 +0100
>
> On Tue, Dec 01, 2020 at 04:40:01AM +0000, Shoichi YAMAGUCHI wrote:
> > The following reply was made to PR kern/55822; it has been noted by GNATS.
> >
> > From: "Shoichi YAMAGUCHI" <yamaguchi%netbsd.org@localhost>
> > To: gnats-bugs%gnats.NetBSD.org@localhost
> > Cc:
> > Subject: PR/55822 CVS commit: src/sys/dev/pci
> > Date: Tue, 1 Dec 2020 04:39:03 +0000
> >
> > Module Name: src
> > Committed By: yamaguchi
> > Date: Tue Dec 1 04:39:03 UTC 2020
> >
> > Modified Files:
> > src/sys/dev/pci: if_iavf.c
> >
> > Log Message:
> > Dequeue aqb from sc_atq_live even when the last command is failed
> >
> > iavf(4) didn't dequeue aqb from sc_atq_live that is a list for
> > buffer in use when a command is failed by ETIMEDOUT.
> >
> > This causes a panic in the following sequence:
> >
> > 1. enqueue an aqb to sc_atq_live at iavf_aqb_post()
> > 2. the last command is failed by ETIMEDOUT
> > 3. enqueue the aqb used in the failed command to sc_atq_idle
> > at an error handling in iavf_attach()
> > 4. dequeue the same aqb from sc_atq_live and enqueue sc_atq_idle
> > again at iavf_cleanup_admin_queue()
> > - sc_atq_idle is broken at that time
> > 5. free the aqb in sc_atq_idle more than once
> >
> > Fix PR/55822
>
> This fixed the panic, but now I get
>
> iavf0 at pci0 dev 2 function 0autoconfiguration error: :unable to get VF interface version
>
> with both the
>
> 000:02:0: Intel X722 10GbE VF (ethernet network, revision 0x09)
>
> and the
>
> 000:02:0: Intel XL710 Ethernet Virtual Function (ethernet network, revision 0x01)
>
> Grtnx,
> --
> Bert
>
Home |
Main Index |
Thread Index |
Old Index