From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Freeze on boot pv domU 2.6.31 with Xen 4.1 Date: Tue, 01 Jun 2010 09:44:20 -0700 Message-ID: <4C0538E4.3050701@goop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Eric Chanudet Cc: Steven Smith , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 05/24/2010 10:18 AM, Eric Chanudet wrote: > > I upgraded Xen to the last revision on the repository (21446) and > installed it. 2.6.31.13 kernel (branch xen/stable-2.6.31.x) do not > hang at boot time anymore (I have a 2.6.31.13 kernel on both Dom0 and > pv DomU). > > Netchannel2 is added (and appears in guest), nevertheless, I get a > triple fault from Xen's kernel when I try to start a dhcp client on > the netchannel2 interface. Here is the crash report on Xen's console : nc2 is very untested, so it isn't surprising that you're having problems with it. Steven, do you have any thoughts about this? Thanks, J > > [ 277.458877] device vif1.1 entered promiscuous mode > [ 277.464413] eth0: port 2(vif1.1) entering forwarding state > [ 279.401085] blkback: ring-ref 8, event-channel 13, protocol 1 > (x86_64-abi) > [ 279.401328] alloc irq_desc for 400 on node 0 > [ 279.401488] alloc kstat_irqs on node 0 > [ 279.975239] alloc irq_desc for 399 on node 0 > [ 279.975444] alloc kstat_irqs on node 0 > [ 288.147017] vif1.1: no IPv6 routers present > [ 337.756744] alloc irq_desc for 398 on node 0 > [ 337.756947] alloc kstat_irqs on node 0 > [ 338.053346] device eth3 entered promiscuous mode > [ 338.057891] eth0: port 3(eth3) entering forwarding state > [ 348.866023] eth3: no IPv6 routers present > [ 414.383815] BUG: unable to handle kernel NULL pointer dereference > at 0000000000000082 > [ 414.384232] IP: [] pull_through+0xb0/0x18f > [ 414.384479] PGD 2cccd067 PUD 2b80f067 PMD 0 [ 414.384756] Thread > overran stack, or stack corrupted > [ 414.384756] Oops: 0002 [#1] SMP [ 414.384756] last sysfs file: > /sys/devices/virtual/net/eth0/bridge/topology_change_detected > [ 414.384756] CPU 0 [ 414.384756] Modules linked in: > [ 414.384756] Pid: 0, comm: swapper Not tainted 2.6.31.13 #4 [ > 414.384756] RIP: e030:[] [] > pull_through+0xb0/0x18f > [ 414.384756] RSP: e02b:ffffc90000003810 EFLAGS: 00010282 > [ 414.384756] RAX: 0000000000000020 RBX: ffff88002b817000 RCX: > 0000000000000020 > [ 414.384756] RDX: 0000000000000030 RSI: ffff88002c855862 RDI: > 0000000000000082 > [ 414.384756] RBP: ffffc90000003830 R08: ffff88002c881cc0 R09: > 0000000000000020 > [ 414.384756] R10: 0000000000000000 R11: 0000000000000020 R12: > ffff880000000000 > [ 414.384756] R13: 6db6db6db6db6db7 R14: 0000000000000000 R15: > ffff88002b0d0000 > [ 414.384756] FS: 00007f412e5b8700(0000) GS:ffffc90000000000(0000) > knlGS:0000000000000000 > [ 414.384756] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b > [ 414.384756] CR2: 0000000000000082 CR3: 000000002b104000 CR4: > 0000000000002660 > [ 414.384756] DR0: 0000000000000000 DR1: 0000000000000000 DR2: > 0000000000000000 > [ 414.384756] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: > 0000000000000400 > [ 414.384756] Process swapper (pid: 0, threadinfo ffffffff817ce000, > task ffffffff817f30f0) > [ 414.384756] Stack: > [ 414.384756] 0000000000000000 cccccccccccccccd ffff88002b0da028 > ffff88002b817000 > [ 414.384756] <0> ffffc90000003d20 ffffffff813503c2 0000000000000000 > ffff88002d061400 > [ 414.384756] <0> 0000000000000000 0000000100000ff4 ffffc90000003d50 > ffff88002dc22580 > [ 414.384756] Call Trace: > [ 414.384756] [ 414.384756] [] > handle_receiver_map_packet+0x645/0x7c7 > [ 414.384756] [] ? nlmsg_notify+0x4c/0x8a > [ 414.384756] [] ? rtnl_notify+0x2b/0x2d > [ 414.384756] [] ? inet6_rt_notify+0x109/0x12e > [ 414.384756] [] ? fib6_add+0x444/0x536 > [ 414.384756] [] ? xen_swiotlb_phys_to_bus+0x24/0x48 > [ 414.384756] [] ? xen_swiotlb_virt_to_bus+0x1f/0x23 > [ 414.384756] [] ? xen_force_evtchn_callback+0xd/0xf > [ 414.384756] [] ? > xen_swiotlb_dma_mapping_error+0x18/0x26 > [ 414.384756] [] ? xen_swiotlb_map_page+0x0/0x100 > [ 414.384756] [] ? skb_dma_map+0xf7/0x267 > [ 414.384756] [] ? e1000_xmit_frame+0x66c/0x96f > [ 414.384756] [] ? fast_flush_area+0xf2/0x10c > [ 414.384756] [] ? dev_hard_start_xmit+0x23d/0x2e9 > [ 414.384756] [] ? mempool_free_slab+0x12/0x14 > [ 414.384756] [] ? xen_force_evtchn_callback+0xd/0xf > [ 414.384756] [] ? check_events+0x12/0x20 > [ 414.384756] [] ? xen_force_evtchn_callback+0xd/0xf > [ 414.384756] [] nc2_handle_packet_msg+0x100/0x392 > [ 414.384756] [] ? xen_restore_fl_direct_end+0x0/0x1 > [ 414.384756] [] ? xen_force_evtchn_callback+0xd/0xf > [ 414.384756] [] process_ring+0x132/0x4bd > [ 414.384756] [] net_rx_action+0xe3/0x232 > [ 414.384756] [] __do_softirq+0xe5/0x1bd > [ 414.384756] [] call_softirq+0x1c/0x30 > [ 414.384756] [] do_softirq+0x62/0xc9 > [ 414.384756] [] irq_exit+0x3f/0x7e > [ 414.384756] [] xen_evtchn_do_upcall+0x190/0x1ac > [ 414.384756] [] xen_do_hypervisor_callback+0x1e/0x30 > [ 414.384756] [ 414.384756] [] ? > hypercall_page+0x3aa/0x1000 > [ 414.384756] [] ? hypercall_page+0x3aa/0x1000 > [ 414.384756] [] ? xen_safe_halt+0x10/0x1a > [ 414.384756] [] ? xen_idle+0x5c/0x70 > [ 414.384756] [] ? cpu_idle+0x66/0xaa > [ 414.384756] [] ? rest_init+0x61/0x63 > [ 414.384756] [] ? start_kernel+0x427/0x432 > [ 414.384756] [] ? > x86_64_start_reservations+0xaa/0xae > [ 414.384756] [] ? xen_start_kernel+0x63a/0x641 > [ 414.384756] Code: e0 fc 48 29 c2 44 89 d0 48 c1 fa 03 49 0f af d5 > 48 c1 e2 0c 4a 8d 34 22 48 8d 50 03 48 c1 e2 04 42 8b 44 02 10 48 01 > c6 44 89 c8 a4 03 83 dc 00 00 00 8b 8b e0 00 00 00 39 c8 89 83 dc > 00 00 [ 414.384756] RIP [] pull_through+0xb0/0x18f > [ 414.384756] RSP > [ 414.384756] CR2: 0000000000000082 > [ 414.384756] ---[ end trace 15df3e21858e13fd ]--- > [ 414.384756] Kernel panic - not syncing: Fatal exception in interrupt > [ 414.384756] Pid: 0, comm: swapper Tainted: G D 2.6.31.13 #4 > [ 414.384756] Call Trace: > [ 414.384756] [] panic+0xa0/0x15f > [ 414.384756] [] ? check_events+0x12/0x20 > [ 414.384756] [] ? xen_cpu_up+0x185/0x37a > [ 414.384756] [] ? xen_restore_fl_direct_end+0x0/0x1 > [ 414.384756] [] ? _spin_unlock_irqrestore+0x34/0x36 > [ 414.384756] [] ? release_console_sem+0x1aa/0x1dc > [ 414.384756] [] ? console_unblank+0x65/0x6a > [ 414.384756] [] oops_end+0xbf/0xcf > [ 414.384756] [] no_context+0x1ed/0x1fc > [ 414.384756] [] __bad_area_nosemaphore+0x1a6/0x1cc > [ 414.384756] [] ? dev_queue_xmit+0x2cd/0x2ff > [ 414.384756] [] ? br_dev_queue_push_xmit+0x5f/0x65 > [ 414.384756] [] ? br_forward_finish+0x4f/0x53 > [ 414.384756] [] ? __br_deliver+0x52/0x56 > [ 414.384756] [] bad_area_nosemaphore+0xe/0x10 > [ 414.384756] [] do_page_fault+0x1ca/0x307 > [ 414.384756] [] ? dev_hard_start_xmit+0x23d/0x2e9 > [ 414.384756] [] page_fault+0x25/0x30 > [ 414.384756] [] ? pull_through+0xb0/0x18f > [ 414.384756] [] > handle_receiver_map_packet+0x645/0x7c7 > [ 414.384756] [] ? nlmsg_notify+0x4c/0x8a > [ 414.384756] [] ? rtnl_notify+0x2b/0x2d > [ 414.384756] [] ? inet6_rt_notify+0x109/0x12e > [ 414.384756] [] ? fib6_add+0x444/0x536 > [ 414.384756] [] ? xen_swiotlb_phys_to_bus+0x24/0x48 > [ 414.384756] [] ? xen_swiotlb_virt_to_bus+0x1f/0x23 > [ 414.384756] [] ? xen_force_evtchn_callback+0xd/0xf > [ 414.384756] [] ? > xen_swiotlb_dma_mapping_error+0x18/0x26 > [ 414.384756] [] ? xen_swiotlb_map_page+0x0/0x100 > [ 414.384756] [] ? skb_dma_map+0xf7/0x267 > [ 414.384756] [] ? e1000_xmit_frame+0x66c/0x96f > [ 414.384756] [] ? fast_flush_area+0xf2/0x10c > [ 414.384756] [] ? dev_hard_start_xmit+0x23d/0x2e9 > [ 414.384756] [] ? mempool_free_slab+0x12/0x14 > [ 414.384756] [] ? xen_force_evtchn_callback+0xd/0xf > [ 414.384756] [] ? check_events+0x12/0x20 > [ 414.384756] [] ? xen_force_evtchn_callback+0xd/0xf > [ 414.384756] [] nc2_handle_packet_msg+0x100/0x392 > [ 414.384756] [] ? xen_restore_fl_direct_end+0x0/0x1 > [ 414.384756] [] ? xen_force_evtchn_callback+0xd/0xf > [ 414.384756] [] process_ring+0x132/0x4bd > [ 414.384756] [] net_rx_action+0xe3/0x232 > [ 414.384756] [] __do_softirq+0xe5/0x1bd > [ 414.384756] [] call_softirq+0x1c/0x30 > [ 414.384756] [] do_softirq+0x62/0xc9 > [ 414.384756] [] irq_exit+0x3f/0x7e > [ 414.384756] [] xen_evtchn_do_upcall+0x190/0x1ac > [ 414.384756] [] xen_do_hypervisor_callback+0x1e/0x30 > [ 414.384756] [] ? hypercall_page+0x3aa/0x1000 > [ 414.384756] [] ? hypercall_page+0x3aa/0x1000 > [ 414.384756] [] ? xen_safe_halt+0x10/0x1a > [ 414.384756] [] ? xen_idle+0x5c/0x70 > [ 414.384756] [] ? cpu_idle+0x66/0xaa > [ 414.384756] [] ? rest_init+0x61/0x63 > [ 414.384756] [] ? start_kernel+0x427/0x432 > [ 414.384756] [] ? > x86_64_start_reservations+0xaa/0xae > [ 414.384756] [] ? xen_start_kernel+0x63a/0x641 >