[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Kernel panic when using Xen-3.3.0 fs-backend and Mini-OS in Ubuntu 8.04
Hi, all I'm testing Mini-OS's fs-front driver and Xen-3.3.0's fs-backend. Kernel version is 2.6.24-26-xen, a shipped version of Ubuntu 8.04. I uncommented line 1173 in extras/mini-os/fs-front.c, so Mini-OS should create "fs-tester" thread to do some read/write stuff. Unfortunately, I got kernel panic. If I don't create that testing thread, I won't get a kernel panic. It seems that fs-backend crashes, and the causes kernel panic. How can I fix this problem? Is that a kernel bug? Any reply is welcomed. Wei LIU 2010-04-15 (XEN) mm.c:2850:d0 Grant map attempted to update a non-L1 page (XEN) mm.c:2850:d0 Grant map attempted to update a non-L1 page (XEN) mm.c:2850:d0 Grant map attempted to update a non-L1 page [29465.879731] general protection fault: 0000 [#1] SMP [29465.882297] Modules linked in: bridge ipv6 iptable_filter ip_tables x_tables lp loop af_packet 8250_pnp parport_pc 8250 serial_core parport evdev serio_raw psmouse container ac button i2c_piix4 i2c_core intel_agp shpchp pci_hotplug agpgart ext3 jbd mbcache sr_mod cdrom pata_acpi sg sd_mod ata_generic floppy ehci_hcd uhci_hcd pcnet32 mii usbcore mptspi mptscsih mptbase scsi_transport_spi ata_piix libata scsi_mod thermal processor fan fuse [29465.973564] [29465.995103] Pid: 9324, comm: fs-backend Not tainted (2.6.24-26-xen #1) [29465.997319] EIP: 0061:[<c016c1b0>] EFLAGS: 00010296 CPU: 0 [29465.999305] EIP is at do_wp_page+0x100/0x9f0 [29466.000889] EAX: f57f7000 EBX: f57f7000 ECX: 00000400 EDX: 80000000 [29466.003001] ESI: fb531000 EDI: f57f7000 EBP: fb531000 ESP: ec4fbd38 [29466.025550] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0069 [29466.027421] Process fs-backend (pid: 9324, ti=ec4fa000 task=ea4962f0 task.ti=ec4fa000) [29466.029946] Stack: 12dbe065 00000000 cbb0569d 00000006 b7f52000 ec5ab9bc ec6f2ac0 00000000 [29466.056041] 00000000 c1c2ffe0 ed40c0c0 c018f8a5 12dbe065 00000000 f57f4000 c1d46620 [29466.061855] c0464fa0 04a7d061 80000000 ed2ac234 00000001 04a7d067 c1d30fac f57f4a90 [29466.087922] Call Trace: [29466.089533] [<c018f8a5>] link_path_walk+0x65/0xc0 [29466.091689] [<c01717ba>] handle_mm_fault+0xc5a/0x1360 [29466.093875] [<c019bc73>] mntput_no_expire+0x13/0x70 [29466.116265] [<c019bc73>] mntput_no_expire+0x13/0x70 [29466.118381] [<c0276e46>] tty_ldisc_deref+0x46/0x70 [29466.120514] [<c032a27e>] do_page_fault+0x35e/0xe70 [29466.122610] [<c01f6047>] apparmor_inode_permission+0x47/0x70 [29466.145325] [<c0197138>] __d_path+0x138/0x210 [29466.147250] [<c019bc73>] mntput_no_expire+0x13/0x70 [29466.149265] [<c01988a6>] d_path+0xd6/0xf0 [29466.151148] [<c0329f20>] do_page_fault+0x0/0xe70 [29466.153184] [<c0328bc5>] error_code+0x35/0x40 [29466.175954] [<c019007b>] do_unlinkat+0xcb/0x140 [29466.177935] [<c021093a>] __copy_to_user_ll+0x3a/0x70 [29466.180021] [<c01a0827>] seq_read+0x1a7/0x290 [29466.181980] [<c01a0680>] seq_read+0x0/0x290 [29466.183846] [<c0185f17>] vfs_read+0xb7/0x170 [29466.206450] [<c0186471>] sys_read+0x41/0x70 [29466.208426] [<c0105832>] syscall_call+0x7/0xb [29466.210455] ======================= [29466.211844] Code: 00 00 8b 44 24 3c ba 03 00 00 00 e8 eb d3 fa ff ba 04 00 00 00 89 c5 8b 44 24 24 89 ee e8 d9 d3 fa ff b9 00 04 00 00 89 c3 89 c7 <f3> a5 ba 03 00 00 00 89 e8 e8 02 d1 fa ff ba 04 00 00 00 89 d8 [29466.301195] EIP: [<c016c1b0>] do_wp_page+0x100/0x9f0 SS:ESP 0069:ec4fbd38 [29466.304157] ---[ end trace bcad1592f35abc4d ]--- [29466.326567] note: fs-backend[9324] exited with preempt_count 2 [29466.328563] BUG: scheduling while atomic: fs-backend/9324/0x10000002 [29466.330651] Pid: 9324, comm: fs-backend Tainted: G D 2.6.24-26-xen #1 [29466.332915] [<c0326dd8>] schedule+0x318/0x640 [29466.355570] [<c0126573>] __call_console_drivers+0x53/0x60 [29466.357850] [<c0126ee1>] vprintk+0x1f1/0x3d0 [29466.359762] [<c01222a3>] __cond_resched+0x13/0x40 [29466.361818] [<c0327177>] cond_resched+0x27/0x30 [29466.363804] [<c018190c>] kmem_cache_alloc+0xdc/0x100 [29466.386528] [<c015c0d4>] taskstats_exit+0x1c4/0x330 [29466.388636] [<c0129dfe>] do_exit+0x15e/0x890 [29466.390601] [<c01270db>] printk+0x1b/0x20 [29466.392483] [<c01063d7>] die+0x287/0x290 [29466.394317] [<c0328e20>] do_general_protection+0x0/0x190 [29466.417486] [<c0328bc5>] error_code+0x35/0x40 [29466.419481] [<c016c1b0>] do_wp_page+0x100/0x9f0 [29466.421479] [<c018f8a5>] link_path_walk+0x65/0xc0 [29466.423566] [<c01717ba>] handle_mm_fault+0xc5a/0x1360 [29466.446134] [<c019bc73>] mntput_no_expire+0x13/0x70 [29466.448132] [<c019bc73>] mntput_no_expire+0x13/0x70 [29466.450227] [<c0276e46>] tty_ldisc_deref+0x46/0x70 [29466.452410] [<c032a27e>] do_page_fault+0x35e/0xe70 [29466.454573] [<c01f6047>] apparmor_inode_permission+0x47/0x70 [29466.477547] [<c0197138>] __d_path+0x138/0x210 [29466.479538] [<c019bc73>] mntput_no_expire+0x13/0x70 [29466.481660] [<c01988a6>] d_path+0xd6/0xf0 [29466.483552] [<c0329f20>] do_page_fault+0x0/0xe70 [29466.506394] [<c0328bc5>] error_code+0x35/0x40 [29466.508426] [<c019007b>] do_unlinkat+0xcb/0x140 [29466.510464] [<c021093a>] __copy_to_user_ll+0x3a/0x70 [29466.512572] [<c01a0827>] seq_read+0x1a7/0x290 [29466.514493] [<c01a0680>] seq_read+0x0/0x290 [29466.536834] [<c0185f17>] vfs_read+0xb7/0x170 [29466.538787] [<c0186471>] sys_read+0x41/0x70 [29466.540750] [<c0105832>] syscall_call+0x7/0xb [29466.542605] ======================= [29466.568445] ------------[ cut here ]------------ [29466.570263] kernel BUG at /build/buildd/linux-2.6.24/debian/build/custom-source-xen/arch/x86/mm/highmem_32-xen.c:42! [29466.573525] invalid opcode: 0000 [#2] SMP [29466.596241] Modules linked in: bridge ipv6 iptable_filter ip_tables x_tables lp loop af_packet 8250_pnp parport_pc 8250 serial_core parport evdev serio_raw psmouse container ac button i2c_piix4 i2c_core intel_agp shpchp pci_hotplug agpgart ext3 jbd mbcache sr_mod cdrom pata_acpi sg sd_mod ata_generic floppy ehci_hcd uhci_hcd pcnet32 mii usbcore mptspi mptscsih mptbase scsi_transport_spi ata_piix libata scsi_mod thermal processor fan fuse ...[snip]... _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |