NetBSD Problem Report #39259

From bernd@arresum.veego.de  Fri Aug  1 06:36:46 2008
Return-Path: <bernd@arresum.veego.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 0DAC063B9AA
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  1 Aug 2008 06:36:46 +0000 (UTC)
Message-Id: <200808010636.m716aMvB018744@arresum.veego.de>
Date: Fri, 1 Aug 2008 08:36:22 +0200 (CEST)
From: Bernd Ernesti <pr200808-2@veego.de>
Reply-To: Bernd Ernesti <pr200808-2@veego.de>
To: gnats-bugs@gnats.NetBSD.org
Subject: yds driver is broken with the "new" pmf
X-Send-Pr-Version: 3.95

>Number:         39259
>Category:       port-i386
>Synopsis:       yds driver is broken with the "new" pmf
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 01 06:40:00 +0000 2008
>Last-Modified:  Mon May 21 09:23:36 +0000 2018
>Originator:     Bernd Ernesti
>Release:        NetBSD 4.99.71
>Organization:
>Environment:
System: NetBSD 4.99.71
Architecture: i386
Machine: i386
>Description:
	Suspending to disk worked fine last year (4.99.31), but doesn't
	work anymore after the new power management framework went into
	the tree at the end of 2007.

	Note that this is with an APM kernel because suspend to disk doesn't
	work at all with ACPI.

	First of all this message appeared during suspend:
	  Devices without power management support: opl0 mpu0

	After that the BIOS (yes, BIOS. Thats nothing from the NetBSD kernel)
	printed these messages:
	  PCI System Error On Bus/Device/Function 0060h
	  PCI Parity Error On Bus/Device/Function 0060h  

	There was an additional BIOS message during one of my test after trying
	another supsend:
	  PCI Parity Error On Bus/Device/Function 0048h

	Then the cardbus slot was dead (i removed the card which was in
	it before starting the suspend).

	After disabling some devices Joerg and I found that this is
	related to the yds driver:
	  yds0 at pci0 dev 9 function 0: Yamaha 744 (DS-1S) Audio (rev. 0x02)
	  yds0: interrupting at irq 9
	  yds0: ac97: Asahi Kasei AK4541/AK4543 codec; headphone, 18 bit DAC, 18 bit ADC, AKM 3D
	  yds0: ac97: ext id 200<AMAP>

	It doesn't show up when I disable yds, but that doesn't mean everything
	is working. fwohci0 prints the following messages:
	  fwohci0: Phy 1394 available S400, 3 ports.
	  fwohci0: Link S400, max_rec 2048 bytes.
	  fwohci0: Initiate bus reset
	These messages maybe not related, but the keyboard is frozen and the cpu fan
	is running at full speed.

	I put some files on ftp.netbsd.org:/pub/NetBSD/misc/veego/c1xd/
	The dsdt, dmesg and the pci register information of the audio device.
>How-To-Repeat:
	Do a suspend to disk with a sony c1xd.
>Fix:

>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.