OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • 15.1.6.1 not booting on Soekris net6501
« previous next »
  • Print
Pages: 1 [2] 3

Author Topic: 15.1.6.1 not booting on Soekris net6501  (Read 22063 times)

weust

  • Hero Member
  • *****
  • Posts: 640
  • Karma: 57
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #15 on: February 24, 2015, 08:38:22 pm »
Setting the boot.conig to 19200 didn't help. Still reboots as soon as I try to boot F1.
A serial speed setting was not present in the config.xml. Only  an enableserial line.
Quote
                <ssh>
                        <sshdkeyonly/>
                </ssh>
        <enableserial/></system>
        <interfaces>
                <wan>
                        <enable/>

I first tried the pfSense boot to do it all from there, but somehow couldn't mount the OPNsense root partition.
But I did saw in the config.xml of pfSense the serial settings, and the speed value.

One more thing, the config..xml start with pfsense :-)
A thing for the cleanup someday no doubt.
Quote
<?xml version="1.0"?>
<pfsense>
        <version>9.9</version>
        <lastchange></lastchange>
        <theme>opnsense</theme>
        <sysctl>
« Last Edit: February 24, 2015, 08:40:41 pm by weust »
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

jstrebel

  • Full Member
  • ***
  • Posts: 188
  • Karma: 23
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #16 on: February 25, 2015, 09:43:59 am »
Hi,
just to clarify. I set the Console Speed in the 6501 to 115200 and installed the 32bit image from USB to the internal mSATA. I did not make any changes on the OPNsense settings. This produces the screen output above.
Jakob
Logged

exocet

  • Newbie
  • *
  • Posts: 4
  • Karma: 1
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #17 on: March 24, 2015, 09:46:38 pm »
I too can confirm that opnsense (and pfsense 2.2) will not boot on the Soekris 6501.

FreeBSD 10.1-STABLE will, however, install and boot just fine.

My behavior is exactly as jstrebel describes.  It reboots immediately after the boot loader.

To be clear, you never get to Stage One of the FreeBSD boot process.
https://www.freebsd.org/doc/handbook/boot-introduction.html

Logged

weust

  • Hero Member
  • *****
  • Posts: 640
  • Karma: 57
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #18 on: March 24, 2015, 09:55:26 pm »
My net6501-30 is with Jos and Ad right now. They are having a look at it.
I did have pfSense booting just fine. The 2.2 release in fact. Never tried the 2.2.1 though.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10032
  • Karma: 756
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #19 on: March 25, 2015, 08:44:28 am »
Quote from: exocet on March 24, 2015, 09:46:38 pm
FreeBSD 10.1-STABLE will, however, install and boot just fine.

Is this FreeBSD 10-STABLE (if so, which date or commit) or FreeBSD 10.1-RELEASE? They are different.
Logged

exocet

  • Newbie
  • *
  • Posts: 4
  • Karma: 1
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #20 on: March 26, 2015, 05:01:27 am »
Quote from: franco on March 25, 2015, 08:44:28 am
Quote from: exocet on March 24, 2015, 09:46:38 pm
FreeBSD 10.1-STABLE will, however, install and boot just fine.

Is this FreeBSD 10-STABLE (if so, which date or commit) or FreeBSD 10.1-RELEASE? They are different.

FreeBSD 10-STABLE
FreeBSD-10.1-STABLE-i386-20150316-r280048-memstick.img
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10032
  • Karma: 756
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #21 on: March 26, 2015, 08:36:45 am »
Thanks, that will certainly help in tracking the issue down. :)
Logged

exocet

  • Newbie
  • *
  • Posts: 4
  • Karma: 1
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #22 on: April 19, 2015, 05:42:49 am »
Any update on this?

Any additional information I can provide?

I'd really, really love to run OPNsense... running vanilla FreeBSD isn't nearly as clean... 

On a side note, I've tried to build an OPNSense image off of a functional FreeBSD 10.1-STABLE install, and the build process crashes (and causes a reboot.)
Logged

weust

  • Hero Member
  • *****
  • Posts: 640
  • Karma: 57
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #23 on: April 19, 2015, 10:54:14 am »
Jos has my Soekris at his place right now to work on since a couple of weeks.
But I don't know the status on it.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

jschellevis

  • Administrator
  • Full Member
  • *****
  • Posts: 153
  • Karma: 37
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #24 on: May 01, 2015, 02:56:34 pm »
Sorry.. for the silence guys.. I am still looking into this but last 2 weeks I have been busy with the proxy implementation. Still hope to fix it soon. I have some ideas on what is happening and why it does not work... but it is just a theory.. bear with me a little longer..
Logged

exocet

  • Newbie
  • *
  • Posts: 4
  • Karma: 1
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #25 on: May 05, 2015, 06:39:46 am »
I'm happy to be a guinea pig to run dev code through the hoops on my net6501.
Logged

jschellevis

  • Administrator
  • Full Member
  • *****
  • Posts: 153
  • Karma: 37
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #26 on: May 29, 2015, 03:32:28 pm »
Last week I ran some more test..
The issue seems to be a BIOS issue having trouble to load the bootloader from disk if it is not located in the first part of the disk.

Installing  Freebsd 10.1 works fine and boots normally, but that uses GPT and placed the bootloader first on disk.
It may be possible to install FreeBSD first and then copy the opnsense files back to disk...

Alternative it should be possible to change the repo to opsense and reinstall packages and update base system..
Not sure what needs to be set for this to work but if anyone wants to try.. then these are my best ideas for a workaround.

Hope this information will help others to get OPNsense running on the Net6501.



Logged

weust

  • Hero Member
  • *****
  • Posts: 640
  • Karma: 57
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #27 on: May 29, 2015, 03:52:51 pm »
How, and why,  is OPNsense doing this differently then?
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10032
  • Karma: 756
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #28 on: May 29, 2015, 04:10:08 pm »
The installer uses a single partition that is too big for older BIOSes to comprehend. The backwards-compatible approach is to add a tiny boot slice with minimal loader code at the beginning of the disk (512 kb?). This needs to be weaved into the installer in a non-destructive way.
Logged

weust

  • Hero Member
  • *****
  • Posts: 640
  • Karma: 57
    • View Profile
Re: 15.1.6.1 not booting on Soekris net6501
« Reply #29 on: May 29, 2015, 04:26:33 pm »
But if going back to a more basic FreeBSD with OPNsense on top of that, wouldn't this be part of it?
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

  • Print
Pages: 1 [2] 3
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • 15.1.6.1 not booting on Soekris net6501
 

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