Bug #387

bge driver not SMP-safe in DEVELOPMENT?

Added by schlesinger about 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:
Priority:NormalDue 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.82 KB) schlesinger, 11/24/2006 06:44 PM

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

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

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

History

#1 Updated by schlesinger about 8 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.

#2 Updated by sepherosa about 8 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

#3 Updated by schlesinger about 8 years ago

vmstat -i with UP kernel

#4 Updated by schlesinger about 8 years ago

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

#5 Updated by schlesinger about 8 years ago

vmstat -i with MP kernel after bge0 watchdog timeout

#6 Updated by schlesinger about 8 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.

#7 Updated by dillon about 8 years ago

:
:
:Thomas Schlesinger <> 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
<>

#8 Updated by schlesinger about 8 years ago

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

Thanks!

#9 Updated by schlesinger about 8 years ago

Problem is solved now.

#10 Updated by dillon about 8 years ago

:Thomas Schlesinger <> 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
<>

#11 Updated by corecode almost 8 years ago

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

Also available in: Atom PDF