DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
Old 28th November 2016
myway_1 myway_1 is offline
Port Guard
 
Join Date: Nov 2016
Posts: 21
Default

More info. I burned the installer image to a microSD card so that I would not need to use the USB hub. Still unable to proceed because it actually turns the USB port off, so I still couldn't use my USB keyboard plugged directly into the PC. I took a video with a faster phone and here is the entire dmesg(8)
Name:  vlcsnap-2016-11-27-18h28m34s466.png
Views: 121
Size:  612.0 KB

Name:  vlcsnap-2016-11-27-20h37m05s891.png
Views: 121
Size:  195.8 KB

Name:  vlcsnap-2016-11-27-20h37m42s064.png
Views: 119
Size:  198.3 KB
Reply With Quote
Old 28th November 2016
myway_1 myway_1 is offline
Port Guard
 
Join Date: Nov 2016
Posts: 21
Default

Name:  IMG_20161127_202950.jpg
Views: 120
Size:  784.4 KB
Reply With Quote
Old 28th November 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

The key message is in your last photo:
Code:
uhub0: device problem, disabling port 1
There is another message which appears in the first image, before the dmesg begins:
Code:
kbc: cmd word write error
This message is from the pckbd(4) driver - that is the kernel's PC/AT keyboard controller.

It is difficult to read this dmesg(), but nothing else from it pops out at me.
  1. You may wish to report this to the Project -- as ocicat mentioned previously, this is not an official support channel.
  2. You may want to install the system using other mechanisms, as I'd previously suggested, and learn if a GENERIC kernel has the same uhub(4) issue or not.
I have no other suggestions for you. There is a USB subsystem analysis tool -- usbdevs(8) -- but it requires both an installed system and -- if not network connected -- a functional keyboard.
Reply With Quote
Old 28th November 2016
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 262
Default

Code:
kbc: cmd word write error
Looks similar to this : http://openbsd-archive.7691.n7.nabbl...-td264684.html
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
Old 28th November 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

Yes, the keyboard controller driver issues the message because there is no keyboard controller hardware.
Reply With Quote
Old 28th November 2016
myway_1 myway_1 is offline
Port Guard
 
Join Date: Nov 2016
Posts: 21
Default

I have never used a virtual machine. I suppose it's not too difficult to learn.

I don't have access to another computer of the same architecture.

I just want to be able to install any BSD OS without having to jump through lots of hoops.

I'm getting tired of the problems that this Intel Compute Stick is causing. I got it new for $45 a couple of months ago, but even at that price it hasn't been worth it. Only about one in three linux distros will install onto it.

The combination of UEFI boot with no compatibility mode, 8 GB eMMC internal drive, 1 GB of RAM (not expandable), only 1 USB port, no ethernet port and a wifi chip that requires restricted proprietary firmware makes it tough to use. No wonder they have had to dump it on ebay for cheap.
Reply With Quote
Old 28th November 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

I will create a pre-installed UEFI-bootable OpenBSD/amd64 image for you, which you may download and "dd" onto any handy USB stick. I will use -current, the development branch of the OS, to ensure you have the most up-to-date kernel. And, as the Atom Z3735F is quad-core, it will boot the GENERIC.MP kernel.

Expect a message from me with a link in approximately 10 hours, which is when I will be able to prepare this for you.
Reply With Quote
Old 28th November 2016
myway_1 myway_1 is offline
Port Guard
 
Join Date: Nov 2016
Posts: 21
Default

Quote:
Originally Posted by jggimi View Post
I will create a pre-installed UEFI-bootable OpenBSD/amd64 image for you, which you may download and "dd" onto any handy USB stick. I will use -current, the development branch of the OS, to ensure you have the most up-to-date kernel. And, as the Atom Z3735F is quad-core, it will boot the GENERIC.MP kernel.

Expect a message from me with a link in approximately 10 hours, which is when I will be able to prepare this for you.
Thanks so much for this generous offer.

Once I have it on a USB stick, will I be then able to install it from there to my internal eMMC drive? (barring unforeseen difficulties)
Reply With Quote
Old 28th November 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

My plan is to provide you with a small test image, of a couple hundred megabytes in size.

Test 1: Plug the stick and your keyboard into the your hub. Can you boot it directly? Does it complete the boot and does the keyboard work?

Test 2: dd(1) the image on to your mSATA drive, after carefully backing up what's on the mSATA drive, of course, including its GPT and boot blocks. Using dd(1) from Linux may be an easy way to ensure you have a good, complete disk image. And when writing the test image, you'll need to find a way to not be using the mSATA drive at the time you do this step. One way would be to boot some sort of Linux rescue system from USB. Note that depending on the EFI "BIOS" and prior EFI installations, you might also have to clear prior boot records from the EFI menus in order to successfully boot after writing new boot blocks. After all that, does the OS boot and does the keyboard work?

If Test 1 works, I would assume Test 2 should also work, barring any EFI boot complexities (and there are plenty). Test 2 might work even if Test 1 fails, but I would expect the odds of success would be much lower.

If tests are successful, only then do we need to worry about provisioning a "production" image for you.

Please note: at the moment, multibooting OpenBSD on EFI systems is not supported by the Project, though DaemonForums member bceverly has succeeded in getting it to work. I recommend not worrying about multibooting with OpenBSD unless and until you can get it to operate successfully.

Last edited by jggimi; 28th November 2016 at 05:49 PM. Reason: typos
Reply With Quote
Old 28th November 2016
myway_1 myway_1 is offline
Port Guard
 
Join Date: Nov 2016
Posts: 21
Default

I don't know how to do much of what you describe in test #2, but there is nothing that matters on the internal eMMC drive. Just the linux OS that I can reinstall in a matter of minutes. I keep all data on a USB HDD. So if the simple way would be to use a live USB linux to delete / format the internal drive, that will be fine.
Reply With Quote
Old 28th November 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

Windows, and some Linux systems can be installed on EFI systems with Secure Boot. If that has been deployed, there will be matching records in your hardware's EFI/BIOS boot menu.

While I don't use Linux, I have installed it once or twice, and I recall installing Ubuntu with Secure Boot. It adding a boot menu record called "Linux" which I needed to delete before I could install and boot anything else from that drive.

--- Just to set reasonable expectations ---

Test 1: booting to see if a GENERIC kernel resolves the USB hub issue. Odds of success: low, but not impossible. My guess - 5% odds of success.

Test 2: booting to see if the internal drive can be used for an EFI boot of OpenBSD. My guesses - 95% odds of success if Test 1 was successful, 5% odds of success if Test 1 failed. This means having Test 1 fail and Test 2 succeed: 0.25% overall odds of success.
Reply With Quote
Old 28th November 2016
myway_1 myway_1 is offline
Port Guard
 
Join Date: Nov 2016
Posts: 21
Default

I have had secure boot turned off from the very beginning. This PC has never had Windows on it. It shipped with Ubuntu.

Last edited by myway_1; 28th November 2016 at 08:20 PM. Reason: capitalize windows
Reply With Quote
Old 28th November 2016
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 262
Default

Scott Bonds tried and succeeded installing OpenBSD on a Intel Compute Stick...
Not the same stick, but could help...

Source : https://www.mail-archive.com/misc@op...msg146577.html
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
Old 29th November 2016
myway_1 myway_1 is offline
Port Guard
 
Join Date: Nov 2016
Posts: 21
Default

I don't know if this makes a difference, but it's not the USB hub that causes the problem. I "burned" the install image onto a microSD card for a seperate trial, put the microSD card into the PC's microSD card slot and booted with the hub disconnected. The result was the same - the USB port was shut down. I even tried removing the USB keyboard dongle immediately after starting the boot process so that the USB port was empty. Same result.
Reply With Quote
Old 29th November 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

And myway_1 has also tested a GENERIC kernel, and received the same uhub(4) error.
Reply With Quote
Old 29th November 2016
myway_1 myway_1 is offline
Port Guard
 
Join Date: Nov 2016
Posts: 21
Default

Another aspect of my PC is that even though the CPU is 64 bit, the UEFI is 32 bit. So it needs a mixed-mode UEFI. OpenBSD installer boots, so I guess it has that covered?

In regards to the uhub error, perhaps that has to do with the USB root hub, not a physical USB hub. When I do a linux lsusb command with the physical USB hub not connected, it outputs three items:
the USB keyboard dongle
the Intel root hub
the Linux root hub
Reply With Quote
Old 29th November 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

Mount and look through the FAT-formatted EFI filesystem, and you will see both 32 and 64-bit bootloaders. However, the OpenBSD 32-bit OS, i386, is not yet supported with EFI boot.
Reply With Quote
Old 29th November 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,972
Default

And yes, the uhub(4) complaint appears to be about the built-in, Intel EHCI hub.
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
generating a xorg.conf when X -configure freezes OS daemonfowl OpenBSD General 19 30th July 2013 03:12 PM
Kernel freezes on boot after install (OpenBSD 5.0 release) grantwgmartin OpenBSD Installation and Upgrading 4 8th January 2012 09:43 AM
mouse freezes in X spiderpig OpenBSD Installation and Upgrading 0 20th April 2009 09:05 AM
opensolaris latop keeps hanging screen freezes chrisd Solaris 3 16th January 2009 07:08 PM
Xorg freezes 7.0 PatrickBaer FreeBSD General 2 14th June 2008 09:41 AM


All times are GMT. The time now is 11:08 PM.


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