Project

General

Profile

Actions

Bug #387

closed

bge driver not SMP-safe in DEVELOPMENT?

Added by schlesinger almost 18 years ago. Updated almost 18 years ago.

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

0%

Estimated time:

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.


Files

ThinkpadR60 (9.82 KB) ThinkpadR60 schlesinger, 11/24/2006 06:44 PM
vmstat_up.txt (843 Bytes) vmstat_up.txt schlesinger, 11/26/2006 05:05 PM
vmstat_dp_after_bge_load_before_watchdog_timeout.txt (786 Bytes) vmstat_dp_after_bge_load_before_watchdog_timeout.txt schlesinger, 11/26/2006 05:06 PM
vmstat_dp_after_watchdog_timeout.txt (786 Bytes) vmstat_dp_after_watchdog_timeout.txt schlesinger, 11/26/2006 05:07 PM
Actions #1

Updated by schlesinger almost 18 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.

Actions #2

Updated by sepherosa almost 18 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

Actions #3

Updated by schlesinger almost 18 years ago

vmstat -i with UP kernel

Actions #4

Updated by schlesinger almost 18 years ago

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

Actions #5

Updated by schlesinger almost 18 years ago

vmstat -i with MP kernel after bge0 watchdog timeout

Actions #6

Updated by schlesinger almost 18 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.

Actions #7

Updated by dillon almost 18 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
&lt;&gt;
Actions #8

Updated by schlesinger almost 18 years ago

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

Thanks!

Actions #9

Updated by schlesinger almost 18 years ago

Problem is solved now.

Actions #10

Updated by dillon almost 18 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
&lt;&gt;
Actions #11

Updated by corecode almost 18 years ago

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

Actions

Also available in: Atom PDF