From: Sebastian Faerber Subject: current git master external module crashes my server Date: Wed, 12 Sep 2007 10:02:10 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: 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 Hello, i just tried the current git master branch (last commit is 0fe149eb04e5e67f4d3ebc2ab9f2426356a308ba) as an external module with 2.6.23-rc3. My Host ist 32bit, running 2.6.23-rc3 equippped with "Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz" I start my Fedora Core 6 Image with -- /usr/local/kvm/bin/qemu-system-x86_64 -net user -net nic,model=rtl8139 -vnc :1 -usbdevice tablet -monitor stdio -k de -hda fedora.img -cdrom /isos/FC-6-i386-disc1.iso -boot c -m 512 -redir tcp:5555::22 -- This image was installed using kvm long time ago (kvm-20 or something). It now crashes my host after approximatly 30 seconds: -- BUG: unable to handle kernel NULL pointer dereference at virtual address 0000015c printing eip: *pde = 00000000 Oops: 0002 [#1] SMP Modules linked in: kvm_intel kvm CPU: 0 EIP: 0060:[] Not tainted VLI EFLAGS: 00010007 (2.6.23-rc3 #1) EIP is at __sched_text_start+0x1bf/0x3f1 eax: c059a080 ebx: 00000000 ecx: f78d8200 edx: 00000000 esi: 00000000 edi: f7787550 ebp: f2bcef30 esp: f2bcef04 ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068 Process qemu-system-x86 (pid: 8860, ti=f2bce000 task=f75d7550 task.ti=f2bce000) Stack: c0000080 00000000 00000286 f88726d0 00000000 c2011000 c059e000 c2135000 f2bcef58 efddebd0 f2bcef4c efddebd0 f886762c 00000000 c2135000 c0125a4a 00000000 00000000 f88725f0 000000a1 efddebd0 00000000 c2135000 c0125a4a Call Trace: [] preempt_notifier_unregister+0x3b/0x57 [kvm] [] kvm_vcpu_block+0x52/0xab [kvm] [] default_wake_function+0x0/0xc [] in_special_section+0x62/0x99 [kvm] [] default_wake_function+0x0/0xc [] kvm_emulate_halt+0x25/0x46 [kvm] [] kvm_handle_exit+0x7c/0x99 [kvm_intel] [] __vcpu_run+0x180/0x1e2 [kvm] [] complete_pio+0xc8/0xcf [kvm] [] kvm_vcpu_ioctl_run+0xfe/0x129 [kvm] [] kvm_vcpu_ioctl+0x0/0x404 [kvm] [] kvm_vcpu_ioctl+0x118/0x404 [kvm] [] raid1_end_write_request+0x0/0x202 [] bio_fs_destructor+0x0/0xb [] end_bio_bh_io_sync+0x0/0x39 [] bio_fs_destructor+0x0/0xb [] raid1_end_write_request+0x0/0x202 [] bio_fs_destructor+0x0/0xb [] raid1_end_write_request+0x0/0x202 [] bio_fs_destructor+0x0/0xb [] end_bio_bh_io_sync+0x0/0x39 [] bio_fs_destructor+0x0/0xb [] raid1_end_write_request+0x0/0x202 [] bio_fs_destructor+0x0/0xb [] raid1_end_write_request+0x0/0x202 [] bio_fs_destructor+0x0/0xb [] end_bio_bh_io_sync+0x0/0x39 [] bio_fs_destructor+0x0/0xb [] raid1_end_write_request+0x0/0x202 [] bio_fs_destructor+0x0/0xb [] raid1_end_write_request+0x0/0x202 [] bio_fs_destructor+0x0/0xb [] end_bio_bh_io_sync+0x0/0x39 [] bio_fs_destructor+0x0/0xb [] raid1_end_write_request+0x0/0x202 [] bio_fs_destructor+0x0/0xb [] raid1_end_write_request+0x0/0x202 [] bio_fs_destructor+0x0/0xb [] end_bio_bh_io_sync+0x0/0x39 [] bio_fs_destructor+0x0/0xb [] __next_cpu+0x12/0x1f [] find_busiest_group+0x1bc/0x50e [] mempool_free+0x69/0x6e [] mempool_free+0x69/0x6e [] raid1_end_read_request+0x97/0x11d [] mempool_free+0x69/0x6e [] mempool_free+0x69/0x6e [] raid1_end_read_request+0x97/0x11d [] __next_cpu+0x12/0x1f [] __add_entropy_words+0x62/0x193 [] as_put_io_context+0x2a/0x48 [] scsi_run_queue+0xca/0xd5 [] elv_queue_empty+0x1d/0x1e [] blk_run_queue+0x1f/0x63 [] scsi_next_command+0x25/0x2f [] scsi_end_request+0x9f/0xa7 [] scsi_io_completion+0x112/0x360 [] update_curr+0x13b/0x165 [] enqueue_entity+0xab/0xbd [] tcp_in_window+0xbc/0x3ee [] tcp_in_window+0xbc/0x3ee [] clockevents_program_event+0xcf/0xd7 [] kvm_vm_ioctl+0x1c8/0x25f [kvm] [] tcp_packet+0x481/0x48e [] tty_ldisc_try+0x31/0x36 [] tty_ldisc_ref_wait+0xc/0x97 [] __wake_up+0x32/0x43 [] tty_ldisc_deref+0x53/0x62 [] normal_poll+0x0/0x126 [] do_select+0x2d2/0x2df [] __pollwait+0x0/0x42 [] get_page_from_freelist+0xaa/0xca [] __alloc_pages+0x5a/0x2bb [] ip_queue_xmit+0x34d/0x395 [] dst_output+0x0/0x7 [] prep_new_page+0xb9/0xf1 [] buffered_rmqueue+0xff/0x117 [] get_page_from_freelist+0xaa/0xca [] __alloc_pages+0x5a/0x2bb [] copy_to_user+0x30/0x38 [] memcpy_toiovec+0x27/0x47 [] skb_copy_datagram_iovec+0x53/0x1ee [] tcp_cleanup_rbuf+0xdb/0xfb [] _spin_lock_bh+0x8/0x18 [] release_sock+0x10/0x52 [] tcp_recvmsg+0x67a/0x6b9 [] do_page_fault+0x289/0x5a4 [] sock_common_recvmsg+0x3e/0x54 [] sock_recvmsg+0xcf/0xe8 [] error_code+0x72/0x78 [] __do_proc_dointvec+0x184/0x2ce [] file_read_actor+0x82/0xe7 [] enqueue_entity+0xab/0xbd [] enqueue_task_fair+0x2d/0x30 [] inc_nr_running+0x13/0x21 [] try_to_wake_up+0x293/0x29e [] signal_wake_up+0x1e/0x2c [] __group_send_sig_info+0x77/0x80 [] group_send_sig_info+0x54/0x5c [] kill_pid_info+0x35/0x45 [] kill_something_info+0xd0/0xd6 [] sys_kill+0x47/0x4c [] kvm_vcpu_ioctl+0x0/0x404 [kvm] [] do_ioctl+0x25/0x64 [] vfs_ioctl+0x187/0x195 [] copy_to_user+0x30/0x38 [] sys_ioctl+0x32/0x4c [] syscall_call+0x7/0xb ======================= Code: 01 0f 85 7b 01 00 00 c7 42 04 02 00 00 00 e9 6f 01 00 00 64 8b 1d 04 80 59 c0 39 4d e4 b8 80 a0 59 c0 0f 84 a2 00 00 00 8b 55 e4 0f b3 9a 5c 01 00 00 89 c2 03 14 9d 80 63 55 c0 c7 42 04 01 EIP: [] __sched_text_start+0x1bf/0x3f1 SS:ESP 0068:f2bcef04 -- If you need more information just tell me :-) Regards, Sebastian ------------------------------------------------------------------------- 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/