EFI and Linux: the future is here, and it's awful - Matthew Garrett

  Рет қаралды 75,500

Linux.conf.au 2012 -- Ballarat, Australia

Linux.conf.au 2012 -- Ballarat, Australia

12 жыл бұрын

The PC BIOS is a dreadful thing. Poorly standardised and often poorly implemented, it has one job to do and frequently does it badly. The kernel and bootloaders are obliged to devote extensive sections of code to working around issues present in the BIOS, code and time that could have been better spent elsewhere.
Everyone agrees that the PC BIOS is awful.

Пікірлер: 64
@spikeyseth
@spikeyseth 11 жыл бұрын
I knew some of those words
@randyBatterydown
@randyBatterydown 11 жыл бұрын
Generally good work - yay! Thanks. Suggestion: While most of us do genuinely appreciate a few humorously snarky asides and a bit of smart-ass Brit-Wit commentary in these kinds of presentations, please consider the possibility that compulsively tossing it in every 5 seconds might be, um, a bit much. Also, stopping to blow your nose occasionally would be *much* less distracting than the constant sniffling... But, again - nice work.
@vampirerabbit904
@vampirerabbit904 11 жыл бұрын
cheers I'm learning a lot
@RobinJ
@RobinJ 10 жыл бұрын
So basically UEFI solves a problem and creates so many other problems that the whole solution is rendered useless anyway :D
@smwikipediasmwikipedia5762
@smwikipediasmwikipedia5762 7 жыл бұрын
But it does feed a bunch of people.
@EricSmith42
@EricSmith42 12 жыл бұрын
And how long until Intel and AMD processors refuse to execute firmware unless that firmware is signed? That's the next logical step for this "secure boot" stuff. After all, we can't have people hacking or replacing their BIOS to thwart secure boot.
@eldersprig
@eldersprig 12 жыл бұрын
6:57 this was done in April. In kernel >=3.3 these is a new option CONFIG_EFI_STUB which allows launching the kernel from the UEFI Shell itself, thus removing the need for a separate boot-loader.
@oojimmyflip
@oojimmyflip 10 жыл бұрын
unbuntu has no problem loading with uefi enabled but some operating systems require that you switch to legacy mode in the bis setup menu before they will boot.
@p7272
@p7272 Жыл бұрын
I just recently used EFI to dual boot Win11 and openSUSE. I'm in the Windows Insider program and Win11 updates often. I noticed that the Win11 update process changes my boot driver order. I have a M.2 running openSUSE and W11 is on a 2.5 SATA drive. Any way to prevent this from happening?
@Garegin
@Garegin 12 жыл бұрын
this guy is the hope for the entire linux mac community. how do I donate to him so that I can get grub to work on a mac properly?
@aliancemd
@aliancemd 12 жыл бұрын
Microsoft has a very good history of trying to stop Linux progressing. He says that they have their point, but I think that there is a pretty big probability that they use secure boot mostly to make sure they dominate the market(cause from stats Linux and Mac grow faster than Windows now). I don't say that's the reason but it can be...
@EricSmith42
@EricSmith42 12 жыл бұрын
@thomasggpm AMD datasheets available to the public? I'll believe it when I see it. Where can I get the "AM3 Processor Functional Data Sheet", AMD document number 40778?
@christophemillertime
@christophemillertime 11 жыл бұрын
The Linux kernel has been able to use EFI at boot time since early 2000,[38] using the elilo EFI boot loader or, more recently, EFI versions of GRUB.[39] Grub+Linux also supports booting from a GUID partition table without UEFI.[13] The distribution Ubuntu added support for UEFI secure boot as of version 12.10.[40] Further, the Linux kernel can be compiled with the option to run as an EFI bootloader on its own through the EFI bootstub feature. see wikipedia UEFI and follow those sources.
@xleedeathx
@xleedeathx 11 жыл бұрын
11:30 ipad or iphone?
@FullMentalPanic
@FullMentalPanic 11 жыл бұрын
True, true, and true. But to be clear, some of your concerns are about Secure Boot, not UEFI. Various bootloaders have been able to load Linux on EFI for quite some time (rEFInd is particularly good; GRUB2 is a mess, but gets it done too), and the kernel itself can now be loaded directly from EFI. Matt's journal on Dreamwidth has a lot of info on the progress of Linux on UEFI and Secure Boot.
@ghenulo
@ghenulo 11 жыл бұрын
Microsoft has long done whatever necessary to kill the competition, but I'm sure there will be people to figure out how to run Linux (and other OSes) on UEFI boxes. After all, the current booting system is very DOS-based. I'm sure people could come up with a more OS-agnostic way to do things, but of course, Microsoft has no interest in doing that (in fact, it's just the opposite). But this rings of the "problem" with CPUs with built-in DRM.
@GreatEmerald
@GreatEmerald 12 жыл бұрын
@BernofMiracles I'm pretty sure the vendors don't really care. If they did care, we would have pretty well-written BIOS all around already, and there would be few bugs in Tiano itself. So we will be lucky if the vendors don't actually introduce new bugs to the system!
@mercury0x0
@mercury0x0 12 жыл бұрын
And after that, they won't execute software unless it's signed. Like mobile devices (android, ios).. then anyone who wants to write software will just have to register as a developer on their site and let them control distribution like Apple does now... what a Utopia we'll be in then!
@jonathanheynike9907
@jonathanheynike9907 11 жыл бұрын
And my new ACER laptop doesnt allow me to disable secure boot
@CiroSantilli
@CiroSantilli 8 жыл бұрын
Where is the POSIC C API port? Hardcore stuff!
@Zizzily
@Zizzily 8 жыл бұрын
+Ciro Santilli Built-in to UEFI software.intel.com/en-us/articles/uefi-application/ github.com/tianocore/tianocore.github.io/wiki/EDKII-EADK
@ShadowriverUB
@ShadowriverUB 11 жыл бұрын
But he makes valid points, i think biggest one is secure boot, it's very hard for linux to be sign due fact how open and elastic it is and casuals won't figure how to install unsign system (yes because they are stupid in those topics), which create barricades not only Linux but any other modular open kernel systems.
@drowningin
@drowningin 12 жыл бұрын
Is he talking about EFI or UEFI? or are they one in the same as far as this presentation is concerned?
@BernofMiracles
@BernofMiracles 12 жыл бұрын
Tiano is Intel's reference implementation of UEFI. UEFI Spec does not require the use of Tiano implementation. Besides, do not tribute implementation bugs as spec being "awful". No one system implements everything in the 1500-page UEFI Specification or use all 7601 files of Tiano code. The modularity and flexibility allow the pick and choose of the needed code, that is crucial to the faster boot time enabled by UEFI. Nobody is putting on a system a 100MB UEFI BIOS. UEFI can be in the 100K's.
@FinePointCGI
@FinePointCGI 11 жыл бұрын
in his defense some distros do not boot with EFI yet now im not saying its a bad thing just some haven't gotten around to it.
@WorBlux
@WorBlux 12 жыл бұрын
Yes and no. Coreboot can actually address more problems. One being you only need to maintain one driver that will work in both the BIOS and a linux OS. If also allows for pre-boot code audits. It can then load any multi-boot compliant payload directly.
@spumigena
@spumigena 9 жыл бұрын
Basically , And I will only say this one time Right here. - If The Software Cult of Microsoft wont Cooperate with the Free-Software Community ; It will basically Rip the Entire BIOS Frame. Seriously , it is not that difficult to do and it will be a Fatal blow to the entire MS Software Cult. - The more you try to control ; the weaker your System Becomes , and this is common knowledge. Microsoft is basically Shootin it self in the foot and the Aim is Raising towards the Tempel of the Head. - So thank you MS for killing yourself and Strengthening the Free-Software Community by the Boot Camp you call Windows (it is a intelligence test). We are just getting smarter here.
@NicolaiSyvertsen
@NicolaiSyvertsen 12 жыл бұрын
Nice. This video actually plays in youtube html5 mode. guess it has a webm version.
@kgosafomaafo
@kgosafomaafo 11 жыл бұрын
This is such a mess. Perhaps OSes will go more into visualization (with all the performance hits). Maybe OSes have to move into two categories where specialized host oses (slim and compact) host Windows, Linux and such to run in their own black boxes.
@juccavtr
@juccavtr 6 жыл бұрын
I don't know why I'm watching this, but, hey it's fun
@TheMacOSXdot7
@TheMacOSXdot7 10 жыл бұрын
Parted Magic does its job on UEFI, but it's too damn complicated, being based on Slackware
@veritanuda
@veritanuda 12 жыл бұрын
Isn't this precisely what Coreboot is set to address? Methinks everyone should get behind this project and make sure the OEM are compatible.
@Paint0nBrush
@Paint0nBrush 12 жыл бұрын
why should boot services ever end?
@8o86
@8o86 5 жыл бұрын
to reclaim the resources
@thepumpkingking8339
@thepumpkingking8339 10 жыл бұрын
UEFI. Used by Microsoft. As their Bank Manger said " #Fud "
@alpenwasser6869
@alpenwasser6869 11 жыл бұрын
This guy seems to have been beaten, broken, had his spirit eroded down to nil and then fled into sarcasm and sardonic remarks. Not that I mind, but I do feel kind of bad for him.
@MagikGimp
@MagikGimp 11 жыл бұрын
Stop me if I'm wrong but being a Linux professional involves being a better programmer than the 'commercial' companies but not being told about all the problems the commercial companies already know about and have already worked past. I realise as I'm typing this that everyone already knows about something so obvious but my point is that if it's so obvious why can't something be done about it? I don't mean free access to proprietary code but free access to proprietary bug reports and suchlike.
@mariuscheek
@mariuscheek 9 жыл бұрын
I know that it's a Linux conference, but it would be nice to acknowledge the ramifications of UEFI for Windows users. I have worked on several Win 8/8.1 machines for clients, and the one problem I run into is that Win 8 trusts UEFI for booting. So, for example, if the machine won't boot the OS, you can't boot a CD. Thanks to UEFI, those options don't exist in a factory machine. Sure, you can make it boot from CD/USB, but only if the OS boots and you know what to do to change the boot options. I'm a Windows fan. I like the balance of control v reliability (Linux v iOS comparison?). But when a machine sticks in a restart loop, or won't boot, or has any serious hardware problem, booting a USB with my tools on it is the simplest option. UEFI means that, by default, Win 8 thinks its booting when it isn't!
@kennethausten
@kennethausten 10 жыл бұрын
Just got involved with UEFI, took me by surprise, after 5 days still do not have a working system, win7 wont install 64bit ver, xp fails etc. as for linux i managed to get the live cd to work, but appears to be a graphics problem in all cases. May give up and contact supplier for help. I am aware of whats required. I tried running setup for win7 with ext uefi as recommended, but all failed, starts to load files as normal but then fails abruptly. UEFI shell appears to work similar to dos, but my ITX system NOGO. May stick with my existing dual core amd64 by installing to a smaller case. A software developer friend of mine heavily into coding condemned it due to linux problems. As far as he is concerned Microsoft are stitching us all up, does not look good for linux.
@kennethausten
@kennethausten 10 жыл бұрын
Since my rant above I now have a working linux system with linuxmint ver 16 using EFI install. It worked for me . This ver has been compiled for EFI systems. Win 7 not solved inspite of its efi capabilities. Tried it out again on a fresh HD which was cleaned and left unallocated as advised for it to create the required efi which it did but still collapsed and failed as it rebooted to carry on. So linux will remain I feel. Been using linux for 15 years so know it well but never enough. So many free applications it provides all I require including specialised communications.
@bbrk364
@bbrk364 7 жыл бұрын
EFI was deployment for the HP itanium hardware.
@smwikipediasmwikipedia5762
@smwikipediasmwikipedia5762 7 жыл бұрын
That's true when EFI was first invented. But since UEFI 2.0, it supports all IA64, x86-32, x86-64(i.e. the AMD64).
@kazkazo6709
@kazkazo6709 9 жыл бұрын
It is top down "I tell you what you should run on your pc" VS bottom up "we want to be free"
@MagikGimp
@MagikGimp 11 жыл бұрын
Also, again stop me if I'm wrong, but the irony is that no one ever did anything with the BIOS (or indeed understood half of it) that was ever useful even if the nerdy types fiddled around with it (e.g. parallel port settings) instead of just getting on with using the computer (me included.) So, UEFI is that with pretty pictures to please the kids yes? Or is UEFI immensely important with modern hardware & includes detailed documentation for the stuff you didn't look up in the motherboard manual?
@logicbranch
@logicbranch 11 жыл бұрын
Yeah, you have no issues with UEFI and Windows XP/7 because the developers had a political/commercial agenda and slanted the whole thing towards Wintel and against other OSes, that's part of what he says in the talk, if you actually listened to more than a minute or two (function names starting with WIN, etc.). UEFI is a biased bios, jumping thru hoops to preserve Wintel market-share.
@tjpld
@tjpld 11 жыл бұрын
Dude got pwned my Linus recently. :D
@Tantive
@Tantive 12 жыл бұрын
"technobabble" "laughter" #observer: "I'm in Startrek"
@CTimmerman
@CTimmerman 6 жыл бұрын
Translation: Hardware improved but free operating systems are struggling to catch up due to lack of money paid to the hardware standard makers.
@joham3460
@joham3460 10 жыл бұрын
MS play dirty games trying to control every pc on the planet. Both my kids are teenagers and 2 years ago I installed on their PCs linux alongside windows. Although both game fans now open wins only for games and are both fans of linux because they understand the difference in stability, speed, safety and power of the 2 OS. I dont think MS will have any luck finally
@ImTheBossTrapJesus
@ImTheBossTrapJesus 11 жыл бұрын
I don't believe you, because Windows 8 mandates that you can. Can you just not get to the firmware, because on my Acer laptop to get to it I had to go under an option in Windows 8 called Advanced Startup. Once I got there though, there was an option to enable accessing the multiboot menu and formware settings by pressing F12, an option to disable SecureBoot, and even an option to browse FAT32 filesystems (what EFI uses) and select files to sign so they can be booted by SecureBoot, like Linux.
@EricMewhort
@EricMewhort 11 жыл бұрын
BIOS? You mean UEFI?
@muffemod
@muffemod 10 жыл бұрын
UEFI centralizes your points of failure to one single point.
@veritanuda
@veritanuda 12 жыл бұрын
Hmm ok so GG started blocking links so time to disguise. HyperTexTransPort colon slash slash coreboot org
@horowitzhill6480
@horowitzhill6480 3 жыл бұрын
impossible to listen to. Thinks about what to say next... starts speaking extremely fast, stops midway, goes back, resumes, holy shit he is worse than a first grader answering "what did you do today at school?"
@BernofMiracles
@BernofMiracles 12 жыл бұрын
No machines can host a 100MB UEFI BIOS on earth today. Not even servers. Flash part physics in play here. Besides, not everyone is using the same Tiano code. Even in Tiano there are EDK and EDK II. Let alone all the BIOS vendors. Besides why are the Linux guys worry about the actual BIOS code in the first place, whether 1 file or 7600 files? Linux consume APIs provided by BIOS, Linux does not produce BIOS code.
@BernofMiracles
@BernofMiracles 12 жыл бұрын
test
@ghenulo
@ghenulo 11 жыл бұрын
You're trying for something better than Ubuntu? You're not exactly aiming for the moon, are you?
@christophemillertime
@christophemillertime 11 жыл бұрын
while UEFI = ALIVE newpc = 0 if newpc = 0 printf NO NEW PC FOR YOU else printf WATCH THIS AND LEARN HOW TO GET AROUND SECURE BOOT To bad its alive and not going anywhere, causing the average user to loose out and be afraid to switch over to linux.
IPMI - because ACPI and UEFI weren't terrifying enough
47:36
Linux.conf.au 2015 -- Auckland, New Zealand
Рет қаралды 36 М.
Firmware security, why it matters and how you can have it
45:11
linux.conf.au
Рет қаралды 29 М.
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 4,9 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 49 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 51 МЛН
I Can't Believe This is Butter! A tour of btrfs. - Avi Miller
48:52
Linux.conf.au 2012 -- Ballarat, Australia
Рет қаралды 66 М.
Technical Note: UEFI BIOS vs. Legacy BIOS, Advantech(EN)
21:05
Advantech
Рет қаралды 229 М.
Greg Kroah Hartman on the Linux Kernel
49:25
Google TechTalks
Рет қаралды 345 М.
How good are you, really? Improving your technical writing skills.
1:12:02
Linux.conf.au 2012 -- Ballarat, Australia
Рет қаралды 98 М.
XFS: Recent and Future Adventures in Filesystem Scalability - Dave Chinner
49:16
Linux.conf.au 2012 -- Ballarat, Australia
Рет қаралды 28 М.
BIOS and UEFI As Fast As Possible
5:39
Techquickie
Рет қаралды 3 МЛН
Bloat: How and Why UNIX Grew Up (and Out) - Rusty Russell,Matt Evans
42:39
Linux.conf.au 2012 -- Ballarat, Australia
Рет қаралды 21 М.
Matthew Garrett: Beyond Anti Evil Maid
1:00:26
media.ccc.de
Рет қаралды 4 М.
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 3,2 МЛН
Tag her 🤭💞 #miniphone #smartphone #iphone #samsung #fyp
0:11
Pockify™
Рет қаралды 20 МЛН
Blue Mobile 📲 Best For Long Audio Call 📞 💙
0:41
Tech Official
Рет қаралды 1 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 5 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 339 М.