All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] 2.4.23(24?)-2 TT mode hangs on request_module
@ 2004-05-17 15:43 Henrik Nordstrom
  2004-05-17 17:40 ` Robbie Dinn
  2004-05-17 21:33 ` Henrik Nordstrom
  0 siblings, 2 replies; 8+ messages in thread
From: Henrik Nordstrom @ 2004-05-17 15:43 UTC (permalink / raw)
  To: user-mode-linux-devel

On all our boxes not having the SKAS patch recent UML 2.4 kernels has
started hanging on the first request_module call from within the kernel.

It hangs quite hard, not responding to either gdb or mconsole.

Host: Various RedHat 7.x, 8.0, 9 and FC1 kernels.
Kernel: 2.4.26
UML: Current CVS (2.4.23-2)
Root: hostfs with the hostfs and aio patches sent earlier

Last known working before the last CVS update (2.4.23-1 CVS version 
works).

SKAS mode works, problem only seen in TT mode.

As there has been quite large changes from the earlier version and the
fact that the deugger also hangs I am not entirely sure where to look or
how to approach the problem. Trying to manually trace the kernel thread 
creation and execution to more exacly pinpoint where during the 
request_module or resulting modprobe thread the UML hangs has proven to be 
a little difficult and confusing..

I can very reliably reproduce the problem by

1. Boot in single user mode (/proc mounted etc.., but no other disturbing 
factors)
2. iptables -A INPUT -j REJECT

The sequence of events here is:

1. iptables modprobes the base modules (iptable_filter), then uploads the 
new iptable which referes to the REJECT match.

2. The kernel verifies the new iptable and triggers a request_module call
for the ipt_REJECT module and here the kernel gets completely stuck..

If all required modules are loaded manually avoiding the call to
request_module then there is no problem, but unfortunately this is not a
very feasible workaround here..

I do not think this is caused by any of our patches (plenty of netfilter
patches, upgraded to 2.4.26 etc etc..) but I will try building a "plain"  
UML kernel.  The earlier UML revision worked quite well except for that
klogd issue in SKAS mode which is a real pain as we have started to
migrate to SKAS in our development environment..

Ideas on how to approach problems like this are welcome.

Regards
Henrik



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-06-02 19:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-17 15:43 [uml-devel] 2.4.23(24?)-2 TT mode hangs on request_module Henrik Nordstrom
2004-05-17 17:40 ` Robbie Dinn
2004-05-17 18:16   ` Henrik Nordstrom
2004-05-17 21:33 ` Henrik Nordstrom
2004-05-17 22:03   ` Henrik Nordstrom
2004-05-17 23:36   ` [uml-devel] 2.4.26-1 hostfs very broken Henrik Nordstrom
2004-05-18 10:11     ` [uml-devel] [patch] " Henrik Nordstrom
2004-06-02 20:28       ` Jeff Dike

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.