From owner-svn-src-all@FreeBSD.ORG Thu Feb 19 18:47:22 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA8A03E3; Thu, 19 Feb 2015 18:47:22 +0000 (UTC) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46C3CF30; Thu, 19 Feb 2015 18:47:22 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id y19so8914184wgg.13; Thu, 19 Feb 2015 10:47:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=TwwLCAaXZjzbVgHakinZSmbaR0a+dNMpMzlGOvFGLDw=; b=pnoIYcNworpxZ0tCqnB3gugOG7dBvad51wmA6Em+uymlncknGdYJyToEcyud/UrC2m RFQznWnxbIOM6nLDfcLzETihKnc8lYOSroC/EDxnRO2BJ+5PZfoOF1el6zELQhw7uWZi mQHCeKWeGOincJt6uyS7ePV9hUwG88Nk8If5miptwbQxrVGu3ZHXy30BqFkyxUA4J8/D mUz07rQ3Eb4DcO1F9+vSkYkFpf0wMJrrUV8UZ7V1eN7ThYXFj8n33R9qp5PIjlZqtKRt xDgvTJGEi/S9C+xtoU4ac86RMGLfCGcssaOR/Qmz7kiM+G+ompHmBkUM/eo748aR+cWU nmGQ== X-Received: by 10.180.76.133 with SMTP id k5mr17639190wiw.30.1424371640837; Thu, 19 Feb 2015 10:47:20 -0800 (PST) Received: from [172.16.1.30] (150.Red-81-39-62.dynamicIP.rima-tde.net. [81.39.62.150]) by mx.google.com with ESMTPSA id pp10sm38578748wjc.31.2015.02.19.10.47.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Feb 2015 10:47:19 -0800 (PST) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Message-ID: <54E62FB6.6050800@FreeBSD.org> Date: Thu, 19 Feb 2015 19:47:18 +0100 From: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Gleb Smirnoff , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r278977 - in head/sys: dev/cxgb dev/cxgb/sys dev/cxgb/ulp/tom dev/xen/netfront sys References: <201502190119.t1J1JhSI025601@svn.freebsd.org> In-Reply-To: <201502190119.t1J1JhSI025601@svn.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 18:47:22 -0000 El 19/02/15 a les 2.19, Gleb Smirnoff ha escrit: > Author: glebius > Date: Thu Feb 19 01:19:42 2015 > New Revision: 278977 > URL: https://svnweb.freebsd.org/changeset/base/278977 > > Log: > Provide a set of inline functions to manage simple mbuf(9) queues, based > on queue(3)'s STAILQ. Utilize them in cxgb(4) and Xen, deleting home > grown implementations. > > Sponsored by: Netflix > Sponsored by: Nginx, Inc. Have you tested this commit on Xen? I'm getting the following: xn0: at device/vif/0 on xenbusb_front0 xn0: Ethernet address: 00:16:3e:51:85:e3 xenbusb_back0: on xenstore0 xbd0: Back-end specified ring-pages of 15 is not a power of 2. Limited to 8. xn0: backend features: feature-sg feature-gso-tcp4 panic: no mbufs processed cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe007adc3920 vpanic() at vpanic+0x189/frame 0xfffffe007adc39a0 kassert_panic() at kassert_panic+0x132/frame 0xfffffe007adc3a10 network_alloc_rx_buffers() at network_alloc_rx_buffers+0x439/frame 0xfffffe007adc3ac0 network_connect() at network_connect+0xac1/frame 0xfffffe007adc3b50 netfront_backend_changed() at netfront_backend_changed+0xed/frame 0xfffffe007adc3b90 xenwatch_thread() at xenwatch_thread+0x1a2/frame 0xfffffe007adc3bb0 fork_exit() at fork_exit+0x84/frame 0xfffffe007adc3bf0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe007adc3bf0 --- trap 0, rip = 0, rsp = 0xfffffe007adc3cb0, rbp = 0 --- KDB: enter: panic [ thread pid 15 tid 100038 ] Stopped at kdb_enter+0x3e: movq $0,kdb_why Full boot dmesg attached below. /boot/kernel/kernel text=0x1026770 data=0x12cb20+0x3faf70 syms=[0x8+0x147270+0x8+0x162fd8] Booting... GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2015 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-CURRENT #0: Thu Feb 19 19:14:10 CET 2015 root@:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.5.1 (tags/RELEASE_351/final 225668) 20150115 WARNING: WITNESS option enabled, expect reduced performance. VT: running with driver "vga". XEN: Hypervisor version 4.6 detected. CPU: Intel(R) Xeon(R) CPU W3550 @ 3.07GHz (3066.84-MHz K8-class CPU) Origin="GenuineIntel" Id=0x106a5 Family=0x6 Model=0x1a Stepping=5 Features=0x1783fbff Features2=0x81b82201 AMD Features=0x20100800 AMD Features2=0x1 Hypervisor: Origin = "XenVMMXenVMM" real memory = 2139095040 (2040 MB) avail memory = 2031947776 (1937 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 8 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 6 cpu4 (AP): APIC ID: 8 cpu5 (AP): APIC ID: 10 cpu6 (AP): APIC ID: 12 cpu7 (AP): APIC ID: 14 ioapic0: Changing APIC ID to 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-47 on motherboard random: entropy device infrastructure driver random: selecting highest priority adaptor kbd1 at kbdmux0 netmap: loaded module random: SOFT: yarrow init() random: selecting highest priority adaptor module_register_init: MOD_LOAD (vesa, 0xffffffff80dde720, 0) error 19 vtvga0: on motherboard xenpv0: on motherboard granttable0: on xenpv0 xen_et0: on xenpv0 Event timer "XENTIMER" frequency 1000000000 Hz quality 950 Timecounter "XENTIMER" frequency 1000000000 Hz quality 950 xenstore0: on xenpv0 evtchn0: on xenpv0 privcmd0: on xenpv0 isa0: on xenpv0 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) acpi0: reservation of 0, a0000 (3) failed cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 62500000 Hz quality 950 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 isab0: at device 1.0 on pci0 device_attach: isab0 attach returned 6 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc200-0xc20f at device 1.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 pci0: at device 1.3 (no driver attached) xenpci0: port 0xc000-0xc0ff mem 0xf2000000-0xf2ffffff irq 24 at device 2.0 on pci0 vgapci0: mem 0xf0000000-0xf1ffffff,0xf3050000-0xf3050fff at device 3.0 on pci0 vgapci0: Boot video device atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) qpi0: on motherboard orm0: at iomem 0xef000-0xeffff on isa0 vga0: at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff on isa0 fdc0: No FDOUT register! ppc0: cannot reserve I/O port range Timecounters tick every 1.000 msec xenballoon0: on xenstore0 xctrl0: on xenstore0 xs_dev0: on xenstore0 xenbusb_front0: on xenstore0 xenbusb_add_device: Device device/suspend/event-channel ignored. State 6 xn0: at device/vif/0 on xenbusb_front0 xn0: Ethernet address: 00:16:3e:51:85:e3 xenbusb_back0: on xenstore0 xbd0: Back-end specified ring-pages of 15 is not a power of 2. Limited to 8. xn0: backend features: feature-sg feature-gso-tcp4 panic: no mbufs processed cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe007adc3920 vpanic() at vpanic+0x189/frame 0xfffffe007adc39a0 kassert_panic() at kassert_panic+0x132/frame 0xfffffe007adc3a10 network_alloc_rx_buffers() at network_alloc_rx_buffers+0x439/frame 0xfffffe007adc3ac0 network_connect() at network_connect+0xac1/frame 0xfffffe007adc3b50 netfront_backend_changed() at netfront_backend_changed+0xed/frame 0xfffffe007adc3b90 xenwatch_thread() at xenwatch_thread+0x1a2/frame 0xfffffe007adc3bb0 fork_exit() at fork_exit+0x84/frame 0xfffffe007adc3bf0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe007adc3bf0 --- trap 0, rip = 0, rsp = 0xfffffe007adc3cb0, rbp = 0 --- KDB: enter: panic [ thread pid 15 tid 100038 ] Stopped at kdb_enter+0x3e: movq $0,kdb_why