Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

TrueOS Installing Project Trident on a 2010 MacBook Air

adrianwi

Neophyte Sage
Joined
Oct 15, 2013
Messages
1,091
I have an old MBA that I've been using for playing around with a variety of different operating systems, all installed into different partitions and booting between them using rEFInd. In the past I'd run TrueOS without too many problems, although it never liked the wireless network card installed and could only connect to the network using the USB adapter.

I thought I'd give Project Trident a quick spin, and everything appeared to install without problem, but when I boot it up it only takes me to a command line login screen, and not the GUI.

Did I do something wrong and how do I launch the GUI from the CLI?

Thanks
 

adrianwi

Neophyte Sage
Joined
Oct 15, 2013
Messages
1,091
Thanks for the response and apologies if i've mistyped any of the info below:

Code:
Project Tritant Information
---------------------------
OS Version: TOS-12-U13
Build Date: Wed Dec 18 16:41:02 UTC 2019
Boot Type: UEFI
---------------------------
TrueOS Sources Used:
 Base Repository: https://github.com/trueos/trueos
 Base Commit Branch or Tag: trueos/stable/12
 Ports Respsitory: https://hithub.com/trueos/trueos-ports
 Ports Commit Branch or Tag: trueos-master
---------------------------
System Specs:
 Boot Method: UEFI
 Intel(R) Core(TM)2 Duo CPU  L9600 @ 2.13GHz
 Physical CPUs: 2
 Physical Memory: 3.70 GB
---------------------------
Can't determine X Configuration, DISPLAY not set
---------------------------
GPU Information:
 vgapci0@pci0:2:0:0:  class=0x030000 card=0x00d3106b chip=0x08a310de rev=0xa2 hdr=0x00
  vendor   = "NVIDIA Corporation"
  device   = "NCP89 [GeForce 320M]"
  class    = display
  subclass = VGA
---------------------------
Network Device Information


I'm guessing the problem is the display not being set?
 

groenveld

Member
Joined
May 10, 2019
Messages
234
Code:
Project Tritant Information
---------------------------
OS Version: TOS-12-U13
Build Date: Wed Dec 18 16:41:02 UTC 2019
Boot Type: UEFI
---------------------------
TrueOS Sources Used:
Base Repository: https://github.com/trueos/trueos
Base Commit Branch or Tag: trueos/stable/12
Ports Respsitory: https://hithub.com/trueos/trueos-ports
Ports Commit Branch or Tag: trueos-master
---------------------------
System Specs:
Boot Method: UEFI
Intel(R) Core(TM)2 Duo CPU  L9600 @ 2.13GHz
Physical CPUs: 2
Physical Memory: 3.70 GB
---------------------------
Can't determine X Configuration, DISPLAY not set
---------------------------
GPU Information:
vgapci0@pci0:2:0:0:  class=0x030000 card=0x00d3106b chip=0x08a310de rev=0xa2 hdr=0x00
  vendor   = "NVIDIA Corporation"
  device   = "NCP89 [GeForce 320M]"
  class    = display
  subclass = VGA
---------------------------
Network Device Information


I'm guessing the problem is the display not being set?
"Can't determine X Configuration, DISPLAY not set" is a bug in about.

But Trident not properly starting X Windows is possibly a nVidia driver version mismatch.
# pkg delete nvidia-driver
# pkg install nvidia-driver-340
# shutdown -r now

John
groenveld@acm.org
 

Rod Myers

Member
Joined
Feb 9, 2015
Messages
226
MacBook Pro/Air have always been hit or miss with graphics and wifi

edit:
@adrianwi you do realize that Project Trident is moving to linux this year, and that the TrueOS/FreeBSD U13(?) Is the last release.

Now, if you grabbed the ALPHA linux release, then you are looking at the normal screen for the ALPHA release. in the terminal type;

start-lumina-desktop

The officlal Linux support channel telegram --> https://t.me/ProjectTrident

This forum may or may not survive , depends on the whims of iXsystems
 
Last edited:

adrianwi

Neophyte Sage
Joined
Oct 15, 2013
Messages
1,091
Thanks again for the help.

I deleted the nvidia drivers and installed the older ones, and it does look as though it's trying to start the GUI but then simply reboots. I can't make out on the console output what the problem might be and can't seem to boot into a safe or recovery mode to check anything out.

I had previously used TrueOS and whilst I never managed to get it connected with WiFi, it worked fine with the wired connection and through the GUI.
 

groenveld

Member
Joined
May 10, 2019
Messages
234
I deleted the nvidia drivers and installed the older ones, and it does look as though it's trying to start the GUI but then simply reboots. I can't make out on the console output what the problem might be and can't seem to boot into a safe or recovery mode to check anything out.
From the Free BSD Boot menu, you should be able to boot single user mode which will not start the PCDM and the X server.
<URL:https://www.freebsd.org/doc/handbook/bsdinstall-start.html>

Once booted single-user, you should be able to gather /var/log/Xorg.0.log and /var/log/messages.

John
groenveld@acm.org
 

adrianwi

Neophyte Sage
Joined
Oct 15, 2013
Messages
1,091
When I boot using the single user mode (2) there is nothing in the /var/log folder?
 

adrianwi

Neophyte Sage
Joined
Oct 15, 2013
Messages
1,091
I wasn't looking forward to having to re-type any of the logs, so managed to work out how to mount a USB drive using

# mount -w -t msdosfs -o -m=644,-M=755 /dev/da1p2 /media

That said, the Xorg.0.log file has zero bytes (I checked the mounted /var/log /mnt folder too and this was blank, so not a copying to USB issue) and messages contain the following, although this doesn't contain the last failed boot, which was this morning (Jan 5 11:nn)

Code:
Jan  4 21:34:47  kernel: ---<<BOOT>>---
Jan  4 21:34:47  kernel: Copyright (c) 1992-2019 The FreeBSD Project.
Jan  4 21:34:47  kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Jan  4 21:34:47  kernel:     The Regents of the University of California. All rights reserved.
Jan  4 21:34:47  kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Jan  4 21:34:47  kernel: FreeBSD 12.1-STABLE GENERIC amd64
Jan  4 21:34:47  kernel: FreeBSD clang version 8.0.1 (branches/release_80 363030) (based on LLVM 8.0.1)
Jan  4 21:34:47  kernel: VT(efifb): resolution 1440x900
Jan  4 21:34:47  kernel: CPU: Intel(R) Core(TM)2 Duo CPU     L9600  @ 2.13GHz (2123.82-MHz K8-class CPU)
Jan  4 21:34:47  kernel:   Origin="GenuineIntel"  Id=0x1067a  Family=0x6  Model=0x17  Stepping=10
Jan  4 21:34:47  kernel:   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Jan  4 21:34:47  kernel:   Features2=0xc08e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,OSXSAVE>
Jan  4 21:34:47  kernel:   AMD Features=0x20100800<SYSCALL,NX,LM>
Jan  4 21:34:47  kernel:   AMD Features2=0x1<LAHF>
Jan  4 21:34:47  kernel:   VT-x: HLT,PAUSE
Jan  4 21:34:47  kernel:   TSC: P-state invariant, performance statistics
Jan  4 21:34:47  kernel: real memory  = 4294967296 (4096 MB)
Jan  4 21:34:47  kernel: avail memory = 3824869376 (3647 MB)
Jan  4 21:34:47  kernel: Event timer "LAPIC" quality 100
Jan  4 21:34:47  kernel: ACPI APIC Table: <APPLE  Apple00>
Jan  4 21:34:47  kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
Jan  4 21:34:47  kernel: FreeBSD/SMP: 1 package(s) x 2 core(s)
Jan  4 21:34:47  kernel: arc4random: no preloaded entropy cache
Jan  4 21:34:47  kernel: ioapic0: Changing APIC ID to 1
Jan  4 21:34:47  kernel: ioapic0 <Version 1.1> irqs 0-23 on motherboard
Jan  4 21:34:47  kernel: Launching APs: 1
Jan  4 21:34:47  kernel: Timecounter "TSC" frequency 2123819472 Hz quality 1000
Jan  4 21:34:47  kernel: random: entropy device external interface
Jan  4 21:34:47  kernel: 000.000019 [4336] netmap_init               netmap: loaded module
Jan  4 21:34:47  kernel: [ath_hal] loaded
Jan  4 21:34:47  kernel: module_register_init: MOD_LOAD (vesa, 0xffffffff811322a0, 0) error 19
Jan  4 21:34:47  kernel: kbd0 at kbdmux0
Jan  4 21:34:47  kernel: nexus0
Jan  4 21:34:47  kernel: efirtc0: <EFI Realtime Clock> on motherboard
Jan  4 21:34:47  kernel: efirtc0: registered as a time-of-day clock, resolution 1.000000s
Jan  4 21:34:47  kernel: cryptosoft0: <software crypto> on motherboard
Jan  4 21:34:47  kernel: aesni0: No AES or SHA support.
Jan  4 21:34:47  kernel: acpi0: <APPLE Apple00> on motherboard
Jan  4 21:34:47  kernel: acpi_ec0: <Embedded Controller: GPE 0x57, ECDT> port 0x62,0x66 on acpi0
Jan  4 21:34:47  kernel: acpi0: Power Button (fixed)
Jan  4 21:34:47  kernel: unknown: I/O range not supported
Jan  4 21:34:47  kernel: hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
Jan  4 21:34:47  kernel: Timecounter "HPET" frequency 25000000 Hz quality 950
Jan  4 21:34:47  kernel: cpu0: <ACPI CPU> on acpi0
Jan  4 21:34:47  kernel: atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
Jan  4 21:34:47  kernel: atrtc0: registered as a time-of-day clock, resolution 1.000000s
Jan  4 21:34:47  kernel: Event timer "RTC" frequency 32768 Hz quality 0
Jan  4 21:34:47  kernel: attimer0: <AT timer> port 0x40-0x43 on acpi0
Jan  4 21:34:47  kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Jan  4 21:34:47  kernel: Event timer "i8254" frequency 1193182 Hz quality 100
Jan  4 21:34:47  kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
Jan  4 21:34:47  kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
Jan  4 21:34:47  kernel: acpi_acad0: <AC Adapter> on acpi0
Jan  4 21:34:47  kernel: acpi_lid0: <Control Method Lid Switch> on acpi0
Jan  4 21:34:47  kernel: acpi_button0: <Power Button> on acpi0
Jan  4 21:34:47  kernel: acpi_button1: <Sleep Button> on acpi0
Jan  4 21:34:47  kernel: pcib0: <ACPI Host-PCI bridge> on acpi0
Jan  4 21:34:47  kernel: pci0: <ACPI PCI bus> on pcib0
Jan  4 21:34:47  kernel: pci0: <memory, RAM> at device 0.1 (no driver attached)
Jan  4 21:34:47  kernel: pci0: <memory, RAM> at device 1.0 (no driver attached)
Jan  4 21:34:47  kernel: pci0: <memory, RAM> at device 1.1 (no driver attached)
Jan  4 21:34:47  kernel: pci0: <memory, RAM> at device 1.2 (no driver attached)
Jan  4 21:34:47  kernel: pci0: <memory, RAM> at device 1.3 (no driver attached)
Jan  4 21:34:47  kernel: pci0: <memory, RAM> at device 2.0 (no driver attached)
Jan  4 21:34:47  kernel: pci0: <memory, RAM> at device 2.1 (no driver attached)
Jan  4 21:34:47  kernel: isab0: <PCI-ISA bridge> port 0x2100-0x21ff at device 3.0 on pci0
Jan  4 21:34:47  kernel: isa0: <ISA bus> on isab0
Jan  4 21:34:47  kernel: pci0: <memory, RAM> at device 3.1 (no driver attached)
Jan  4 21:34:47  kernel: pci0: <memory, RAM> at device 3.3 (no driver attached)
Jan  4 21:34:47  kernel: pci0: <processor> at device 3.4 (no driver attached)
Jan  4 21:34:47  kernel: ohci0: <OHCI (generic) USB controller> mem 0xd328a000-0xd328afff at device 4.0 on pci0
Jan  4 21:34:47  kernel: usbus0 on ohci0
Jan  4 21:34:47  kernel: usbus0: 12Mbps Full Speed USB v1.0
Jan  4 21:34:47  kernel: ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd328b100-0xd328b1ff at device 4.1 on pci0
Jan  4 21:34:47  kernel: usbus1: EHCI version 1.10
Jan  4 21:34:47  kernel: usbus1 on ehci0
Jan  4 21:34:47  kernel: usbus1: 480Mbps High Speed USB v2.0
Jan  4 21:34:47  kernel: ohci1: <OHCI (generic) USB controller> mem 0xd3289000-0xd3289fff at device 6.0 on pci0
Jan  4 21:34:47  kernel: usbus2 on ohci1
Jan  4 21:34:47  kernel: usbus2: 12Mbps Full Speed USB v1.0
Jan  4 21:34:47  kernel: ehci1: <EHCI (generic) USB 2.0 controller> mem 0xd328b000-0xd328b0ff at device 6.1 on pci0
Jan  4 21:34:47  kernel: usbus3: EHCI version 1.10
Jan  4 21:34:47  kernel: usbus3 on ehci1
Jan  4 21:34:47  kernel: usbus3: 480Mbps High Speed USB v2.0
Jan  4 21:34:47  kernel: hdac0: <NVIDIA MCP89 HDA Controller> mem 0xd3280000-0xd3283fff at device 8.0 on pci0
Jan  4 21:34:47  kernel: ahci0: <NVIDIA MCP89 AHCI SATA controller> port 0x2298-0x229f,0x22a4-0x22a7,0x2290-0x2297,0x22a0-0x22a3,0x2280-0x228f mem 0xd3284000-0xd3285fff at device 10.0 on pci0
Jan  4 21:34:47  kernel: ahci0: AHCI v1.30 with 1 3Gbps ports, Port Multiplier not supported
Jan  4 21:34:47  kernel: ahci0: quirks=0x200<NOAA>
Jan  4 21:34:47  kernel: ahcich0: <AHCI channel> at channel 0 on ahci0
Jan  4 21:34:47  kernel: pci0: <memory, RAM> at device 11.0 (no driver attached)
Jan  4 21:34:47  kernel: pcib1: <ACPI PCI-PCI bridge> at device 21.0 on pci0
Jan  4 21:34:47  kernel: pci1: <ACPI PCI bus> on pcib1
Jan  4 21:34:47  kernel: pci1: <network> at device 0.0 (no driver attached)
Jan  4 21:34:47  kernel: pcib2: <ACPI PCI-PCI bridge> at device 23.0 on pci0
Jan  4 21:34:47  kernel: pci2: <ACPI PCI bus> on pcib2
Jan  4 21:34:47  kernel: vgapci0: <VGA-compatible display> port 0x1000-0x107f mem 0xd2000000-0xd2ffffff,0xc0000000-0xcfffffff,0xd0000000-0xd1ffffff at device 0.0 on pci2
Jan  4 21:34:47  kernel: battery0: <ACPI Control Method Battery> on acpi0
Jan  4 21:34:47  kernel: est0: <Enhanced SpeedStep Frequency Control> on cpu0
Jan  4 21:34:47  kernel: ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
Jan  4 21:34:47  kernel:             to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
Jan  4 21:34:47  kernel: ZFS filesystem version: 5
Jan  4 21:34:47  kernel: ZFS storage pool version: features support (5000)
Jan  4 21:34:47  kernel: Timecounters tick every 1.000 msec
Jan  4 21:34:47  kernel: arc4random: no preloaded entropy cache
Jan  4 21:34:47  kernel: hdacc0: <Cirrus Logic CS4206 HDA CODEC> at cad 0 on hdac0
Jan  4 21:34:47  kernel: hdaa0: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc0
Jan  4 21:34:47  kernel: pcm0: <Cirrus Logic CS4206 (Internal Analog)> at nid 11 and 13 on hdaa0
Jan  4 21:34:47  kernel: pcm1: <Cirrus Logic CS4206 (Rear Analog Headphones)> at nid 9 on hdaa0
Jan  4 21:34:47  kernel: hdacc1: <NVIDIA MCP89 HDA CODEC> at cad 3 on hdac0
Jan  4 21:34:47  kernel: hdaa1: <NVIDIA MCP89 Audio Function Group> at nid 1 on hdacc1
Jan  4 21:34:47  kernel: pcm2: <NVIDIA MCP89 (HDMI/DP 8ch)> at nid 5 on hdaa1
Jan  4 21:34:47  kernel: hdacc2: <NVIDIA MCP89 HDA CODEC> at cad 4 on hdac0
Jan  4 21:34:47  kernel: hdaa2: <NVIDIA MCP89 Audio Function Group> at nid 1 on hdacc2
Jan  4 21:34:47  kernel: pcm3: <NVIDIA MCP89 (HDMI/DP 8ch)> at nid 5 on hdaa2
Jan  4 21:34:47  kernel: hdacc3: <NVIDIA MCP89 HDA CODEC> at cad 5 on hdac0
Jan  4 21:34:47  kernel: hdaa3: <NVIDIA MCP89 Audio Function Group> at nid 1 on hdacc3
Jan  4 21:34:47  kernel: pcm4: <NVIDIA MCP89 (HDMI/DP 8ch)> at nid 5 on hdaa3
Jan  4 21:34:47  kernel: ugen2.1: <nVidia OHCI root HUB> at usbus2
Jan  4 21:34:47  kernel: ugen1.1: <nVidia EHCI root HUB> at usbus1
Jan  4 21:34:47  kernel: uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
Jan  4 21:34:47  kernel: ugen3.1: <nVidia EHCI root HUB> at usbus3
Jan  4 21:34:47  kernel: uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
Jan  4 21:34:47  kernel: uhub2: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
Jan  4 21:34:47  kernel: ugen0.1: <nVidia OHCI root HUB> at usbus0
Jan  4 21:34:47  kernel: uhub3: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
Jan  4 21:34:47  kernel: Trying to mount root from zfs:trident/ROOT/initial []...
Jan  4 21:34:47  kernel: Root mount waiting for: usbus0 usbus1 usbus2 usbus3 CAM
Jan  4 21:34:47  kernel: ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
Jan  4 21:34:47  kernel: ada0: <APPLE SSD TS256C CJAA0201> ATA8-ACS SATA 2.x device
Jan  4 21:34:47  kernel: ada0: Serial Number X0DA5087K0YK
Jan  4 21:34:47  kernel: ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
Jan  4 21:34:47  kernel: ada0: 239372MB (490234752 512 byte sectors)
Jan  4 21:34:47  kernel: uhub3: 6 ports with 6 removable, self powered
Jan  4 21:34:47  kernel: uhub0: 6 ports with 6 removable, self powered
Jan  4 21:34:47  kernel: Root mount waiting for: usbus1 usbus3
Jan  4 21:34:47  syslogd: last message repeated 1 times
Jan  4 21:34:47  kernel: uhub1: 6 ports with 6 removable, self powered
Jan  4 21:34:47  kernel: uhub2: 6 ports with 6 removable, self powered
Jan  4 21:34:47  kernel: Root mount waiting for: usbus1 usbus3
Jan  4 21:34:47  kernel: ugen1.2: <Apple Inc. Apple USB Ethernet Adapter> at usbus1
Jan  4 21:34:47  kernel: axe0 on uhub1
Jan  4 21:34:47  kernel: axe0: <0> on usbus1
Jan  4 21:34:47  kernel: miibus0: <MII bus> on axe0
Jan  4 21:34:47  kernel: ukphy0: <Generic IEEE 802.3u media interface> PHY 16 on miibus0
Jan  4 21:34:47  kernel: ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Jan  4 21:34:47  kernel: ue0: <USB Ethernet> on axe0
Jan  4 21:34:47  kernel: ue0: Ethernet address: 00:25:00:ed:3d:16
Jan  4 21:34:47  kernel: Root mount waiting for: usbus1 usbus3
Jan  4 21:34:47  kernel: ugen3.2: <Apple product 0x8403> at usbus3
Jan  4 21:34:47  kernel: umass0 on uhub2
Jan  4 21:34:47  kernel: umass0: <Apple product 0x8403, class 0/0, rev 2.00/98.33, addr 2> on usbus3
Jan  4 21:34:47  kernel: umass0:  SCSI over Bulk-Only; quirks = 0x4000
Jan  4 21:34:47  kernel: umass0:1:0: Attached to scbus1
Jan  4 21:34:47  kernel: da0 at umass-sim0 bus 0 scbus1 target 0 lun 0
Jan  4 21:34:47  kernel: da0: <APPLE SD Card Reader 1.00> Removable Direct Access SCSI device
Jan  4 21:34:47  kernel: da0: 40.000MB/s transfers
Jan  4 21:34:47  kernel: da0: Attempt to query device size failed: NOT READY, Medium not present
Jan  4 21:34:47  kernel: da0: quirks=0x2<NO_6_BYTE>
Jan  4 21:34:47  kernel: ugen0.2: <Apple Inc. Apple Internal Keyboard / Trackpad> at usbus0
Jan  4 21:34:47  kernel: ukbd0 on uhub3
Jan  4 21:34:47  kernel: ukbd0: <Apple Internal Keyboard> on usbus0
Jan  4 21:34:47  kernel: kbd1 at ukbd0
Jan  4 21:34:47  kernel: ugen1.3: <Apple Inc. Built-in iSight> at usbus1
Jan  4 21:34:47  kernel: ugen0.3: <Apple Inc. BRCM2070 Hub> at usbus0
Jan  4 21:34:47  kernel: uhub4 on uhub3
Jan  4 21:34:47  kernel: uhub4: <Apple Inc. BRCM2070 Hub, class 9/0, rev 2.00/1.00, addr 3> on usbus0
Jan  4 21:34:47  kernel: uhub4: 3 ports with 0 removable, self powered
Jan  4 21:34:47  kernel: Cuse v0.1.36 @ /dev/cuse
Jan  4 21:34:47  kernel: ugen0.4: <vendor 0x05ac product 0x820a> at usbus0
Jan  4 21:34:47  kernel: ukbd1 on uhub4
Jan  4 21:34:47  kernel: ukbd1: <vendor 0x05ac product 0x820a, class 0/0, rev 2.00/1.00, addr 4> on usbus0
Jan  4 21:34:47  kernel: kbd2 at ukbd1
Jan  4 21:34:47  kernel: nvidia0: <GeForce 320M> on vgapci0
Jan  4 21:34:47  kernel: vgapci0: child nvidia0 requested pci_enable_io
Jan  4 21:34:47  syslogd: last message repeated 1 times
Jan  4 21:34:47  kernel: random: unblocking device.
Jan  4 21:34:47  kernel: ugen0.5: <vendor 0x05ac product 0x820b> at usbus0
Jan  4 21:34:47  kernel: ums0 on uhub4
Jan  4 21:34:47  kernel: ums0: <vendor 0x05ac product 0x820b, class 0/0, rev 2.00/1.00, addr 5> on usbus0
Jan  4 21:34:47  kernel: ums0: 3 buttons and [XY] coordinates ID=2
Jan  4 21:34:47  kernel: bwn_pci0: <Broadcom BCM43224 802.11n Dual-Band Wireless> mem 0xd3100000-0xd3103fff at device 0.0 on pci1
Jan  4 21:34:47  kernel: bhndb0: <PCI-BHND bridge> on bwn_pci0
Jan  4 21:34:47  kernel: bhndb0: Using MSI interrupts on bwn_pci0
Jan  4 21:34:47  kernel: bhnd0: <BCM43224 BCMA bus> on bhndb0
Jan  4 21:34:47  kernel: bhnd_chipc0: <Broadcom ChipCommon I/O Controller, rev 34> mem 0x18000000-0x18000fff,0x18100000-0x18100fff irq 0 at core 0 on bhnd0
Jan  4 21:34:47  kernel: bhnd_nvram0: <SPROM/OTP> mem 0x18000800-0x18000bff on bhnd_chipc0
Jan  4 21:34:47  kernel: bhnd_pmu0: <Broadcom ChipCommon PMU, rev 6> on bhnd_chipc0
Jan  4 21:34:47  kernel: gpio0: <Broadcom ChipCommon GPIO> mem 0x18000000-0x18000fff on bhnd_chipc0
Jan  4 21:34:47  kernel: bhnd_hostb0: <Broadcom PCIe-G1 Host-PCI bridge, rev 15> mem 0x18002000-0x18002fff,0x8000000-0xfffffff,0x8000000000000000-0xffffffffffffffff,0x18102000-0x18102fff,0x18103000-0x18103fff irq 2 at core 2 on bhnd0
Jan  4 21:34:47  kernel: bwn0: <Broadcom 802.11 MAC/PHY/Radio, rev 23> mem 0x18001000-0x18001fff,0x18101000-0x18101fff irq 1 at core 1 on bhnd0
Jan  4 21:34:47  kernel: bwn0: bwn_phy_n_attach: BWN_GPL_PHY not in kernel config; no PHY-N support
Jan  4 21:34:47  kernel: bwn0: failed
Jan  4 21:34:47  kernel: device_attach: bwn0 attach returned 6
Jan  4 21:34:47  kernel: bwn0: <Broadcom 802.11 MAC/PHY/Radio, rev 23> mem 0x18001000-0x18001fff,0x18101000-0x18101fff irq 1 at core 1 on bhnd0
Jan  4 21:34:47  kernel: bwn0: bwn_phy_n_attach: BWN_GPL_PHY not in kernel config; no PHY-N support
Jan  4 21:34:47  kernel: bwn0: failed
Jan  4 21:34:47  kernel: device_attach: bwn0 attach returned 6
Jan  4 21:34:47  kernel: bwn0: <Broadcom 802.11 MAC/PHY/Radio, rev 23> mem 0x18001000-0x18001fff,0x18101000-0x18101fff irq 1 at core 1 on bhnd0
Jan  4 21:34:47  kernel: bwn0: bwn_phy_n_attach: BWN_GPL_PHY not in kernel config; no PHY-N support
Jan  4 21:34:47  kernel: bwn0: failed
Jan  4 21:34:47  kernel: device_attach: bwn0 attach returned 6
Jan  4 21:34:47  kernel: bwn0: <Broadcom 802.11 MAC/PHY/Radio, rev 23> mem 0x18001000-0x18001fff,0x18101000-0x18101fff irq 1 at core 1 on bhnd0
Jan  4 21:34:47  kernel: bwn0: bwn_phy_n_attach: BWN_GPL_PHY not in kernel config; no PHY-N support
Jan  4 21:34:47  kernel: bwn0: failed
Jan  4 21:34:47  kernel: device_attach: bwn0 attach returned 6
Jan  4 21:34:47  kernel: bwn0: <Broadcom 802.11 MAC/PHY/Radio, rev 23> mem 0x18001000-0x18001fff,0x18101000-0x18101fff irq 1 at core 1 on bhnd0
Jan  4 21:34:47  kernel: bwn0: bwn_phy_n_attach: BWN_GPL_PHY not in kernel config; no PHY-N support
Jan  4 21:34:47  kernel: bwn0: failed
Jan  4 21:34:47  kernel: device_attach: bwn0 attach returned 6
Jan  4 21:34:47  kernel: bwn0: <Broadcom 802.11 MAC/PHY/Radio, rev 23> mem 0x18001000-0x18001fff,0x18101000-0x18101fff irq 1 at core 1 on bhnd0
Jan  4 21:34:47  kernel: bwn0: bwn_phy_n_attach: BWN_GPL_PHY not in kernel config; no PHY-N support
Jan  4 21:34:47  kernel: bwn0: failed
Jan  4 21:34:47  kernel: device_attach: bwn0 attach returned 6
Jan  4 21:34:47  kernel: ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to accept, logging disabled
Jan  4 21:34:47  kernel: lo0: link state changed to UP
Jan  4 21:34:47  kernel: ugen0.6: <Apple Inc. Bluetooth USB Host Controller> at usbus0
Jan  4 21:34:47  kernel: atp0 on uhub3
Jan  4 21:34:47  kernel: atp0: <Touchpad> on usbus0
Jan  4 21:34:47  kernel: ums1 on uhub3
Jan  4 21:34:47  kernel: ums1: <Touchpad> on usbus0
Jan  4 21:34:47  kernel: ums1: 3 buttons and [XY] coordinates ID=2
Jan  4 21:34:47  kernel: ue0: link state changed to UP
Jan  4 21:34:47  ZFS[1714]: vdev state changed, pool_guid=$1850730395275372414 vdev_guid=$2611529825174260563
Jan  4 21:34:47  ZFS[1718]: vdev state changed, pool_guid=$1850730395275372414 vdev_guid=$2611529825174260563
Jan  4 21:34:48  ntpd[2181]: ntpd 4.2.8p12-a (1): Starting
Jan  4 21:34:48  ntpd[2181]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature
Jan  4 21:34:48  ntpd[2181]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=2020-06-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37
Jan  4 21:34:49  /etc/init.d/wpa_supplicant.ue0[2209]: start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant'
Jan  4 21:34:49  /etc/init.d/wpa_supplicant.ue0[2199]: ERROR: wpa_supplicant.ue0 failed to start
Jan  4 21:34:49  kernel: [K
Jan  4 21:34:49  syslogd: last message repeated 1 times
Jan  4 21:34:49  ntpd[2181]: error resolving pool 0.freebsd.pool.ntp.org: Name does not resolve (8)
Jan  4 21:34:50  kernel: ACPI Warning: \_SB.PCI0.IXVE.IGPU._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20190703/nsarguments-210)


so I'm not really sure that helps?
 

adrianwi

Neophyte Sage
Joined
Oct 15, 2013
Messages
1,091
Code:
#===========
# Auto-generated X11 graphics
#    card/driver configuration
#===========
# Created by Project Trident
#===========
# DO NOT MODIFY
# - Will be replaced on every bootup by trident_init service
# - Place alternate X11 settings into separate file(s):
#  /usr/local/etc/X11/xorg.conf.d/[something].conf
#    OR
#  /etc/X11/xorg.conf
#===========
Section "ServerLayout"
    Identifier     "XFree86 Configured"
    Screen      0  "Screen0" 0 0
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
EndSection

 
Section "Device"
  Identifier      "Card0"
  Driver          "nvidia"
  BusID           "2:0:0"
 
EndSection



And there are two .conf files in the xorg.conf.d folder:

Code:
Section "InputDevice"
     Identifier "evdev"
     Driver    "evdev"
     Option    "Emulate3Buttons"     "True"
     Option    "Emulate3Timeout"     "50"
     Option    "GrabDevice"     "False"
EndSection


Code:
Section "Files"
  ModulePath    "/usr/local/lib/xorg/modules"
  FontPath     "/usr/local/share/fonts/Liberation"
  FontPath     "/usr/local/share/fonts/TTF"
  FontPath     "/usr/local/share/fonts/dejavu"
EndSection



Thanks
 

groenveld

Member
Joined
May 10, 2019
Messages
234
# cp /usr/local/etc/X11/xorg.conf /etc/X11

edit /etc/X11/xorg.conf and change the Driver to from "nvidia" to "vesa"

# shutdown -r now

ISTR vesa can drive the nVidia cards at low resolution which is a starting point to debug why FreeBSD is crashing with the nvidia-driver-340.

John
groenveld@acm.org
 

adrianwi

Neophyte Sage
Joined
Oct 15, 2013
Messages
1,091
I really need to work out how to use the vi editor, other than :wq :D

I mounted the file system using

# mount -u /

and then copied across xorg.conf (which I'd edited on the USB stick) containing the 'vesa' driver

At least the system isn't rebooting now, but it's taking me to a CLI login prompt. There is at least something in the Xorg.0.log file too:

Code:
[   186.557]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   186.557] X Protocol Version 11, Revision 0
[   186.557] Build Operating System: FreeBSD 12.1-STABLE amd64
[   186.557] Current Operating System: FreeBSD trident1 12.1-STABLE FreeBSD 12.1-STABLE GENERIC amd64
[   186.558] Build Date: 18 December 2019  07:31:53PM
[   186.558] 
[   186.558] Current version of pixman: 0.38.4
[   186.558]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   186.558] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   186.559] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan  6 18:55:44 2020
[   186.559] (==) Using config file: "/etc/X11/xorg.conf"
[   186.560] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[   186.560] (==) ServerLayout "XFree86 Configured"
[   186.560] (**) |-->Screen "Screen0" (0)
[   186.560] (**) |   |-->Monitor "<default monitor>"
[   186.561] (**) |   |-->Device "Card0"
[   186.561] (==) No monitor specified for screen "Screen0".
    Using a default monitor configuration.
[   186.561] (==) Automatically adding devices
[   186.561] (==) Automatically enabling devices
[   186.561] (==) Not automatically adding GPU devices
[   186.561] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   186.561] (WW) The directory "/usr/local/share/fonts/misc/" does not exist.
[   186.561]     Entry deleted from font path.
[   186.562] (WW) The directory "/usr/local/share/fonts/Type1/" does not exist.
[   186.562]     Entry deleted from font path.
[   186.562] (WW) The directory "/usr/local/share/fonts/100dpi/" does not exist.
[   186.562]     Entry deleted from font path.
[   186.562] (WW) The directory "/usr/local/share/fonts/75dpi/" does not exist.
[   186.562]     Entry deleted from font path.
[   186.562] (**) FontPath set to:
    /usr/local/share/fonts/Liberation,
    /usr/local/share/fonts/TTF,
    /usr/local/share/fonts/dejavu,
    /usr/local/share/fonts/TTF/,
    /usr/local/share/fonts/OTF/
[   186.562] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[   186.562] (II) The server relies on devd to provide the list of input devices.
    If no devices become available, reconfigure devd or disable AutoAddDevices.
[   186.562] (II) Loader magic: 0x426010
[   186.562] (II) Module ABI versions:
[   186.562]     X.Org ANSI C Emulation: 0.4
[   186.563]     X.Org Video Driver: 20.0
[   186.563]     X.Org XInput driver : 22.1
[   186.563]     X.Org Server Extension : 9.0
[   186.563] (--) PCI:*(0:2:0:0) 10de:08a3:106b:00d3 rev 162, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00001000/128, BIOS @ 0x????????/65536
[   186.564] (II) LoadModule: "glx"
[   186.565] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   186.619] (II) Module glx: vendor="NVIDIA Corporation"
[   186.619]     compiled for 4.0.2, module version = 1.0.0
[   186.619]     Module class: X.Org Server Extension
[   186.619] (II) NVIDIA GLX Module  340.107  Thu May 24 21:25:00 PDT 2018
[   186.619] (II) LoadModule: "vesa"
[   186.620] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[   186.620] (II) Module vesa: vendor="X.Org Foundation"
[   186.621]     compiled for 1.18.4, module version = 2.4.0
[   186.621]     Module class: X.Org Video Driver
[   186.621]     ABI class: X.Org Video Driver, version 20.0
[   186.621] (II) VESA: driver for VESA chipsets: vesa
[   186.621] (--) Using syscons driver with X support (version 2.0)
[   186.621] (++) using VT number 9

[   186.622] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   186.622] (II) Loading sub module "vbe"
[   186.622] (II) LoadModule: "vbe"
[   186.622] (II) Loading /usr/local/lib/xorg/modules/libvbe.so
[   186.622] (II) Module vbe: vendor="X.Org Foundation"
[   186.622]     compiled for 1.18.4, module version = 1.1.0
[   186.623]     ABI class: X.Org Video Driver, version 20.0
[   186.623] (II) Loading sub module "int10"
[   186.623] (II) LoadModule: "int10"
[   186.623] (II) Loading /usr/local/lib/xorg/modules/libint10.so
[   186.623] (II) Module int10: vendor="X.Org Foundation"
[   186.623]     compiled for 1.18.4, module version = 1.0.0
[   186.624]     ABI class: X.Org Video Driver, version 20.0
[   186.624] (II) VESA(0): initializing int10
[   186.625] (EE) VESA(0): V_BIOS address 0x0 out of range
[   186.625] (II) UnloadModule: "vesa"
[   186.625] (II) UnloadSubModule: "int10"
[   186.625] (II) Unloading int10
[   186.625] (II) UnloadSubModule: "vbe"
[   186.625] (II) Unloading vbe
[   186.626] (EE) Screen(s) found, but none have a usable configuration.
[   186.626] (EE)
Fatal server error:
[   186.626] (EE) no screens found(EE)
[   186.626] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
[   186.626] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   186.626] (EE)
[   186.627] (EE) Server terminated with error (1). Closing log file.


My MBA does, of course, have a screen!
 

adrianwi

Neophyte Sage
Joined
Oct 15, 2013
Messages
1,091
Woo Hoo! I'm typing this response using the Chromium browser on my Project Trident GUI :)

Thanks for your help.
 

adrianwi

Neophyte Sage
Joined
Oct 15, 2013
Messages
1,091
Thanks again for your help. I will try and find some time to test the other nVidia drivers and maybe even understand why the 340 (which is the one that works on Linux) doesn't work. I'd expected the Broadcom wireless card not to work (as it didn't in TrueOS) but I can't get any audio working either, which did working in TrueOS.

I think the reality is, if I wanted to use the MacBook Air for anything other than macOS, Linux is the way forward and not FreeBSD :D
 

groenveld

Member
Joined
May 10, 2019
Messages
234
Thanks again for your help. I will try and find some time to test the other nVidia drivers and maybe even understand why the 340 (which is the one that works on Linux) doesn't work.
nVidia is at 340.108, but up-upstream FreeBSD is shipping 340.107
<URL:https://www.nvidia.com/Download/driverResults.aspx/156167/en-us>

I'd expected the Broadcom wireless card not to work (as it didn't in TrueOS)
Me neither.

but I can't get any audio working either, which did working in TrueOS.
The driver likely works but requires a hint for the correct input and output interfaces.

I think the reality is, if I wanted to use the MacBook Air for anything other than macOS, Linux is the way forward and not FreeBSD :D
Have you tried the Void Linux based Trident?
<URL:https://project-trident.org/post/void-beta-available/>
John
groenveld@acm.org
 
Top