Hello,
The Linux kernel is an extremely important part of the software on nearly every Android device. This section describes Linux kernel development and release models (below), stable and long-term supported (LTS) kernels (including why all Android devices should use stable releases instead of cherry picking patches), kernel configuration and hardening, requirements for interfaces and the modular kernels (introduced in Android O), kernel debugging and network testing, and SquashFS.
Regards,
Mika Hawkins
How Google's Android Maintains A Stable Linux Kernel ABI
Collapse
X
-
"Android Next Generation" aims to make kernel modules more portable between kernel images and devices.
Originally posted by oiaohm View PostThat the wrong point of windows history. You need to read Windows 3.5 NT and Windows 95 kernel ABI promise. Then you watch this be stretched. 3.5 NT and 95 kernel ABI stability was only meant to be until the service pack.Last edited by SystemCrasher; 20 September 2019, 08:23 PM.
Leave a comment:
-
-
Originally posted by skeevy420 View PostHuh. Well I'll be damned. Here I was thinking their method was to stick with old kernels.
I don't think I have a single Android device that runs newer than 4.0.X and my current tablet and phone both run 3.1X (3.10 and 3.17).
Leave a comment:
-
-
Originally posted by coder View PostThe problem with using Windows as an example is that some hardware says "works on Windows XP" (or pick your flavor of choice). Well, WinXP was supported for like 10 years or more. That's way longer than what I'm talking about.
Originally posted by coder View PostThe other problem with Windows and Solaris is that the majority of your drivers are closed-source / out-of-tree. So, the coordination effort is much greater, whenever there's a desire to change something.
Originally posted by coder View PostWith all that said, I think the real issue is that many who are opposed to any kind of ABI stability are (at least partially) using it as a lever against out-of-tree drivers. This will work, as long as Linux remains in a dominant position. As soon as that falters, it will be one element of Linux' undoing. I'd rather Linux evolve and remain relevant, but I won't go down with a sinking ship. I'd suggest those with a deeper stake in Linux' future take this issue more seriously.
Those with a stake in Linux kernel future to take this serous-ally because its important that the kernel can change as hardware evolves this requires drivers to be able to change. If ABI on drivers means kernel space cannot change to match current day hardware it comes trouble very quickly.
Originally posted by coder View PostI also feel like you have an agenda that you're not really disclosing.
My read on history could be wrong. But if google with their ABI stability plan has not read the history of the other that have done it the will not put in the required counters to adverse effects.
Like one counter would be if you wish to use the google stable ABI for Linux you must also release the source code of that driver so it can be updated by someone else latter if the ABI ever has to change.
Kernel ABI stablity + closed source driver hinders development really quickly. Remember libhybris and android user-space graphics drivers. This is not the first time google has created a stable driver ABI either prior ones were userspace with android. These closed source userspace drivers did end up coming a performance and security bottleneck.
So google kernel driver ABI thing is also like kdbus as a solution to dbus-daemon problems that Linus said was a really bad idea.
coder this is Google second attempt at doing a driver ABI for Linux. Track record of the prior one was basically a failure too.
I remember nuse what was fuse modified for network devices that shows that userspace drivers can have the same performance as kernel base ones. These userspace driver-space interface also provide example of what happens as kernel space and stable driver ABI move out of alignment with each other design.
Basically there is a lot of information that a stable kernel ABI driver is a bad idea. A lot of people forgot we have the fuse, cuse and nuse history to look at as well on what will happen to performance as the driver ABI and the kernel internal design goes out of alignment.
Leave a comment:
-
-
Originally posted by oiaohm View PostThis idea does not hold up in the real world examples Solaris , windows....
The problem with using Windows as an example is that some hardware says "works on Windows XP" (or pick your flavor of choice). Well, WinXP was supported for like 10 years or more. That's way longer than what I'm talking about.
The other problem with Windows and Solaris is that the majority of your drivers are closed-source / out-of-tree. So, the coordination effort is much greater, whenever there's a desire to change something.
Next issue: money complicates matters. There are lot of scenarios and permutations to this, but suffice to say it never makes things easier.
With all that said, I think the real issue is that many who are opposed to any kind of ABI stability are (at least partially) using it as a lever against out-of-tree drivers. This will work, as long as Linux remains in a dominant position. As soon as that falters, it will be one element of Linux' undoing. I'd rather Linux evolve and remain relevant, but I won't go down with a sinking ship. I'd suggest those with a deeper stake in Linux' future take this issue more seriously.
The other cynical explanation is just developer-laziness. However, that would be an entirely unfounded accusation from me, since (as I said), I really have no background in this area.
I also feel like you have an agenda that you're not really disclosing.
Leave a comment:
-
-
Originally posted by skeevy420 View PostOccasionally Google updates parts of the userland to require certain kernel features to be present. When that happens then the userland needs kernel updates.
Leave a comment:
-
-
Originally posted by You- View PostThe only proper fix is for the drivers to be upstreamed.
If you accept that view, there are a lot more stakeholders to consider - many of them even acting in good faith with respect to GPL.
Leave a comment:
-
-
Originally posted by Vistaus View PostAnd they hired an important former Apple staff member Apple as well, so it's not just old-school Google employees working on Fuchsia:
Originally posted by Vistaus View PostAlso, Huawei is helping shape Fuchsia, so it's not just the 12 Google employees working on it:
Originally posted by Vistaus View PostThey are working with a few vendors, including Honor, on Fuchsia-powered devices, so it's not a mirage at all.
I can give something historically equal that got devices out the door and stilled died.
The only people currently working on Fuchsia is google personal. The trump trade war stuff has in fact done a number on Fuchsia to the point we may not see any released products or just a token amount.
Making a operating system without hardware vendor support is normally a dead end may take a while to admit it. I would have more faith Fuchsia future if google acquired Motorola was still able to make current generation cellular modem chips but they cannot so google needs a hardware vendor to make a phone and that is what Fuchsia lost recently. Now can Fuchsia replace the lost hardware vendor this is going to be interesting.
Leave a comment:
-
-
Originally posted by oiaohm View Post
https://www.businessinsider.com.au/g...-policy-2015-4
That is not straight forwards. Google has this 20 percent time idea that keeps their developers happy. So at google a stack of staff and work on a project without any major plans for it going anywhere.
There have been some quite spectacular R&D OS developments that have just dead ended in time due to hardware support issues. Good example Singularity OS from Microsoft. 7 years of full time development team not a final product and not a final product was the result of Singularity OS.
You can extract stats from the fuchsia git. You will find if you do its a total of 12 individual developers all from google. There are no hardware vendors making drivers in the mix.
12 developers working on fuchsia total there is over 10000 at google working on Linux in different areas. Fuchsia gets a lot of press but its development team is only the size of a company expendable R&D team. Singularity OS that failed was a team of over 200 so Fuchsia is not highly resourced.
Vistaus is google developing their own kernel or are they just after a kernel where they can mess around with ideas then end up taking up stream into Linux? Or worse is fuchsia just developed by google to be a barging chip? Time will tell. Until we see products shipped with Fuchsia we will be guessing. That right up until Google ships products with Fuchsia its just a mirage of a future OS that may not have any real world usage or any long term development. Fuchsia at this stage is no different to walking into a planning office and seeing a nicely planned out future city that never comes into real world existence yet people are attempting to write how life will be in that city.
And they hired an important former Apple staff member Apple as well, so it's not just old-school Google employees working on Fuchsia: https://www.androidpolice.com/2019/0...us-fuchsia-os/
Also, Huawei is helping shape Fuchsia, so it's not just the 12 Google employees working on it: https://www.gizchina.com/2019/08/01/...le-fuchsia-os/Last edited by Vistaus; 17 September 2019, 11:51 AM.
Leave a comment:
-
Leave a comment: