Hello,

At a user mode linux image (unstable Gentoo, EXT4 fs) I experienced a
hang (100% CPU of the linux process),
no reaction anymore. The syslog of the UML gave before the hang :

Oct 26 18:26:53 n22_uml kernel: ------------[ cut here ]------------
Oct 26 18:26:53 n22_uml kernel: WARNING: at kernel/softirq.c:160
local_bh_enable+0x8f/0xa0()
Oct 26 18:26:53 n22_uml kernel: 378d837c:  [<0836bbb8>] dump_stack+0x22/0x24
Oct 26 18:26:53 n22_uml kernel: 378d8394:  [<0807fc2a>]
warn_slowpath_common+0x5a/0x80
Oct 26 18:26:53 n22_uml kernel: 378d83bc:  [<0807fd03>]
warn_slowpath_null+0x23/0x30
Oct 26 18:26:53 n22_uml kernel: 378d83cc:  [<0808733f>]
local_bh_enable+0x8f/0xa0
Oct 26 18:26:53 n22_uml kernel: 378d83e0:  [<082da608>]
dev_queue_xmit+0xe8/0x270
Oct 26 18:26:53 n22_uml kernel: 378d8410:  [<082fd06f>]
ip_finish_output+0x1af/0x370
Oct 26 18:26:53 n22_uml kernel: 378d8444:  [<082fd283>] ip_output+0x53/0x60
Oct 26 18:26:53 n22_uml kernel: 378d845c:  [<082fc153>]
ip_local_out+0x23/0x30
Oct 26 18:26:53 n22_uml kernel: 378d846c:  [<082fc294>]
ip_build_and_send_pkt+0x134/0x1f0
Oct 26 18:26:53 n22_uml kernel: 378d84a8:  [<08319cd0>]
tcp_v4_conn_request+0x7c0/0xcc0
Oct 26 18:26:53 n22_uml kernel: 378d85ac:  [<08310bac>]
tcp_rcv_state_process+0x1bc/0xd40
Oct 26 18:26:53 n22_uml kernel: 378d8618:  [<0831798d>]
tcp_v4_do_rcv+0x8d/0x270
Oct 26 18:26:53 n22_uml kernel: 378d865c:  [<0831aa46>]
tcp_v4_rcv+0x746/0x860
Oct 26 18:26:53 n22_uml kernel: 378d86a4:  [<082f85a6>]
ip_local_deliver+0x76/0x1d0
Oct 26 18:26:53 n22_uml kernel: 378d86c4:  [<082f89a8>] ip_rcv+0x2a8/0x4a0
Oct 26 18:26:53 n22_uml kernel: 378d86f0:  [<082d7944>]
__netif_receive_skb+0x254/0x550
Oct 26 18:26:53 n22_uml kernel: 378d8738:  [<082d7ca9>]
process_backlog+0x69/0x100
Oct 26 18:26:53 n22_uml kernel: 378d8758:  [<082db79c>]
net_rx_action+0x7c/0x140
Oct 26 18:26:53 n22_uml kernel: 378d877c:  [<08087145>]
__do_softirq+0xa5/0x170
Oct 26 18:26:53 n22_uml kernel: 378d87b8:  [<080872a5>] do_softirq+0x55/0x60
Oct 26 18:26:53 n22_uml kernel: 378d87cc:  [<080874f5>] irq_exit+0x85/0x90
Oct 26 18:26:53 n22_uml kernel: 378d87dc:  [<0805ef3a>] do_IRQ+0x2a/0x40
Oct 26 18:26:53 n22_uml kernel: 378d87ec:  [<0805efab>]
sigio_handler+0x5b/0x80
Oct 26 18:26:53 n22_uml kernel: 378d8804:  [<08073b87>]
sig_handler_common+0x57/0xe0
Oct 26 18:26:53 n22_uml kernel: 378d8a88:  [<08073b10>]
unblock_signals+0x50/0x70
Oct 26 18:26:53 n22_uml kernel: 378d8a94:  [<08073ca0>]
set_signals+0x30/0x40
Oct 26 18:26:53 n22_uml kernel: 378d8aa0:  [<08087296>] do_softirq+0x46/0x60
Oct 26 18:26:53 n22_uml kernel: 378d8ab4:  [<08087329>]
local_bh_enable+0x79/0xa0
Oct 26 18:26:53 n22_uml kernel: 378d8ac8:  [<082fd076>]
ip_finish_output+0x1b6/0x370
Oct 26 18:26:53 n22_uml kernel: 378d8afc:  [<082fd283>] ip_output+0x53/0x60
Oct 26 18:26:53 n22_uml kernel: 378d8b14:  [<082fc153>]
ip_local_out+0x23/0x30
Oct 26 18:26:53 n22_uml kernel: 378d8b24:  [<082fc46f>]
ip_queue_xmit+0x11f/0x3a0
Oct 26 18:26:53 n22_uml kernel: 378d8b6c:  [<08312cf8>]
tcp_transmit_skb+0x3e8/0x890
Oct 26 18:26:53 n22_uml kernel: 378d8bc8:  [<0831336d>]
tcp_write_xmit+0xfd/0xa60
Oct 26 18:26:53 n22_uml kernel: 378d8c28:  [<08313d78>]
__tcp_push_pending_frames+0x38/0xa0
Oct 26 18:26:53 n22_uml kernel: 378d8c40:  [<083043d9>]
tcp_sendmsg+0x129/0xe30
Oct 26 18:26:53 n22_uml kernel: 378d8cc4:  [<08328eeb>]
inet_sendmsg+0x3b/0x60
Oct 26 18:26:53 n22_uml kernel: 378d8ce0:  [<082c7cd4>]
sock_aio_write+0x114/0x140
Oct 26 18:26:53 n22_uml kernel: 378d8d50:  [<08103803>]
do_sync_readv_writev+0x83/0xc0
Oct 26 18:26:53 n22_uml kernel: 378d8df4:  [<08103ab1>]
do_readv_writev+0xb1/0x1c0
Oct 26 18:26:53 n22_uml kernel: 378d8e6c:  [<08103c4c>] vfs_writev+0x3c/0x50
Oct 26 18:26:53 n22_uml kernel: 378d8e7c:  [<08103d50>] sys_writev+0x50/0xa0
Oct 26 18:26:53 n22_uml kernel: 378d8eac:  [<08062ec6>]
handle_syscall+0xa6/0xb0
Oct 26 18:26:53 n22_uml kernel: 378d8ef4:  [<0807711f>]
userspace+0x3ef/0x5a0
Oct 26 18:26:53 n22_uml kernel: 378d8fec:  [<0805f8ec>]
fork_handler+0x6c/0x70
Oct 26 18:26:53 n22_uml kernel: 378d8ffc:  [<00000000>] 0x0
Oct 26 18:26:53 n22_uml kernel:
Oct 26 18:26:53 n22_uml kernel: ---[ end trace 6a0641390f87cd10 ]---
Oct 26 18:26:53 n22_uml kernel: huh, entered softirq 3 NET_RX 082db720
preempt_count 00000101, exited with fffefc05?

                                                                                
                               

Immediately before that I stressed an apache2 running inside of the UML
process (hostname n22_uml) by this command from the host (stable Gentoo
Linux):

tfoerste@n22 ~/workspace $ for i in $(seq 1 10000); do echo -en "$i\r";
wget --timeout=10 --tries=1 --quiet --no-check-certificate -O /dev/null
https://n22_uml/public/df.php || break; done; echo
2906


The php file:

n22_uml ~ # cat /var/www/localhost/htdocs/public/df.php
<?php
// $ds contains the total number of bytes available on "/"
$ds = disk_total_space("/home");
//$ds = disk_total_space("/mnt/n22");
echo $ds . " bytes " . '<br />';
?>


Therefore my initial thought it might be related to the UML specific
hostfs feature, might be either wrong or I hit another issue.


The UML was started with this command :

tfoerste@n22 ~/devel/linux $  /usr/local/bin/linux-v3.7-rc2-191-g2ab3f29
earlyprintk ubda=/home/tfoerste/virtual/uml/gentoo_unstable.ext4
ubdb=/mnt/ramdisk/swap_gentoo_unstable.ext4
eth0=tuntap,tap1,7a:cf:14:11:67:01 mem=768M con=pts con0=fd:0,fd:1
umid=uml rootfstype=ext4

Is this rather something to report to the LKML ?


-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3


------------------------------------------------------------------------------
The Windows 8 Center 
In partnership with Sourceforge
Your idea - your app - 30 days. Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to