Hello, I am battling these days with installing a nanobsd image from FreeBSD 11.0 on my APU2 boards. I write here hoping that perhaps someone here already got into these troubles and figured out what's going on.
First, the FreeBSD kernel was stopping immediately with this message:
Panic: running without device atpic requires a local APIC
It would appear that the APU2 board do not expose APIC capabilities... Which is weird for an amd64 arch, but okay. I added the line below to my kernel, and the boot continues:
But further down it crashes, this time on the igb initialization, as so:
igb0: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port
0x1000-0x101f mem 0xfe60000 0-0xfe61ffff,0xfe620000-0xfe623fff at device
0.0 on pci1 igb0: Using a Legacy interrupt igb0: Ethernet address:
00:0d:b9:44:3f:b0 igb0: Unable to allocate bus resource: interrupt Fatal
trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault
virtual address = 0x3b0 fault code = supervisor read data,
page not present instruction pointer = 0x20:0xffffffff805dc06d stack
pointer = 0x28:0xffffffff810193e0 frame pointer =
0x28:0xffffffff81019430 code segment = base 0x0, limit 0xfffff,
processor eflags = interrupt enabled, resume, IOPL = 0 current
process = 0 (swapper)
trap number = 12 panic: page fault cpuid = 0 Uptime: 1s
Automatic reboot in 15 seconds - press a key on the console to abort
It seems vaguely related to the APIC problem, but perhaps I'm misunderstanding things. Any idea what's going on?
For sport, I removed igb support from my kernel, and then the boot continues... but fails when it comes to mounting rootfs:
Trying to mount root from ufs:/dev/ad0s1a [ro]...
mountroot: waiting for device /dev/ad0s1a...
Mounting from ufs:/dev/ad0s1a failed with error 19.
Manual root filesystem specification:
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.
zfs:tank cd9660:/dev/cd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
? List valid disk boot devices . Yield 1
second (for background tasks)
<empty line> Abort manual input
List of GEOM managed disk devices:
...and this one would hint that the disk controller of the APU2 is not detected. I boot from the internal SSD attached to the mSATA port, so I'd assume it should be seen like any normal ATA bus, but apparently not...