DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4 Weeks Ago
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 242
Default startx reboots system

I took another stab at NetBSD, but still no luck. I can install a perfectly working system, but only in a TTY. startx loads a black screen with a grey rectangle in the top left corner, then the system reboots.

I tried an experiment in case Xorg in the installer is flaky. The plan was to installed without X then manually install Xorg, but Xorg does not appear to be in the repository of binary packages, only in ports. I could enable src during installation, but I am not going to wait a few hours for the download unless I know the result will be a functioning system.

Booting normally or ACPI disabled makes no difference.

Since some people can install fully functioning systems, there must be something I am missing. Any ideas for the next time I try would be helpful.

NetBSD 8.1
Lenovo laptop

Last edited by sacerdos_daemonis; 4 Weeks Ago at 07:11 AM.
Reply With Quote
  #2   (View Single Post)  
Old 4 Weeks Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,743
Default

Logs such as /var/log/Xorg.0.log or /var/log/messages may have usable information, as might a dmesg(8) if RAM is not wiped on boot.

Disclaimer: I've never used NetBSD.
Reply With Quote
  #3   (View Single Post)  
Old 4 Weeks Ago
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 242
Default

Next time I shall look for those files (or NetBSD equivalents). I watch the screen during boot and the readout looks very similar to to what I see on OpenBSD. There might be something else in dmesg that could be helpful, but it will have to wait until the next time I try to install it. At the moment I am giving FreeBSD a go, but want to collect any information I can for the near future.
Reply With Quote
  #4   (View Single Post)  
Old 4 Weeks Ago
Sensucht94's Avatar
Sensucht94 Sensucht94 is offline
Real Name: Paolo Vincenzo Olivo
Fdisk Soldier
 
Join Date: Oct 2017
Location: Rome
Posts: 69
Default

Quote:
Originally Posted by sacerdos_daemonis View Post
Next time I shall look for those files (or NetBSD equivalents). I watch the screen during boot and the readout looks very similar to to what I see on OpenBSD. There might be something else in dmesg that could be helpful, but it will have to wait until the next time I try to install it. At the moment I am giving FreeBSD a go, but want to collect any information I can for the near future.
In order to determine where the problem lays, checking out /var/log/Xorg.*.log as it's been suggested above by ibara, is a good starting point. There's good chance the GPU it's actually the one causing trouble.
In order to see what sort of hardware (and graphics) is your box equipped with, type:
Code:
# pcictl pci0 list
Also, don't forget to check out the dmesg, thus to see which drm driver (if any) was attached at boot to your GPU.

8.1 provides i915 graphics support up to Broadwell, but I found it quite buggy when I tried it last on my i7 5600k; it seems the issue got fixed the moment drm/kms graphics were updated on HEAD least year, so as to be in par with Linux 4.11: my suggestion, if you have Intel 5th+ gen graphics, is to either upgrade to 9.0_BETA or 9.9*-current. So far, my laptop works shamelessly with 9.0_BETA (I transitioned to it from 8.9*-current), it's very stable and brings a not negligible performance boost compared to 8.0-8.1.

You can upgrade to 9.0_BETA or to -current branch using sysupgrade, or for 9.0_BETA, by using the boot.iso or the miniroot image provided to perform a fresh installation; you'll find everything needed, including the sets to point sysupgrade at, here: http://nycdn.netbsd.org/pub/NetBSD-d.../latest/amd64/
__________________
Be the change you want to see in the World

Last edited by Sensucht94; 4 Weeks Ago at 04:48 PM.
Reply With Quote
  #5   (View Single Post)  
Old 4 Weeks Ago
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 242
Default

Quote:
Originally Posted by Sensucht94 View Post
There's good chance the GPU it's actually the one causing trouble.
That is a possibility. When NetBSD booted it displayed the same or similar message I get when using OpenBSD.
Code:
drm:pid0:si_init *ERROR* Expecting atombios for cayman GPU
drm:pid0:radeondrm_attachhook *ERROR* Fatal error during GPU init
From what I can make out I have two video cards and the BSDs do not like one of them. However, Open and Free BSDs still function.

Quote:
if you have Intel 5th+ gen graphics
To be honest I have no idea.
Code:
ATI Radeon HD 8670M
Quote:
either upgrade to 9.0_BETA or 9.9*-current
I do not like the idea of using a testing version of a system I am not familiar with. I would be comfortable trying such a thing with OpenBSD, but not Net. The result would be almost guaranteed to be bad.

I am surprised that hardware might be an issue. Since one of NetBSD's goals is to support many platforms, it should have a wider range of supported hardware. It is surprising that my hardware runs on Open and FreeBSD, but not Net.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chromium browser causes reboots jwhal OpenBSD Packages and Ports 5 3rd January 2016 11:57 PM
Netstart / Required Reboots on Interface Changes dylanz OpenBSD General 0 17th June 2010 05:48 PM
log in to console and startx in os x questionguy Other BSD and UNIX/UNIX-like 11 25th August 2009 05:27 AM
Startx executes as root, "startx:not found" as user Mr-Biscuit NetBSD Installation and Upgrading 4 27th May 2009 08:44 AM
Constant Kernel Panics, Corupted file system reboots over and over pseudonym FreeBSD General 24 14th July 2008 03:12 AM


All times are GMT. The time now is 04:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick