Total machine lockup w/ current kernels while installing from CD

From: Bernhard Rosenkraenzer
Date: Wed May 10 2006 - 21:24:29 EST


Hi,
I've built a CD that installs a customized system; basically what it does is
boot from CD (iso9660) and run

mke2fs -m0 -j -O dir_index,filetype,has_journal,sparse_super /dev/hda1
mount -text3 /dev/hda1 /mnt/dest
rpm -r /mnt/dest -ivh /RPMS/*

This worked perfectly up until some recent kernel updates - with current
kernels (both Linus and -mm branch), the system locks up totally at a random
point during rpm installation (everything goes down, including the NumLock
LED etc).

I'm currently building some old kernels to see when this problem was
introduced and sort out what patch did it.
With 2.6.16-rc6, the problem occurs, but unlike later revisions it gives an
error message before freezing:

BUG: soft lockup detected on CPU#0!

Pid: 421, comm: kjournald
EIP: 0060:[<b01a2f52>] CPU: 0
EIP is at journal_commit_transaction+0x92e/0xfcc
EFLAGS: 00000297 Not tainted (2.6.16-rc6 #1)
EAX: 00000001 EBX: c2d34788 ECX: 00000001 EDX: c785e000
ESI: b3ff8d04 EDI: 000000f0 EBP: b683b840 DS: 007b ES: 007b
CR0: 8005003b CR2: 0841f7fc CR3: 17217000 CR4: 000006d0
[<b02bd52e>] schedule+0x2ee/0x5b6
[<b01a6a88>] kjournald+0x201/0x213
[<b0111089>] smp_apic_timer_interrupt+0x32/0x49
[<b01a6937>] kjournald+0xb0/0x213
[<b01a5ffa>] commit_timeout+0x0/0x9
[<b012a789>] autoremove_wake_function+0x0/0x4b
[<b01a6887>] kjournald+0x0/0x213
[<b0101005>] kernel_thread_helper+0x5/0xb

I'll keep trying to isolate which patch introduced this; at the moment the
last known working kernel is 2.6.15 (and 2.6.15-mm4), the first known broken
one is 2.6.16-rc6; the ones in between are still waiting for the compile box.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/