From owner-freebsd-usb@FreeBSD.ORG Sat Sep 27 07:10:01 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 96356641 for ; Sat, 27 Sep 2014 07:10:01 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5055786D for ; Sat, 27 Sep 2014 07:10:00 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 8C6CE1FE022; Sat, 27 Sep 2014 09:09:58 +0200 (CEST) Message-ID: <542662BE.5050908@selasky.org> Date: Sat, 27 Sep 2014 09:09:50 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: huanghwh@gmail.com Subject: Re: xhci problem on UEFI boot MacBookPro 11,3 References: <541FBD6F.2080507@selasky.org> <541FDDF0.90502@selasky.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2014 07:10:01 -0000 On 09/27/14 00:59, Huang Wen Hui wrote: > Just for Ref, xhci works in UEFI mode of Fedora 20: > http://sw.gddsn.org.cn/freebsd/linux-dmesg.txt > http://sw.gddsn.org.cn/freebsd/linux-lspci.txt > Hi, The Root ACPI descriptor has wrong address? FreeBSD UEFI: kernel: ACPI: RSDP 0xfe020 00024 (v02 APPLE ) FreeBSD BIOS: kernel: ACPI: RSDP 0x7ad8e014 00024 (v02 APPLE ) Linux UEFI: mbp kernel: ACPI: RSDP 0x7ad8e014 00024 (v02 APPLE ) static int elf64_exec(struct preloaded_file *fp) { struct file_metadata *md; Elf_Ehdr *ehdr; vm_offset_t modulep, kernend, trampcode, trampstack; int err, i; ACPI_TABLE_RSDP *rsdp; char buf[24]; int revision; EFI_STATUS status; rsdp = efi_get_table(&acpi20_guid); if (rsdp == NULL) { rsdp = efi_get_table(&acpi_guid); } Try swapping order of efi_get_table() ? rsdp = efi_get_table(&acpi_guid); if (rsdp == NULL) { rsdp = efi_get_table(&acpi20_guid); } In "sys/boot/amd64/efi/elf64_freebsd.c". --HPS