|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
I forget the details of it, but not every system allows users to run X with startx.
Try enabling xenodm. |
|
||||
From the fragments posted, it appears your X video is being driven through the vesa(4) driver, which requires use of the xf86(4) aperture driver on architectures such as amd64 and i386. xf86(4) must be enabled via setting machdep.allowaperture in /etc/sysctl.conf. The default is disabled, and that default only works with supported DRM hardware. If I recall correctly, vesa(4) requires machdep.allowaperture=2.
|
|
||||
Your CPU should have the built-in Radeon Vega 3 graphics card. Doesn't it show up in the dmesg as amdgpu or sth.? There are already a few sparse posts on the mailing lists mentioning working Ryzen 3, 5 or 7 systems incl. their Vega GPUs, I think. So in theory it should already work although it can be hit and miss according to some posts in this subreddit:
Quote:
|
|
|||
Can you post dmesg output ???
Checking specs of your Lenovo Thinkpad E595..it uses Integrated AMD Radeon™ Vega 3 Integrated AMD Radeon™ Vega 8 Integrated AMD Radeon™ RX Vega 10 lookking in OpenBSD manual "radeon"..I don't see these listed in supported GPU. Perhaps not supported? Best way is to start with full dmesg output and see what we got and go from there. Last edited by Mako_Elite; 7th September 2020 at 12:33 AM. |
|
||||
@Mako Elite
I do not know how to record a dmesg from a TTY and transfer it to a computer with a browser. @jggimi Yes it is defaulting to vesa. machdep.allowaperture=1 was the instruction given but I shall keep =2 in mind if further testing is possible. I may have started the thread prematurely. It seems to be a case of unsupported hardware. Yesterday the system worked fine with the terminal. Today it will not boot. After listing details of the cpus the first three "fail to become ready, fail to identify" followed by a reboot. I am baffled why the system functioned after installation (which required a reboot) then cannot even boot after a shutdown. Looks like I must install another system and wait for OpenBSD's hardware support to catch up. Unless I try something silly like reinstalling and not running fw_update, but that would probably make things worse. |
|
|||
Quote:
dmesg > dmesg.txt This will create file named dmesg.txt. Yo can call it whatever you want. Then you can transfer the file to USB stick and use in other machine. It seems now that you can't even boot now. Did you modified any files? I would try fresh install and not changing anything after install. If you have access to internet directly with LAN cable (not wifi), then make sure it is connected to the laptop during install. This way if there are any firmware available OpenBSD will download them and install them for you automatically. I have Lenovo Thinkpad T530 with Intel HD 4000 Graphics and it works like a champ. My desktop is Lenovo ThinkStation P500 with Radeon HD 7950. Don't give up yet, OpenBSD is really good with Lenovo hardware. Your machine might be too new for now. I ditched my fairly new iMac , Mac Pro and older MacBook Pro for OpenBSD and I never looked back. Let me know if you need more help. Ludovit |
|
||||
Quote:
If the system already booted it probably can boot again. Maybe it's a UEFI/BIOS setting that's causing trouble? |
|
||||
Which version of OpenBSD is this?
I have a ThinkPad E485 with a second generation Ryzen CPU and it's fully supported and perfectly stable under -current. To show us the dmesg(8) output use this to upload it to a pastebin and then post the returned URL: Code:
curl -F 'f:1=<-' ix.io < /var/run/dmesg.boot
__________________
Are you infected with Wetiko? |
|
||||
Quote:
Quote:
|
|
||||
I reinstalled 6.7, copied the snapshot bsd.rd to / and upgraded to -current.
During the reboot "cpu failed to start" but the system still booted. ??? strange I am attempting to include a dmesg.txt file with this post. the good The system is running, including fvwm. the bad I am not able to install packages. I have tried Iridium and leafpad, but neither could be installed because many of the components are unavailable in the snapshot repository. I have an idea to install packages from 6.7-release, but do not know if it is safe to mix -release and -current. Or if it is even possible. EXPORT PKG_PATH to mirror /pub/OpenBSD/6.7/packages/amd64? Or would the best course be to reinstall 6.7, install all the packages I want, then upgrade to -current? the unknown Because of the "cpu failed to start" message and my recent experience with the 6.7 installation, I do not know if the system will boot again. I shall know that tomorrow morning. Since a GUI can be used with -current, I am not sure if a new thread should be started for the package installation issue or continue with this one. Last edited by sacerdos_daemonis; 11th September 2020 at 06:59 AM. |
|
||||
Your dmesg shows that only cpu0 is functional. cpu1-cpu3 "failed to become ready" and "failed to identify".
You cannot install -release/-stable packages on -current. Since you upgraded, you may have some prior packages which interfere with your attempted package installations. I am using the same snapshot (September 6) and can install leafpad from the -current package repository, updated September 10. |
|
||||
Again, providing advice in the blind.... It may help to know that when you install midnight commander, pkg_add(1) installs 17 additional dependent packages, including several libraries. You might try first performing a
# pkg_add -u to update any of the previously installed packages prior to trying to install a new package.
|
|
||||
I would have simply posted the entire output of the pkg_add message, but the only method I have to record it is pen and paper. Lots of "because of libraries", "minor too small", "major too small" and "cannot resolve" with any package I tried. Since I did not know if the system would work MC is the only package I installed previously.
There is also a bigger problem. When shutting down "System shutdown has arrived" is displayed and the system freezes. It does not shut down and there is no "synching discs" message. The computer must be shut down with the power button. That is obviously not a feasible situation. At this point I think the best course is try to install another system (if the hardware is not too new) and wait for OpenBSD 6.9 and try again. |
|
||||
Package installation failures
The script(1) tool can be used to log a console or terminal session. The output file can be cleaned of control characters with col(1) -b, and the resulting output stored in a FAT filesystem on a USB stick for transport to the workstation you're using to communicate here. Or, you can take one or more photographs of the console, store them on a website, and link to the images here. It takes an effort to capture the information needed for someone to be able to help you, as nobody can peer over your shoulder at your system and see the errors you've received. And partial descriptions of the errors are insufficient. I can think of some possible errors you might have introduced which cause this problem, but there isn't enough information here to point to any of them. I don't even know if you've tried my # pkg_add -u suggestion. If you'd like to give OpenBSD one more try before abandoning it, I'd suggest a clean installation instead of an upgrade, as your upgraded system appears to be troubled. I have already noted I'm using the same snapshot and (if you're not using PKG_PATH) the same snapshot package repository, and cannot replicate your problem. System shutdown issues Again, it's tough to know what is going on with your system. The halt(8) or shutdown(8) command can force a dump for diagnostics, but that is unlikely to be helpful to you, even if you are able to produce a dump in this situation. |
|
||||
Quote:
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Install on thinkpad t40 | nedry | OpenBSD Installation and Upgrading | 2 | 16th November 2017 06:06 PM |
Looking for Thinkpad Recommendations | trashHeap | NetBSD General | 1 | 11th June 2017 08:22 AM |
I want OpenBSD on my Thinkpad but.. | Angevin | OpenBSD Packages and Ports | 14 | 9th November 2014 08:25 PM |
MYSQL can't start "UNABLE TO LOCK | disappearedng | FreeBSD General | 0 | 14th October 2008 02:01 AM |
IBM ThinkPad G40? | Sunnz | General Hardware | 8 | 28th July 2008 01:41 AM |