Bug #387

bge driver not SMP-safe in DEVELOPMENT?

Added by schlesinger over 6 years ago. Updated over 6 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

If I use a SMP-kernel (with options "SMP" and "APIC_IO" enabled on a Lenovo
Thinkpad R60 (bge0 is identified as "Broadcom BCM5751M Gigabit Ethernet, ASIC
rev. 0x4201"), I get repeated the error message "bge0: watchdog timeout --
resetting".

When I build the same kernel as UP (with options "SMP" and "APIC_IO" disabled),
the bge0 interface works without problems.

I've used the 1.7.0-DEVELOPMENT sourcecode from Nov, 21.

ThinkpadR60 (9.8 kB) schlesinger, 11/24/2006 06:44 pm

vmstat_up.txt (843 Bytes) schlesinger, 11/26/2006 05:05 pm

vmstat_dp_after_bge_load_before_watchdog_timeout.txt (786 Bytes) schlesinger, 11/26/2006 05:06 pm

vmstat_dp_after_watchdog_timeout.txt (786 Bytes) schlesinger, 11/26/2006 05:07 pm


Related todos

History

Updated by schlesinger over 6 years ago

I've forgotten to mention this: I get a reply, when I ping on the bge0's IP
address, but not on any other (valid) adress.

Updated by sepherosa over 6 years ago

I don't think it is a problem in bge(4)

Can you post the vmstat -i of your UP kernel,
and vmstat -i of you SMP+APIC kernel before and after watchdog timeout.

BTW, please try turning off ACPI.

Best Regards,
sephe

Updated by schlesinger over 6 years ago

vmstat -i with UP kernel

Updated by schlesinger over 6 years ago

vmstat -i with MP kernel after loading bge module, but before bge0 watchdog
timeout

Updated by schlesinger over 6 years ago

vmstat -i with MP kernel after bge0 watchdog timeout

Updated by schlesinger over 6 years ago

It doesn't make a difference, if I boot with or without ACPI on a MP kernel,
the problem appears in both cases.

Updated by dillon over 6 years ago

:
:
:Thomas Schlesinger <schlesinger@netcologne.de> added the comment:
:
:It doesn't make a difference, if I boot with or without ACPI on a MP kernel,
:the problem appears in both cases.

See if MP works with the PIC. Try compiling a SMP kernel without
APIC_IO.

-Matt
Matthew Dillon
<dillon@backplane.com>

Updated by schlesinger over 6 years ago

Compiling the kernel with SMP, but without APIC_IO did the trick.

Thanks!

Updated by schlesinger over 6 years ago

Problem is solved now.

Updated by dillon over 6 years ago

:Thomas Schlesinger <schlesinger@netcologne.de> added the comment:
:
:Compiling the kernel with SMP, but without APIC_IO did the trick.
:
:Thanks!

Ok. This is not what we want to have to do, but I guess it seems to
work as a temporary bandaid.

-Matt
Matthew Dillon
<dillon@backplane.com>

Updated by corecode over 6 years ago

seems it is not related to bge, but to interrupt routing

Also available in: Atom PDF