From owner-freebsd-current@FreeBSD.ORG Mon Aug 16 23:42:41 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 8609B16A4D0; Mon, 16 Aug 2004 23:42:41 +0000 (GMT) Received: from ctb-mesg1.saix.net (ctb-mesg1.saix.net [196.25.240.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18C3743D5E; Mon, 16 Aug 2004 23:42:41 +0000 (GMT) (envelope-from marc@bowtie.nl) Received: from host10.meck.bowtie.nl (tbnb-101-245.telkomadsl.co.za [165.165.101.245]) by ctb-mesg1.saix.net (Postfix) with ESMTP id 2A90E59D9; Tue, 17 Aug 2004 01:42:37 +0200 (SAST) Received: from host10.meck.bowtie.nl (localhost [127.0.0.1]) by host10.meck.bowtie.nl (8.13.1/8.13.1) with ESMTP id i7GNXe08002022; Tue, 17 Aug 2004 01:33:40 +0200 (SAST) (envelope-from marc@host10.meck.bowtie.nl) Received: (from marc@localhost) by host10.meck.bowtie.nl (8.13.1/8.13.1/Submit) id i7GNXdOb002021; Tue, 17 Aug 2004 01:33:39 +0200 (SAST) (envelope-from marc) Date: Tue, 17 Aug 2004 01:33:38 +0200 From: Marc van Kempen To: Jake Khuon Message-ID: <20040816233338.GA1987@host10.meck.bowtie.nl> References: <200408160810.00366.marc@bowtie.nl> <200408162319.i7GNJB0J027625@Espresso.NEEBU.Net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408162319.i7GNJB0J027625@Espresso.NEEBU.Net> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org cc: rwatson@freebsd.org cc: Marc van Kempen 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 Precedence: list Reply-To: marc@bowtie.nl 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:42:41 -0000 On Mon, Aug 16, 2004 at 04:19:11PM -0700, Jake Khuon wrote: > ### 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. > try: hw.syscons.sc_no_suspend_vtswitch=1 hw.acpi.reset_video=0 > 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? > Yep! > 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 see exactly the same thing (from some quick testing), manually attaching detaching the cdrom drive (actually dvd/cdrom-writer) makes suspend/resume work reliably! > 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. > The only problem left is that with acpi the file /etc/rc.{suspend,resume} don't seem to get called. Cheers, Marc.