[opensuse-arm] Kernel debugging
Hello, I want to debug a kernel problem on a armv7 board. For that I want to temporary enable the CONFIG_PROVE_LOCKING config. My idea was to branch the used kernel (lpae) build in obs, add the config to the cloned kernel, and install then the build result on my board. I tried to modify the config.tar.bz2 as well as adding the CONFIG_PROVE_LOCKING=y to the config.addon.tar.bz2. in both cases the build fails with the same error: https://build.opensuse.org/package/live_build_log/home:frank_kunz:branches:o... Where do I need to put the configuration change in to get a debug build? Or is there an other method to prepare that? Br, Frank -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
06.12.2018 22:27, Frank Kunz пишет:
Hello,
I want to debug a kernel problem on a armv7 board. For that I want to temporary enable the CONFIG_PROVE_LOCKING config. My idea was to branch the used kernel (lpae) build in obs, add the config to the cloned kernel, and install then the build result on my board.
I tried to modify the config.tar.bz2 as well as adding the CONFIG_PROVE_LOCKING=y to the config.addon.tar.bz2. in both cases the build fails with the same error:
https://build.opensuse.org/package/live_build_log/home:frank_kunz:branches:o...
Where do I need to put the configuration change in to get a debug build? Or is there an other method to prepare that?
Br, Frank
It is a long story... First, you have to clone appropriate branch of https://kernel.opensuse.org/cgit/kernel-source/log/?h=master Then modify config and run ./scripts/tar-up.sh to create tarball and ./scripts/osc_wrapper to create package at OBS. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 06.12.18 um 21:27 schrieb Matwey V. Kornilov:
It is a long story...
First, you have to clone appropriate branch of https://kernel.opensuse.org/cgit/kernel-source/log/?h=master
Then modify config and run ./scripts/tar-up.sh to create tarball and ./scripts/osc_wrapper to create package at OBS.
That's how it works. Thanks for your support. Br, Frank -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Frank Kunz
-
Matwey V. Kornilov