Startup Fails on Setting Date via NTP

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Startup Fails on Setting Date via NTP

Post by ericbsd »

In TTY can you run get lightdm running with lightdm command and service lightdm start command?

What is in your /etc/xorg.conf file?

What is your Graphic card?
Georgiaboy
Posts: 46
Joined: Mon Nov 04, 2019 6:51 pm

Re: Startup Fails on Setting Date via NTP

Post by Georgiaboy »

Haven't tried the lightdm command or service lightdm start command in tty yet. Do know that it's installed when looking at the station software last night though after getting into userland. What is the lightdm command for bsd? I've noticed that biggest part of doing things in the cli/tty are different from the Linux OS's which the mainstreams seem to have different commands of their own for doing cli work.

I have nVidia but didn't set that one up. I prefer using the opensource graphics usually on Linux. It could also be using the Intel since I believe the laptop shows both.

I've not check the /etc/xorg.config file due to not thinking about it since I have Mate installed. But will check there later this afternoon when I get back from 'Date day' with the wife. That's something we do every Saturday and have been for 46 years now. ;)

Still scratching head as to why I keep getting the original message after having done the # service ntpdate restart. And you should see all those Couldn't find DHCP errors that comes when booting after having done the SYNCDHCP bit. Looks like a ton of them. :)
Georgiaboy
Posts: 46
Joined: Mon Nov 04, 2019 6:51 pm

Re: Startup Fails on Setting Date via NTP

Post by Georgiaboy »

@ericbsd

Couldn't get run lightdm. Tried the service lightdm start and got the following:

Code: Select all


root@son-of-venus:~ # service lightdm start
 * WARNING: lightdm has already been started
root@son-of-venus:~ # 



Still hitting tty when booting up.
Georgiaboy
Posts: 46
Joined: Mon Nov 04, 2019 6:51 pm

Re: Startup Fails on Setting Date via NTP

Post by Georgiaboy »

Here is a copy of what I have in the xorg.config file. I put it in the code blocks so it might be easier to read. Hope that it helps.


Code: Select all

[

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/local/lib/xorg/modules"
	FontPath     "/usr/local/share/fonts/misc/"
	FontPath     "/usr/local/share/fonts/TTF/"
	FontPath     "/usr/local/share/fonts/OTF/"
	FontPath     "/usr/local/share/fonts/Type1/"
	FontPath     "/usr/local/share/fonts/100dpi/"
	FontPath     "/usr/local/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "Backlight"          	# <str>
        #Option     "CustomEDID"         	# <str>
        #Option     "DRI"                	# <str>
        #Option     "Present"            	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "HWRotation"         	# [<bool>]
        #Option     "VSync"              	# [<bool>]
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "TripleBuffer"       	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "ReprobeOutputs"     	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "VirtualHeads"       	# <i>
        #Option     "TearFree"           	# [<bool>]
        #Option     "PerCrtcPixmaps"     	# [<bool>]
        #Option     "FallbackDebug"      	# [<bool>]
        #Option     "DebugFlushBatches"  	# [<bool>]
        #Option     "DebugFlushCaches"   	# [<bool>]
        #Option     "DebugWait"          	# [<bool>]
        #Option     "BufferCache"        	# [<bool>]
	Identifier  "Card0"
	Driver      "modesetting"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]
        #Option     "FPDither"           	# [<bool>]
        #Option     "CrtcNumber"         	# <i>
        #Option     "FPScale"            	# [<bool>]
        #Option     "FPTweak"            	# <i>
        #Option     "DualHead"           	# [<bool>]
	Identifier  "Card1"
	Driver      "nv"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection








/code]
Georgiaboy
Posts: 46
Joined: Mon Nov 04, 2019 6:51 pm

Re: Startup Fails on Setting Date via NTP

Post by Georgiaboy »

@ericbsd

Here is the graphic plus information in case you're needing anything else. If I'm reading this right it looks like both Intel and Nvidia are on this laptop.

Code: Select all

[thomas@son-of-venus ~]$ pciconf -lv
hostb0@pci0:0:0:0:	class=0x060000 card=0x11471043 chip=0x01048086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '2nd Generation Core Processor Family DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:1:0:	class=0x060400 card=0x11471043 chip=0x01018086 rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
vgapci1@pci0:0:2:0:	class=0x030000 card=0x16521043 chip=0x01168086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '2nd Generation Core Processor Family Integrated Graphics Controller'
    class      = display
    subclass   = VGA
none0@pci0:0:22:0:	class=0x078000 card=0x11471043 chip=0x1c3a8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family MEI Controller'
    class      = simple comms
ehci0@pci0:0:26:0:	class=0x0c0320 card=0x11471043 chip=0x1c2d8086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
hdac0@pci0:0:27:0:	class=0x040300 card=0x1b431043 chip=0x1c208086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family High Definition Audio Controller'
    class      = multimedia
    subclass   = HDA
pcib2@pci0:0:28:0:	class=0x060400 card=0x11471043 chip=0x1c108086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:1:	class=0x060400 card=0x11471043 chip=0x1c128086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 2'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:0:28:3:	class=0x060400 card=0x11471043 chip=0x1c168086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 4'
    class      = bridge
    subclass   = PCI-PCI
pcib5@pci0:0:28:5:	class=0x060400 card=0x11471043 chip=0x1c1a8086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 6'
    class      = bridge
    subclass   = PCI-PCI
ehci1@pci0:0:29:0:	class=0x0c0320 card=0x11471043 chip=0x1c268086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
isab0@pci0:0:31:0:	class=0x060100 card=0x11471043 chip=0x1c498086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'HM65 Express Chipset LPC Controller'
    class      = bridge
    subclass   = PCI-ISA
ahci0@pci0:0:31:2:	class=0x010601 card=0x11471043 chip=0x1c038086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA
none1@pci0:0:31:3:	class=0x0c0500 card=0x11471043 chip=0x1c228086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family SMBus Controller'
    class      = serial bus
    subclass   = SMBus
vgapci0@pci0:1:0:0:	class=0x030000 card=0x16521043 chip=0x105810de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GF119M [GeForce 610M]'
    class      = display
    subclass   = VGA
iwn0@pci0:3:0:0:	class=0x028000 card=0x10058086 chip=0x08ae8086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Centrino Wireless-N 100'
    class      = network
xhci0@pci0:4:0:0:	class=0x0c0330 card=0x10591043 chip=0x10421b21 rev=0x00 hdr=0x00
    vendor     = 'ASMedia Technology Inc.'
    device     = 'ASM1042 SuperSpeed USB Host Controller'
    class      = serial bus
    subclass   = USB
alc0@pci0:5:0:0:	class=0x020000 card=0x18511043 chip=0x10831969 rev=0xc0 hdr=0x00
    vendor     = 'Qualcomm Atheros'
    device     = 'AR8151 v2.0 Gigabit Ethernet'
    class      = network
    subclass   = ethernet
[thomas@son-of-venus ~]$ 


User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Startup Fails on Setting Date via NTP

Post by ericbsd »

Code: Select all

sudo pkg install nvidia-driver nvidia-settings nvidia-xconfig
replace `Driver "nv"` by `Driver "nvidia"` or run `nvidia-xconfig` it looks like you are running on optimus laptop.

if you can disable intel in your BIOS you should do it.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Startup Fails on Setting Date via NTP

Post by ericbsd »

Oh I am not sure if the right driver to isntall is nvidia-driver-340 or nvidia-driver.
Georgiaboy
Posts: 46
Joined: Mon Nov 04, 2019 6:51 pm

Re: Startup Fails on Setting Date via NTP

Post by Georgiaboy »

I'll try to get bios to disable the Intel graphics but if unable the would the nVidia override it?
I'm used to using the mesa and nouveau in Linux whenever I had it installed on the laptop.

I think I would up trying bumblebee when using MX on it and didn't like it. Removed and went to mesa nouveau instead on MX. Now I only have Ghostbsd installed on it.

Thanks for putting up with me and helping me out ericbsd.

[
Georgiaboy
Posts: 46
Joined: Mon Nov 04, 2019 6:51 pm

Re: Startup Fails on Setting Date via NTP

Post by Georgiaboy »

ericbsd wrote: Sun Nov 10, 2019 9:03 am Oh I am not sure if the right driver to isntall is nvidia-driver-340 or nvidia-driver.
Flip a coin and go with what it lands on?
Georgiaboy
Posts: 46
Joined: Mon Nov 04, 2019 6:51 pm

Re: Startup Fails on Setting Date via NTP

Post by Georgiaboy »

@ericbsd

Ok Here' the results of the command you gave:

Code: Select all


root@son-of-venus:~ # pkg install nvidia-driver nvidia-settings nvidia-xconfig
Updating GhostBSD_PKG repository catalogue...
GhostBSD_PKG repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	nvidia-settings: 440.26
	nvidia-xconfig: 440.26

Number of packages to be installed: 2

The process will require 2 MiB more space.
885 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/2] Fetching nvidia-settings-440.26.txz: 100%  807 KiB 413.0kB/s    00:02    
[2/2] Fetching nvidia-xconfig-440.26.txz: 100%   78 KiB  80.4kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/2] Installing nvidia-settings-440.26...
[1/2] Extracting nvidia-settings-440.26: 100%
[2/2] Installing nvidia-xconfig-440.26...
[2/2] Extracting nvidia-xconfig-440.26: 100%
root@son-of-venus:~ # 



I also disabled the Intel Virtualization in the bios.
Last edited by Georgiaboy on Sun Nov 10, 2019 9:20 pm, edited 1 time in total.
Post Reply