Re: Problem booting OpenBSD-current AMD64

2014-04-30 Thread Remco
Martijn Rijkeboer wrote:

 I've installed OpenBSD-current AMD64 on my new computer without problems,
 but as soon as I reboot the system, it freezes in the post. The only way
 to go past the post is wiping the first few megabytes of the harddisk
 using another computer and than start again. After installing I can't even
 enter the bios setup.
 
 The system contains the following components:
 - Motherboard: Gigabyte GA-B85M-DS3H
 - CPU: Intel Core i3 4130T
 - Memory: Kingston ValueRAM 8 GB DDR3-1600 Kit
 
 I've configured the bios the following way:
 - Windows 8 Features: Other OS
 - Boot Mode Selection: Legacy Only
 - VGA Support: Auto (Enables legacy option)
 
 The system is working since I can install and run Ubuntu 14.04 AMD64
 without problems.
 
 Any suggestions on how to fix this?
 
 Kind regards,
 
 
 Martijn Rijkeboer

Experienced something similar today with a Gigabyte board from the Core 2 Duo 
era. (this may not be an OpenBSD problem in my opinion)

Used an disk with a working Fedora 20/OpenBSD 5.4 install on it to do a clean 
install of OpenSUSE 13.1. Upon first boot the system hangs in the Intel AHCI 
screen. Normally a list of SATA ports and connected disks would appear but 
nothing happens. 

Eventually the simple solution for me was to use the second SATA controller 
this board has. So it may be an issue with how the Intel SATA BIOS detects 
the disks.

I don't want to waste more time on this so I'm posting some minimal info which 
may or may not useful:

The disk originally had its first partitions start at offset 63:
Disk: sd0   geometry: 9729/255/63 [156301488 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
*0: 83   5660  19  56 -   5723 208  53 [90929152: 1024000 ] Linux 
files*
 1: 8E   5723 208  54 -   9729  78  13 [91953152:64348160 ] Linux LVM
 2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 3: A6  0   1   1 -   5659 254  63 [  63:90927837 ] OpenBSD

Now, in the non-working situation, it starts at 2048 (first MB was reserved by 
the OpenSUSE installer).

Another disk that used to work has its first partition start at offset 64:
Disk: sd0   geometry: 7297/255/63 [117231408 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
 0: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 1: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
*3: A6  0   1   2 -   7297  36  27 [  64:   117228536 ] OpenBSD



Re: Problem booting OpenBSD-current AMD64

2014-04-29 Thread Martijn Rijkeboer
 Ubuntu (server) 14.04 supports UEFI so it's hard to tell what you are
 seeing here.

 Perhaps you could explain what happens when you try and boot OpenBSD?
 Let's start with 1. what medium are you using and 2. what does it
 display when it tries to boot?

When I power on the machine I see the GigaByte logo and at the bottom
the options to enter the bios, Q-flash and boot selection. As soon
as this is shown the system freezes. I can't enter the bios by pressing
Del or select the boot media by pressing F12 nor does OpenBSD start.

I've installed the system using the install55.iso onto the SATA
harddisk (WD Green 1TB).

Once I have installed OpenBSD onto the harddisk I can't get into
the bios or boot from a CDROM althrough the CDROM is specified as
the first boot device. To be able to enter the bios again I have
to remove the harddisk or whipe the first few megabytes of the harddisk
with dd on another computer.

Hope this helps.


Kind regards,


Martijn Rijkeboer



Re: Problem booting OpenBSD-current AMD64

2014-04-29 Thread Manolis Tzanidakis
On Mon (28/04/14), Martijn Rijkeboer wrote:
 I've installed OpenBSD-current AMD64 on my new computer without problems,
 but as soon as I reboot the system, it freezes in the post. The only way to
 go past the post is wiping the first few megabytes of the harddisk using
 another computer and than start again. After installing I can't even
 enter the bios setup.
 
 The system contains the following components:
 - Motherboard: Gigabyte GA-B85M-DS3H
 - CPU: Intel Core i3 4130T
 - Memory: Kingston ValueRAM 8 GB DDR3-1600 Kit
 
 I've configured the bios the following way:
 - Windows 8 Features: Other OS
 - Boot Mode Selection: Legacy Only
 - VGA Support: Auto (Enables legacy option)

Hello,
I'm not familiar with the particular motherboard, but I had success
with other Gigabyte models.

Find the option CSM Support in the bios and set it to Always, leave
Boot Mode Selection and Storage Boot Option Control to Legacy
Only, power down the system and then try booting OpenBSD.

If it works, could you pls try booting OpenBSD from PXE, with bios
option Other PCI Device ROM Priority set to Legacy OpROM ?



Re: Problem booting OpenBSD-current AMD64

2014-04-29 Thread Martijn Rijkeboer
 I've installed OpenBSD-current AMD64 on my new computer without problems,
 but as soon as I reboot the system, it freezes in the post. The only way to
 go past the post is wiping the first few megabytes of the harddisk using
 another computer and than start again. After installing I can't even
 enter the bios setup.
 
 The system contains the following components:
 - Motherboard: Gigabyte GA-B85M-DS3H
 - CPU: Intel Core i3 4130T
 - Memory: Kingston ValueRAM 8 GB DDR3-1600 Kit
 
 I've configured the bios the following way:
 - Windows 8 Features: Other OS
 - Boot Mode Selection: Legacy Only
 - VGA Support: Auto (Enables legacy option)

 I'm not familiar with the particular motherboard, but I had success
 with other Gigabyte models.

 Find the option CSM Support in the bios and set it to Always, leave
 Boot Mode Selection and Storage Boot Option Control to Legacy
 Only, power down the system and then try booting OpenBSD.

Unfortunately that doesn't work either. The strange thing is that if I remove
the harddisk and use an USB stick I can install OpenBSD on it and boot it
without problems.

When I place the harddisk back with only an OpenBSD fdisk partition (A6) I can
still boot from the USB stick, but once I place a disklabel on the harddisk I
can't boot anymore (the system freezes on reboot). Apparently the bios can't
handle the disklabel...

Kind regards,


Martijn Rijkeboer



Re: Problem booting OpenBSD-current AMD64

2014-04-29 Thread Karl Karlsson
I have exactly the same issues here on a Gigabyte GA-Z87MX-DH3, a bit
strange indeed. I have tried turn every knob there is in the bios menu.
:-)


2014-04-29 21:18 GMT+02:00 Martijn Rijkeboer mart...@bunix.org:

  I've installed OpenBSD-current AMD64 on my new computer without
 problems,
  but as soon as I reboot the system, it freezes in the post. The only
 way to
  go past the post is wiping the first few megabytes of the harddisk using
  another computer and than start again. After installing I can't even
  enter the bios setup.

  The system contains the following components:
  - Motherboard: Gigabyte GA-B85M-DS3H
  - CPU: Intel Core i3 4130T
  - Memory: Kingston ValueRAM 8 GB DDR3-1600 Kit

  I've configured the bios the following way:
  - Windows 8 Features: Other OS
  - Boot Mode Selection: Legacy Only
  - VGA Support: Auto (Enables legacy option)

  I'm not familiar with the particular motherboard, but I had success
  with other Gigabyte models.

  Find the option CSM Support in the bios and set it to Always, leave
  Boot Mode Selection and Storage Boot Option Control to Legacy
  Only, power down the system and then try booting OpenBSD.

 Unfortunately that doesn't work either. The strange thing is that if I
 remove
 the harddisk and use an USB stick I can install OpenBSD on it and boot it
 without problems.

 When I place the harddisk back with only an OpenBSD fdisk partition (A6) I
 can
 still boot from the USB stick, but once I place a disklabel on the
 harddisk I
 can't boot anymore (the system freezes on reboot). Apparently the bios
 can't
 handle the disklabel...

 Kind regards,


 Martijn Rijkeboer



Problem booting OpenBSD-current AMD64

2014-04-28 Thread Martijn Rijkeboer
I've installed OpenBSD-current AMD64 on my new computer without problems,
but as soon as I reboot the system, it freezes in the post. The only way to
go past the post is wiping the first few megabytes of the harddisk using
another computer and than start again. After installing I can't even
enter the bios setup.

The system contains the following components:
- Motherboard: Gigabyte GA-B85M-DS3H
- CPU: Intel Core i3 4130T
- Memory: Kingston ValueRAM 8 GB DDR3-1600 Kit

I've configured the bios the following way:
- Windows 8 Features: Other OS
- Boot Mode Selection: Legacy Only
- VGA Support: Auto (Enables legacy option)

The system is working since I can install and run Ubuntu 14.04 AMD64
without problems.

Any suggestions on how to fix this?

Kind regards,


Martijn Rijkeboer



Re: Problem booting OpenBSD-current AMD64

2014-04-28 Thread Chris Cappuccio
Martijn Rijkeboer [mart...@bunix.org] wrote:
 The system is working since I can install and run Ubuntu 14.04 AMD64
 without problems.
 
 Any suggestions on how to fix this?
 

Ubuntu (server) 14.04 supports UEFI so it's hard to tell what you are seeing 
here.

Perhaps you could explain what happens when you try and boot OpenBSD?

Let's start with 1. what medium are you using and 2. what does it display when 
it tries to boot?



Re: Problem booting OpenBSD-current AMD64

2014-04-28 Thread Tomas Bodzar
On Tue, Apr 29, 2014 at 12:49 AM, Martijn Rijkeboer mart...@bunix.orgwrote:

 I've installed OpenBSD-current AMD64 on my new computer without problems,
 but as soon as I reboot the system, it freezes in the post. The only way to
 go past the post is wiping the first few megabytes of the harddisk using
 another computer and than start again. After installing I can't even
 enter the bios setup.


Can you collect dmesg from installer and later on output or screenshot
during boot what it tries to do?



 The system contains the following components:
 - Motherboard: Gigabyte GA-B85M-DS3H
 - CPU: Intel Core i3 4130T
 - Memory: Kingston ValueRAM 8 GB DDR3-1600 Kit

 I've configured the bios the following way:
 - Windows 8 Features: Other OS
 - Boot Mode Selection: Legacy Only
 - VGA Support: Auto (Enables legacy option)

 The system is working since I can install and run Ubuntu 14.04 AMD64
 without problems.

 At least lspci -v output will be fine from some Linux



 Any suggestions on how to fix this?

 Kind regards,


 Martijn Rijkeboer