John Baldwin wrote:
>I have a patch for nve(4) which fixes at least one known LOR in the driver
and
>generally fixes up the locking. If you have an nve(4) card that currently
>works, please test this patch to make sure it doesn't break anything.
If you
>have an nve(4) card that doesn't work, this patch probably won't
help.
>
>http://www.FreeBSD.org/~jhb/patches/nve_locking.patch
>
>
>
After this patch is applied, I got:
nve0: <NVIDIA nForce MCP7 Networking Adapter> port 0xb400-0xb407 mem
0xec000000-0xec000fff irq 20 at device 5.0 on pci0
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: Ethernet address 00:04:61:fe:fb:7f
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
miibus0: <MII bus> on nve0
ciphy0: <Cicada CS8201 10/100/1000TX PHY> on miibus0
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
nve0: nve_oslockacquire: normal mutex not held
nve0: nve_oslockrelease: normal mutex not held
ciphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
nve0: Ethernet address: 00:04:61:fe:fb:7f
of course, it does not work, it had never worked.
David Xu