From owner-freebsd-bugs@freebsd.org Tue Sep 18 23:13:24 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBB5F10AB62E for ; Tue, 18 Sep 2018 23:13:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 782DE880BB for ; Tue, 18 Sep 2018 23:13:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3A20E10AB62D; Tue, 18 Sep 2018 23:13:23 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1665D10AB62C for ; Tue, 18 Sep 2018 23:13:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8348E880BA for ; Tue, 18 Sep 2018 23:13:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E1B81209F7 for ; Tue, 18 Sep 2018 23:13:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8INDLxf030116 for ; Tue, 18 Sep 2018 23:13:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8INDLjE030115 for bugs@FreeBSD.org; Tue, 18 Sep 2018 23:13:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 231468] [acpi] [panic] 12.0-ALPHA6 vtnet0 cant setup virtq-intr when boot with no acpi kernel Date: Tue, 18 Sep 2018 23:13:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koh@ksoftirqd.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2018 23:13:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231468 Bug ID: 231468 Summary: [acpi] [panic] 12.0-ALPHA6 vtnet0 cant setup virtq-intr when boot with no acpi kernel Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: koh@ksoftirqd.net Good morning. My QEMU Guest VPS has booted the kernel which removed ACPI to reduce capaci= ty in QEMU guest environment because kernel size is big since FreeBSD 12.0. Then the kernel panics as shown below. The kernel build uses src.txz from 12.0-ALPHA6. hint.acpi.0.disabled =3D "1" is not used, and only the "device acpi" is rem= oved in kernel build. # /etc/make.conf CC=3D/usr/local/bin/clang-devel CXX=3D/usr/local/bin/clang++-devel CPP=3D/usr/local/bin/clang-cpp-devel MODULES_OVERRIDE=3D cc dummynet # clang-devel -v clang version 8.0.0 Target: x86_64-portbld-freebsd12.0 Thread model: posix InstalledDir: /usr/local/llvm-devel/bin # dmesg when no ACPI w/ clang-devel vgapci0: Boot video device virtio_pci0: port 0xc060-0xc07f mem 0xfebd1000-0xfebd1fff irq 11 at device 3.0 on pci0 vtnet0: on virtio_pci0 vtnet0: Ethernet address: fa:16:3e:67:7b:47 virtio_pci0: exhausted all interrupt allocation attempts vtnet0: cannot setup virtqueue interrupts Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x0 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff8044e0af stack pointer =3D 0x28:0xffffffff80a423a0 frame pointer =3D 0x28:0xffffffff80a423e0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (swapper) trap number =3D 12 panic: page fault time =3D 1 Uptime: 1s Automatic reboot in 15 seconds - press a key on the console to abort # dmesg when ACPI w/ clang-devel ---<>--- Copyright (c) 1992-2018 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 12.0-ALPHA6 #4: Sun Sep 16 15:05:10 KST 2018 root@ixcloud:/usr/obj/usr/src/amd64.amd64/sys/GENE6 amd64 clang version 8.0.0 CPU: Intel Xeon E312xx (Sandy Bridge) (2600.08-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x206a1 Family=3D0x6 Model=3D0x2a Steppi= ng=3D1 =20 Features=3D0xf83fbff Features2=3D0xfffa3223 AMD Features=3D0x2c100800 AMD Features2=3D0x21 Structured Extended Features=3D0x7a9 XSAVE Features=3D0x1 VT-x: (disabled in BIOS) PAT,HLT,PAUSE,EPT,UG Hypervisor: Origin =3D "KVMKVMKVM" real memory =3D 1073741824 (1024 MB) avail memory =3D 1029726208 (982 MB) Event timer "LAPIC" quality 100 ACPI APIC Table: random: unblocking device. ioapic0 irqs 0-23 on motherboard random: entropy device external interface random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" netmap: loaded module nexus0 acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-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 isa0: on isab0 pci0: at device 1.1 (no driver attached) pci0: at device 1.2 (no driver attached) pci0: at device 1.3 (no driver attached) vgapci0: mem 0xfc000000-0xfdffffff,0xfebd0000-0xfebd0fff at device 2.0 on pci0 vgapci0: Boot video device virtio_pci0: port 0xc060-0xc07f mem 0xfebd1000-0xfebd1fff irq 11 at device 3.0 on pci0 vtnet0: on virtio_pci0 vtnet0: Ethernet address: fa:16:3e:67:7b:47 000.000060 [ 425] vtnet_netmap_attach max rings 1 vtnet0: netmap queues/slots: TX 1/1024, RX 1/1024 000.000061 [ 430] vtnet_netmap_attach virtio attached txq=3D1, txd=3D= 1024 rxq=3D1, rxd=3D1024 virtio_pci1: port 0xc000-0xc03f mem 0xfebd2000-0xfebd2fff irq 11 at device 4.0 on pci0 vtblk0: on virtio_pci1 vtblk0: 51200MB (104857600 512 byte sectors) virtio_pci2: port 0xc080-0xc09f irq 10 at devi= ce 5.0 on pci0 acpi_syscontainer0: port 0xaf00-0xaf1f on acpi0 orm0: at iomem 0xed800-0xeffff pnpid ORM0000 on isa0 attimer0: at port 0x40 on isa0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounters tick every 1.000 msec ipfw2 initialized, divert loadable, nat enabled, default to accept, logging disabled Timecounter "TSC-low" frequency 1300038197 Hz quality 800 Trying to mount root from ufs:/dev/vtbd0s1a [rw,noatime]... lo0: link state changed to UP vtnet0: link state changed to UP # KERNCONF cpu HAMMER ident GENE6 options SCHED_ULE # ULE scheduler options INET # InterNETworking options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_DIRHASH # Improve performance on big directories options PRINTF_BUFR_SIZE=3D128 # Prevent printf output being interspersed. device atpic device pci device loop # Network loopback device random # Entropy device device rdrand_rng # Intel Bull Mountain RNG device ether # Ethernet support device tun # Packet tunnel. device virtio # Generic VirtIO bus (required) device virtio_pci # VirtIO PCI device device vtnet # VirtIO Ethernet device device virtio_blk # VirtIO Block device device netmap # netmap(4) support thanks. --=20 You are receiving this mail because: You are the assignee for the bug.=