From owner-freebsd-stable@freebsd.org Thu May 31 12:08:03 2018 Return-Path: Delivered-To: freebsd-stable@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 BAC44F788EF for ; Thu, 31 May 2018 12:08:02 +0000 (UTC) (envelope-from chenkolei@gmail.com) 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 4857680FF8 for ; Thu, 31 May 2018 12:08:02 +0000 (UTC) (envelope-from chenkolei@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 05A3AF788EC; Thu, 31 May 2018 12:08:02 +0000 (UTC) Delivered-To: stable@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 BEE5EF788EB for ; Thu, 31 May 2018 12:08:01 +0000 (UTC) (envelope-from chenkolei@gmail.com) Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (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 3D6CF80FF6 for ; Thu, 31 May 2018 12:08:01 +0000 (UTC) (envelope-from chenkolei@gmail.com) Received: by mail-pf0-x22a.google.com with SMTP id b74-v6so7245727pfl.5 for ; Thu, 31 May 2018 05:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=5VVkBEdUsl7iix/oU8QU5PgolGu72QNxq50c1JQJA7c=; b=Md2GnjnKZoRhtky1Kpctk7p2ea8wYUBbxMMolXdB+H70xj3TdQULdaFRn5wj2uvGCk qfvCT0YyOdXPyolMpF2QhomKybJbX+UG7OdxbvqEpnX3cIJJThiR30OhJAdSc6vU4Kn0 1ubsSnQYtuzU9Y/o69VKO4NbWlEsduxGY1yurI8Gcq5Y/GuM1dRVrDRJB7+9UtKs6lks dybsm5ghP4hvyaTk2JrBulHd8e7LwyjlLipNuDjarP4BRq51CaxM1WA4Obe2CcWwofN0 ZpIIMje4UbuDEAfQr4br8gMRC4wNRljVmPfizCB/4Kqfv2Tfl8yhdfdyft54+RcFYAWa ishw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=5VVkBEdUsl7iix/oU8QU5PgolGu72QNxq50c1JQJA7c=; b=YL0Zp7BOrpLBzhAFzdbJP/kBy12CUAblLUef+5Bh281QvfUfHjgiogd45kqBhMSvn3 0W53zS8bwiQfQHGP6D6TnFvEBwd6g72zaOzbqAOGPBBPiUDgD/+h2oWxntfU5ZySnMCE SUFUfQCoX1yWO9sU4+9czlIglSd471aUj6RHZvwxMWAK6qKvAe5ZX88kBtCAsLRXqItA VnMlSA2duBbnOUjDb2OpRMCJRgoV+evMTvhABAo1K+yp+Qbi/hJRBFUP5wkHI+Yl41TD EKd5YoiYvQm1Z7y9FY4wV2RKwSOc1pz2wW+D+LxcIfClydjdd0EVvLNmIMxPEsSHJ7sE jB6w== X-Gm-Message-State: ALKqPwfHQq2ZZD3rY10GBLcmfr5OhhICPKUD0spV9pAQS80bDuDpOwyE jC6mllJdxZAgL4QeDRjYLN/UGr3Q X-Google-Smtp-Source: ADUXVKINCfwT7iQKJrKIJ2PPaBgbqhJliF02syZBD3jO3QiVy7k/kpb/NbJjR8Pjxvxo0AkQ8C8ehA== X-Received: by 2002:a62:1e02:: with SMTP id e2-v6mr6595199pfe.212.1527768479661; Thu, 31 May 2018 05:07:59 -0700 (PDT) Received: from [192.168.42.103] ([101.13.247.22]) by smtp.gmail.com with ESMTPSA id z25-v6sm73511275pfi.171.2018.05.31.05.07.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 05:07:58 -0700 (PDT) To: stable@FreeBSD.org From: Neo_Chen Subject: FreeBSD 11.2-BETA3 Kernel Panic (Page Fault) when loading kernel module "vboxdrv.ko" Message-ID: <3a39938a-9c3d-2a12-1c62-ef4200191865@gmail.com> Date: Thu, 31 May 2018 20:07:55 +0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 12:08:03 -0000 Caused by KBI change (Does not kernel panic after rebuild) This problem is reproducible System: FreeBSD 11.2-BETA3 Runs on: Oracle VirtualBox dmesg: (recorded with script(1) + telnet(1)) ===|cut here|=== Script started on Thu May 31 19:49:21 2018 Command: telnet localhost 4997 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 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 11.2-BETA3 #0 r334196: Fri May 25 05:32:45 UTC 2018     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) VT(efifb): resolution 1024x768 CPU: Intel(R) Core(TM) i5-4210Y CPU @ 1.50GHz (1496.61-MHz K8-class CPU)   Origin="GenuineIntel"  Id=0x40651  Family=0x6  Model=0x45 Stepping=1 Features=0x783fbff Features2=0x5eda220b   AMD Features=0x28100800   AMD Features2=0x21   Structured Extended Features=0x2421   TSC: P-state invariant real memory  = 1073479680 (1023 MB) avail memory = 994013184 (947 MB) Event timer "LAPIC" quality 100 ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard Timecounter "TSC" frequency 1496606870 Hz quality 1000 random: entropy device external interface kbd1 at kbdmux0 netmap: loaded module module_register_init: MOD_LOAD (vesa, 0xffffffff80ff4540, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" nexus0 cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 cpu0: on acpi0 attimer0: port 0x40-0x43,0x50-0x53 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 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: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: mem 0x80000000-0x80ffffff at device 2.0 on pci0 vgapci0: Boot video device em0: port 0xc180-0xc187 mem 0x81400000-0x8141ffff irq 19 at device 3.0 on pci0 em0: Ethernet address: 08:00:27:5e:70:df em0: netmap queues/slots: TX 1/256, RX 1/256 pcm0: port 0xc000-0xc0ff,0xc100-0xc13f irq 21 at device 5.0 on pci0 pcm0: pci0: at device 7.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0xc178-0xc17f,0xc18c-0xc18f,0xc170-0xc177,0xc188-0xc18b,0xc160-0xc16f mem 0x81424000-0x81425fff at device 31.2 on pci0 ahci0: Failed to allocate MSI/MSI-x, falling back to INTx ahci0: AHCI v1.10 with 2 3Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ohci0: mem 0x81426000-0x81426fff at device 31.4 on pci0 usbus0 on ohci0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) acpi_acad0: on acpi0 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 orm0: at iomem 0xc0000-0xc7fff on isa0 ppc0: cannot reserve I/O port range Timecounters tick every 10.000 msec pcm0: measured ac97 link rate at 77035 Hz usbus0: 12Mbps Full Speed USB v1.0 ada0 at ahcich1 bus 0 scbus1 target 0 lun 0 ada0: ATA-6 SATA 2.x device ada0: Serial Number VB5418cc6c-20aa28bc ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 16384MB (33554432 512 byte sectors) ugen0.1: at usbus0 uhub0: on usbus0 cd0 at ahcich0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SPC-3 SCSI device cd0: Serial Number VB0-1a2b3c4d cd0: 300.000MB/s transfers (SATA 2.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ada0p2 [rw]... Setting hostuuid: c60b9c00-49a8-47b0-89b3-332b9620fa47. Setting hostid: 0xe919aad2. Starting file system checks: /dev/ada0p2: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0p2: clean, 3522780 free (460 frags, 440290 blocks, 0.0% fragmentation) Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat random: unblocking device. 32-bit compatibility ldconfig path: /usr/lib32 Setting hostname: TEST_KERNEL_PANIC. Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: uhub0: 12 ports with 12 removable, self powered . em0: link state changed to UP Starting Network: lo0 em0. lo0: flags=8049 metric 0 mtu 16384     options=600003     inet6 ::1 prefixlen 128     inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2     inet 127.0.0.1 netmask 0xff000000     nd6 options=21     groups: lo em0: flags=8843 metric 0 mtu 1500 options=9b     ether 08:00:27:5e:70:df     hwaddr 08:00:27:5e:70:df     nd6 options=29     media: Ethernet autoselect (1000baseT )     status: active Starting devd. Starting dhclient. DHCPREQUEST on em0 to 255.255.255.255 port 67 DHCPACK from 10.0.2.2 bound to 10.0.2.15 -- renewal in 43200 seconds. add host 127.0.0.1: gateway lo0 fib 0: route already in table add host ::1: gateway lo0 fib 0: route already in table add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Creating and/or trimming log files. Starting syslogd. No core dumps found. Clearing /tmp. Updating motd:. Mounting late filesystems:. Configuring vt: blanktime. Starting sendmail_submit. Starting sendmail_msp_queue. Starting cron. Starting background file system checks in 60 seconds. Thu May 31 19:49:47 CST 2018 FreeBSD/amd64 (TEST_KERNEL_PANIC) (ttyu0) login: root Password: Last login: Thu May 31 19:48:12 on ttyv0 May 31 19:49:53 TEST_KERNEL_PANIC login: ROOT LOGIN (root) ON ttyu0 FreeBSD 11.2-BETA3 (GENERIC) #0 r334196: Fri May 25 05:32:45 UTC 2018 Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories:   https://www.FreeBSD.org/security/ FreeBSD Handbook:      https://www.FreeBSD.org/handbook/ FreeBSD FAQ:           https://www.FreeBSD.org/faq/ Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/ FreeBSD Forums:        https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with:  pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed:  freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages:  man man FreeBSD directory layout:      man hier Edit /etc/motd to change this login announcement. root@TEST_KERNEL_PANIC:~ # kldload vboxdrv kldload vboxdrv supdrvGipCreate: failed to allocate the GIP page. rc=-26 vboxdrv: supdrvInitDevExt failed, rc=-26 Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address   = 0x134 fault code              = supervisor read data, page not present instruction pointer     = 0x20:0xffffffff80a982b0 stack pointer           = 0x28:0xfffffe005095f570 frame pointer           = 0x28:0xfffffe005095f5a0 code segment            = base 0x0, limit 0xfffff, type 0x1b                         = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags        = interrupt enabled, resume, IOPL = 0 current process         = 653 (kldload) trap number             = 12 panic: page fault cpuid = 0 KDB: stack backtrace: #0 0xffffffff80b3d407 at kdb_backtrace+0x67 #1 0xffffffff80af6a77 at vpanic+0x177 #2 0xffffffff80af68f3 at panic+0x43 #3 0xffffffff80f77f9f at trap_fatal+0x35f #4 0xffffffff80f77ff9 at trap_pfault+0x49 #5 0xffffffff80f777c7 at trap+0x2c7 #6 0xffffffff80f5744c at calltrap+0x8 #7 0xffffffff80a98107 at destroy_dev+0x37 #8 0xffffffff82721127 at VBoxDrvFreeBSDModuleEvent+0x117 #9 0xffffffff80ad5f8f at module_register_init+0xbf #10 0xffffffff80aca0af at linker_load_module+0xb3f #11 0xffffffff80acb8a1 at kern_kldload+0xc1 #12 0xffffffff80acb9bb at sys_kldload+0x5b #13 0xffffffff80f79028 at amd64_syscall+0xa38 #14 0xffffffff80f57c9d at fast_syscall_common+0x101 Uptime: 46s Dumping 136 out of 988 MB:Connection closed by foreign host. Command exit status: 1 Script done on Thu May 31 19:50:29 2018 ==|cut here|==