OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: netranger on January 20, 2017, 11:11:36 am

Title: [WORKAROUND] 17.1.b - Can't boot on APU2 with USB3 slot
Post by: netranger on January 20, 2017, 11:11:36 am
Hello everyone!

I was not able to boot 16.7 on my brand new APU2 (https://forum.opnsense.org/index.php?topic=2327.0) so I thought I maybe just try the beta version.

Sorry I am a FreeBSD noob, do I have to type anything here?

Code: [Select]
SeaBIOS (version ?-20160307_153453-michael-desktop64)
XHCI init on dev 00:10.0: regs @ 0xfeb22000, 4 ports, 32

slots, 32 byte contexts
XHCI    extcap 0x1 @ feb22500
XHCI    protocol USB  3.00, 2 ports (offset 1), def 0
XHCI    protocol USB  2.00, 2 ports (offset 3), def 10
XHCI    extcap 0xa @ feb22540
Found 2 serial ports
ATA controller 1 at 4010/4020/0 (irq 0 dev 88)
EHCI init on dev 00:13.0 (regs=0xfeb25420)
ATA controller 2 at 4018/4024/0 (irq 0 dev 88)
Searching bootorder for: /pci@i0cf8/*@14,7
Searching bootorder for: /rom@img/memtest
Searching bootorder for: /rom@img/setup
XHCI port #4: 0x00200e03, powered, enabled, pls 0, speed

3 [High]
Searching bootorder for:

/pci@i0cf8/usb@10/storage@4/*@0/*@0,0
Searching bootorder for: /pci@i0cf8/usb@10/usb-*@4
USB MSC vendor='USB' product='DISK' rev='8.07' type=0

removable=1
USB MSC blksize=512 sectors=1978368
Initialized USB HUB (0 ports used)
All threads complete.
Scan for option roms
PCengines Press F10 key now for boot menu:
Select boot device:

1. USB MSC Drive USB DISK 8.07
2. Payload [memtest]
3. Payload [setup]

Searching bootorder for: HALT
drive 0x000f2e90: PCHS=0/0/0 translation=lba

LCHS=981/32/63 s=1978368
Space available for UMB: c1000-ef000, f0000-f2e90
Returned 258048 bytes of ZoneHigh
e820 map has 7 items:
  0: 0000000000000000 - 000000000009f800 = 1 RAM
  1: 000000000009f800 - 00000000000a0000 = 2

RESERVED
  2: 00000000000f0000 - 0000000000100000 = 2

RESERVED
  3: 0000000000100000 - 00000000dffad000 = 1 RAM
  4: 00000000dffad000 - 00000000e0000000 = 2 RESERVED
  5: 00000000f8000000 - 00000000fc000000 = 2 RESERVED
  6: 0000000100000000 - 000000011f000000 = 1 RAM
enter handle_19:
  NULL
Booting from Hard Disk...
Booting from 0000:7c00
No /boot/loader

FreeBSD/x86 boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot:
No /boot/kernel/kernel

FreeBSD/x86 boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot:

Cheers
Title: Re: 17.1.b - Can't boot on APU2 with USB3 slot
Post by: netranger on January 21, 2017, 06:49:46 pm
not sure what it was but now I am finally able to install with these settings:

Using an old USB2 cable from an old PC, plugged it on the USB2 slot inside the case to be sure USB3 won't get in the way, plus using OPNsense 17.1.rc1

Now it's up and running and I'm in love <3
Title: Re: 17.1.b - Can't boot on APU2 with USB3 slot
Post by: franco on January 22, 2017, 05:02:35 pm
Hi netranger,

Thanks for posting your workaround. Highly appreciated.

USB3 is a continuing adventure for all of us. ;(


Cheers,
Franco
Title: Re: [WORKAROUND] 17.1.b - Can't boot on APU2 with USB3 slot
Post by: deviantintegral on January 30, 2017, 03:35:35 am
I found using a USB2 stick worked fine even in the USB3 slot. A good workaround for anyone who doesn't have the right cable to plug into the USB2 header.