From owner-freebsd-current@FreeBSD.ORG Mon Aug 16 23:19:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B75DF16A4CE for ; Mon, 16 Aug 2004 23:19:45 +0000 (GMT) Received: from Espresso.NEEBU.Net (espresso.neebu.net [66.166.158.130]) by mx1.FreeBSD.org (Postfix) with SMTP id 47E8C43D3F for ; Mon, 16 Aug 2004 23:19:45 +0000 (GMT) (envelope-from khuon@Espresso.NEEBU.Net) Received: from Espresso.NEEBU.Net (khuon@localhost [127.0.0.1]) by Espresso.NEEBU.Net (8.12.10/8.12.10) with ESMTP id i7GNJCqq027626; Mon, 16 Aug 2004 16:19:12 -0700 (PDT) Received: from Espresso.NEEBU.Net (khuon@localhost)i7GNJB0J027625; Mon, 16 Aug 2004 16:19:12 -0700 (PDT) Message-Id: <200408162319.i7GNJB0J027625@Espresso.NEEBU.Net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 From: "Jake Khuon" To: Marc van Kempen Dcc: In-reply-to: Marc van Kempen's message of Mon, 16 Aug 2004 08:10:00 +0200. <200408160810.00366.marc@bowtie.nl> Action: Expires: Precedence: Priority: Normal X-Face: "(e&e|OIYrcV1x8y?txN%k1E2f[qWLjRjOn+a30)3>x`Wx%_9XiXs\IO2#G5L1m=c/|^h|z29wJ#]D/.?Ks,Mw1 X-URI: http://Espresso.NEEBU.Net/~khuon/ X-Organisation: Network Engineers for Effective Bandwidth Utilisation X-Header: /usr/include gives great headers X-System: Sun UltraSPARCstation2/2300MP running SunOS Release 5.8 X-Shell: tcsh 6.07.02 (Astron) 1996-10-27 (sparc-sun-solaris) options 8b,nls,dl,al,ng,rh X-Chtorr: History is full of revisionists. Where it used to say "THOU SHALT NOT KILL" it now says, "except as specified in section III-B, Paragraph 12, Sub-section D, Schedule 3." If that still doesn't suit you, wait till next year's commandments come out and trade it in for something that does. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 16 Aug 2004 16:19:11 -0700 Sender: khuon@Espresso.NEEBU.Net cc: freebsd-current@freebsd.org Subject: Re: ATA write-dma interrupt was seen but timeout fired LBA=53346288 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 23:19:45 -0000 ### On Mon, 16 Aug 2004 08:10:00 +0200, Marc van Kempen ### casually decided to expound upon freebsd-current@freebsd.org the ### following thoughts about "ATA write-dma interrupt was seen but timeout ### fired LBA=53346288": MvK> After I resume I get these warnings: MvK> MvK> ATA write-dma interrupt was seen but timeout fired LBA=53346288 MvK> ATA write-dma interrupt was seen but timeout fired LBA=53346288 MvK> ATA write-dma interrupt was seen but taskqueue stalled LBA=53346288 MvK> MvK> This basically results in the harddisk being unaccessible and the systems MvK> hangs eventually. Rebooting does not work because the harddisk can't be MvK> synced, etc. MvK> MvK> Does anyone know what is going on? I had this same problem on my IBM T30 although I'm using APM. I couldn't get ACPI suspend to play nice with XFree86 and GLX. It was very frustrating to not have reliable suspend. However, I think I might have solved it. Do you have a CDROM (or similar) device attached? I added "atacontrol detach 1" to /etc/rc.suspend to detach the CDROM drive before suspending. Likewise, I added a complementary "atacontrol attach 1" in /etc/rc.resume. Since doing that, I have not seen the interrupt problems. I do notice now that shortly before the re-attachment kicks in after coming back from suspend, I will see: Aug 16 15:45:02 Mocha kernel: stray irq15 I'm not sure if this is normal or is an indication of some weird IRQ storm. At anyrate, detaching and reattaching during the suspend/resume cycle seems to damp it and stablised the whole ATA subsystem. -- /*===================[ Jake Khuon ]======================+ | Packet Plumber, Network Engineers /| / [~ [~ |) | | --------------- | | for Effective Bandwidth Utilisation / |/ [_ [_ |) |_| N E T W O R K S | +=========================================================================*/