From owner-freebsd-acpi@FreeBSD.ORG Sat Apr 25 08:21:23 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAA4D1065680; Sat, 25 Apr 2009 08:21:23 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id 339708FC1C; Sat, 25 Apr 2009 08:21:22 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [62.143.132.243] (helo=localhost) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Lxd8T-000880-Jy; Sat, 25 Apr 2009 10:21:21 +0200 Date: Sat, 25 Apr 2009 10:21:09 +0200 From: Fabian Keil To: Andriy Gapon Message-ID: <20090425102109.0520ce59@fabiankeil.de> In-Reply-To: <49F09A23.9080802@freebsd.org> References: <49DB639A.4090504@icyb.net.ua> <49DCF5C2.60805@root.org> <49DDF906.8090400@icyb.net.ua> <49DF3CA4.1090309@freebsd.org> <49E4B2A7.3020302@freebsd.org> <49E61986.7040709@root.org> <49E8AED0.1090008@freebsd.org> <20090418125806.2a48b0a8@fabiankeil.de> <49E9FFB0.6090707@root.org> <49EC60C6.7000702@freebsd.org> <49EC9D2F.8080701@root.org> <49EDFBBA.1080504@freebsd.org> <20090422183214.1e3372c6@fabiankeil.de> <49F09A23.9080802@freebsd.org> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i386-portbld-freebsd8.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/rD3pU6R9+gGPC4IXay3lN._"; protocol="application/pgp-signature" X-Df-Sender: 775067 Cc: freebsd-acpi@freebsd.org Subject: Re: run resume code only for S1-S4 states X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2009 08:21:24 -0000 --Sig_/rD3pU6R9+gGPC4IXay3lN._ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Andriy Gapon wrote: > on 22/04/2009 19:32 Fabian Keil said the following: > > There were no other messages that seemed to be related to the problem. > > I've never seen the problem on the system before, however I don't use > > the power button that often. > >=20 > > When the problem occurred, I tried the power button several times > > but only got more of the messages. I waited a few minutes and finally > > powered the system down with "shutdown -p now" which worked flawlessly. > I realize that this is not much fun, but could you please apply the below= patch on > top of the previous patch and try to reproduce the problem? Sure. It turns out that the problem is unrelated to your patch. I can reproduce it with an unpatched kernel too, by once pressing the power button before the second core is started. I probably did the same a few days ago, and forgot about it. Sorry. With your patch, the messages are: Apr 25 10:01:07 kendra kernel: Enter passphrase for ad4s1d: acd0: FAILURE -= INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00=20 Apr 25 10:01:07 kendra kernel: (probe0:ata0:0:0:0): TEST UNIT READY. CDB: 0= 0 0 0 0 0=20 Apr 25 10:01:07 kendra kernel: (probe0:ata0:0:0:0): CAM Status: SCSI Status= Error Apr 25 10:01:07 kendra kernel: (probe0:ata0:0:0:0): SCSI Status: Check Cond= ition Apr 25 10:01:07 kendra kernel: (probe0:ata0:0:0:0): NOT READY asc:3a,0 Apr 25 10:01:07 kendra kernel: (probe0:ata0:0:0:0): Medium not present Apr 25 10:01:07 kendra kernel: (probe0:ata0:0:0:0): Unretryable error Apr 25 10:01:07 kendra kernel: uhub5: 10 ports with 10 removable, self powe= red Apr 25 10:01:07 kendra kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc= =3D0x24 ascq=3D0x00=20 Apr 25 10:01:07 kendra kernel: acpi: S5 - before shutdown_nice Apr 25 10:01:07 kendra kernel: acpi: S5 - after shutdown_nice Apr 25 10:01:07 kendra kernel:=20 Apr 25 10:01:07 kendra kernel: GEOM_ELI: Device ad4s1d.eli created. Apr 25 10:01:07 kendra kernel: GEOM_ELI: Encryption: AES-CBC 256 Apr 25 10:01:07 kendra kernel: GEOM_ELI: Crypto: software Apr 25 10:01:07 kendra kernel: run_interrupt_driven_hooks: still waiting af= ter 60 seconds for Apr 25 10:01:07 kendra kernel: cd0 at ata0 bus 0 target 0 lun 0 Apr 25 10:01:07 kendra kernel: cd0: Removable= CD-ROM SCSI-0 device SMP: AP CPU # Apr 25 10:01:07 kendra kernel: 1 Launccdh0e:d !33.000MB/s transfers Apr 25 10:01:07 kendra kernel:=20 [...] Apr 25 10:01:24 kendra kernel: acpi: suspend request ignored (not ready yet) Apr 25 10:01:24 kendra kernel: acpi: request to enter state S5 failed (err = 6) Apr 25 10:01:27 kendra kernel: acpi: suspend request ignored (not ready yet) Apr 25 10:01:27 kendra kernel: acpi: request to enter state S5 failed (err = 6) Apr 25 10:01:27 kendra kernel: acpi: suspend request ignored (not ready yet) Apr 25 10:01:27 kendra kernel: acpi: request to enter state S5 failed (err = 6) Apr 25 10:01:28 kendra kernel: acpi: suspend request ignored (not ready yet) Apr 25 10:01:28 kendra kernel: acpi: request to enter state S5 failed (err = 6) Apr 25 10:01:28 kendra kernel: acpi: suspend request ignored (not ready yet) Apr 25 10:01:28 kendra kernel: acpi: request to enter state S5 failed (err = 6) Apr 25 10:01:28 kendra kernel: acpi: suspend request ignored (not ready yet) Apr 25 10:01:28 kendra kernel: acpi: request to enter state S5 failed (err = 6) Fabian --Sig_/rD3pU6R9+gGPC4IXay3lN._ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknyyAAACgkQBYqIVf93VJ0FJQCgmMasOC07VSKzJIgpnqEsNkI6 uMAAoKeZCgwrhYslT2i3ad8OUzp39IMO =21sr -----END PGP SIGNATURE----- --Sig_/rD3pU6R9+gGPC4IXay3lN._--