OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Cannot complete boot from USB key
« previous next »
  • Print
Pages: [1]

Author Topic: Cannot complete boot from USB key  (Read 10903 times)

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Cannot complete boot from USB key
« on: November 15, 2016, 12:24:27 pm »
Hi,

I'm trying to install OPNsense from a USB key on an Atom-based computer (x64).

The initial bootloader works as expected, kernel boot messages are printed on the HDMI console, but the kernel (I guess) finally deadlocks without a clear reason after:

"ppc0: cannot reserve I/O port range".

I've edited the bootloader configuration file to disable the PPC, but it does not really go any further.
Booting in single user, verbose mode, the last traces are:

...
atkbd0: [GIANT-LOCKED]
psm0: unable to allocate IRQ
pcib0: allocate type 4 (0x3f0-0x3f5) for rid 0 of fdc0
pcib0: allocate type 4 (0x3f7-0x3f7) for rid 1 of fdc0
fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
ppc0: not probed (disabled)
pcib0: allocated type 4 (0x2f8-0x2ff) for rid 0 or uart1

There is no other message, and I do not know how to investigate from this point.

The same USB key boots fine within VmWare Fusion 8.5.1

How can I debug this issue?

Thanks.
Logged

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: Cannot complete boot from USB key
« Reply #1 on: November 15, 2016, 01:46:59 pm »
Very same issue with FreeBSD 11.0, not OPNsense related then...
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13692
  • Karma: 1176
    • View Profile
Re: Cannot complete boot from USB key
« Reply #2 on: November 15, 2016, 05:16:11 pm »
Hi elbot,

What device is this? Try skimming for it below, too.

Maybe there is a clue/patch we can pick up that isn't in 11.0 at the moment.

https://bugs.freebsd.org/bugzilla/


Cheers,
Franco
Logged

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: Cannot complete boot from USB key
« Reply #3 on: November 20, 2016, 01:04:52 pm »
Actually, this is a known FreeBSD issue with Atom Cherryview

https://forums.freebsd.org/threads/57321/
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207910

I'll give this fix a try next week.
« Last Edit: November 20, 2016, 01:08:16 pm by eblot »
Logged

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: Cannot complete boot from USB key
« Reply #4 on: November 21, 2016, 04:35:57 pm »
Adding hint.uart.1.disabled="1" to /boot/device.hints does the trick: OPNsense installer successfully starts up :-)

Unfortunately, neither the internal eMMC (nor the external SD card) are detected as installation disk candidate, so I guess I need another USB key to install OPNsense.

It would be nice that FreeBSD detects the internal eMMC...
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13692
  • Karma: 1176
    • View Profile
Re: Cannot complete boot from USB key
« Reply #5 on: November 21, 2016, 05:25:21 pm »
You could use the Nano from the USB stick in the meantime. It should work, no install needed?
Logged

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: Cannot complete boot from USB key
« Reply #6 on: March 10, 2017, 10:05:05 pm »
Quote from: eblot on November 21, 2016, 04:35:57 pm
It would be nice that FreeBSD detects the internal eMMC...
The good news is that FreeBSD 12 does detects and installs on the eMCC (once UART1 is disabled, this issue still pops up).

I'm looking forward for a beta build of OPNSense to install on FreeBSD 12 (or a pre-build based on FreeBSD 12) :P
Logged

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: Cannot complete boot from USB key
« Reply #7 on: March 10, 2017, 11:21:12 pm »
Quote from: franco on November 21, 2016, 05:25:21 pm
You could use the Nano from the USB stick in the meantime. It should work, no install needed?
I've been unable to boot any of the 17.1 image from USB key, the UEFI boot does not even list the USB key as a valid bootable device.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Cannot complete boot from USB key
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2