From dm@home.dinoex.sub.de  Wed Oct 20 03:41:23 2004
Return-Path: <dm@home.dinoex.sub.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8EA5516A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Oct 2004 03:41:23 +0000 (GMT)
Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [194.45.71.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 348C743D31
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Oct 2004 03:41:22 +0000 (GMT)
	(envelope-from dm@home.dinoex.sub.de)
Received: from home.dinoex.sub.de (dm@home.dinoex.sub.de [194.45.71.22])
	by uucp.dinoex.sub.de (8.13.1/8.13.1) with ESMTP id i9K3fHdu009091
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Oct 2004 05:41:17 +0200 (CEST)
	(envelope-from dm@home.dinoex.sub.de)
Received: (from dm@localhost)
	by home.dinoex.sub.de (8.13.1/8.12.11/Submit) id i9K3fI88056192;
	Wed, 20 Oct 2004 05:41:18 +0200 (CEST)
	(envelope-from dm)
Message-Id: <200410200341.i9K3fI88056192@home.dinoex.sub.de>
Date: Wed, 20 Oct 2004 05:41:18 +0200 (CEST)
From: dinoex@freebsd.org
Reply-To: dinoex@freebsd.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: twe0 idefinite wait buffer
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         72906
>Category:       kern
>Synopsis:       [twe] twe0 idefinite wait buffer
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 20 03:50:20 GMT 2004
>Closed-Date:    
>Last-Modified:  Sat Jul 21 13:10:02 GMT 2007
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.3-BETA7
>Organization:
privat
>Environment:

FreeBSD tb.dinoex.sub.de 5.3-BETA7 FreeBSD 5.3-BETA7 #5: Fri Oct  8 10:32:25 CEST 2004     root@current.dinoex.sub.de:/usr/obj/usr/src/sys/GENERIC  i386

twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xb000-0xb00f mem 0xf2000000-0xf27fffff irq 17 at device 1.0 on pci3
twe0: [GIANT-LOCKED]
twe0: 12 ports, Firmware FE7S 1.05.00.065, BIOS BE7X 1.08.00.048
twed0: <Unit 0, RAID5, Normal> on twe0
twed0: 1907811MB (3907198720 sectors)
twed1: <Unit 9, JBOD, Normal> on twe0
twed1: 190782MB (390721968 sectors)

>Description:

	when twe0 seens a disk problem, the system will freeze up.
	network routing is still functional.
	keyborad will escape in debugger.
	no core dump can not be written.
	all servies on host are blocking.

>How-To-Repeat:

	wait for an alarm to occur:

messages:
Oct 17 03:06:34 tb kernel: twe0: AEN: <twe0: port 2: sector repair occurred>
Oct 17 03:07:51 tb kernel: twe0: AEN: <twe0: port 2: sector repair occurred>
Oct 19 03:07:43 tb kernel: twe0: AEN: <twe0: port 2: sector repair occurred>
Oct 19 03:07:57 tb kernel: twe0: AEN: <twe0: port 2: sector repair occurred>
Oct 19 03:08:18 tb kernel: twe0: error polling for signalled AEN
Oct 19 03:08:18 tb last message repeated 5 times
Oct 19 03:08:38 tb kernel: twe0: AEN: <twe0: port 2: sector repair occurred>
Oct 19 03:08:38 tb kernel: twe0: AEN: <twe0: port 2: sector repair occurred>
Oct 19 03:09:16 tb kernel: twe0: AEN: <twe0: port 2: sector repair occurred>

CONSOLE:
swap-pager: idefinite wait buffer: device: twed0s2a blkno 4, size 4096
swap-pager: idefinite wait buffer: device: twed0s2a blkno 29, size 4096
[20 seconds idle]
swap-pager: idefinite wait buffer: device: twed0s2a blkno 4, size 4096
swap-pager: idefinite wait buffer: device: twed0s2a blkno 29, size 4096
[20 seconds idle]

after reboot:
$ tw_cli alarms

Alarms Report for Controller /c0
Date                       Severity  Alarm Message
-----------------------------------------------------
N/A                        N/A       INFO: Soft reset occurred


>Fix:

	unknown

>Release-Note:
>Audit-Trail:

From: Igor Robul <igorr@speechpro.com>
To: bug-followup@FreeBSD.org, dinoex@FreeBSD.org
Cc:  
Subject: Re: kern/72906: [twe] twe0 idefinite wait buffer
Date: Sat, 28 Jan 2006 14:19:11 +0300

 Same problem with FreeBSD 5.4 and 3Ware 8506 RAID5. 

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/72906: [twe] twe0 idefinite wait buffer
Date: Sat, 21 Jul 2007 15:02:38 +0200

 The problem still exists:
 FreeBSD 6.2-STABLE #8: Sun May 27 00:00:08 CEST 2007
 
 twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xb000-0xb00f mem 0xf2800000-0xf280000f,0xf2000000-0xf27fffff irq 17 at device 1.0 on pci3
 twe0: [GIANT-LOCKED]
 twe0: 12 ports, Firmware FE7S 1.05.00.065, BIOS BE7X 1.08.00.048
 
 five times on the console:
 twe0: AEN: <twe0: drive timeout for unknown unit 5>
 
 System frozen for two hours, "reset" pressed manual
 
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]
 http://people.freebsd.org/~dinoex/errorlogs/
>Unformatted:
