Slackware :: What Is The First Code Executed In The Kernel

May 29, 2011

I am looking at the kernel code (just out of interest). What would be the first piece of code the kernel executes when the machine boots?

View 1 Replies


ADVERTISEMENT

General :: C Code Compiles But Is Not Executed In Kubuntu?

Apr 14, 2010

I'm running kubuntu 9.10 in VirtualBox, i wrote the simplest "hello world" program in C, the code compiles, i ran it through a debugger and it seems to run fine. the only problem is nothing gets actually printed to the console.

heres the code:

#include <stdlib.h>
#include <stdio.h>
int main (int argc, char **argv) {
printf("hello world");

[Code].....

View 2 Replies View Related

Slackware :: Display - From Imagemagick Toolset - Crashes When Executed

Apr 12, 2010

Code:

I'm using slackware64-current.

View 2 Replies View Related

Ubuntu :: Difference Between Kernel 'source Code' And Kernel Itself

Jul 3, 2011

It 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 Related

Programming :: Where Is The Kernel Source Code ?

Mar 7, 2011

In particular i'd like to know where is the kernel source code in slackware 13.

View 2 Replies View Related

Ubuntu :: Where To Find Kernel Code Source

May 19, 2010

I 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.

View 2 Replies View Related

Ubuntu :: Modify The Source Code Of The Kernel?

Oct 4, 2010

I want to modify the source code of the kernel so that the new compiled kernel should disable USB ports.

View 4 Replies View Related

Red Hat / Fedora :: Source Code For Latest - Kernel

Apr 8, 2011

I 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 ..

View 9 Replies View Related

General :: Where Source Code Of Kernel Located

Feb 6, 2011

Want to know where the source code of Linux is located

View 2 Replies View Related

General :: Finding The Kernel Source Code?

Apr 14, 2011

where can i find linux kernel source code?

View 4 Replies View Related

Software :: Uboot And Kernel Code Similarity?

Jan 3, 2011

While travrsing through linux kernel and uboot source code and booting process tutorials...I found some contradictory facts...What I have read is... uboot is responsible for creating an environment where linux can run and it also does some task to up the peripherals...I found the same thing in kernel code...Why is it so? (Say if uboot is already initializing gig port and devices then why does kenel do it again?)

View 1 Replies View Related

Slackware :: Kernel Hang During Boot Process - Slack 13.1 Stable W/ Kernel 2.6.33.4-smp

Jun 20, 2010

I installed a fresh copy of Slackware 13.1 (stable) on one of my media servers and I am experiencing something strange.... When I power up the machine, I see the kernel booting, no errors, until it gets to the point where it says:

And then randomly freeze there.... Well the machine is not totally frozen because the cursor still blinks. But it will never continue... Like I said, this happens on a random basis... After a reset, it might go through or simply stall at the same spot.

I remember after installing Slack 13.1, I rebooted the machine but forgot to remove the DVD from the player, so the install routine started up, and froze at the same point when it was loading the kernel for the setup programs...

My mobo is a MSI k9N platinum.

I never had this problem before.... (well I never used 13.1 before). Since I got this machine, I used slack 12.2 and slack 13-current with success.

This problem makes the machine extremely unreliable because I intent to use it as a backup and media server, so chances I will WOL the machine and use it remotely... if that happens.

View 10 Replies View Related

General :: Code Model 'kernel' Not Supported In The 32 Bit Mode?

Mar 31, 2011

An error occured when I install my r8101 dirver. I have got the message:

/home/driver/r8101/src/r8101_n.c:1: error: code model 'kernel' not supported in the 32 bit mode
/home/driver/r8101/src/r8101_n.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[3]: *** [/home/driver/r8101/src/r8101_n.o] Error 1

[Code]......

View 2 Replies View Related

Programming :: Kernel GRAPHICS APIs And Code Description?

Feb 17, 2011

I have been googling all day looking for APIs exposed by the linux kernel for graphics n i haven found any information anywhere.

View 5 Replies View Related

Slackware :: Kernel Panic After Upgrading Slackware64-current To 2.6.32.x Kernel?

Jan 20, 2010

I have one machine where I have several versions installed on different partitions. The base partition (/dev/hda1) is Slack 12.1. On a spare partition (/dev/hdc4) I had installed Slackware64-current. Last week I slackpkg upgraded and installed the 2.6.32.2 kernel, and now that partition will not boot. I know that with the new kernels the hd* designation has been removed, and have already redone that fstab (accessing it from a different boot) to reflect the sd*. Here is the slack64 section of my lilo.conf:

Code:
# Linux bootable partition config begins
image = /other/spare4/boot/vmlinuz

[code]....

View 4 Replies View Related

Slackware :: Cannot Find The Source Code

Jan 19, 2011

I need a mixer app called envy24control. Nobody seems to have a Slackware package for it, which would not be a big deal except that I cannot find the source code either! Does anyone know where I can find this thing?

View 8 Replies View Related

Slackware :: Showing Code - Trying To Run PHP File?

Dec 29, 2010

I've been trying to learn php but I can't find a way to get started. I have mysql, php, etc. I have the daemons running and if I go to http://localhost it says it works! But if I try to "run" a php file like http://localhost/test.php all I get is the source code showing in my browser.

Lets say I want to output a simple message:
<?php
echo "Hello world";
?>

Well that's what I get in my browser I don't see the message but the code itself. I had to uncomment Include /etc/httpd/mod_php.conf at the end of htppd.conf .

View 1 Replies View Related

Debian :: Recompiling Changed Code When Building Kernel Debs

Jan 15, 2016

How do I force recompilation of the kernel .deb packages. After a small change I make to the sources without having to clean the sources and recompile the whole kernel again?

Code: Select all$ fakeroot make -f debian/rules.gen setup_i386_none_686
$ fakeroot make -f debian/rules.gen binary-arch_i386_none_686 binary-indep

Calling the second command again does not recompile the modified code, just recreates the .deb packages.

If I use:

Code: Select all$ make -f debian/rules clean before the build command, then it will recompile everything which takes ages.

How can I force recompilation of the files/objects I changed (and dependencies)?

I use this guide: [URL] .... ('Building only a single kernel variant' section)

View 2 Replies View Related

Fedora Networking :: VPN Client Asking For Kernel Source Code Directory

Mar 5, 2009

I 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

View 3 Replies View Related

Ubuntu Installation :: /usr/bin/dpkg Returned An Error Code (1) Kernel

Dec 1, 2010

Code:
Unpacking replacement linux-image-2.6.35-23-generic ...
dpkg-deb (subprocess): data: internal bzip2 read error: 'DATA_ERROR'
dpkg-deb: subprocess <decompress> returned error exit status 2
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.35-23-generic_2.6.35-23.41_i386.deb (--unpack):

[Code].....

both update software and synaptic gave the same error? how do i install this package?

View 1 Replies View Related

Hardware :: Kernel Contains Source Code To Handle AMD Southbridge Initialization ?

Jan 27, 2010

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?

View 7 Replies View Related

Programming :: How To Edit Kernel Source Code In MS Visual Studio

Apr 27, 2010

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 Related

Slackware :: Compile 2.6.37 Kernel Patched With The Autogroup Patch On A Slackware 13.1 System?

Jan 13, 2011

it's possible to compile the 2.6.37 kernel patched with the autogroup patch on a Slackware 13.1 system running 2.6.33.4-smp with 2.6.33.4 headers? I just compiled and installed the 2.6.37-autogroup kernel from AUR on my ARCH setup and I like it especially when using firefox with lots of tabs open and other background apps also running. I did notice a speed and smothness difference in my ARCH testing setup with this kernel patch and I can get same results in 13.1??

View 1 Replies View Related

Slackware :: Slackware 13.1 VIA VT1708S Audio Driver - Get Working Without Rebuilding The Kernel?

Jun 23, 2011

I'm trying to bring my Slackware system back to life as my XP HDD is dying... I've got everything working except for my audio. I got a new motherboard (ASRock P43DE3) and it has a VIA VT1708S as the onboard audio. Is there any way I can get this working without rebuilding the kernel?

View 5 Replies View Related

Slackware :: Where Is The Installer Setup Source Code

Jan 20, 2010

Just as the title says, where on earth is the source for the setup command during the install? I'm guessing that setup is a script, but I'm not sure (can't find it).

View 5 Replies View Related

Slackware :: Kdestartupconfig4 Does Not Exist Or Fails - Error Code Is 127?

Nov 21, 2010

I got a problem with my Slackware installation after upgrading to slackware-current. I made a clean 13.1 install on my laptop, then I logged in as root, connected to the net and upgraded to slackware-current. Then, after rebooting, I try to log in to kde as root but I get this error:
Code:
kdestartupconfig4 does not exist or fails. The error code is 127. Check your installation. After getting these errors, I made a completely new fresh installation but I got the same errors again.

I even added another user with the adduser command just in case that was the problem but that didn't help. I can't log in to KDE.

View 8 Replies View Related

Slackware :: Can't Boot Updated Kernel Slackware Current

Jan 5, 2010

I updated my kernel in slackware current but can't install lilo, when i was with my old kernel it gave an error about not finding the sda drives (they were named hda before the upgrade).I booted into the slackware 13.0 dvd and modified fstab and lilo.conf replacing hda with sda but lilo still gives an error of not finding sda drives.How can i install lilo so i can boot into my sistem??

View 14 Replies View Related

Slackware :: HDMI Sound After Building A New Kernel ( Slackware 13.1 )?

Aug 21, 2010

I'm currently trying to install unRaid on Slackware following this tutorial :[URL].. I'm new to Linux and after many hours, i finally managed to build the new kernel for unRAID (2.6.32.9). But audio on HDMI port doesn't work I tried alsaconf without success. HDMI sound works when i boot into the old kernel.

My codecs are :

Code:
root@unraid:~# cat /proc/asound/Intel/code* | grep Codec
Codec: Realtek ALC888
Codec: Intel G45 DEVIBX
Code:
lspci -v:

[Code]...

View 4 Replies View Related

Slackware :: Switch From Huge Kernel To 2.6.38.4 Kernel?

Jun 22, 2011

Fresh and Full install: Slackware 13.37 64-bit x86_64. What is the correct procedure to switch from huge kernel to 2.6.38.4 kernel?

View 6 Replies View Related

General :: Wireless On Slackware 13.1 Won't Work When Network Has Security Code / Fix It?

Apr 28, 2011

I'm using a hp dualprocessor athlon 11 g42-415dx notebook pc and my wireless wont work i put the passcode in wicd program and it says bad password. So i tried the pin code on the wireless router and that didnt work so am i doing something wrong or is there something wrong with the hardware? i got the wired connection to work but cant get wireless its a little more complex.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved