Date: Thu, 19 Feb 2015 19:47:18 +0100 From: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= <royger@FreeBSD.org> To: Gleb Smirnoff <glebius@FreeBSD.org>, 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 Message-ID: <54E62FB6.6050800@FreeBSD.org> In-Reply-To: <201502190119.t1J1JhSI025601@svn.freebsd.org> References: <201502190119.t1J1JhSI025601@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Virtual Network Interface> at device/vif/0 on xenbusb_front0 xn0: Ethernet address: 00:16:3e:51:85:e3 xenbusb_back0: <Xen Backend Devices> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT> Features2=0x81b82201<SSE3,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,HV> AMD Features=0x20100800<SYSCALL,NX,LM> AMD Features2=0x1<LAHF> Hypervisor: Origin = "XenVMMXenVMM" real memory = 2139095040 (2040 MB) avail memory = 2031947776 (1937 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <Xen HVM> 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 <Version 1.1> irqs 0-47 on motherboard random: entropy device infrastructure driver random: selecting highest priority adaptor <Dummy> kbd1 at kbdmux0 netmap: loaded module random: SOFT: yarrow init() random: selecting highest priority adaptor <Yarrow> module_register_init: MOD_LOAD (vesa, 0xffffffff80dde720, 0) error 19 vtvga0: <VT VGA driver> on motherboard xenpv0: <Xen PV bus> on motherboard granttable0: <Xen Grant-table Device> on xenpv0 xen_et0: <Xen PV Clock> on xenpv0 Event timer "XENTIMER" frequency 1000000000 Hz quality 950 Timecounter "XENTIMER" frequency 1000000000 Hz quality 950 xenstore0: <XenStore> on xenpv0 evtchn0: <Xen event channel user-space device> on xenpv0 privcmd0: <Xen privileged interface user-space device> on xenpv0 isa0: <ISA bus> on xenpv0 acpi0: <Xen> on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) acpi0: reservation of 0, a0000 (3) failed cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 cpu2: <ACPI CPU> on acpi0 cpu3: <ACPI CPU> on acpi0 cpu4: <ACPI CPU> on acpi0 cpu5: <ACPI CPU> on acpi0 cpu6: <ACPI CPU> on acpi0 cpu7: <ACPI CPU> on acpi0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 62500000 Hz quality 950 attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: <AT realtime clock> 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: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 isab0: <PCI-ISA bridge> at device 1.0 on pci0 device_attach: isab0 attach returned 6 atapci0: <Intel PIIX3 WDMA2 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc200-0xc20f at device 1.1 on pci0 ata0: <ATA channel> at channel 0 on atapci0 ata1: <ATA channel> at channel 1 on atapci0 pci0: <bridge> at device 1.3 (no driver attached) xenpci0: <Xen Platform Device> port 0xc000-0xc0ff mem 0xf2000000-0xf2ffffff irq 24 at device 2.0 on pci0 vgapci0: <VGA-compatible display> mem 0xf0000000-0xf1ffffff,0xf3050000-0xf3050fff at device 3.0 on pci0 vgapci0: Boot video device atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 fdc0: <floppy drive controller> 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: <QPI system bus> on motherboard orm0: <ISA Option ROM> at iomem 0xef000-0xeffff on isa0 vga0: <Generic ISA VGA> 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: <Xen Balloon Device> on xenstore0 xctrl0: <Xen Control Device> on xenstore0 xs_dev0: <Xenstore user-space device> on xenstore0 xenbusb_front0: <Xen Frontend Devices> on xenstore0 xenbusb_add_device: Device device/suspend/event-channel ignored. State 6 xn0: <Virtual Network Interface> at device/vif/0 on xenbusb_front0 xn0: Ethernet address: 00:16:3e:51:85:e3 xenbusb_back0: <Xen Backend Devices> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E62FB6.6050800>