Skip to contentSkip to conversation

debug 2.6.7

uml-devel seb 3 participants 4 messages Aug 18, 2004 User-mode Linux (UML)

lore
Share & tools
lore

seb

author
#0 lore raw

Hi,

---------------------------
Starting MTA: exim4.
Starting PostgreSQL database server: postmaster.
Starting OpenBSD Secure Shell server: sshd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.

Debian GNU/Linux 3.1 vhost tty0

vhost login: Out of Memory: Killed process 3773 (xmlhandler.fcpl).

Kernel panic: Kernel mode fault at addr 0x5be8c750, ip 0x40325b88

In interrupt handler - not syncing
---Type <return> to continue, or q <return> to quit---Detaching after fork from child process 30031.

Program exited with code 01.
(gdb)
------------------------------

how do I get a backtrace for this ?

started with:
handle SIGSEGV pass nostop noprint
handle SIGUSR1 pass nostop noprint
break panic

/sebastian

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 9 lines · seb

Hi,

---------------------------
Starting MTA: exim4.
Starting PostgreSQL database server: postmaster. Starting OpenBSD Secure Shell server: sshd. Starting deferred execution scheduler: atd. Starting periodic command scheduler: cron.

Quoted 3 lines

Debian GNU/Linux 3.1 vhost tty0

vhost login: Out of Memory: Killed process 3773 (xmlhandler.fcpl).

Increase the memory for the uml, using 'mem=xxx' on the cmdline. The default is 32m.

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

author
#2 lore raw

Hi Adam,

I let the memory consumtion of "xmlhandler.fcpl" grew with intend to see what will happen.

The result was a kernel panic (which should not happen).

For a reason unknown to me, I was not able the get the backtrace for that panic, do you know how to do ? (see my first mail)

PS: currently I am testing user-mode-linux for a large scale deployment in my company, but Iam faced with a number of unresolved problems. (for sure, most of them due to my lack of understanding how to do it right, but not all). My C coding skills are not good enough to fix the bugs, the only thing I can to is to stress uml and make bugs reproducable, to help the core delopers to fix them.

/sebastian

Quoted 23 lines · Adam Heath
Quoted 9 lines · seb

Hi,

---------------------------
Starting MTA: exim4.
Starting PostgreSQL database server: postmaster. Starting OpenBSD Secure Shell server: sshd. Starting deferred execution scheduler: atd. Starting periodic command scheduler: cron.

Quoted 5 lines

Debian GNU/Linux 3.1 vhost tty0

vhost login: Out of Memory: Killed process 3773 (xmlhandler.fcpl).

Increase the memory for the uml, using 'mem=xxx' on the cmdline. The default is 32m.

Quoted 11 lines

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#3 lore raw
In reply to seb
Quoted 3 lines · [email protected] said:

vhost login: Out of Memory: Killed process 3773 (xmlhandler.fcpl).

Kernel panic: Kernel mode fault at addr 0x5be8c750, ip 0x40325b88

In interrupt handler - not syncing

It looks like you already had it running under gdb. Just put a breakpoint on panic ahead of time, and get a backtrace when you hit it.

Jeff

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel