run resume code only for S1-S4 states

Fabian Keil freebsd-listen at fabiankeil.de
Sat Apr 25 08:21:24 UTC 2009


Andriy Gapon <avg at freebsd.org> 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.
> > 
> > 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=0x24 ascq=0x00 
Apr 25 10:01:07 kendra kernel: (probe0:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
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 Condition
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 powered
Apr 25 10:01:07 kendra kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
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: 
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 after 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: <LITE-ON DVDRW LDW-811S HS0R> 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: 
[...]
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20090425/774c8f42/signature.pgp


More information about the freebsd-acpi mailing list