msk watchdog timeout

From: Li-Lun Wang (Leland Wang) <"Li-Lun>
Date: Mon, 21 May 2007 01:41:24 +0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am resending this the third time since my previous messages didn't seem
to go through.

I was persuaded to report this on freebsd-current.
I just installed 7.0-current as of May 3 on my new computer that comes
with an on-board Marvell Yukon Gigabit Ethernet.  Every now and then
if the network throughput comes near several hundred kbytes, I get the
msk0 watchdog timeout messages:

	kernel: msk0: watchdog timeout
	msk0: watchdog timeout (missed Tx interrupts) -- recovering

Although it says recovering, the interface never comes back alive.
Sometimes doing a kldunload / kldload if_msk can bring the interface
back, but sometimes it is helpless with the following message when I
reload the kernel module:

kernel: mskc0: <Marvell Yukon 88E8053 Gigabit Ethernet> port 0xb000-0xb0ff
	mem 0xf9000000-0xf9003fff irq 16 at device 0.0 on pci4
kernel: msk0: <Marvell Technology Group Ltd. Yukon EC Id 0xb6 Rev 0x02> on
	mskc0
kernel: msk0: failed to allocate DMA'able memory for jumbo buf
kernel: device_attach: msk0 attach returned 1

I would have to reboot to solve this situation.

Google found me not much information, but someone did mention something
about MSI.  I set hw.pci.enable_msix=0 and hw.pci.enable_msi=0 in my
loader.conf, and I was able to reach megas of bytes throughput without
a problem.

- -- llwang
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

iD8DBQFGUIhDCQM7t5B2mhARAjRiAJ9sUZY2r1Js/ZUc+hV0cq9zrtAyJACfbihs
vgaKBUNWLC4Y8LSZ39vxBI8=
=4bxd
-----END PGP SIGNATURE-----
Received on Sun May 20 2007 - 15:41:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC