Re: Freeze during booting of ASUS F2A85-M motherboard with Coreboot

2016-09-28 Thread Piotr Kubaj
Problem is, my serial console cable (USB<->RS232, because I don't have
RS232 port in my computers), seems to be broken, so I'm only attaching
verbose boot log from stock UEFI.

I have also found a great website (
https://review.coreboot.org/cgit/board-status.git/tree/ ) which seems to
contain working Coreboot configs. I am going to try it tomorrow.

On 09/27/16 10:45 PM, John Baldwin wrote:
> On Tuesday, September 27, 2016 10:31:24 PM Piotr Kubaj wrote:
>> No, I get only messages about allocating window.
>>
>> On 09/26/16 22:48, John Baldwin wrote:
>>> On Wednesday, September 21, 2016 11:19:05 AM Piotr Kubaj wrote:
 I'm trying to boot the ASUS F2A85-M board with flashed Coreboot 4.4 and
 SeaBIOS 1.9.1 as a payload.

 This board works nicely with stock UEFI, it can also boot Slackware 14.2
 from Coreboot with SeaBIOS without any issues.

 But it seems to have problems with FreeBSD (I've tried 11.0-RC3 and
 later 12.0-CURRENT). That's why I'm posting it here, instead of Coreboot
 mailing lists.

 Booting freezes after printing:
 pcib1: failed to allocate initial I/O port window: 0x1000-0x1fff
>>>
>>> Do you get this message in a verbose dmesg with the stock UEFI?
>>>
> 
> Are you able to capture a full verbose dmesg via a serial console or the like
> that would really help as it may be that we are seeing a resource conflict
> with the way Coreboot sets up the PCI bridge windows and then disabling
> an I/O window that happens to break something.  A verbose dmesg from the
> stock UEFI would also be useful, though it is less important.
> 
Table 'FACP' at 0xdd765e60
[1] Table 'APIC' at 0xdd765f70
[1] APIC: Found table at 0xdd765f70
[1] APIC: Using the MADT enumerator.
[1] MADT: Found CPU APIC ID 16 ACPI ID 1: enabled
[1] SMP: Added CPU 16 (AP)
[1] MADT: Found CPU APIC ID 17 ACPI ID 2: enabled
[1] SMP: Added CPU 17 (AP)
[1] MADT: Found CPU APIC ID 18 ACPI ID 3: enabled
[1] SMP: Added CPU 18 (AP)
[1] MADT: Found CPU APIC ID 19 ACPI ID 4: enabled
[1] SMP: Added CPU 19 (AP)
[1] Copyright (c) 2013-2016 The HardenedBSD Project.
[1] Copyright (c) 1992-2016 The FreeBSD Project.
[1] Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
[1] The Regents of the University of California. All rights reserved.
[1] FreeBSD is a registered trademark of The FreeBSD Foundation.
[1] FreeBSD 11.0-BETA4-HBSD #10 887e989(hardened/11-stable/master-libressl): 
Fri Aug 12 18:02:38 CEST 2016
[1] root@DESKTOP1:/usr/obj/usr/src/sys/DESKTOP1 amd64
[1] FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 
3.8.0)
[1] Table 'FACP' at 0xdd765e60
[1] Table 'APIC' at 0xdd765f70
[1] Table 'FPDT' at 0xdd765fe8
[1] Table 'MCFG' at 0xdd766030
[1] Table 'SSDT' at 0xdd766ee8
[1] Table 'HPET' at 0xdd7660c8
[1] Table 'IVRS' at 0xdd766100
[1] Table 'BGRT' at 0xdd766170
[1] Table 'SSDT' at 0xdd7661a8
[1] ACPI: No SRAT table found
[1] PPIM 0: PA=0xf900, VA=0x8221, size=0x30, mode=0x1
[1] VT(efifb): resolution 1024x768
[1] HBSD: initialize and check HardenedBSD features (version 46).
[1] [HBSD ASLR] status: opt-out
[1] [HBSD ASLR] mmap: 30 bit
[1] [HBSD ASLR] exec base: 30 bit
[1] [HBSD ASLR] stack: 42 bit
[1] [HBSD ASLR] vdso: 28 bit
[1] [HBSD ASLR] map32bit: 18 bit
[1] [HBSD ASLR] disallow MAP_32BIT mode mmap: opt-out
[1] [HBSD HARDENING] procfs hardening: enabled
[1] [HBSD HARDENING] randomize pids: enabled
[1] [HBSD HARDENING] unset insecure init variables: enabled
[1] [HBSD ASLR (compat)] status: opt-out
[1] [HBSD ASLR (compat)] mmap: 14 bit
[1] [HBSD ASLR (compat)] exec base: 14 bit
[1] [HBSD ASLR (compat)] stack: 14 bit
[1] [HBSD ASLR (compat)] vdso: 8 bit
[1] [HBSD LOG] logging to system: enabled
[1] [HBSD LOG] logging to user: disabled
[1] [HBSD PAGEEXEC] status: opt-out
[1] [HBSD MPROTECT] status: opt-out
[1] [HBSD SEGVGUARD] status: opt-in
[1] [HBSD SEGVGUARD] expiry: 120 sec
[1] [HBSD SEGVGUARD] suspension: 600 sec
[1] [HBSD SEGVGUARD] maxcrahes: 5
[1] Preloaded elf kernel "/boot/kernel/kernel" at 0x820b7000.
[1] Preloaded /boot/entropy "/boot/entropy" at 0x820b9068.
[1] Preloaded elf obj module "/boot/kernel/linprocfs.ko" at 0x820b90b8.
[1] Preloaded elf obj module "/boot/kernel/linux_common.ko" at 
0x820b95e8.
[1] Preloaded elf obj module "/boot/kernel/zfs.ko" at 0x820b9c98.
[1] Preloaded elf obj module "/boot/kernel/opensolaris.ko" at 
0x820ba300.
[1] Preloaded ada0p4:geli_keyfile0 "/boot/geli/ada2p4.key" at 
0x820ba8b0.
[1] Preloaded elf obj module "/boot/modules/nvidia.ko" at 0x820ba910.
[1] Preloaded elf obj module "/boot/kernel/linux.ko" at 0x820baf38.
[1] Preloaded elf obj module "/boot/modules/vboxdrv.ko" at 0x820bb620.
[1] Calibrating TSC clock ... TSC clock: 3951498125 Hz
[1] CPU: AMD Athlon(tm) X4 750K Quad Core Processor  (3951.50-MHz K8-class 
CPU)
[1]   Origin="AuthenticAMD"  Id=0x610f01  Family=0x15  Model=0x10  Stepping=1
[1]   

Re: Freeze during booting of ASUS F2A85-M motherboard with Coreboot

2016-09-27 Thread John Baldwin
On Tuesday, September 27, 2016 10:31:24 PM Piotr Kubaj wrote:
> No, I get only messages about allocating window.
> 
> On 09/26/16 22:48, John Baldwin wrote:
> > On Wednesday, September 21, 2016 11:19:05 AM Piotr Kubaj wrote:
> >> I'm trying to boot the ASUS F2A85-M board with flashed Coreboot 4.4 and
> >> SeaBIOS 1.9.1 as a payload.
> >>
> >> This board works nicely with stock UEFI, it can also boot Slackware 14.2
> >> from Coreboot with SeaBIOS without any issues.
> >>
> >> But it seems to have problems with FreeBSD (I've tried 11.0-RC3 and
> >> later 12.0-CURRENT). That's why I'm posting it here, instead of Coreboot
> >> mailing lists.
> >>
> >> Booting freezes after printing:
> >> pcib1: failed to allocate initial I/O port window: 0x1000-0x1fff
> >
> > Do you get this message in a verbose dmesg with the stock UEFI?
> >

Are you able to capture a full verbose dmesg via a serial console or the like
that would really help as it may be that we are seeing a resource conflict
with the way Coreboot sets up the PCI bridge windows and then disabling
an I/O window that happens to break something.  A verbose dmesg from the
stock UEFI would also be useful, though it is less important.

-- 
John Baldwin
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Freeze during booting of ASUS F2A85-M motherboard with Coreboot

2016-09-27 Thread Piotr Kubaj

No, I get only messages about allocating window.

On 09/26/16 22:48, John Baldwin wrote:

On Wednesday, September 21, 2016 11:19:05 AM Piotr Kubaj wrote:

I'm trying to boot the ASUS F2A85-M board with flashed Coreboot 4.4 and
SeaBIOS 1.9.1 as a payload.

This board works nicely with stock UEFI, it can also boot Slackware 14.2
from Coreboot with SeaBIOS without any issues.

But it seems to have problems with FreeBSD (I've tried 11.0-RC3 and
later 12.0-CURRENT). That's why I'm posting it here, instead of Coreboot
mailing lists.

Booting freezes after printing:
pcib1: failed to allocate initial I/O port window: 0x1000-0x1fff


Do you get this message in a verbose dmesg with the stock UEFI?


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Freeze during booting of ASUS F2A85-M motherboard with Coreboot

2016-09-26 Thread John Baldwin
On Wednesday, September 21, 2016 11:19:05 AM Piotr Kubaj wrote:
> I'm trying to boot the ASUS F2A85-M board with flashed Coreboot 4.4 and
> SeaBIOS 1.9.1 as a payload.
> 
> This board works nicely with stock UEFI, it can also boot Slackware 14.2
> from Coreboot with SeaBIOS without any issues.
> 
> But it seems to have problems with FreeBSD (I've tried 11.0-RC3 and
> later 12.0-CURRENT). That's why I'm posting it here, instead of Coreboot
> mailing lists.
> 
> Booting freezes after printing:
> pcib1: failed to allocate initial I/O port window: 0x1000-0x1fff

Do you get this message in a verbose dmesg with the stock UEFI?

-- 
John Baldwin
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Freeze during booting of ASUS F2A85-M motherboard with Coreboot

2016-09-21 Thread Piotr Kubaj
I'm trying to boot the ASUS F2A85-M board with flashed Coreboot 4.4 and
SeaBIOS 1.9.1 as a payload.

This board works nicely with stock UEFI, it can also boot Slackware 14.2
from Coreboot with SeaBIOS without any issues.

But it seems to have problems with FreeBSD (I've tried 11.0-RC3 and
later 12.0-CURRENT). That's why I'm posting it here, instead of Coreboot
mailing lists.

Booting freezes after printing:
pcib1: failed to allocate initial I/O port window: 0x1000-0x1fff

After that, I've waited for about 30 minutes. Nothing happened, altough
my DVD drive was spinning for a while, which may indicate that the OS
was actually booting, but without printing anything (I was booting from
DVD).

I use external NVIDIA GPU (GF GT650TI), which may matter.

Any ideas what I can do with it?

My Coreboot config is at:
http://cxg.de/_98b2f4.htm

SeaBIOS config:
http://cxg.de/_020d57.htm



signature.asc
Description: OpenPGP digital signature