Date: Sat, 04 Apr 2015 20:00:01 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199165] UEFI issues Message-ID: <bug-199165-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199165 Bug ID: 199165 Summary: UEFI issues Product: Base System Version: 10.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: bstirling2307@gmail.com https://forums.freebsd.org/threads/uefi-boot-fail.51126/#post-286422 Howdy All, I have been beating my head against the brick wall that is this issue for the last few days. I have tried everything I can think of and everything I have found on this forum and others. I will explain my goal and what I have attempted. Also this is the first time I am trying to install FreeBSD on an UEFI system Goal: Dual boot FreeBSD 10.1 and Windows 8.1 (required for work) Boot manager: don't really care rEFInd, Grub2, ect I am installing FreeBSD 10.1 using the FreeBSD-10.1-RELEASE-amd64-uefi-memstick.img . I am installing this on Asus X200MA-RCLT08 First installation attempt: windows 8.1 working boots normally Disabled secure boot installed from usb and used UFS (GTP) partition talble is: 100MB EFI -(windows UEFI) 900MB Recovery 128MB MS- Reserverd 186GB MS-basic-data 800KB EFI (FreeBSD) 144GB FreeBSD-UFS / 4GB FreeBSD-swap Issue: FreeBSD will not freaking boot!!! UEFI dose not see the EFI partition created during installation. It will boot if the install media is in the USB port it was in during installation and that is selected from the UEFI boot menu. (note if it is not in the USB port used during install, then the installation menu is booted) Attempted resolutions: I followed this guide http://ximalas.info/2015/03/19/uefi-gpt-windows-10-freebsd-10-and-refind/ when I select freeBSD from the menu I get the attached error Code: Fatal trap 1 with interrupts dissabled Fatal trap 1: privileged instruction fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffff80400000 stack pointer = 0x28:0xffffff814b5a70 frame pointer = 0x28:0x0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 0 () trap number = 1 panic: privileged instruction fault cpuid = 0 KDB: stack backtrace: #0 0xffffffff80963000 at ??+0 #1 0xffffffff80928125 at ??+0 #2 0xffffffff80d24f1f at ??+0 #3 0xffffffff80d24b7c at ??+0 #4 0xffffffff80d0a782 at ??+0 Uptime: 1s I then attempted to skip the 3rd party boot loader and mounted the windows ESP again and copied the /boot/boot1.efi to /esp/efi/fbsd/bootx64.efi I then in the system UEFI created boot entry pointing at /efi/fbsd/bootx64.efi booted the system to the new entry and Code: Fatal trap 1 with interrupts dissabled Fatal trap 1: privileged instruction fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffff80400000 stack pointer = 0x28:0xffffff814b5a70 frame pointer = 0x28:0x0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 0 () trap number = 1 panic: privileged instruction fault cpuid = 0 KDB: stack backtrace: #0 0xffffffff80963000 at ??+0 #1 0xffffffff80928125 at ??+0 #2 0xffffffff80d24f1f at ??+0 #3 0xffffffff80d24b7c at ??+0 #4 0xffffffff80d0a782 at ??+0 Uptime: 1s Again!!! Second installation attempt: Disabled secure boot installed from usb and used UFS (GTP) partition talble is: 800KB EFI (FreeBSD) 144GB FreeBSD-UFS / 4GB FreeBSD-swap UEFI Sees the EFI Partition now: YAY (im hopeful; who needs wendooz anyway) I boot the system and ... wait for it.... Code: Fatal trap 1 with interrupts dissabled Fatal trap 1: privileged instruction fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffff80400000 stack pointer = 0x28:0xffffff814b5a70 frame pointer = 0x28:0x0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 0 () trap number = 1 panic: privileged instruction fault cpuid = 0 KDB: stack backtrace: #0 0xffffffff80963000 at ??+0 #1 0xffffffff80928125 at ??+0 #2 0xffffffff80d24f1f at ??+0 #3 0xffffffff80d24b7c at ??+0 #4 0xffffffff80d0a782 at ??+0 Uptime: 1s FML -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199165-8>
