From nobody@FreeBSD.org  Fri Dec  9 07:47:21 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DC13D106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  9 Dec 2011 07:47:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id CBDE38FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  9 Dec 2011 07:47:21 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pB97lLVj085389
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 9 Dec 2011 07:47:21 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pB97lLu5085388;
	Fri, 9 Dec 2011 07:47:21 GMT
	(envelope-from nobody)
Message-Id: <201112090747.pB97lLu5085388@red.freebsd.org>
Date: Fri, 9 Dec 2011 07:47:21 GMT
From: Jukka Ukkonen <jau@iki.fi>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 9.0 PRERELEASE freezes without any warnings or panic messages
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163145
>Category:       kern
>Synopsis:       FreeBSD 9.0 PRERELEASE freezes without any warnings or panic messages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    eadler
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 09 07:50:06 UTC 2011
>Closed-Date:    Sun May 06 17:00:21 UTC 2012
>Last-Modified:  Sun May 06 17:00:42 UTC 2012
>Originator:     Jukka Ukkonen
>Release:        FreeBSD 9.0 PRERELEASE
>Organization:
-----
>Environment:
FreeBSD sleipnir 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #0: Sun Dec  4 13:47:27 EET 2011     root@sleipnir:/usr/obj/usr/src/sys/Sleipnir  amd64
>Description:
When using various application with Gnome2 and X11 the whole system freezes without any warnings, without any messages being logged, and without properly panicing.
The system falls completely unresponsive. The mouse is gone. So are the keyboard and network connections. All disk activity stops. The system will not respond even to a ping.
The only way out of this freeze is a reboot (reset or power buttons).
I have seen this happening at least with Firefox, Thunderbird, and gcalctool.
The freeze does not necessarily hit right after the application starts.
In some cases it has taken some 1/2h to 1h before the problem arises.
Sometimes it happens almost immediately.

The problem has been there through all of the betas and RC snapshots.
The only difference in my locally compiled kernel to the GENERIC kernel is that mine allows multiple fibs.
The same problem happens equally with the GENERIC kernel.

The system on which I have been testing FreeBSD-9.0 is a 12 core AMD64 system.

The problem may be a deadlock which requires some amount of parallellism and a frequent enough stream of some sort of events to appear.

>How-To-Repeat:
Take a multicore / multi-cpu AMD64 system.
Install X11, Gnome2, Firefox, Thunderbird, and gcalctool.
Start using Firefox, etc. on the new Gnome2 desktop.
Sooner or later the system will freeze.
It may take only seconds, but in some cases it has taken almost an hour to occur.

If using gmirror storage volumes, be prepared to see the mirror sides out of sync after the reboot.

>Fix:
I do not have a foggiest idea really. ;-)


>Release-Note:
>Audit-Trail:
From: =?koi8-r?B?8M/Oz83B0sXOy88g4c7E0sXKIO7Jy8/MwcXXyd4=?= <ponomarenkoan@oranta-sk.ru>
To: <bug-followup@FreeBSD.org>, <jau@iki.fi>
Subject: Re: kern/163145: FreeBSD 9.0 PRERELEASE freezes without any warnings or panic messages
Date: Tue, 13 Dec 2011 10:56:44 +0400

What graphic card do you have?

I have this problem with the graphics card GTX470.

From: jau@iki.fi (Jukka A. Ukkonen)
To: ponomarenkoan@oranta-sk.ru (  )
Cc: bug-followup@FreeBSD.org, jau@iki.fi
Subject: Re: kern/163145: FreeBSD 9.0 PRERELEASE freezes without any warnings or panic messages
Date: Wed, 14 Dec 2011 15:53:10 +0200 (EET)

 > What graphic card do you have?
 > 
 > I have this problem with the graphics card GTX470.
 
 
 My graphics card is a PCI Express attached Radeon.
 
 I assume your card while being of different make and model
 is anyhow attached to PCI Express as well, right?
 
 For a while I also had the idea that this would be somehow
 related to some graphics driver or something.
 It does not seem to be the case, though.
 
 I have also 2 Intel gigabit NICs attached to PCI Express.
 If I start using them, the problems occur more frequently.
 For a while I thought the em driver could also be faulty.
 
 The true problem probably lies in how the PCI Express devices
 and the PCI Express bus are managed.
 
 First of all the exact same system has no tendency to freeze
 when running Ubuntu. => So, it is not a HW problem as such.
 
 Secondly my system has a BIOS which maintains a log of hardware
 level events like PCI events.
 In that log there is always a new entry after a system freeze
 saying "PCI Express Fatal Error".
 
 I have yet to try whether running X11 with DRI on or off has
 any effect on the issue, but knowing that also Intel Ethernet
 NICs on PCI Express are prone to trigger the same problem,
 I am pretty confident that this problem hides somewhere inside
 the PCI drivers.
 
 Cheers,
 	// jau

From: "Jukka A. Ukkonen" <jau@iki.fi>
To: bug-followup@FreeBSD.org, jau@iki.fi
Cc:  
Subject: Re: kern/163145: FreeBSD 9.0 PRERELEASE freezes without any warnings
 or panic messages
Date: Sun, 06 May 2012 09:06:46 +0300

 Close this ticket.
 The last serious freezes were in February 2012.
 After the fixes for SysV IPC deadlock were introduced (in Feb 2012) the 
 system has behaved much better.
 
 --jau
 
State-Changed-From-To: open->closed 
State-Changed-By: eadler 
State-Changed-When: Sun May 6 17:00:17 UTC 2012 
State-Changed-Why:  
Per submitter request 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163145 
Responsible-Changed-From-To: freebsd-bugs->eadler 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sun May 6 17:00:40 UTC 2012 
Responsible-Changed-Why:  
I closed it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163145 
>Unformatted:
