From nobody@FreeBSD.org  Thu Feb 23 18:14:05 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 034ED16A420
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Feb 2006 18:14:05 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C1CFA43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Feb 2006 18:14:04 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1NIE42C067786
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Feb 2006 18:14:04 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k1NIE4tY067785;
	Thu, 23 Feb 2006 18:14:04 GMT
	(envelope-from nobody)
Message-Id: <200602231814.k1NIE4tY067785@www.freebsd.org>
Date: Thu, 23 Feb 2006 18:14:04 GMT
From: "V. T. Mueller" <freebsd-amd64@datafarm.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: iir driver is broken for >=4GB system RAM
X-Send-Pr-Version: www-2.3

>Number:         93761
>Category:       kern
>Synopsis:       [iir] iir driver is broken for >=4GB system RAM
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 23 18:20:06 GMT 2006
>Closed-Date:    Thu Mar 02 19:39:28 GMT 2006
>Last-Modified:  Thu Mar 02 19:39:28 GMT 2006
>Originator:     V. T. Mueller
>Release:        i386-5.4, i386-6.0, amd64-5.4, amd64-6.0, amd64-6.1b2
>Organization:
Continum AG
>Environment:
any of the above install and/or PAE kernels            
>Description:
The iir driver appears to be not 64bit clean and/or has serious problems with ressource usage when there are 4GB+ in the system.

This applies to any kernel found on amd64 iso images from 5.4 to 6.1b2 and has been thoroughly tested on two supermicro H8DA8 with two opteron 245 and 8x1GB of RAM. The controllers tested were ICP-vortex GDT8500RZ and GDT8114RZ which both produced identical results. All hardware has latest firmware, was extensively tested and can run Debian and Windows flawlessly.

Using i386, the problem is easily reproducible with a PAE kernel. Without PAE, it takes a random amount of time for the system to crash. A PAE-kernel system just dies at the end of bootup.

I can't tell if other iir-supported controllers are affected, but it looks as if this is a generic driver problem.

The current situation in plain words: using FreeBSD is impossible with hardware like described above. Worse, people who have a running system now will render their system unusable when upgrading memory over 4G.
>How-To-Repeat:
Using one of the controllers mentioned above with either amd64 or i386/PAE when there are more than 4GB of RAM available.
>Fix:
No way.
>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@obsecurity.org>
To: "V. T. Mueller" <freebsd-amd64@datafarm.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/93761: iir driver is broken for >=4GB system RAM
Date: Thu, 23 Feb 2006 20:27:50 -0500

 On Thu, Feb 23, 2006 at 06:14:04PM +0000, V. T. Mueller wrote:
 
 > The iir driver appears to be not 64bit clean and/or has serious
 > problems with ressource usage when there are 4GB+ in the system.
 
 It's not listed in the PAE kernel config for this reason, although it
 is listed in amd64 GENERIC.  Probably it should just be removed from
 there.
 
 Kris

From: "V. T. Mueller" <freebsd-amd64@datafarm.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/93761: [iir] iir driver is broken for >=4GB system RAM
Date: Thu, 02 Mar 2006 18:49:49 +0100

 The defect covered in this report plus another one that has been 
 reported earlier where both corrected by Scott Long.
 
 A fixed version can be found in HEAD. It has been seriously tested 
 with 6.1b2 and found to be 100% stable.
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Mar 2 19:39:14 UTC 2006 
State-Changed-Why:  
Fixed in -current. 

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