msk watchdog timeout

From: Li-Lun Wang (Leland Wang) <"Li-Lun>
Date: Thu, 17 May 2007 03:58:37 -0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

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 several Mbytes throughput without
a problem.

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

iD8DBQFGS85PCQM7t5B2mhARArxmAJ9Iv6vG6I8h6OH2aclBxfs287KgQACfdq0V
NqBqQiryN25esGNmdnZ3440=
=FR6d
-----END PGP SIGNATURE-----
Received on Thu May 17 2007 - 01:58:37 UTC

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