Bug 111800

Summary: FreeBSD 6.X Deadlocks randomly (Network)
Product: Base System Reporter: Charles A. Newcomer <charles>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 6.2-RELEASE   
Hardware: Any   
OS: Any   

Description Charles A. Newcomer 2007-04-18 00:50:18 UTC
Compaq DL380 3.2 Dual Core Xeon using bge network driver (dual ports) will randomly deadlock.
Only way to recover is power off.  No panic dumps or any indicators in logs.  Looks like a spin
lock.

In our particular instance it occurs at aproximately 1 week intervals.

This problem has been present in all 6.X releases.

Using GIANT-LOCK on the network stack stops it (apparently) from happening.
Although under previous 6.X releases system would still occasionaly panic (have not
analysed the cause; may be another reason)

Fix: 

Somewhat of a work around is to configure the system for GIANT-LOCKing on the network stack.
How-To-Repeat: Unknown exactly.
We are running the latest asterisk12 port with phones on an inside lan (192.168.X.X) bge1 
and asterisk accepting SIP calls from a public IP behind a Cisco PIX on bge0.

Just reinstalled from CD to FreeBSD 6.2-RELEASE #0 and locked after 4 days.
Comment 1 Charles A. Newcomer 2007-04-18 01:05:16 UTC
DUP Please close.

/can
__________________
"UNIX is simple and coherent, but it takes a true genius (or a  
programmer at any rate) to understand and appreciate its simplicity."  
-- Dennis Ritchie
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-04-18 06:19:36 UTC
State Changed
From-To: open->closed

Duplicate of kern/111793.