Bug #982
closedbge0 watchdog timeout
Description
Hi there,
after playing around with dragonfly for quite some weeks I decided
it is time to set uo a production environment and I remembered an old IBM eServer 325
that I could use for this purpose.
Installing and compiling a SMP kernel worked flawlessly however there is one major bug:
The machine has two bge cards bge0 and bge1 the latter works fine but the first
always gives watchdog timeouts.
This happens regardless of wheather I am running a UP or SMP kernel.
Turnig off APIC_IO while using an SMP kernel also made no difference.
Any ideas to why this might be happening ?
Machines are down for maintenance and I have not yet grabbed a full dmesg,
sorry for that.
Tobias
Updated by sepherosa over 16 years ago
On Thu, Mar 27, 2008 at 6:48 PM, Jost Tobias Springenberg
<jspringe@uos.de> wrote:
Hi there,
after playing around with dragonfly for quite some weeks I decided
it is time to set uo a production environment and I remembered an old IBM eServer 325
that I could use for this purpose.
Installing and compiling a SMP kernel worked flawlessly however there is one major bug:
The machine has two bge cards bge0 and bge1 the latter works fine but the first
Mmm, are two bge same?
Have you tried polling?
try setting hw.bge0.tx_coal_ticks to 400 without polling enabled.
Default value may be too big for certain bge chips.
Best Regards,
sephe
Updated by jspringe over 16 years ago
Little bit of a delay here ...
I will try your suggestions and reply back mid next week.
On Thu, 27 Mar 2008 19:15:39 +0800
"Sepherosa Ziehau" <sepherosa@gmail.com> wrote:
Updated by adamk over 15 years ago
I recently installed 2.2.1 on a Dell Precision 490. It has one bge0 nic. It
works fine with the GENERIC UP kernel. When I rebooted into an SMP kernel that
I built, though, I started getting the watchdog timeout errors. I found this
report and set hw.bge0.tx_coal_ticks to 400 in sysctl.conf, but that didn't
change anything.
Anything else I can test? The NIC in question:
bge0@pci11:0:0: class=0x020000 card=0x01c11028 chip=0x160014e4 rev=0x02 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM5752 NetXtreme BCM5752 Gigabit Ethernet PCI Express'
class = network
subclass = ethernet
Updated by sepherosa over 15 years ago
On Wed, Jul 8, 2009 at 3:48 AM, Adam Kirchhoff (via DragonFly issue
tracker)<bugs@crater.dragonflybsd.org> wrote:
Adam Kirchhoff <adamk@voicenet.com> added the comment:
I recently installed 2.2.1 on a Dell Precision 490. It has one bge0 nic. It
works fine with the GENERIC UP kernel. When I rebooted into an SMP kernel that
I built, though, I started getting the watchdog timeout errors. I found this
report and set hw.bge0.tx_coal_ticks to 400 in sysctl.conf, but that didn't
change anything.Anything else I can test? The NIC in question:
bge0@pci11:0:0: class=0x020000 card=0x01c11028 chip=0x160014e4 rev=0x02 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM5752 NetXtreme BCM5752 Gigabit Ethernet PCI Express'
class = network
subclass = ethernet
Did you have APIC_IO in your kernel configure?
If "yes", then try removing APIC_IO and try again.
Best Regards,
sephe
Updated by adamk over 15 years ago
Yes, rebuilding the SMP kernel without APIC_IO seems to have done it. Thanks.
Adam
Updated by tuxillo almost 11 years ago
- Description updated (diff)
- Category set to Driver
- Status changed from New to Feedback
- Target version set to 3.8
Sephe,
After all the work you did on the SMP front and in the bge(4) driver, do you think this is still relevant?
Cheers,
Antonio Huete
Updated by tuxillo over 10 years ago
- Status changed from Feedback to Closed
- Assignee set to sepherosa
Hi,
Been using bge(4) for a long time in my previous NAS w/o any issues.
Also there has been a ton of work to the bge(4) driver since this ticket was opened.
So please open a new one if you run into problems again. Closing this one.
Best regards,
Antonio Huete