Date: Thu, 31 May 2018 20:07:55 +0800 From: Neo_Chen <chenkolei@gmail.com> To: stable@FreeBSD.org Subject: FreeBSD 11.2-BETA3 Kernel Panic (Page Fault) when loading kernel module "vboxdrv.ko" Message-ID: <3a39938a-9c3d-2a12-1c62-ef4200191865@gmail.com>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2> Features2=0x5eda220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,RDRAND> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> AMD Features2=0x21<LAHF,ABM> Structured Extended Features=0x2421<FSGSBASE,AVX2,INVPCID,NFPUSG> TSC: P-state invariant real memory = 1073479680 (1023 MB) avail memory = 994013184 (947 MB) Event timer "LAPIC" quality 100 ACPI APIC Table: <VBOX VBOXAPIC> ioapic0: Changing APIC ID to 1 ioapic0 <Version 2.0> 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: <software crypto> on motherboard acpi0: <VBOX VBOXFACP> on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 cpu0: <ACPI CPU> on acpi0 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: <AT realtime clock> 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: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> mem 0x80000000-0x80ffffff at device 2.0 on pci0 vgapci0: Boot video device em0: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> 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: <Intel ICH (82801AA)> port 0xc000-0xc0ff,0xc100-0xc13f irq 21 at device 5.0 on pci0 pcm0: <SigmaTel STAC9700/83/84 AC97 Codec> pci0: <bridge> at device 7.0 (no driver attached) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 ahci0: <Intel ICH8M AHCI SATA controller> 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: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 ohci0: <Apple KeyLargo/Intrepid USB controller> 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: <AC Adapter> on acpi0 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 orm0: <ISA Option ROM> 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: <VBOX HARDDISK 1.0> 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: <Apple OHCI root HUB> at usbus0 uhub0: <Apple OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 cd0 at ahcich0 bus 0 scbus0 target 0 lun 0 cd0: <VBOX CD-ROM 1.0> 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<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM> ether 08:00:27:5e:70:df hwaddr 08:00:27:5e:70:df nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) 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|==
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a39938a-9c3d-2a12-1c62-ef4200191865>