Configuring the kernel of recent version












0















I am trying to configure the kernel for my test device driver development but its not possible to create a custom kernel.Please suggest me with some helpful link and problem we are facing is as below.



praveen@praveen-HP-Laptop-15-bs0xx:/$ sudo bash
[sudo] password for praveen:
root@praveen-HP-Laptop-15-bs0xx:/# ls
bin dev initrd.img lib64 mnt root snap sys usr
boot etc initrd.img.old lost+found opt run srv tmp var
cdrom home lib media proc sbin swapfile ubuntu-precise vmlinuz
root@praveen-HP-Laptop-15-bs0xx:/# # cd /usr/src
root@praveen-HP-Laptop-15-bs0xx:/# cd /usr/src
root@praveen-HP-Laptop-15-bs0xx:/usr/src# ls
linux linux-headers-4.15.0-29 linux-headers-4.15.0-43-generic
linux-4.7 linux-headers-4.15.0-29-generic linux-source-4.15.0
linux-4.7.tar.xz linux-headers-4.15.0-43 linux-source-4.15.0.tar.bz2
root@praveen-HP-Laptop-15-bs0xx:/usr/src# bzip2 -d linux-source-4.15.0.tar.bz2
bzip2: Input file linux-source-4.15.0.tar.bz2 is not a normal file.
root@praveen-HP-Laptop-15-bs0xx:/usr/src#









share|improve this question

























  • Can you edit your question to include the output of ls -l /usr/src/linux-source-4.15.0.tar.bz and file /usr/src/linux-source-4.15.0.tar.bz?

    – vidarlo
    Jan 28 at 19:36











  • You can pass the kernel parameters that can change behavior/config during boot usign the linux line in grub.Will this achieve what you need? (ie. have a menu entry for each set of conditions you want; but you're vague on what you want to configure)

    – guiverc
    Jan 28 at 21:37
















0















I am trying to configure the kernel for my test device driver development but its not possible to create a custom kernel.Please suggest me with some helpful link and problem we are facing is as below.



praveen@praveen-HP-Laptop-15-bs0xx:/$ sudo bash
[sudo] password for praveen:
root@praveen-HP-Laptop-15-bs0xx:/# ls
bin dev initrd.img lib64 mnt root snap sys usr
boot etc initrd.img.old lost+found opt run srv tmp var
cdrom home lib media proc sbin swapfile ubuntu-precise vmlinuz
root@praveen-HP-Laptop-15-bs0xx:/# # cd /usr/src
root@praveen-HP-Laptop-15-bs0xx:/# cd /usr/src
root@praveen-HP-Laptop-15-bs0xx:/usr/src# ls
linux linux-headers-4.15.0-29 linux-headers-4.15.0-43-generic
linux-4.7 linux-headers-4.15.0-29-generic linux-source-4.15.0
linux-4.7.tar.xz linux-headers-4.15.0-43 linux-source-4.15.0.tar.bz2
root@praveen-HP-Laptop-15-bs0xx:/usr/src# bzip2 -d linux-source-4.15.0.tar.bz2
bzip2: Input file linux-source-4.15.0.tar.bz2 is not a normal file.
root@praveen-HP-Laptop-15-bs0xx:/usr/src#









share|improve this question

























  • Can you edit your question to include the output of ls -l /usr/src/linux-source-4.15.0.tar.bz and file /usr/src/linux-source-4.15.0.tar.bz?

    – vidarlo
    Jan 28 at 19:36











  • You can pass the kernel parameters that can change behavior/config during boot usign the linux line in grub.Will this achieve what you need? (ie. have a menu entry for each set of conditions you want; but you're vague on what you want to configure)

    – guiverc
    Jan 28 at 21:37














0












0








0








I am trying to configure the kernel for my test device driver development but its not possible to create a custom kernel.Please suggest me with some helpful link and problem we are facing is as below.



praveen@praveen-HP-Laptop-15-bs0xx:/$ sudo bash
[sudo] password for praveen:
root@praveen-HP-Laptop-15-bs0xx:/# ls
bin dev initrd.img lib64 mnt root snap sys usr
boot etc initrd.img.old lost+found opt run srv tmp var
cdrom home lib media proc sbin swapfile ubuntu-precise vmlinuz
root@praveen-HP-Laptop-15-bs0xx:/# # cd /usr/src
root@praveen-HP-Laptop-15-bs0xx:/# cd /usr/src
root@praveen-HP-Laptop-15-bs0xx:/usr/src# ls
linux linux-headers-4.15.0-29 linux-headers-4.15.0-43-generic
linux-4.7 linux-headers-4.15.0-29-generic linux-source-4.15.0
linux-4.7.tar.xz linux-headers-4.15.0-43 linux-source-4.15.0.tar.bz2
root@praveen-HP-Laptop-15-bs0xx:/usr/src# bzip2 -d linux-source-4.15.0.tar.bz2
bzip2: Input file linux-source-4.15.0.tar.bz2 is not a normal file.
root@praveen-HP-Laptop-15-bs0xx:/usr/src#









share|improve this question
















I am trying to configure the kernel for my test device driver development but its not possible to create a custom kernel.Please suggest me with some helpful link and problem we are facing is as below.



praveen@praveen-HP-Laptop-15-bs0xx:/$ sudo bash
[sudo] password for praveen:
root@praveen-HP-Laptop-15-bs0xx:/# ls
bin dev initrd.img lib64 mnt root snap sys usr
boot etc initrd.img.old lost+found opt run srv tmp var
cdrom home lib media proc sbin swapfile ubuntu-precise vmlinuz
root@praveen-HP-Laptop-15-bs0xx:/# # cd /usr/src
root@praveen-HP-Laptop-15-bs0xx:/# cd /usr/src
root@praveen-HP-Laptop-15-bs0xx:/usr/src# ls
linux linux-headers-4.15.0-29 linux-headers-4.15.0-43-generic
linux-4.7 linux-headers-4.15.0-29-generic linux-source-4.15.0
linux-4.7.tar.xz linux-headers-4.15.0-43 linux-source-4.15.0.tar.bz2
root@praveen-HP-Laptop-15-bs0xx:/usr/src# bzip2 -d linux-source-4.15.0.tar.bz2
bzip2: Input file linux-source-4.15.0.tar.bz2 is not a normal file.
root@praveen-HP-Laptop-15-bs0xx:/usr/src#






configure






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 28 at 19:34









vidarlo

10.5k52547




10.5k52547










asked Jan 28 at 19:25









Praveen KumarPraveen Kumar

11




11













  • Can you edit your question to include the output of ls -l /usr/src/linux-source-4.15.0.tar.bz and file /usr/src/linux-source-4.15.0.tar.bz?

    – vidarlo
    Jan 28 at 19:36











  • You can pass the kernel parameters that can change behavior/config during boot usign the linux line in grub.Will this achieve what you need? (ie. have a menu entry for each set of conditions you want; but you're vague on what you want to configure)

    – guiverc
    Jan 28 at 21:37



















  • Can you edit your question to include the output of ls -l /usr/src/linux-source-4.15.0.tar.bz and file /usr/src/linux-source-4.15.0.tar.bz?

    – vidarlo
    Jan 28 at 19:36











  • You can pass the kernel parameters that can change behavior/config during boot usign the linux line in grub.Will this achieve what you need? (ie. have a menu entry for each set of conditions you want; but you're vague on what you want to configure)

    – guiverc
    Jan 28 at 21:37

















Can you edit your question to include the output of ls -l /usr/src/linux-source-4.15.0.tar.bz and file /usr/src/linux-source-4.15.0.tar.bz?

– vidarlo
Jan 28 at 19:36





Can you edit your question to include the output of ls -l /usr/src/linux-source-4.15.0.tar.bz and file /usr/src/linux-source-4.15.0.tar.bz?

– vidarlo
Jan 28 at 19:36













You can pass the kernel parameters that can change behavior/config during boot usign the linux line in grub.Will this achieve what you need? (ie. have a menu entry for each set of conditions you want; but you're vague on what you want to configure)

– guiverc
Jan 28 at 21:37





You can pass the kernel parameters that can change behavior/config during boot usign the linux line in grub.Will this achieve what you need? (ie. have a menu entry for each set of conditions you want; but you're vague on what you want to configure)

– guiverc
Jan 28 at 21:37










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113606%2fconfiguring-the-kernel-of-recent-version%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
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • 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%2faskubuntu.com%2fquestions%2f1113606%2fconfiguring-the-kernel-of-recent-version%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

How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?