Crash on FreeBSD 11.2 with nvidia-driver-340.107 on GeForce 320M

This is a ports compiled version as detailed here

but it crashes the system and reboots on startx. Xorg.log only says “Failed to initialize the NVIDIA kernel module.” and later “no screens found”. There are no other errors in any logs that I can find.

Is the GeForce 320M in a 2010 Mac Mini not supported?

Here are the interesting bits from the kernel dump (let me know if you want to see all of it):

panic: page fault

GNU gdb (GDB) 8.1 [GDB v8.1 for FreeBSD]
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd11.1".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /boot/kernel/kernel...(no debugging symbols found)...done.
0xffffffff80b25ebd in sched_switch ()
(kgdb) #0  0xffffffff80b25ebd in sched_switch ()
#1  0xffffffff80b00cf6 in mi_switch ()
#2  0xffffffff80b4a50c in sleepq_wait ()
#3  0xffffffff80b0072e in _sleep ()
#4  0xffffffff80b4ff31 in taskqueue_thread_loop ()
#5  0xffffffff80aba083 in fork_exit ()
#6  <signal handler called>


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-RELEASE #0 r335510: Fri Jun 22 04:32:14 UTC 2018 amd64
FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0)
VT(efifb): resolution 1920x1080
CPU: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz (2389.30-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x1067a  Family=0x6  Model=0x17  Stepping=10
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16309506048 (15553 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <APPLE  Apple00>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
ioapic0: Changing APIC ID to 1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
SMP: AP CPU #1 Launched!
Timecounter "TSC-low" frequency 1194649969 Hz quality 1000
Cuse v0.1.35 @ /dev/cuse
random: entropy device external interface
kbd0 at kbdmux0
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff80ff4550, 0) error 19
cryptosoft0: <software crypto> on motherboard
acpi0: <APPLE Apple00> on motherboard
acpi_ec0: <Embedded Controller: GPE 0x57, ECDT> port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
unknown: I/O range not supported
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
Timecounter "HPET" frequency 25000000 Hz quality 950
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pcib0: _OSC returned error 0x10
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 1.0 (no driver attached)
pci0: <memory, RAM> at device 1.1 (no driver attached)
pci0: <memory, RAM> at device 1.2 (no driver attached)
pci0: <memory, RAM> at device 1.3 (no driver attached)
pci0: <memory, RAM> at device 2.0 (no driver attached)
pci0: <memory, RAM> at device 2.1 (no driver attached)
isab0: <PCI-ISA bridge> port 0x2100-0x21ff at device 3.0 on pci0
isa0: <ISA bus> on isab0
pci0: <memory, RAM> at device 3.1 (no driver attached)
pci0: <memory, RAM> at device 3.3 (no driver attached)
pci0: <processor> at device 3.4 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xd358a000-0xd358afff at device 4.0 on pci0
usbus0 on ohci0
usbus0: 12Mbps Full Speed USB v1.0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd358b100-0xd358b1ff at device 4.1 on pci0
usbus1: EHCI version 1.10
usbus1 on ehci0
usbus1: 480Mbps High Speed USB v2.0
ohci1: <OHCI (generic) USB controller> mem 0xd3589000-0xd3589fff at device 6.0 on pci0
usbus2 on ohci1
usbus2: 12Mbps Full Speed USB v1.0
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xd358b000-0xd358b0ff at device 6.1 on pci0
usbus3: EHCI version 1.10
usbus3 on ehci1
usbus3: 480Mbps High Speed USB v2.0
hdac0: <NVIDIA MCP89 HDA Controller> mem 0xd3580000-0xd3583fff at device 8.0 on pci0
ahci0: <NVIDIA MCP89 AHCI SATA controller> port 0x2298-0x229f,0x22a4-0x22a7,0x2290-0x2297,0x22a0-0x22a3,0x2280-0x228f mem 0xd3584000-0xd3585fff at device 10.0 on pci0
ahci0: AHCI v1.30 with 2 3Gbps ports, Port Multiplier not supported
ahci0: quirks=0x200<NOAA>
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
pci0: <memory, RAM> at device 11.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1
pci2: <ACPI PCI bus> on pcib2
pci2: <serial bus, FireWire> at device 0.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 21.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <network> at device 0.0 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> at device 22.0 on pci0
pci4: <ACPI PCI bus> on pcib4
bge0: <Broadcom BCM57765 A0, ASIC rev. 0x57785000> mem 0xd3100000-0xd310ffff,0xd3110000-0xd311ffff at device 0.0 on pci4
bge0: CHIP ID 0x57785000; ASIC REV 0x57785; CHIP REV 0x577850; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM57765 1000BASE-T media interface> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge0: Using defaults for TSO: 65518/35/2048
bge0: Ethernet address: c4:2c:03:1d:52:5d
sdhci_pci0: <Broadcom BCM577xx SDXC/MMC Card Reader> mem 0xd3120000-0xd312ffff at device 0.1 on pci4
sdhci_pci0: 1 slot(s) allocated
pcib5: <ACPI PCI-PCI bridge> at device 23.0 on pci0
pci5: <ACPI PCI bus> on pcib5
vgapci0: <VGA-compatible display> port 0x1000-0x107f mem 0xd2000000-0xd2ffffff,0xc0000000-0xcfffffff,0xd0000000-0xd1ffffff at device 0.0 on pci5
ppc0: cannot reserve I/O port range
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
est1: <Enhanced SpeedStep Frequency Control> on cpu1
fuse-freebsd: version 0.4.4, FUSE ABI 7.8
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
hdacc0: <Cirrus Logic CS4206 HDA CODEC> at cad 0 on hdac0
hdaa0: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc0
pcm0: <Cirrus Logic CS4206 (Analog)> at nid 11 and 12 on hdaa0
pcm1: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa0
pcm2: <Cirrus Logic CS4206 (Rear Analog Headphones)> at nid 9 on hdaa0
hdacc1: <NVIDIA MCP89 HDA CODEC> at cad 3 on hdac0
hdaa1: <NVIDIA MCP89 Audio Function Group> at nid 1 on hdacc1
pcm3: <NVIDIA MCP89 (HDMI/DP 8ch)> at nid 5 on hdaa1
hdacc2: <NVIDIA MCP89 HDA CODEC> at cad 4 on hdac0
hdaa2: <NVIDIA MCP89 Audio Function Group> at nid 1 on hdacc2
pcm4: <NVIDIA MCP89 (HDMI/DP 8ch)> at nid 5 on hdaa2
hdacc3: <NVIDIA MCP89 HDA CODEC> at cad 5 on hdac0
hdaa3: <NVIDIA MCP89 Audio Function Group> at nid 1 on hdacc3
pcm5: <NVIDIA MCP89 (HDMI/DP 8ch)> at nid 5 on hdaa3
ugen1.1: <nVidia EHCI root HUB> at usbus1
ugen3.1: <nVidia EHCI root HUB> at usbus3
uhub0: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen2.1: <nVidia OHCI root HUB> at usbus2
ugen0.1: <nVidia OHCI root HUB> at usbus0
uhub2: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
uhub3: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <CT500MX500SSD1 M3CR020> ACS-3 ATA SATA 3.x device
ada0: Serial Number 1818E139E3B0
cd0 at ahcich1 bus 0 scbus1 target 0 lun 0
ada0: 300.000MB/s transferscd0:  (SATA 2.x, <OPTIARC DVD RW AD-5680H 3AHB> Removable CD-ROM SCSI device
UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, ada0: 476940MB (976773168 512 byte sectors)
PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from zfs:zroot/ROOT/default []...
uhub2: 6 ports with 6 removable, self powered
uhub3: 6 ports with 6 removable, self powered
Root mount waiting for: usbus3 usbus1
Root mount waiting for: usbus3 usbus1
Root mount waiting for: usbus3 usbus1
uhub0: 6 ports with 6 removable, self powered
uhub1: 6 ports with 6 removable, self powered
ugen1.2: <Linux 4.14.52+ with 20980000.usb RNDISEthernet Gadget> at usbus1
urndis0 on uhub0
urndis0: <RNDIS Communications Control> on usbus1
ue0: <USB Ethernet> on urndis0
ue0: Ethernet address: 92:9c:82:72:80:44
Root mount waiting for: usbus3 usbus1
ugen2.2: <Dell Dell USB Keyboard> at usbus2
ukbd0 on uhub2
ukbd0: <Dell Dell USB Keyboard, class 0/0, rev 1.10/3.06, addr 2> on usbus2
kbd1 at ukbd0
Setting hostuuid: 80028ad9-2b8a-945d-a817-d86c29951b3d.
Setting hostid: 0xc2682be4.
Starting file system checks:
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/nss /usr/local/lib/perl5/5.26/mach/CORE /usr/local/lib/qt5 /usr/local/lib/samba4 /usr/local/llvm60/lib /usr/local/share/chromium
random: unblocking device.
32-bit compatibility ldconfig path: /usr/lib32
Setting hostname: .
Feeding entropy: 
ugen0.2: <vendor 0x0461 USB Optical Mouse> at usbus0
ugen2.3: <Apple Computer, Inc. IR Receiver> at usbus2
ugen2.4: <Apple Inc. BRCM2070 Hub> at usbus2
uhub4 on uhub2
uhub4: <Apple Inc. BRCM2070 Hub, class 9/0, rev 2.00/1.00, addr 4> on usbus2
uhub4: 3 ports with 0 removable, self powered
ugen2.5: <vendor 0x05ac product 0x820a> at usbus2
ukbd1 on uhub4
ukbd1: <vendor 0x05ac product 0x820a, class 0/0, rev 2.00/1.00, addr 5> on usbus2
kbd2 at ukbd1
bge0: link state changed to DOWN
ugen2.6: <vendor 0x05ac product 0x820b> at usbus2
ugen2.7: <Apple Inc. Bluetooth USB Host Controller> at usbus2
Starting Network: lo0 bge0 ue0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
	inet netmask 0xff000000 
	groups: lo 
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether c4:2c:03:1d:52:5d
	hwaddr c4:2c:03:1d:52:5d
	inet6 fe80::c62c:3ff:fe1d:525d%bge0 prefixlen 64 scopeid 0x1 
	media: Ethernet autoselect (none)
	status: no carrier
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 92:9c:82:72:80:44
	hwaddr 92:9c:82:72:80:44
Starting devd.
cdce0 on uhub0
cdce0: <RNDIS Ethernet Data> on usbus1
cdce0: faking MAC address
ue1: <USB Ethernet> on cdce0
ue1: Ethernet address: 2a:95:2f:f7:7f:00
Configuring vt: keymap.
ums0 on uhub3
ums0: <vendor 0x0461 USB Optical Mouse, class 0/0, rev 2.00/2.00, addr 2> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
ums1 on uhub4
ums1: <vendor 0x05ac product 0x820b, class 0/0, rev 2.00/1.00, addr 6> on usbus2
ums1: 3 buttons and [XY] coordinates ID=2
uhid0 on uhub2
uhid0: <Apple Computer, Inc. IR Receiver, class 0/0, rev 2.00/0.16, addr 3> on usbus2
ubt0 on uhub4
ubt0: <Apple Inc. Bluetooth USB Host Controller, rev 2.00/0.42, addr 7> on usbus2
Starting Network: ue1.
ue1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 2a:95:2f:f7:7f:00
	hwaddr 2a:95:2f:f7:7f:00
Starting ums0 moused.
Starting ums1 moused.
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()
ugen2.5: <vendor 0x05ac product 0x820a> at usbus2 (disconnected)
ukbd1: at uhub4, port 1, addr 5 (disconnected)
ukbd1: detached
ugen2.6: <vendor 0x05ac product 0x820b> at usbus2 (disconnected)
ums1: at uhub4, port 2, addr 6 (disconnected)
ums1: detached
moused not running? (check /var/run/
add host 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: gateway ::1
add net :: gateway ::1
Waiting 30s for the default route interface: ..Script /etc/rc.d/defaultroute interrupted
Creating and/or trimming log files.
Starting syslogd.
No core dumps found.
Additional ABI support: linux.
Clearing /tmp.
Recovering vi editor sessions:.
Starting default mousedmoused: unable to open /dev/psm0: No such file or directory
Starting dbus.
Starting hcsecd.
Updating motd:.
Mounting late filesystems:.
Starting ntpd.
Starting sdpd.
Aug  6 21:06:07 hostname ntpd[843]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired less than 222 days ago
Starting slim.
startxfce4 - Xfce Session
startxfce4 - Xfce Session
Starting redis.
Performing sanity check on sshd configuration.
Starting sshd.
2018-08-06 21:06:08.311 AEST [903] LOG:  listening on IPv6 address "::1", port 5432
2018-08-06 21:06:08.312 AEST [903] LOG:  listening on IPv4 address "", port 5432
2018-08-06 21:06:08.313 AEST [903] LOG:  listening on Unix socket "/tmp/.s.PGSQL.5432"
2018-08-06 21:06:08.344 AEST [903] LOG:  ending log output to stderr
2018-08-06 21:06:08.344 AEST [903] HINT:  Future log output will go to log destination "syslog".
Starting avahi-daemon.
Configuring vt: keymap blanktime.
Starting cron.
Starting background file system checks in 60 seconds.

Mon Aug  6 21:06:08 AEST 2018
Aug  6 21:06:08 hostname ntpd[843]: error resolving pool hostname nor servname provided, or not known (8)
Aug  6 21:06:11 hostname login: in prompt_tty(): caught signal 2
Aug  6 21:06:11 hostname login: pam_authenticate(): conversation failure
nvidia0: <GeForce 320M> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
ACPI Warning: 34_SB.PCI0.IXVE.IGPU._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20171214/nsarguments-210)

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address	= 0xfffffe0007d8b000
fault code		= supervisor write data, page not present
instruction pointer	= 0x20:0xffffffff8318db1c
stack pointer	        = 0x28:0xfffffe0457fbb390
frame pointer	        = 0x28:0xfffffe0007c6ed28
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 1093 (Xorg)
trap number		= 12
panic: page fault
cpuid = 1
KDB: stack backtrace:
#0 0xffffffff80b3d567 at kdb_backtrace+0x67
#1 0xffffffff80af6b07 at vpanic+0x177
#2 0xffffffff80af6983 at panic+0x43
#3 0xffffffff80f77faf at trap_fatal+0x35f
#4 0xffffffff80f78009 at trap_pfault+0x49
#5 0xffffffff80f777d7 at trap+0x2c7
#6 0xffffffff80f5769c at calltrap+0x8
Uptime: 1m39s
Dumping 779 out of 16086 MB:..3%..11%..21%..31%..42%..52%..62%..72%..81%..91%