From: Anders Subject: Re: Host dies on NFS write Date: Sat, 29 Dec 2007 17:25:59 +0100 Message-ID: <87ejd54gdk.fsf@dylle.kalibalik.dk> References: <87y7bd20uc.fsf@dylle.kalibalik.dk> <477639CD.9040909@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Izik Eidus Return-path: In-Reply-To: <477639CD.9040909-atKUWr5tajBWk0Htik3J/w@public.gmane.org> (Izik Eidus's message of "Sat, 29 Dec 2007 14:13:01 +0200") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Izik Eidus writes: > Anders wrote: [...] >> The guest is an NFS server. Whenever I write a large file from the >> host, the guest freezes within a few seconds, > > i dont know if it will help you, but it solved many ppl problems with > network > try to run the vm with the rtl8139 network card The nic is already rtl8139 (also tried ne2k), so this is not the solution. I tried 8139too and 8139cp drivers in guest, same thing. Not sure if this is of any help, but here is the alt-sysrq-t output when the host stalls: qemu-system-x D EF4C5CA4 0 6182 1 (NOTLB) ef4c5cb8 00000082 00000002 ef4c5ca4 ef4c5ca0 00000000 c131b0c0 3a71f261 c131ae20 c131b0e0 f0b0e92f 0000006a 0000069a c131ac60 dfcdcb70 c3615b00 00000000 0385e9bb 00000286 f70c1380 ef4c5cc8 ef4c5cc8 c0478f00 00000286 Call Trace: [__mod_timer+159/176] __mod_timer+0x9f/0xb0 [schedule_timeout+74/192] schedule_timeout+0x4a/0xc0 [process_timeout+0/16] process_timeout+0x0/0x10 [schedule_timeout+69/192] schedule_timeout+0x45/0xc0 [io_schedule_timeout+30/48] io_schedule_timeout+0x1e/0x30 [congestion_wait+119/160] congestion_wait+0x77/0xa0 [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 [balance_dirty_pages_ratelimited_nr+272/464] balance_dirty_pages_ratelimited_nr+0x110/0x1d0 [generic_file_buffered_write+769/1664] generic_file_buffered_write+0x301/0x680 [] scsi_done+0x0/0x20 [scsi_mod] [] scsi_dispatch_cmd+0x172/0x2c0 [scsi_mod] [current_fs_time+65/80] current_fs_time+0x41/0x50 [__generic_file_aio_write_nolock+663/1360] __generic_file_aio_write_nolock+0x297/0x550 [generic_file_aio_write_nolock+71/176] generic_file_aio_write_nolock+0x47/0xb0 [] sd_rw_intr+0x81/0x3d0 [sd_mod] [do_sync_write+213/288] do_sync_write+0xd5/0x120 [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 [lapic_next_event+12/16] lapic_next_event+0xc/0x10 [clockevents_program_event+132/256] clockevents_program_event+0x84/0x100 [tick_program_event+68/112] tick_program_event+0x44/0x70 [] kvm_vcpu_ioctl+0x0/0x2f0 [kvm] [do_ioctl+43/192] do_ioctl+0x2b/0xc0 [vfs_write+190/352] vfs_write+0xbe/0x160 [vfs_llseek+60/80] vfs_llseek+0x3c/0x50 [do_sync_write+0/288] do_sync_write+0x0/0x120 [sys_write+65/112] sys_write+0x41/0x70 [sysenter_past_esp+107/161] sysenter_past_esp+0x6b/0xa1 Regards, Anders ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/