Skip to contentSkip to conversation

Expedted SIGSTOP, got status = <blah> (UML 2.4.24-1um)

uml-devel D. Bahi 2 participants 5 messages Aug 6, 2004 – Aug 7, 2004 1 message not in the archive User-mode Linux (UML)

lore
Share & tools
lore

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

D. Bahi

author
#1 lore raw

ok - i have skas hosts - and i'm tired of this occasional hang.

BEGIN HACK ALERT -- i have 'can_do_skas()' return 1 -- END HACK ALERT

and now the kernel fails to pass control to init ? why ? (run_init_process is called with /sbin/init - but it just hangs...)

any ideas?

Quoted 21 lines · D. Bahi

seems like there is a race condition around this
sometimes i get this printout - sometimes i don't
and sometimes it's fine - gets worse with higher
system load here's the console output:

Checking for the skas3 patch in the host...found
Checking for /proc/mm...found
CONFIG_HIGHMEM not enabled - physical memory shrunk to 499122176 bytes Kernel virtual memory size shrunk to 32505856 bytes capture_stack : Expected SIGSTOP, got status = 0x1c7f

best backtrace i could get:

#4  0xa000a2b0 in main (argc=12, argv=0xbfffdb24, envp=0xbfffdb58) at arch/um/main.c:146
#3  0xa009c2e2 in linux_main (argc=12, argv=0xbfffdb24) at um_arch.c:351
#2  0xa0097124 in can_do_skas () at process.c:265
#1  0xa0097028 in stop_ptraced_child (pid=32285, stack=0x40001000, exitcode=1) at process.c:192
#0  0xa000f387 in panic (fmt=0xa018db00 "check_ptrace : child exited with status 0x%x") at panic.c:111
Signature · 1 line
db
Signature · 1 line
There are two kinds of people in this world: Those that enter a room and turn the television set on, and those that enter a room and turn the television set off. -- Raymond Shaw, The Manchurian Candidate (1962).
#2 lore raw
Quoted 1 line · [email protected] said:

ok - i have skas hosts - and i'm tired of this occasional hang.

Have you tried the reboot-signals patch?

Jeff

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

author
#3 lore raw

reboot-signals is only listed in the 2.6 series patches; i didn't think to try it.

hey, THANKS! _it applies_ and almost solves the problem completely!!!

of my 20 simultaneous UMLs only one failed to launch:

Checking for the skas3 patch in the host...found

is all it does - and it just sits there....

also on reboot - do you expect the deactivate_all_fds to fail?

umount: /dev: device is busy
Please stand by while rebooting the system.
Restarting system.

deactivate_all_fds failed, errno = 9
Checking for the skas3 patch in the host...found
Checking for /proc/mm...found

Quoted 9 lines · Jeff Dike
Quoted 1 line · [email protected] said:

ok - i have skas hosts - and i'm tired of this occasional hang.

Have you tried the reboot-signals patch?

Jeff

Signature · 1 line
There are two kinds of people in this world: Those that enter a room and turn the television set on, and those that enter a room and turn the television set off. -- Raymond Shaw, The Manchurian Candidate (1962).
#4 lore raw
Quoted 4 lines · D. Bahi

reboot-signals is only listed in the 2.6 series patches; i didn't think to try it.

hey, THANKS! _it applies_ and almost solves the problem completely!!!

It applies because you're running an old 2.4. That patch is in the current 2.4 UML.

Quoted 3 lines

of my 20 simultaneous UMLs only one failed to launch:

Checking for the skas3 patch in the host...found

This is a different UML ...

Quoted 5 lines

Restarting system.

deactivate_all_fds failed, errno = 9
Checking for the skas3 patch in the host...found
Checking for /proc/mm...found

from this one, right?

If so, did the second one boot OK, and the only problem was the errno=9 thing?

Try attaching gdb to an example of the failed launch, and get a stack trace from it.

Jeff

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

author
#5 lore raw
Quoted 3 lines

It applies because you're running an old 2.4. That patch is in the current 2.4 UML.

right 2.4.24 - 2.4.26 um deltas. got it.

Quoted 6 lines
Quoted 1 line

Checking for the skas3 patch in the host...found

This is a different UML ...

Quoted 9 lines
Quoted 5 lines

Restarting system.

deactivate_all_fds failed, errno = 9
Checking for the skas3 patch in the host...found
Checking for /proc/mm...found

from this one, right?

yes. the hung one stayed hung. next time i see it i'll attach gdb.

Quoted 2 lines

If so, did the second one boot OK, and the only problem was the errno=9 thing?

yes. just so.

again, many thanks.