From: Antoine Martin <antoine@nagafix.co.uk>
To: Blaisorblade <blaisorblade@yahoo.it>
Cc: UML devel <user-mode-linux-devel@lists.sourceforge.net>,
Jeff Dike <jdike@addtoit.com>
Subject: Re: [uml-devel] testing: 2.6.13 to 2.6.14-rc1 TT boot hangs early (sometimes)
Date: Sat, 17 Sep 2005 19:15:19 +0100 [thread overview]
Message-ID: <1126980920.1169.13.camel@localhost> (raw)
In-Reply-To: <200509171741.30694.blaisorblade@yahoo.it>
> > It stopped complaining at about mem=200M (roughly IIRC)
> Well, that's too low, so yes, there's some problem. Especially because memory
> is shrunk down to 28M...
>
> Which is the host distro? Having a RH/Fc could be a cause (I don't know the
> current situation with these).
That box is a Mandriva system, why would the distribution be relevant?
I thought things like memory allocation would depend on the kernel (or
glibc malloc?) - host kernel is 2.6.13.1
> > The host is fine... so far.
> Sorry, was talking about UML. But I assume it locks up.
Not always.
> Was SMP enabled?
No.
> In
> that case, there's a couple of things in -bs1 (just published) which may help
> it.
I'll try that.
> > > > * Good points:
> > > > pcap works really well.
> > > > I just wished there was a way to easily figure out which libraries need
> > > > to be included in the chroot to make it work (beyond lipcap)
>
> > > Idea: try using ltrace with focus on dlopen (from libdl).
>
> > I'll do that and post the results.
Not tried it yet, but I found this which may be of interest - literally
thousands of these stacktraces in the logs.
I believe the interface that pcap was bound to was restarted - but I am
not sure this is the cause.
After that the interface refuses to be brought back up (inside the
guest), only a guest reboot does it, and dmesg has this message too:
[43003437.440000] dev_ip_addr - device not assigned an IP address
[43003437.440000] pcap_dispatch failed - recvfrom: Network is down
Here is the repeated message:
[42977981.360000] Badness in local_bh_enable at kernel/softirq.c:140
[42977981.360000] a037f6c0: [<a001c4de>] dump_stack+0x1e/0x20
[42977981.360000] a037f6e0: [<a0053fcc>] local_bh_enable+0x6c/0x90
[42977981.360000] a037f710: [<a0230caa>] __dev_remove_pack+0x7a/0xa0
[42977981.360000] a037f720: [<a0293b93>] packet_notifier+0xd3/0x130
[42977981.360000] a037f750: [<a005df9e>] notifier_call_chain+0x1e/0x40
[42977981.360000] a037f780: [<a0231689>] dev_close+0x89/0xa0
[42977981.360000] a037f7b0: [<a0039058>] uml_net_interrupt+0x68/0x70
[42977981.360000] a037f7d0: [<a006e006>] handle_IRQ_event+0x36/0x90
[42977981.360000] a037f800: [<a006e0fc>] __do_IRQ+0x9c/0xf0
[42977981.360000] a037f820: [<a0016fdf>] do_IRQ+0x2f/0x40
[42977981.360000] a037f830: [<a0017534>] sigio_handler+0xd4/0x110
[42977981.360000] a037f860: [<a0023c78>] sig_handler_common_skas
+0xa8/0x130
[42977981.360000] a037f890: [<a0040b9f>] sig_handler+0x2f/0x40
[42977981.360000] a037f8b0: [<ffffe420>] ifaddrs+0x5fa477e0/0x4
[42977981.360000] a037fbb0: [<a0019a3a>] default_idle+0x5a/0x80
[42977981.360000] a037fbe0: [<a0023724>] init_idle_skas+0x24/0x30
[42977981.360000] a037fbf0: [<a00015d1>] start_kernel+0x181/0x1c0
[42977981.360000] a037fc00: [<a002375b>] start_kernel_proc+0x2b/0x30
[42977981.360000] a037fc10: [<a00194bf>] run_kernel_thread+0x2f/0x40
[42977981.360000] a037fcd0: [<a0023401>] new_thread_handler+0xb1/0x110
[42977981.360000] a037fd20: [<ffffe420>] ifaddrs+0x5fa477e0/0x4
[42977981.360000]
Another query, unrelated (I think): what does this mean?
[42949410.920000] uml_net_start_xmit: failed(-1)
Last, is it possible that there is a connection leak in the socket code?
I've experienced problems running tomcat and ntop in uml guests (but not
apache...), after a while the process are still running but do not
respond to SYN packets, although netstat and lsof still list the
processes as listening on the port - I think I'll prepare a root_fs
instance for you to try out. The problem with ntop could be linked with
the example above of the interface disappearing for a short while, and
as for Java it could be many things..
Cheers
Antoine
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2005-09-17 18:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 23:25 [uml-devel] testing: 2.6.13 to 2.6.14-rc1 TT boot hangs early (sometimes) antoine
2005-09-14 20:19 ` [uml-devel] pcap antoine
2005-09-14 20:06 ` Blaisorblade
2005-09-14 20:44 ` [uml-devel] pcap - FIXED antoine
2005-09-16 19:24 ` [uml-devel] testing: 2.6.13 to 2.6.14-rc1 TT boot hangs early (sometimes) Blaisorblade
2005-09-16 20:12 ` antoine
2005-09-17 15:41 ` Blaisorblade
2005-09-17 18:15 ` Antoine Martin [this message]
2005-09-17 18:52 ` Jeff Dike
2005-09-17 18:34 ` Antoine Martin
2005-09-18 11:29 ` Blaisorblade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1126980920.1169.13.camel@localhost \
--to=antoine@nagafix.co.uk \
--cc=blaisorblade@yahoo.it \
--cc=jdike@addtoit.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox