Skip to contentSkip to conversation

'soft lockup' issue on shutdown

uml-devel Anthony Brock 3 participants 5 messages Aug 7, 2005 – Aug 12, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

I've been encountering a "freeze" on shutdown with guest kernel 2.6.12-rc5-mm1. Today, I was busy with other things so I left it frozen for a while. When I returned, I saw the following:

Turning off swap

BUG: soft lockup detected on CPU#0!

EIP: 0000:[<00000000>] CPU: 0 Not tainted EFLAGS: 00000000
Not tainted
EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
ESI: 00000000 EDI: 00000000 EBP: 00000000 DS: 0000 ES: 0000

082976f0:  [<080789a9>] show_regs+0xc9/0xf0
08297710:  [<0809bb60>] softlockup_tick+0x50/0x60
08297730:  [<08087d44>] do_timer+0x44/0x110
08297750:  [<08062750>] um_timer+0x10/0x50
08297770:  [<0809bd86>] handle_IRQ_event+0x36/0x90
082977a0:  [<0809be8e>] __do_IRQ+0xae/0x110
082977c0:  [<0805f2df>] do_IRQ+0x2f/0x40
082977d0:  [<080626cb>] timer_irq+0x11b/0x170
08297800:  [<080628d9>] timer_handler+0x49/0x60
08297820:  [<080759ca>] sig_handler_common_skas+0xaa/0x100
08297850:  [<08071b93>] alarm_handler+0x23/0x50
08297870:  [<ffffe420>] _etext+0xf7db7406/0x0
08297b80:  [<08060e2a>] default_idle+0x6a/0x80
08297bb0:  [<08064744>] init_idle_skas+0x24/0x30
08297bc0:  [<08060e4a>] cpu_idle+0xa/0x10
08297bd0:  [<0805e22f>] rest_init+0x1f/0x30
08297be0:  [<080495d6>] start_kernel+0x176/0x1b0
08297bf0:  [<0806477b>] start_kernel_proc+0x2b/0x30
08297c00:  [<08070b8a>] run_kernel_thread+0x3a/0x50
08297cd0:  [<0806448f>] new_thread_handler+0xaf/0x110
08297d20:  [<ffffe420>] _etext+0xf7db7406/0x0

Does anyone recognize this bug? I've been planning on upgrading, but would like to know if the effort is likely to fix the issue. Unfortunately, this is a production machine that's owned by another individual. So I need to be careful about changes to the OS and kernel.

Tony

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 6 lines · Anthony Brock

I've been encountering a "freeze" on shutdown with guest kernel 2.6.12-rc5-mm1. Today, I was busy with other things so I left it frozen for a while. When I returned, I saw the following:

Turning off swap

BUG: soft lockup detected on CPU#0!

How reproducable is this? I was seeing sleeps sleeping forever, often on shutdown, but in a different place than this.

Jeff

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw

Quoting Jeff Dike <[email protected]>:

Quoted 10 lines · Anthony Brock
Quoted 6 lines

I've been encountering a "freeze" on shutdown with guest kernel 2.6.12-rc5-mm1. Today, I was busy with other things so I left it frozen for a while. When I returned, I saw the following:

Turning off swap

BUG: soft lockup detected on CPU#0!

How reproducable is this? I was seeing sleeps sleeping forever, often on shutdown, but in a different place than this.

This was very reproducible on this SuSE 9.1 Professional image. The weird part is that it didn't affect the other 5 images that were running the same kernel (different software install sets and uses, but same installation media). So I'm not positive that it doesn't have something to do specifically with this image.

I'll see if I can reproduce this behavior with a non-production copy of the image. In the mean time, we've upgraded to a newer guest kernel (2.6.12.4). However, I won't be able to reboot the production machine again until the weekend. It does seems strange that this only happens on shutdown/reboot, and then just after the message "Turning off swap".

Should I post the guest kernel .config file?

Tony

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#3 lore raw
In reply to Jeff Dike
Quoted 10 lines · Jeff Dike
Quoted 6 lines · Anthony Brock

I've been encountering a "freeze" on shutdown with guest kernel 2.6.12-rc5-mm1. Today, I was busy with other things so I left it frozen for a while. When I returned, I saw the following:

Turning off swap

BUG: soft lockup detected on CPU#0!

How reproducable is this? I was seeing sleeps sleeping forever, often on shutdown, but in a different place than this.

And the soft lockup you got during a kernel compile in Ottawa, in the room? Have you diagnosed that?

Signature · 24 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#4 lore raw
Quoted 2 lines · Blaisorblade

And the soft lockup you got during a kernel compile in Ottawa, in the room? Have you diagnosed that?

No. I still see it very occasionally. But it's nothing like it was before, so I think there's something else which is happening very infrequently.

Jeff

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel