DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 110
Default Upgrade from 7.3 to 7.4 fails

Greetings all,

I am trying to upgrade via
Code:
# sysupgrade -r
The command find the URL, verifies a signature and downloads the different 7.4 distribution sets. Then it verifies sets, fetches firmware and reboots.

After reboot it announces:
Code:
"upgrade detected: switching to upgrade /bsd.rd"
attempts to boot, but aborts with:
Code:
"entry point at 0x1001000"
and reboots the 7.3 version.

I vaguely remember having a similar problem before, but cannot remember how I solved it.

Any help would be appreciated.

Kindest regards,

M
Reply With Quote
  #2   (View Single Post)  
Old 4th January 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,078
Default

You had reported this problem in July of 2023, here, but you did not report how you overcame it.

https://daemonforums.org/showthread.php?t=12432
Reply With Quote
  #3   (View Single Post)  
Old 5th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 110
Default

Hi jggimi,

yes, I had found my thread before posting, but, as you observed, it does not contain a solution. I found my notes, which reveal that I used a new install. I would prefer not to do so again, as I do not want to go through the configuration.

Unfortunately, this is my only laptop with a non-NVIDIA card. Can a faster processor with more cores, e.g., i7 with 4 cores, overcome the lack of drivers for NVIDIA?

Kindest regards,

N
Reply With Quote
  #4   (View Single Post)  
Old 6th January 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,078
Default

The platform's central processors will work fine. But do not expect graphics to perform well, and any software that requires 2D or 3D hardware acceleration will not be usable.
Reply With Quote
  #5   (View Single Post)  
Old 7th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 110
Default

Hi jggimi,

thank you for the clarification.

What about a laptop with NVIDIA Optimus technology, that has a discrete graphic card, e.g. NVIDIA Quadro K2100M and a an integrated Intel HD Graphics 4600 chip-set? would that work?

Kindest regards,

M
Reply With Quote
  #6   (View Single Post)  
Old 7th January 2024
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,543
Default

I'm not @jggimi but I'll take a stab at it anyway.

I think the purpose of Dual video chips in laptops is to provide power hungry, high end graphics when on the electrical grid. Intel video provides low amperage graphics when on the battery.

OpenBSD does not have the software to switch graphics on the fly. Often the bios has a setting where the the NVidia chip can be turned off. OpenBSD will recognize the intel chip and load the appropriate video driver. It should work with these.
Reply With Quote
  #7   (View Single Post)  
Old 8th January 2024
jmccue jmccue is offline
Real Name: John McCue
Package Pilot
 
Join Date: Aug 2012
Location: here
Posts: 194
Default

Quote:
Originally Posted by shep View Post
OpenBSD does not have the software to switch graphics on the fly. Often the bios has a setting where the the NVidia chip can be turned off.
Sadly many "newer" Thinpads did away with that bios option. I know it does not exist on Thinkpads W540 and W541 and many newer versions.

If your machine has that BIOS option, I would disable Nvidia Grahics.

Quote:
Originally Posted by shep View Post
OpenBSD will recognize the intel chip and load the appropriate video driver. It should work with these.
I can confirm OpenBSD works on Thinkpads W541 even though I cannot disable the Nvidia GPU in bios. But, the area where the Nvidia GPU is on the MB (lower left corner) gets rather hot.

Outside of that, OpenBSD seems to know it has Intel integrated Video and defaults to that. So video works well.
__________________
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars (tvtropes.org)
Reply With Quote
  #8   (View Single Post)  
Old 8th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 110
Default

Hi shep,

thank you for your reply. I understand the purpose of the dual video-cards, I just did not know whether the OS needs some specific support for switching between them or, if such a support is missing, and drivers are available, which card is selected.

However, it seems that @jmccue confirmed your conclusion that it should work.

Hi jmccue,

thank you for your reply. As you might have concluded from my reference to the video-cards, I do have W540. I did some search before posting, but did not find any answers regarding this model.

Since I understand that the difference between the W540 and the W541 is the trackpad, can you let me know what works/does not work?

Kindest regards,

M
Reply With Quote
  #9   (View Single Post)  
Old 8th January 2024
jmccue jmccue is offline
Real Name: John McCue
Package Pilot
 
Join Date: Aug 2012
Location: here
Posts: 194
Default W541

Quote:
Originally Posted by mefisto View Post
Since I understand that the difference between the W540 and the W541 is the trackpad, can you let me know what works/does not work?
Correct, I had a W540 at work, then went to a W541. The W541 was from work, I was able to purchase it rather cheap.

But, everything OpenBSD supports works fine on the W541. Of course Bluetooth does not work since OpenBSD does not support BT. I never used the mic or camera. But no issues with anything else.

As noted above, the Nvidia Chip gets hot. If you do install OpenBSD on the W540, please post if you have the same heat issue.

Port obsdfreqd helps a lot with the heat. FWIW I also cleaned and re-pasted. I needed help to do that on the W541, it is very difficult to re-paste.

I have these settings in /etc/rc.conf.local:

Code:
apmd_flags=-L -Z 5
obsdfreqd_flags=-m 60,45 -l 0,0 -T 70,60 -r 50 -s 3 -t 3000
pkg_scripts=vnstatd obsdfreqd
shlib_dirs=/opt/jmc/lib
sndiod_flags=-f rsnd/0 -F rsnd/1
xenodm_flags=
sndiod_flags is for the creative bluetooth audio usb transceiver which I use for Bluetooth Audio.

HTH
__________________
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars (tvtropes.org)

Last edited by jmccue; 8th January 2024 at 08:06 PM. Reason: grammer
Reply With Quote
Old 8th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 110
Default

Hi jmccue,

thank you for the reply with the snippet from your
Code:
/etc/rc.conf.local
I will install on the W540, but have to first move my Windows OS to another computer because I understand that it is difficult to set up dual boot and I need Windows OS for engineering (CADs, Maple, etc), and co-operative application (Office).

Kindest regards,

M
Reply With Quote
Old 8th January 2024
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,320
Angry

Quote:
Originally Posted by mefisto View Post
…I understand that it is difficult to set up dual boot and I need…
If you refer to booting through Grub or other Linux boot managers, I cannot help you as I have no interest in these tools. However, and even though it appears dated, I wrote up my experience years ago:

https://daemonforums.org/showthread.php?t=2879

The more up-to-date version in the official FAQ is:

https://www.openbsd.org/faq/faq4.html#Multibooting

If you wish to discuss this further, start a new thread as this subject is a deviation from the original motivation to this thread.
Reply With Quote
Old 9th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 110
Default

Hi ocicat,

thank you, please see the new topic.

Kindest regards,

M
Reply With Quote
Old 11th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 110
Default

Greetings all,

being stupid, but stubborn, I was again attempting to upgrade, and noticed that upon boot the OS reports:
Code:
upgrade is not u+x
Since I understand that the upgrade works on the bsd.* files, I checked
Code:
ls -l /bsd.*
with the following result:
Code:
-rwx------  1 root  wheel  21692337 Jul 22 21:13 /bsd.booted
-rw-------  1 root  wheel   4208189 Mar 11 22:41 /bsd.rd
-rw-------  1 root  wheel  21596753 Mar 11 22:41 /bsd.sp
-rw-------  1 root  wheel   4606368 Jul 22 21:22 /bsd.upgrade
Do I need to change the last four entries to -rwx------? Or, just the last entry?

Kindest regards,

M
Reply With Quote
Old 11th January 2024
jmccue jmccue is offline
Real Name: John McCue
Package Pilot
 
Join Date: Aug 2012
Location: here
Posts: 194
Default

This is what I have on a running 7.4 amd64:

Code:
ls -l /bsd*  
-rwx------  1 root  wheel  25419580 Jan 10 08:14 /bsd
-rwx------  1 root  wheel  25403588 Jan  9 19:29 /bsd.booted
-rw-------  1 root  wheel   4659966 Oct 16 10:50 /bsd.rd
-rwx------  1 root  wheel  25344566 Oct 16 10:50 /bsd.sp
__________________
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars (tvtropes.org)
Reply With Quote
Old 11th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 110
Default

Hi jmccue,

as best as I understand it, yours is correct, because the system was either correctly updated or installed, so the /bsd.upgrade has been removed.

I did some more search for the error (0x1001000), and it appears that there are many people with the same problem, unfortunately, none of the proposed solutions worked for me.

I also tried to upgrade by the "Interactive Upgrade", the OS is trying to load the bsd.rd from 7.4 and fails with the same error.

So much for the "Open BSD" just works.

Kindest regards,

M
Reply With Quote
Old 11th January 2024
Onauk's Avatar
Onauk Onauk is offline
Real Name: Thomas
Fdisk Soldier
 
Join Date: Jan 2023
Location: France
Posts: 76
Default

Hello mefisto,

Would you be able to share the hardware you are using? I also looked online about that 0x1001000 error and it seems it can be hardware related. Some users have found that reinstalling with a GPT partition instead of MBR worked¹.

You said you have tried other solutions. Can you list them so that we don't lead you to answers you have already tried.

[1]: https://old.reddit.com/r/openbsd/com...usb_c/f8uxra5/
Reply With Quote
Old 11th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 110
Default

Hi Onauk,

thank you for your reply and suggestion.

I can accept, with caveat, see below, that the issue might originally be hardware related, as I had a problem installing the 7.3, cf., https://daemonforums.org/showthread.php?t=12432. Since I had similar problem with upgrade, I found and reviewed my notes, which revealed that I could not install from any of the flash-drive images, but was able to install from a CD.

However, this appears to be a different - non-hardware related(?) because the OS is already installed.

What I tried:

1. As documented in my post above, I tried:
Code:
chmode change the last four entries to -rwx------ /bsd.upgrade
This did not work.

2. I found a post regarding the same error during upgrade from 6.8, cf., https://www.vincentdelft.be/post/post_20201031; however, not being experienced, I did not recompile the kernel but tried to re-download the bootx64.efi. Cf., also https://andinus.nand.sh/writings/202...t-failure.html. That did not work either.

3. I also tried to upgrade by the "Interactive Upgrade", cf., my post above and FAQ; the OS is trying to load the bsd.rd from 7.4 and fails with the same error.

4. I also found a post, a link of which I cannot locate, wherein people solved he issue on headless installation by connecting a monitor. As crazy as it appears to sound, the gentleman who posted it has a lot of "Thank you" responses.

If you do a search with keywords "OpenBSD upgrade", "error 0x1001000" you will find many such complains.

I am really disappointed because while running the OS, I really grew to like it.

Kindest regards,

M
Reply With Quote
Old 16th January 2024
Onauk's Avatar
Onauk Onauk is offline
Real Name: Thomas
Fdisk Soldier
 
Join Date: Jan 2023
Location: France
Posts: 76
Default

Quote:
Originally Posted by mefisto View Post
I can accept, with caveat, see below, that the issue might originally be hardware related. [...]
However, this appears to be a different - non-hardware related(?) because the OS is already installed.

[...]

2. I found a post regarding the same error during upgrade from 6.8, cf., https://www.vincentdelft.be/post/post_20201031; however, not being experienced, I did not recompile the kernel but tried to re-download the bootx64.efi. Cf., also https://andinus.nand.sh/writings/202...t-failure.html. That did not work either.
It sounds like it is not hardware related indeed but the UEFI implementation by Apple might not be what OpenBSD expects. From there I don't know how you could solve this since I don't know how you could boot on your macbook with Legacy BIOS instead of UEFI.

I know on my ThinkPad X240 I can boot with Legacy BIOS instead of UEFI but I know little about Apple hardware.

Maybe the fact that you installed 7.1 with a CD has to do with this? Maybe the boot process uses Legacy BIOS only with CD/DVD and UEFI for flash drives?

I have no solution for you except to sell this macbook (they tend to keep some value even after many years) and get another laptop.
Reply With Quote
Old 18th January 2024
mefisto mefisto is offline
Shell Scout
 
Join Date: Sep 2017
Posts: 110
Default

Hi Onauk,

thank you for the reply; please see new topic.

Kindest regards,

M
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
OpenEXR Fails to upgrade/Build Calderon FreeBSD Ports and Packages 2 20th August 2014 12:24 AM
Upgrade to 7.1-RELEASE fails drl FreeBSD Installation and Upgrading 4 27th March 2009 09:39 PM
Bootonly CD Fails rtwingfield FreeBSD Installation and Upgrading 1 29th December 2008 01:25 AM
building userland fails after upgrade to 7.0 padmanabh FreeBSD Installation and Upgrading 10 22nd July 2008 05:18 AM
PC-BSD 1.5.1 fails to install archp2008 FreeBSD Installation and Upgrading 27 1st July 2008 11:47 PM


All times are GMT. The time now is 01:42 AM.


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