From owner-freebsd-current@FreeBSD.ORG Sun Aug 24 20:08:17 2003 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 AF41B16A4BF for ; Sun, 24 Aug 2003 20:08:17 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id E677643FA3 for ; Sun, 24 Aug 2003 20:08:12 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 15034 invoked by uid 1000); 25 Aug 2003 03:08:14 -0000 Date: Sun, 24 Aug 2003 20:08:14 -0700 (PDT) From: Nate Lawson To: current@freebsd.org Message-ID: <20030824200442.J15031@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: snd_ich not reset on suspend/resume X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 03:08:17 -0000 I have the following audio device on my laptop: pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff irq 11 at device 31.5 on pci0 pcm0: After a suspend/resume, it prints the following messages: pcm0: Unhandled interrupt, gs_intr = 86 pcm0: Unhandled interrupt, gs_intr = 86 pcm0: Unhandled interrupt, gs_intr = 86 pcm0: CODEC semaphore timeout pcm0: CODEC semaphore timeout pcm0: CODEC semaphore timeout [all repeated many more times] So I unload and reload the kernel module and it appears to detect the sound chip ok. However, after about 30 seconds of playing audio, it hangs with: pcm0:play:0: play interrupt timeout, channel dead All interrupts on the machine die (including my fxp0 ethernet) for about 30 more seconds. At that point, the network comes back but the audio does not work any more. I've noticed other devices which do not have suspend/resume support. Would it be useful for me to maintain a status page of devices and their ability to suspend and resume (similar to the device locking page)? -Nate