Kernel not detecting system filescreate a debian installer with custom kernelObserving a hard-disk write in...

Why would Lupin kill Pettigrew?

Do creatures all have the same statistics upon being reanimated via the Animate Dead spell?

Get LaTeX form from step by step solution

What is the indigenous Russian word for a wild boar?

The deliberate use of misleading terminology

Can an old DSLR be upgraded to match modern smartphone image quality

Windows 10 Programs start without visual Interface

How was Apollo supposed to rendezvous in the case of a lunar abort?

Fastest way to perform complex search on pandas dataframe

Creating Fictional Slavic Place Names

Adding strings in lists together

What are the problems in teaching guitar via Skype?

Mother abusing my finances

Could IPv6 make NAT / port numbers redundant?

The qvolume of an integer

What's the most polite way to tell a manager "shut up and let me work"?

Future enhancements for the finite element method

How can I grammatically understand "Wir über uns"?

Are UK pensions taxed twice?

Rotated Position of Integers

How to properly maintain eye contact with people that have distinctive facial features?

Different PCB color ( is it different material? )

If a problem only occurs randomly once in every N times on average, how many tests do I have to perform to be certain that it's now fixed?

What does "tea juice" mean in this context?



Kernel not detecting system files


create a debian installer with custom kernelObserving a hard-disk write in kernel space (with drivers/modules)Linux/Embedded Linux - Understanding the Kernel and additional BSP specific componentsHow to Modify Android Boot Sequence in Order to Boot From an SD CardIs Linux's monolithic nature (part of) the problem with ARM drivers?Fedora 25 doesn't boot after removing nvidia driverLinux kernel error “No working init found"archlinux efi netboot kernel “ip” does not work?; systemd “Failed to start Switch Root.”EXT4 app2sd link2sd partition repair with bad superblock . Partition cannot be mounted on Android but will mount RW w/ su on Linux LiveSupport TI WL18xx WiFi/Bluetooth module on iMX7 Running Android 8.0.0






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm currently part of a small team developing a kernel for an Android wearable. We're tempting to add NFC support to a smartwatch which has the hardware required, just no kernel or Android support for it.



We managed to get a building kernel without NFC drivers. Now that we've added the drivers, were encountering a weird issue where the kernel refuses to detect many of the system files.



When restoring a backup to the boot partition (not where the files are stored), I can see that the files are all there. Even without restoring the backup, entering a recovery mode allows me to the detect all of the files in their correct locations.



Does anyone have any clue what could cause this? Our initial thought was that the kernel wasn't mounting the system partition correctly. Thinking about this, I couldn't see how that could happen when all we've done is add some NFC chip drivers.



Kernel log: https://gist.github.com/davwheat/659cc48a5817c55fdd8311c6fa0db8ae



EDIT:



Example from the log:



[    4.479011] init: cannot find '/system/bin/tzdatacheck' (No such file or directory), disabling 'exec 1 (/system/bin/tzdatacheck)'
[ 4.497677] init: cannot find '/system/vendor/bin/perfd' (No such file or directory), disabling 'perfd'









share|improve this question









New contributor



David Wheatley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I don’t understand what you mean by “the kernel refuses to detect many of the system files”. Please do not respond in comments; edit your question to make it clearer and more complete.

    – Scott
    1 hour ago











  • @Scott attempted to clear up by adding an excerpt from the log I attached. There isn't much else I can say. Android hasn't loaded at this point. It's the kernel's initialisation script running.

    – David Wheatley
    1 hour ago











  • this mentions a system image .... [ 3.364233] fs_mgr: Not running /system/bin/e2fsck on /dev/block/platform/soc/7824900.sdhci/by-name/userdata (executable not in system image) ..... is there a minimal boot image file, like initrd, in android?

    – jsotola
    28 mins ago




















0















I'm currently part of a small team developing a kernel for an Android wearable. We're tempting to add NFC support to a smartwatch which has the hardware required, just no kernel or Android support for it.



We managed to get a building kernel without NFC drivers. Now that we've added the drivers, were encountering a weird issue where the kernel refuses to detect many of the system files.



When restoring a backup to the boot partition (not where the files are stored), I can see that the files are all there. Even without restoring the backup, entering a recovery mode allows me to the detect all of the files in their correct locations.



Does anyone have any clue what could cause this? Our initial thought was that the kernel wasn't mounting the system partition correctly. Thinking about this, I couldn't see how that could happen when all we've done is add some NFC chip drivers.



Kernel log: https://gist.github.com/davwheat/659cc48a5817c55fdd8311c6fa0db8ae



EDIT:



Example from the log:



[    4.479011] init: cannot find '/system/bin/tzdatacheck' (No such file or directory), disabling 'exec 1 (/system/bin/tzdatacheck)'
[ 4.497677] init: cannot find '/system/vendor/bin/perfd' (No such file or directory), disabling 'perfd'









share|improve this question









New contributor



David Wheatley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I don’t understand what you mean by “the kernel refuses to detect many of the system files”. Please do not respond in comments; edit your question to make it clearer and more complete.

    – Scott
    1 hour ago











  • @Scott attempted to clear up by adding an excerpt from the log I attached. There isn't much else I can say. Android hasn't loaded at this point. It's the kernel's initialisation script running.

    – David Wheatley
    1 hour ago











  • this mentions a system image .... [ 3.364233] fs_mgr: Not running /system/bin/e2fsck on /dev/block/platform/soc/7824900.sdhci/by-name/userdata (executable not in system image) ..... is there a minimal boot image file, like initrd, in android?

    – jsotola
    28 mins ago
















0












0








0








I'm currently part of a small team developing a kernel for an Android wearable. We're tempting to add NFC support to a smartwatch which has the hardware required, just no kernel or Android support for it.



We managed to get a building kernel without NFC drivers. Now that we've added the drivers, were encountering a weird issue where the kernel refuses to detect many of the system files.



When restoring a backup to the boot partition (not where the files are stored), I can see that the files are all there. Even without restoring the backup, entering a recovery mode allows me to the detect all of the files in their correct locations.



Does anyone have any clue what could cause this? Our initial thought was that the kernel wasn't mounting the system partition correctly. Thinking about this, I couldn't see how that could happen when all we've done is add some NFC chip drivers.



Kernel log: https://gist.github.com/davwheat/659cc48a5817c55fdd8311c6fa0db8ae



EDIT:



Example from the log:



[    4.479011] init: cannot find '/system/bin/tzdatacheck' (No such file or directory), disabling 'exec 1 (/system/bin/tzdatacheck)'
[ 4.497677] init: cannot find '/system/vendor/bin/perfd' (No such file or directory), disabling 'perfd'









share|improve this question









New contributor



David Wheatley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm currently part of a small team developing a kernel for an Android wearable. We're tempting to add NFC support to a smartwatch which has the hardware required, just no kernel or Android support for it.



We managed to get a building kernel without NFC drivers. Now that we've added the drivers, were encountering a weird issue where the kernel refuses to detect many of the system files.



When restoring a backup to the boot partition (not where the files are stored), I can see that the files are all there. Even without restoring the backup, entering a recovery mode allows me to the detect all of the files in their correct locations.



Does anyone have any clue what could cause this? Our initial thought was that the kernel wasn't mounting the system partition correctly. Thinking about this, I couldn't see how that could happen when all we've done is add some NFC chip drivers.



Kernel log: https://gist.github.com/davwheat/659cc48a5817c55fdd8311c6fa0db8ae



EDIT:



Example from the log:



[    4.479011] init: cannot find '/system/bin/tzdatacheck' (No such file or directory), disabling 'exec 1 (/system/bin/tzdatacheck)'
[ 4.497677] init: cannot find '/system/vendor/bin/perfd' (No such file or directory), disabling 'perfd'






linux-kernel drivers android






share|improve this question









New contributor



David Wheatley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



David Wheatley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited 1 hour ago







David Wheatley













New contributor



David Wheatley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 1 hour ago









David WheatleyDavid Wheatley

11




11




New contributor



David Wheatley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




David Wheatley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • I don’t understand what you mean by “the kernel refuses to detect many of the system files”. Please do not respond in comments; edit your question to make it clearer and more complete.

    – Scott
    1 hour ago











  • @Scott attempted to clear up by adding an excerpt from the log I attached. There isn't much else I can say. Android hasn't loaded at this point. It's the kernel's initialisation script running.

    – David Wheatley
    1 hour ago











  • this mentions a system image .... [ 3.364233] fs_mgr: Not running /system/bin/e2fsck on /dev/block/platform/soc/7824900.sdhci/by-name/userdata (executable not in system image) ..... is there a minimal boot image file, like initrd, in android?

    – jsotola
    28 mins ago





















  • I don’t understand what you mean by “the kernel refuses to detect many of the system files”. Please do not respond in comments; edit your question to make it clearer and more complete.

    – Scott
    1 hour ago











  • @Scott attempted to clear up by adding an excerpt from the log I attached. There isn't much else I can say. Android hasn't loaded at this point. It's the kernel's initialisation script running.

    – David Wheatley
    1 hour ago











  • this mentions a system image .... [ 3.364233] fs_mgr: Not running /system/bin/e2fsck on /dev/block/platform/soc/7824900.sdhci/by-name/userdata (executable not in system image) ..... is there a minimal boot image file, like initrd, in android?

    – jsotola
    28 mins ago



















I don’t understand what you mean by “the kernel refuses to detect many of the system files”. Please do not respond in comments; edit your question to make it clearer and more complete.

– Scott
1 hour ago





I don’t understand what you mean by “the kernel refuses to detect many of the system files”. Please do not respond in comments; edit your question to make it clearer and more complete.

– Scott
1 hour ago













@Scott attempted to clear up by adding an excerpt from the log I attached. There isn't much else I can say. Android hasn't loaded at this point. It's the kernel's initialisation script running.

– David Wheatley
1 hour ago





@Scott attempted to clear up by adding an excerpt from the log I attached. There isn't much else I can say. Android hasn't loaded at this point. It's the kernel's initialisation script running.

– David Wheatley
1 hour ago













this mentions a system image .... [ 3.364233] fs_mgr: Not running /system/bin/e2fsck on /dev/block/platform/soc/7824900.sdhci/by-name/userdata (executable not in system image) ..... is there a minimal boot image file, like initrd, in android?

– jsotola
28 mins ago







this mentions a system image .... [ 3.364233] fs_mgr: Not running /system/bin/e2fsck on /dev/block/platform/soc/7824900.sdhci/by-name/userdata (executable not in system image) ..... is there a minimal boot image file, like initrd, in android?

– jsotola
28 mins ago












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






David Wheatley is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f521656%2fkernel-not-detecting-system-files%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








David Wheatley is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















David Wheatley is a new contributor. Be nice, and check out our Code of Conduct.













David Wheatley is a new contributor. Be nice, and check out our Code of Conduct.












David Wheatley is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f521656%2fkernel-not-detecting-system-files%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...