Skip to content

(asking for help) How to configure 4k kernel?  #1

@SuperKenVery

Description

@SuperKenVery

Great appreciation to this project! Thanks a lot!

But could you please provide some information on on how to config the kernel? I'm totally new to kernel hacking. Thanks a lot!

I have got some trouble configuring the iommu-4k/dev branch of the linux kernel. I used the default configuration and added something (binder, crypto, ...), and successfully compiled&installed the kernel with corresponding initrd/grub entry.

However, when I boot the kernel I got kernel panic like this:

apple-dart xxxxx.iommu: DART is locked down until reboot: 800
cpu cpu0: apple_soc_cpufreq_init: failed to get cluster info: -2
apple-soc-cpufreq 211e20000.performance-controller: error -ENODEV
registering cpufreq failed
macsmc-rtkit 23e40000.smc: RTKit: co-processor has crashed. 
macsmc-rtkit 23e40000.smc: SMC crashed! Your system will reboot in a few seconds...
macsmc-rtkit 23e40000.smc: Error -ETIME: Failed to wake up SMC
/dev/root: Can't open blockdev
Kernel panic - not syncing: VFS: Unable to mount root on fs on unknown-block(0,0)

(I'm using encrypted root, and the distributed edge kernel works just fine)

Could you please give me a hand? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions