msk watchdog timeout

From: Li-Lun Wang (Leland Wang) <"Li-Lun>
Date: Sat, 19 May 2007 21:34:03 -0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am resending this since my previous message didn't seem to go through
a couple of days ago.

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)

iD8DBQFGT21HCQM7t5B2mhARAhdxAJ41bGN9ARaM5NtMBehWaIl+5GkMGQCfVlAD
f2fQ1bh5IQlv6DDR9WWibUU=
=Bg93
-----END PGP SIGNATURE-----
Received on Sat May 19 2007 - 19:34:03 UTC

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