Skip to contentSkip to conversation

New: without serial console system doesn't poweroff

Bugme-new Andrew Morton 3 participants 8 messages Nov 3, 2008 – Nov 10, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 44 lines · On Wed, 29 Oct 2008 04:06:11 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=11886

Summary: without serial console system doesn't poweroff
Product: Power Management
Version: 2.5
KernelVersion: 2.6.27.4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version:
Earliest failing kernel version:2.6.27.2
Distribution: Debian Etch
Hardware Environment: Supermiro C2SBC-Q Dual Core Intel Cpu 1G RAM Software Environment: Debian Etch
Problem Description: If I does't add serial console to kernel command line system doesn't poweroff. Linux hangs there:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...

If I disable in kernel config Suspend to Ram and Hibernate all works without console. But with Suspend and hibernate enabled and serial console added to kernel cmd line all works too:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU1 is down
Power down.
acpi_power_off called

Quoted 3 lines

Steps to reproduce:
Compile kernel with attached config and try poweroff without serial console.

OK, this is weird.

But the good news is that there is a very small number of commits between 2.6.27.2 and 2.6.27.4.

ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.3 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.4

I'd be looking at these:

commit 3b987ac961486373f91191b14291b331fa546072

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Sep 6 13:13:01 2008 +0200

ACPI suspend: Always use the 32-bit waking vector

commit a6629105dd03d370fcb31e97bddf223fa4bb651e upstream.

commit 66036f5862883fcc9f7ff8550685a5a3de1a57e4

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Oct 4 00:05:05 2008 +0200

ACPI Suspend: Enable ACPI during resume if SCI_EN is not set

commit d0c71fe7ebc180f1b7bc7da1d39a07fc19eec768 upstream.

presumably 2.6.28-rc3 is also broken?

#2 lore raw

Andrew Morton napsal(a):

Quoted 77 lines

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 44 lines · On Wed, 29 Oct 2008 04:06:11 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=11886

Summary: without serial console system doesn't poweroff
Product: Power Management
Version: 2.5
KernelVersion: 2.6.27.4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version:
Earliest failing kernel version:2.6.27.2
Distribution: Debian Etch
Hardware Environment: Supermiro C2SBC-Q Dual Core Intel Cpu 1G RAM Software Environment: Debian Etch
Problem Description: If I does't add serial console to kernel command line system doesn't poweroff. Linux hangs there:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...

If I disable in kernel config Suspend to Ram and Hibernate all works without console. But with Suspend and hibernate enabled and serial console added to kernel cmd line all works too:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU1 is down
Power down.
acpi_power_off called

Quoted 3 lines

Steps to reproduce:
Compile kernel with attached config and try poweroff without serial console.

OK, this is weird.

But the good news is that there is a very small number of commits between 2.6.27.2 and 2.6.27.4.

ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.3 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.4

I'd be looking at these:

commit 3b987ac961486373f91191b14291b331fa546072

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Sep 6 13:13:01 2008 +0200

ACPI suspend: Always use the 32-bit waking vector

commit a6629105dd03d370fcb31e97bddf223fa4bb651e upstream.

commit 66036f5862883fcc9f7ff8550685a5a3de1a57e4

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Oct 4 00:05:05 2008 +0200
Quoted 7 lines

ACPI Suspend: Enable ACPI during resume if SCI_EN is not set

commit d0c71fe7ebc180f1b7bc7da1d39a07fc19eec768 upstream.

presumably 2.6.28-rc3 is also broken?

I don't know I can test it on Thu. But may be may fault or misunderstanding fist kernel which I test is 2.27.2. I don't test any kernel before. I don't know if 2.6.26 works.

Dan

#3 lore raw
Quoted 80 lines · Daniel Smolik

Andrew Morton napsal(a):

Quoted 79 lines

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 44 lines · On Wed, 29 Oct 2008 04:06:11 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=11886

Summary: without serial console system doesn't poweroff
Product: Power Management
Version: 2.5
KernelVersion: 2.6.27.4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version:
Earliest failing kernel version:2.6.27.2
Distribution: Debian Etch
Hardware Environment: Supermiro C2SBC-Q Dual Core Intel Cpu 1G RAM Software Environment: Debian Etch
Problem Description: If I does't add serial console to kernel command line system doesn't poweroff. Linux hangs there:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...

If I disable in kernel config Suspend to Ram and Hibernate all works without console. But with Suspend and hibernate enabled and serial console added to kernel cmd line all works too:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU1 is down
Power down.
acpi_power_off called

Quoted 3 lines

Steps to reproduce:
Compile kernel with attached config and try poweroff without serial console.

OK, this is weird.

But the good news is that there is a very small number of commits between 2.6.27.2 and 2.6.27.4.

ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.3 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.4

I'd be looking at these:

commit 3b987ac961486373f91191b14291b331fa546072

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Sep 6 13:13:01 2008 +0200

ACPI suspend: Always use the 32-bit waking vector

commit a6629105dd03d370fcb31e97bddf223fa4bb651e upstream.

commit 66036f5862883fcc9f7ff8550685a5a3de1a57e4

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Oct 4 00:05:05 2008 +0200

ACPI Suspend: Enable ACPI during resume if SCI_EN is not set

Quoted 7 lines
Quoted 5 lines
    commit d0c71fe7ebc180f1b7bc7da1d39a07fc19eec768 upstream.

presumably 2.6.28-rc3 is also broken?

I don't know I can test it on Thu. But may be may fault or misunderstanding fist kernel which I test is 2.27.2. I don't test any kernel before. I don't know if 2.6.26 works.

Can you try 2.6.26, please?

Rafael

#4 lore raw

Rafael J. Wysocki napsal(a):

Quoted 80 lines · Daniel Smolik
Quoted 79 lines

Andrew Morton napsal(a):

Quoted 78 lines

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 44 lines · On Wed, 29 Oct 2008 04:06:11 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=11886

Summary: without serial console system doesn't poweroff
Product: Power Management
Version: 2.5
KernelVersion: 2.6.27.4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version:
Earliest failing kernel version:2.6.27.2
Distribution: Debian Etch
Hardware Environment: Supermiro C2SBC-Q Dual Core Intel Cpu 1G RAM Software Environment: Debian Etch
Problem Description: If I does't add serial console to kernel command line system doesn't poweroff. Linux hangs there:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...

If I disable in kernel config Suspend to Ram and Hibernate all works without console. But with Suspend and hibernate enabled and serial console added to kernel cmd line all works too:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU1 is down
Power down.
acpi_power_off called

Quoted 3 lines

Steps to reproduce:
Compile kernel with attached config and try poweroff without serial console.

OK, this is weird.

But the good news is that there is a very small number of commits between 2.6.27.2 and 2.6.27.4.

ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.3 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.4

I'd be looking at these:

commit 3b987ac961486373f91191b14291b331fa546072

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Sep 6 13:13:01 2008 +0200

ACPI suspend: Always use the 32-bit waking vector

commit a6629105dd03d370fcb31e97bddf223fa4bb651e upstream.

commit 66036f5862883fcc9f7ff8550685a5a3de1a57e4

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Oct 4 00:05:05 2008 +0200

ACPI Suspend: Enable ACPI during resume if SCI_EN is not set

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
    commit d0c71fe7ebc180f1b7bc7da1d39a07fc19eec768 upstream.

presumably 2.6.28-rc3 is also broken?

I don't know I can test it on Thu. But may be may fault or misunderstanding fist kernel which I test is 2.27.2. I don't test any kernel before. I don't know if 2.6.26 works.

Can you try 2.6.26, please?

Yes, no problem.

Dan

#5 lore raw
Quoted 85 lines · Daniel Smolik

Rafael J. Wysocki napsal(a):

Quoted 84 lines · Daniel Smolik
Quoted 83 lines

Andrew Morton napsal(a):

Quoted 82 lines

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 44 lines · On Wed, 29 Oct 2008 04:06:11 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=11886

Summary: without serial console system doesn't poweroff
Product: Power Management
Version: 2.5
KernelVersion: 2.6.27.4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version:
Earliest failing kernel version:2.6.27.2
Distribution: Debian Etch
Hardware Environment: Supermiro C2SBC-Q Dual Core Intel Cpu 1G RAM Software Environment: Debian Etch
Problem Description: If I does't add serial console to kernel command line system doesn't poweroff. Linux hangs there:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...

If I disable in kernel config Suspend to Ram and Hibernate all works without console. But with Suspend and hibernate enabled and serial console added to kernel cmd line all works too:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU1 is down
Power down.
acpi_power_off called

Quoted 3 lines

Steps to reproduce:
Compile kernel with attached config and try poweroff without serial console.

OK, this is weird.

But the good news is that there is a very small number of commits between 2.6.27.2 and 2.6.27.4.

ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.3 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.4

I'd be looking at these:

commit 3b987ac961486373f91191b14291b331fa546072

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Sep 6 13:13:01 2008 +0200

ACPI suspend: Always use the 32-bit waking vector

commit a6629105dd03d370fcb31e97bddf223fa4bb651e upstream.

commit 66036f5862883fcc9f7ff8550685a5a3de1a57e4

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Oct 4 00:05:05 2008 +0200

ACPI Suspend: Enable ACPI during resume if SCI_EN is not set

commit d0c71fe7ebc180f1b7bc7da1d39a07fc19eec768 upstream.

Quoted 6 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

presumably 2.6.28-rc3 is also broken?

I don't know I can test it on Thu. But may be may fault or misunderstanding fist kernel which I test is 2.27.2. I don't test any kernel before. I don't know if 2.6.26 works.

Can you try 2.6.26, please?

Yes, no problem.

And did it work?

Rafael

#6 lore raw

Rafael J. Wysocki napsal(a):

Quoted 86 lines · Daniel Smolik
Quoted 85 lines

Rafael J. Wysocki napsal(a):

Quoted 84 lines · Daniel Smolik
Quoted 83 lines

Andrew Morton napsal(a):

Quoted 82 lines

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 44 lines · On Wed, 29 Oct 2008 04:06:11 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=11886

Summary: without serial console system doesn't poweroff
Product: Power Management
Version: 2.5
KernelVersion: 2.6.27.4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version:
Earliest failing kernel version:2.6.27.2
Distribution: Debian Etch
Hardware Environment: Supermiro C2SBC-Q Dual Core Intel Cpu 1G RAM Software Environment: Debian Etch
Problem Description: If I does't add serial console to kernel command line system doesn't poweroff. Linux hangs there:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...

If I disable in kernel config Suspend to Ram and Hibernate all works without console. But with Suspend and hibernate enabled and serial console added to kernel cmd line all works too:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU1 is down
Power down.
acpi_power_off called

Quoted 3 lines

Steps to reproduce:
Compile kernel with attached config and try poweroff without serial console.

OK, this is weird.

But the good news is that there is a very small number of commits between 2.6.27.2 and 2.6.27.4.

ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.3 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.4

I'd be looking at these:

commit 3b987ac961486373f91191b14291b331fa546072

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Sep 6 13:13:01 2008 +0200

ACPI suspend: Always use the 32-bit waking vector

commit a6629105dd03d370fcb31e97bddf223fa4bb651e upstream.

commit 66036f5862883fcc9f7ff8550685a5a3de1a57e4

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Oct 4 00:05:05 2008 +0200

ACPI Suspend: Enable ACPI during resume if SCI_EN is not set

commit d0c71fe7ebc180f1b7bc7da1d39a07fc19eec768 upstream.

Quoted 8 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
Quoted 1 line

presumably 2.6.28-rc3 is also broken?

I don't know I can test it on Thu. But may be may fault or misunderstanding fist kernel which I test is 2.27.2. I don't test any kernel before. I don't know if 2.6.26 works.

Can you try 2.6.26, please?

Yes, no problem.

And did it work?

Rafael

Sorry, I compile kernel but still didn't test. I try it on Monday.

Dan

#7 lore raw
In reply to Rafael J. Wysocki

Rafael J. Wysocki napsal(a):

Quoted 86 lines · Daniel Smolik
Quoted 85 lines

Rafael J. Wysocki napsal(a):

Quoted 84 lines · Daniel Smolik
Quoted 83 lines

Andrew Morton napsal(a):

Quoted 82 lines

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 44 lines · On Wed, 29 Oct 2008 04:06:11 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=11886

Summary: without serial console system doesn't poweroff
Product: Power Management
Version: 2.5
KernelVersion: 2.6.27.4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version:
Earliest failing kernel version:2.6.27.2
Distribution: Debian Etch
Hardware Environment: Supermiro C2SBC-Q Dual Core Intel Cpu 1G RAM Software Environment: Debian Etch
Problem Description: If I does't add serial console to kernel command line system doesn't poweroff. Linux hangs there:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...

If I disable in kernel config Suspend to Ram and Hibernate all works without console. But with Suspend and hibernate enabled and serial console added to kernel cmd line all works too:

e1000e 0000:0d:00.0: PCI INT A disabled
e1000e 0000:00:19.0: PCI INT A disabled
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU1 is down
Power down.
acpi_power_off called

Quoted 3 lines

Steps to reproduce:
Compile kernel with attached config and try poweroff without serial console.

OK, this is weird.

But the good news is that there is a very small number of commits between 2.6.27.2 and 2.6.27.4.

ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.3 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.4

I'd be looking at these:

commit 3b987ac961486373f91191b14291b331fa546072

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Sep 6 13:13:01 2008 +0200

ACPI suspend: Always use the 32-bit waking vector

commit a6629105dd03d370fcb31e97bddf223fa4bb651e upstream.

commit 66036f5862883fcc9f7ff8550685a5a3de1a57e4

Author: Rafael J. Wysocki <[email protected]>
Date:   Sat Oct 4 00:05:05 2008 +0200

ACPI Suspend: Enable ACPI during resume if SCI_EN is not set

commit d0c71fe7ebc180f1b7bc7da1d39a07fc19eec768 upstream.

Quoted 8 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
Quoted 1 line

presumably 2.6.28-rc3 is also broken?

I don't know I can test it on Thu. But may be may fault or misunderstanding fist kernel which I test is 2.27.2. I don't test any kernel before. I don't know if 2.6.26 works.

Can you try 2.6.26, please?

Yes, no problem.

And did it work?

Rafael

I today test 2.6.26 and it works OK.

Dan