Skip to contentSkip to conversation

-mm hang while shutdown with printk_delay

DISCUSSION Dave Young 2 participants 6 messages Aug 18, 2009 – Aug 24, 2009

lore
Share & tools
lore

Dave Young

author
#0 lore raw

Hi,

Test with printk_delay=200,

/sbin/halt -p

kernel hang after following message:

Disabling non-boot CPUs

There's no such problem with 2.6.31-rc6

Signature · 2 lines
Regards
dave
#1 lore raw
Quoted 11 lines · On Tue, 18 Aug 2009 11:25:22 +0800 Dave Young <[email protected]> wrote:

Hi,

Test with printk_delay=200,

/sbin/halt -p

kernel hang after following message:

Disabling non-boot CPUs

There's no such problem with 2.6.31-rc6

umm, OK. But -mm contains six patches:

printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec-fix.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec-fix-2.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios-fix.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios-cleanup.patch

from yourself. Are they the cause?

author
#2 lore raw
Quoted 16 lines · Andrew Morton
Quoted 11 lines · On Tue, 18 Aug 2009 11:25:22 +0800 Dave Young <[email protected]> wrote:

Hi,

Test with printk_delay=200,

/sbin/halt -p

kernel hang after following message:

Disabling non-boot CPUs

There's no such problem with 2.6.31-rc6

umm, OK.  But -mm contains six patches:

Quoted 9 lines

printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec-fix.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec-fix-2.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios-fix.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios-cleanup.patch

from yourself.  Are they the cause?

Actually I tested 2.6.31-rc6 with the above six patches applied, there's no such problem.

Signature · 2 lines
Regards
dave
author
#3 lore raw
Quoted 25 lines · Dave Young
Quoted 23 lines · Andrew Morton
Quoted 11 lines · On Tue, 18 Aug 2009 11:25:22 +0800 Dave Young <[email protected]> wrote:

Hi,

Test with printk_delay=200,

/sbin/halt -p

kernel hang after following message:

Disabling non-boot CPUs

There's no such problem with 2.6.31-rc6

umm, OK.  But -mm contains six patches:

printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec-fix.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec-fix-2.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios-fix.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios-cleanup.patch

Quoted 6 lines
Quoted 2 lines

from yourself.  Are they the cause?

Actually I tested 2.6.31-rc6 with the above six patches applied, there's no such problem.

I'm manually bisecting the mm patch series, hope find cause.

Quoted 4 lines

--
Regards
dave

Signature · 2 lines
Regards
dave
author
#4 lore raw
Quoted 26 lines · Dave Young
Quoted 25 lines · Dave Young
Quoted 23 lines · Andrew Morton
Quoted 11 lines · On Tue, 18 Aug 2009 11:25:22 +0800 Dave Young <[email protected]> wrote:

Hi,

Test with printk_delay=200,

/sbin/halt -p

kernel hang after following message:

Disabling non-boot CPUs

There's no such problem with 2.6.31-rc6

umm, OK.  But -mm contains six patches:

printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec-fix.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec-fix-2.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios-fix.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios-cleanup.patch

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

from yourself.  Are they the cause?

Actually I tested 2.6.31-rc6 with the above six patches applied, there's no such problem.

I'm manually bisecting the mm patch series, hope find cause.

Again weird result:

linux-futexh-place-kernel-types-behind-__kernel__.patch #bisect good
#
#

# edac
#
edac-mpc85xx-add-p2020ds-support.patch
#edac-mpc85xx-add-mpc83xx-support.patch: smp_processor_id() bug?
edac-mpc85xx-add-mpc83xx-support.patch
edac-fix-resource-size-calculation.patch
edac-i3200-memory-controller-driver.patch
edac-i3200-memory-controller-driver-fix-offset-of-reg-in-i3200_edac-module.patch
# bisect bad

I put printk_delay patches to the head of queue. test five times, same results.

bash-3.1$ grep EDAC .config
CONFIG_EDAC=y
# CONFIG_EDAC_DEBUG is not set
# CONFIG_EDAC_MM_EDAC is not set

There's no difference between bad/good kernel indeed because the edac code is not compiled.

hardware is dell e5400
distribution is slackware 12.2

BTW, there's lockdep warnings while umounting a reiserfs partition, but I think it is not relevant.

Confused...

Signature · 2 lines
Regards
dave
author
#5 lore raw
In reply to Dave Young
Quoted 11 lines · Dave Young

Hi,

Test with printk_delay=200,

/sbin/halt -p

kernel hang after following message:

Disabling non-boot CPUs

There's no such problem with 2.6.31-rc6

Status update:

I have no such problem with mmotm 2009-08-20-19-18

Signature · 2 lines
Regards
dave