Ubuntu :: Modify The Source Code Of The Kernel?
Oct 4, 2010I want to modify the source code of the kernel so that the new compiled kernel should disable USB ports.
View 4 RepliesI want to modify the source code of the kernel so that the new compiled kernel should disable USB ports.
View 4 RepliesI read that xinetd listens on the service port and passes incoming traffic to the service (ftpd) via stdin. However, the ftpd source code reads its input from a socket not from stdin.
Am I to conclude that in order to be managed by xinetd, the source code for ftpd (or telnetd etc..) must be modified or recompiled to take its input from stdin??
i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting
View 1 Replies View RelatedI'd like to create a custom squeeze kernel. Is it a really bad idea to edit to edit the kernel config file directly instead of using "make config", "make menuconfig" or "make gconfig"? My problem is I missing a search function, for example in "make menuconfig" and cannot find some entries.
View 2 Replies View RelatedIt sounds like he's making a difference between the kernel "source code" and the kernel itself(as in the downloaded file/ files) but the way he talks about both is the same.So then, if one had already "installed" the "kernel sources code," why would he need the "tarball with the newest Linux kernel?" He's already "installed" a kernel, right?
View 3 Replies View RelatedI was trying to install VPN client for my Ubuntu 9.10 64-bit. During the installation process the terminal reads:
"Directory containing linux kernel source code [/lib/modules/2.6.31-21-generic/build]"
On that I pressed enter for the default option (in bold). After a few more steps I reached the following error:
Making module
sh: Can't open ./driver_build.sh
Failed to make module "cisco_ipsec.ko".
[/lib/modules/2.6.31-21-generic/build] is the location where the installer expects the kernel source to be (I am guessing). So unless I correct the terminal (by providing the location of the kernel source), I think I will keep on getting the same error message.
So to get the kernel source I visited: [URL]From there I copy pasted the command:
sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)
apt-get source linux-image-$(uname -r)
Everything went fine, but even now I don't know if at all I have a kernel source and where it exists on my machine.
In particular i'd like to know where is the kernel source code in slackware 13.
View 2 Replies View RelatedI need to download a latest kernel for my fedora ..and reconfigure it with some options.
Where can i download latest fedora kernel source code from ..
Want to know where the source code of Linux is located
View 2 Replies View Relatedwhere can i find linux kernel source code?
View 4 Replies View RelatedI am a little optimistic now after my problem of wifi was solved by stoat that presisted for about a year, now i am trying to install my vpn client. he asks me to write the path of kernel source code directory : and i answer by:/lib/modules/2.6.26.8-57.fc8/build/
But he answers no such directory or file and i dont know why
The build is covered by a red box when displayed by a terminal so can any body tells me where i can find my kernel source directory or i should install them, how
I need to understand southbridge related code in linux source code.
For that I have downloaded Linux source code version:2.6.28 .
I have seen the code but didn't find code specific to southbridge handling.
Is Linux source code contains southbridge specific code?If so where can I find the code?
I want to edit linux kernel source code in MS Visual Studio. I saw the code and these are c files but there is no project file that i open it and whole project opens up. I can open each individual file but not the whole project.
View 13 Replies View RelatedI want to see the source code of smplayer software.from where i can see source code of open source softwares?
View 9 Replies View RelatedI'm trying to modify the code for gblink so that it can read from my usb to parallel port cable. I know that the address for a normal parallel port (/dev/lp0) is 0x3bc, but how can I find out the address for /dev/usb/lp0?
View 6 Replies View Relatedi want to modify gnome 3 from source and i was wondering
if ya wanna know more about what i want to do just ask me
Filename.txt
Code:
My First Line
My Second Line
::::While Loop:::
Program:
Code:
while read line
do
echo "$line"
done < Filename.txt
output:
Code:
My First Line
My Second Line
Is it possible to use for loop to get the same output. I have tried executing below code but I get every word of my file being displayed one below above.Is there any way I can modify the for loop code to get the output returned by while loop?
:::For Loop:::
Program:
Code:
for line in $(cat Filename.txt)
do
echo $line
done
output:
Code:
My
First
Line
My
Second
Line
I have the source of the application I want to modify, as well as the list of dependencies I need in order to compile. I got the source code for those and compiled/installed them. I'm fairly sure that all of the dependencies are installed. However, when I go to run the compiler it crashes while parsing some of the code.
I had the application installed before, and it ran. After tinkering around trying to get the source to compile, the app no longer runs either. It crashes, and if run from the CLI, spits out something about not finding one of the files from the SDL library.
So obviously I did something wrong to mess everything up, because I'm in a deeper hole than when I started. Anyone know how I would go about fixing this? Or even starting with a clean slate so that I can have another go at it?
how can i manually modify source.list to include debian repository from shell.since xorg isn't installed yet and the cd doesn't work well.
View 5 Replies View RelatedI have been using Linux for 2 months, specifically Ubuntu, and been wondering where the source code is. Not only do I wonder where the kernel source code is but also where the source code for the installed programs are.
View 2 Replies View RelatedI am new to Linux Kernel. I want to disable branch prediction in kernel and recompile for my research purpose. Can anyone point me to clear instructions on where i can find the kernel config file in ubuntu and steps to recompile the updated kernel
View 1 Replies View Relatedwhere can i get the full source code of ubuntu ?
i want to study it and mayb il make my own os in the future.
How to edit Ubuntu Source code to edit Ubuntu how I want? I know I am legally allowed to modify the code but I do not know how?
View 2 Replies View RelatedWhere can I obtain the source code for Ubuntu 10.04.1 LTS?
View 1 Replies View RelatedI downloaded wine from a windows laptop, but because you have to have a computer running Linux to download it as a .deb package, I had to download the source code as a tar. bz2.
Does anyone know how I compile it and make it executable?
Bottom line first: Is there a GUI or otherwise friendly tool to modify the kernel parameters? One that will give help on a highlighted parameters?
Now as to my reason for this question:
In preparing for an Informix installation, I may need to change some kernel parameters. I could follow the advice of G�rard BIGOT from a couple of years ago at this URL. However, messing with the kernel this way, by directly editing /etc/sysctl.conf, is a bit scary. I have already backed up the current one and started editing according the Informix machine notes. However, I have commented out my new settings. [:Chicken]
The scariest aspect of this is that the notes recommend settings to kernel parameters that I do not find in /proc/sys/kernel. for example, it recommends setting SHMMIN to 1 but when I can /proc/sys.kernel/shmmin, there is no such file. (I did find shmmax.) Similarly for the very logical shmseg (max number of shared memory segments) - not found. I am afraid to add these into sysctl.conf if the equivalent pseudo-files don't exist.
Additional question: Where [on-line] do I find all kernel parameters documented? This is so that I am more certain of what I am doing instead of relying on my memory. For example, I don't recall the names of the parameters that control Kernel-Asynchronous I/O (KAIO) events.
I am following these instructions to install gnu backgammon. However I am doing this for the first time and I don't know how to get their source code from their site (here). Do I download everything?
View 2 Replies View Relateddoes anyone know where to find the full Ubuntu source code all i can find is the kernel source. if any knows where to get the full source code for any major Linux distribution could they let me know.
View 3 Replies View RelatedI am wonder if somebody could take the time to teach me to install or compile a program from source.I have downloaded ZSNES from sourceforge but cannot figure out how to install it from the command prompt or using the package manager.
View 9 Replies View RelatedI want to know if it is possible to edit the source code of the programs in Linux. Like, take the calculator for instance. If I want to add a user-defined function to it, how can I do it - if I can do it at all? In general, where and how can I look at the source code of such programs ?
View 3 Replies View Related