From owner-freebsd-sysinstall@freebsd.org Sun Jul 26 18:29:46 2015 Return-Path: Delivered-To: freebsd-sysinstall@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 351079AB9C0; Sun, 26 Jul 2015 18:29:46 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E55BD84E; Sun, 26 Jul 2015 18:29:45 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from 91-159-11-54.elisa-laajakaista.fi ([91.159.11.54] helo=[192.168.255.112]) by mail.kapsi.fi with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZJQg7-0000Hz-51; Sun, 26 Jul 2015 21:29:39 +0300 Subject: Re: 10.1-RELEASE UEFI RAID0 ASUS M5A97 R2.0 AMD64 PhenomIIx6 To: CeDeROM , "freebsd-hackers@freebsd.org" , freebsd-hardware@freebsd.org, freebsd-sysinstall@freebsd.org References: From: Arto Pekkanen X-Enigmail-Draft-Status: N1110 Message-ID: <55B5270E.5060306@kapsi.fi> Date: Sun, 26 Jul 2015 21:29:34 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Vpr0WEXnxjDNlCG3XDPM1u3641uFADKhG" X-SA-Exim-Connect-IP: 91.159.11.54 X-SA-Exim-Mail-From: isoa@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 18:29:46 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Vpr0WEXnxjDNlCG3XDPM1u3641uFADKhG Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 22.7.2015 10:57, CeDeROM wrote: > Hello there :-) >=20 > I have successfully installed and running FreeBSD 10.1-RELEASE AMD64 > on ASUS M5A97 R2.0 AMD64 PhenomIIx6 using RAID0 booting with UEFI. >=20 > UEFI and GPT seems replacement for BIOS+MBR in modern PC hardware. You > can forget about BIOS+MBR in case of UEFI which is tightly related to > hardware/firmware. >=20 > What is best about FreeBSD that I also could to the setup on older > ASUS M4A88TD/V EVO/USB3.0 which did NOT support UEFI at all. RAID0 was > possible to accomplish in 4TB size with no problem. GPT support was > already there in FreeBSD. I have installed MBR bootloader which then > switched to GPT support. This setup was not possible for Windows nor > Linux which were limited to see two 2TB devices, even on RAID. Hale to > the FreeBSD!! :-) Gratz :) Although, I think it would be possible with Linux but you would have to u= se a DIY distro like Gentoo that doesn't hide all the features behind a c= ascade of automagic system management UI-dialogs or scripts. That being s= aid, haven't done a customized Linux installation for years now, since Fr= eeBSD + documentation enable me to more easily create a customized FreeBS= D installation for spesific tasks. > However, FreeBSD Boot and Kernel seems to work somehow different on > UEFI. There is no loader menu, there is no OS prompt. There is problem > with Xorg-NVidia driver which hangs the boot process at loader (you > need to use kld_list in rc.conf instead), and then hangs the computer > somewhere on screen blank. All seems new but familiar :-) That must be because UEFI depends on kms.ko to get a framebuffer console.= In this case it would be the kms/VESA module. So probably there's some k= ind of race condition between the kms/VESA framebuffer and nVidia kmod. Have you already checked if there's any PR about this? If not, you could = make one. I am sure this could be fixed easily. > Also installing OS on UEFI is somewhat different. You need to create a > dedicated EFI partition where boot code is loaded (using dd as > presented on uefi wiki). BSDInstall creates such partition but its > only 512k in size, while boot1.efifat is 800k. I have created separate > partition that is 100M and it works fine as well. I think installed > could increase the boot partition size, and then dd the boot1.efifat > over there during install on UEFI platform..? Hmm, this is something you should definitely make a PR for, if you can. Y= our description makes it seem like the BSDInstall scripts are a bit behin= d the actual UEFI boot stack. > FreeBSD IS THE BEST!! THANK YOU!! :-) > Tomek >=20 Thank you for describing your use case. This is valuable information :) --Vpr0WEXnxjDNlCG3XDPM1u3641uFADKhG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (MingW32) iF4EAREIAAYFAlW1JxIACgkQTBivhqtJa27TwQD8D8etc34KPc9Bw3/xjh4rjoRb LUSYIw5k2Ygz54JZs+sA/Aq2QEQG8ECfR8WkBPCAVHM6cFB4hsB4vJBWlAZ640kz =TeJ1 -----END PGP SIGNATURE----- --Vpr0WEXnxjDNlCG3XDPM1u3641uFADKhG-- From owner-freebsd-sysinstall@freebsd.org Sun Jul 26 18:43:28 2015 Return-Path: Delivered-To: freebsd-sysinstall@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45C1A9ABDDA; Sun, 26 Jul 2015 18:43:28 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFEE0160; Sun, 26 Jul 2015 18:43:27 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by lbbzr7 with SMTP id zr7so41055983lbb.1; Sun, 26 Jul 2015 11:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=8tY4ABoTd+W6v3V035iXx7PRBE0Eff5rmHLqXtTlvt8=; b=i9NmFGdIn6XJRLSV7ifaWFrWvjNPnfNr6KlY8Ez2AqgOoxlQM75dTpPv7TaCejnXBf H4IGBx7aPsK4KvlKlDomKQEertgMmF6x4NlJBn3/qdfomBAZC8fR69cjmp4rlvhDXkls 9e01fZDAOZgYs2QOZ2lWZ2LYrLzt4mHU0ePXbwyAfQwltkyB8ZBY8nQXBh9V6nFVp6yk 83ZKg1Y8sUJ+Pxoy/hAO+paiHBYQbfqEdA3IX2BmMGfIs8kTMhkz5Mje65IFk1eusHHk fmzBnUOCGBhA3d1ncPv4oFW02ZSI7pgSlVYRfiBgoIXGd6E6hTrzFwGMm58ue5917H53 IPoA== MIME-Version: 1.0 X-Received: by 10.152.42.205 with SMTP id q13mr23141377lal.119.1437936205773; Sun, 26 Jul 2015 11:43:25 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.152.45.5 with HTTP; Sun, 26 Jul 2015 11:43:25 -0700 (PDT) In-Reply-To: <55B5270E.5060306@kapsi.fi> References: <55B5270E.5060306@kapsi.fi> Date: Sun, 26 Jul 2015 20:43:25 +0200 X-Google-Sender-Auth: oYkwRxeWWKgNmaadWQ5M9ee7pVQ Message-ID: Subject: Re: 10.1-RELEASE UEFI RAID0 ASUS M5A97 R2.0 AMD64 PhenomIIx6 From: CeDeROM To: Arto Pekkanen Cc: "freebsd-hackers@freebsd.org" , freebsd-hardware@freebsd.org, freebsd-sysinstall@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 18:43:28 -0000 On Sun, Jul 26, 2015 at 8:29 PM, Arto Pekkanen wrote: > Although, I think it would be possible with Linux but you would have to u= se a DIY distro like Gentoo that doesn't hide all the features behind a cas= cade of automagic system management UI-dialogs or scripts. That being said,= haven't done a customized Linux installation for years now, since FreeBSD = + documentation enable me to more easily create a customized FreeBSD instal= lation for spesific tasks. Well, I did not manage to install and boot Linux so far hahaha :-) Even Ubuntu install but does not boot! :-) > That must be because UEFI depends on kms.ko to get a framebuffer console.= In this case it would be the kms/VESA module. So probably there's some kin= d of race condition between the kms/VESA framebuffer and nVidia kmod. > Have you already checked if there's any PR about this? If not, you could = make one. I am sure this could be fixed easily. I have found some information over the net about buggy nvidia driver in UEFI mode. I have experienced repeatedly system crash when running Xorg+nVidia. I have made a PR :-) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201785 > Hmm, this is something you should definitely make a PR for, if you can. Y= our description makes it seem like the BSDInstall scripts are a bit behind = the actual UEFI boot stack. I will, thank you :-) > Thank you for describing your use case. This is valuable information :) You are most welcome :-) Thank you guys for great work! I really consider FreeBSD to be my favorite OS! Even after switching to OSX I came back to FreeBSD. Now I can safely work on OSX and FreeBSD and avoid Windows and Linux :-) :-) Best regards! :-) Tomek --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-sysinstall@freebsd.org Sun Jul 26 19:01:02 2015 Return-Path: Delivered-To: freebsd-sysinstall@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9E659AB3F5; Sun, 26 Jul 2015 19:01:02 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-la0-x231.google.com (mail-la0-x231.google.com [IPv6:2a00:1450:4010:c03::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4170BC65; Sun, 26 Jul 2015 19:01:02 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by lagw2 with SMTP id w2so37565782lag.3; Sun, 26 Jul 2015 12:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=xHo6WDFTW+8MOB8xwHyMz3nLhOSWjceqA3D9V44VzPc=; b=jpK7yXHYd5mCDIUOX5Bg7GTgi33lEjw+AJ5AHrOGfGGKWew6mr4FxIdI2yiwRq0zaN J6k3wUyBkmzbZBENIm5HDer6RLJsruPoPqLkOPSVE/7Oey4jdGBK6OphQxzkqy75TQZW VpiHIwtA3aCQsBkHZMZuLOTHN7a3S0xzLKcadZnugmhakUWAdA315n6M+gEtaRBxpBmU wvIdzjbGicvmkNS/vliPWpVys+G4juRXfMtVr6a1oU/Ab+1jYnxH4YETgY35zDdUGgHV u7hk00lhEcVY8i32JzgBSXSLKPqEZo6TT/mRioCp0pgfMDv9wNQgA6G84ODbwyUehBSE WZiA== MIME-Version: 1.0 X-Received: by 10.112.205.1 with SMTP id lc1mr23497693lbc.94.1437937260352; Sun, 26 Jul 2015 12:01:00 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.152.45.5 with HTTP; Sun, 26 Jul 2015 12:01:00 -0700 (PDT) In-Reply-To: <55B5270E.5060306@kapsi.fi> References: <55B5270E.5060306@kapsi.fi> Date: Sun, 26 Jul 2015 21:01:00 +0200 X-Google-Sender-Auth: 0_-V_YK93Wckrbpx_m3Gs6Nmdf0 Message-ID: Subject: Re: 10.1-RELEASE UEFI RAID0 ASUS M5A97 R2.0 AMD64 PhenomIIx6 From: CeDeROM To: Arto Pekkanen Cc: "freebsd-hackers@freebsd.org" , freebsd-hardware@freebsd.org, freebsd-sysinstall@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 19:01:02 -0000 On Sun, Jul 26, 2015 at 8:29 PM, Arto Pekkanen wrote: >> Also installing OS on UEFI is somewhat different. You need to create a >> dedicated EFI partition where boot code is loaded (using dd as >> presented on uefi wiki). BSDInstall creates such partition but its >> only 512k in size, while boot1.efifat is 800k. I have created separate >> partition that is 100M and it works fine as well. I think installed >> could increase the boot partition size, and then dd the boot1.efifat >> over there during install on UEFI platform..? > > Hmm, this is something you should definitely make a PR for, if you can. Your description makes it seem like the BSDInstall scripts are a bit behind the actual UEFI boot stack. Consider it done Sir! :-) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201898 -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info