General :: Kernel Programming For BSD Or Linux?

Jul 20, 2010

I have recently been getting into kernel development and was wondering whether the Linux kernel or BSD kernel would be easiest for newbies (such as myself). Does anyone know? I am really considering BSD because it seems to me to have the best documentation.

View 2 Replies


ADVERTISEMENT

Debian Programming :: Compiling Linux Kernel Module

Aug 27, 2014

I'm trying to compile a Linux kernel module called hello-2.c using the command "make -C /lib/modules/$(uname -r)/build M=${PWD} modules" (without the quotes) (which I found online), and the following is the (seemingly successful) output.:

Code: Select allmake: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
  Building modules, stage 2.
  MODPOST 0 modules
make: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'

However, I don't see a hello-2.ko (in the same folder or anywhere else for that matter). I'm Using Debian GNU/Linux 7.6.

Everything I am doing is within a folder/directory called "thefolder" (without the quotes) in the "/tmp" directory (without the quotes).

Why I can't see a hello-2.ko, and what to do to get it?

View 2 Replies View Related

General :: Kernel Panic In 64bit Arch Linux After Kernel Recompile - 2.6.35-rc3

Jun 15, 2010

I have recompiled a few kernels, but all on 32bit systems so not sure if that has anything to do with it.

Running Arch Linux 64bit, most recent version.

Kernel Output:

Code:

My first thoughts was that it might be my grub bootloader configuration, so had a big play around with that but it didn't fix it. Also made sure support was built for filesystems. However almost all that Fstab mounts are ext3 anyway, and certainly the root and /boot are. Now thinking it may be a memory error so will run a check when I shutdown.

View 3 Replies View Related

Programming :: Perform Floating Point Operations In Linux Kernel?

Apr 7, 2011

how to perform floating point operations in kernel? i answered that its impossible to perform floating point operations in kernel.but he is telling that its possible but with some feature to be added.can any body know about this perfectly??

View 1 Replies View Related

General :: Compile Linux Kernel For Different Machine?

Feb 10, 2011

I am new to kernel development,and I have to compile a kernel with some specific features and then install it on some machines.The problem is that these machines are slow,and hence I want to compile them on a fast desktop once and then install them on the machines.I am following this guide from Ubuntu wiki.

So what I plan to do is, download the source and generate a config file on one of the slow machines, copy both to the faster machine, generate the image on the faster machine and then install it on all the slow machines. The slow machines are almost identical (same cards, processors, OS etc.) but different from the fast machine(different OS and processor). So will this work or not?

View 2 Replies View Related

General :: Cannot Find Kernel Version In /usr/src/linux-2.6.21.5 - Is It Configured

Dec 21, 2010

I'm currently trying to get my wireless card to work with ndiswrapper after installing backtrack4 today, BUT.When I try and use the make command it tells me that some or another file is missing. I've checked and the output is right, There is no file of that name but there is neither a folder of that name.

Code:

root@bt:/usr/src/ndiswrapper-1.56/ndiswrapper-1.56# make
make -C driver
make[1]: Entering directory `/usr/src/ndiswrapper-1.56/ndiswrapper-1.56/driver'

[code]....

View 5 Replies View Related

General :: Kernel Panic On Update To Ubuntu Linux 2.6.31 ?

Dec 16, 2009

Update manager downloaded and installed latest kernel (Ubuntu, Linux 2.6.31 -16 -generic). When I tried to restart I get the message { 1.661235}Kernel panic - not syncing: VFS: unable to mount root fs on unknown - block(8,38). Everything works fine on previous update.

View 1 Replies View Related

General :: PS2 Mouse Is Not Auto Detecting In Linux 2.6.33.3 Kernel

Jul 26, 2010

I am working on linux kernel building and customising for our requirement.All these days we were using 2.6.9EL5 kernel to create our own Bootable kernel. Lately we moved to 2.6.33.3 as SATA CDROM support was not available during booting with the earlier kernel.Now with the new kernel i have got all the updates i wanted with respect to hardware detection during booting but having an issue with my PS2 mouse not auto detecting while booting. However i can configure the mouse with the popup that comes during booting by selecting the generic PS2 3 button mouse option. With this my mouse works properly. I am wondering is there a way to make the mouse auto detectable.I have attached one of the Xconfig file that is part of our process.

View 2 Replies View Related

General :: Create Linux-libc-dev Package When Compile Ubuntu Kernel?

May 6, 2011

I've compiled the last stable ubuntu kernel (2.6.38-...) following this guide: How to compile a Ubuntu 10.10 kernel but in this guide doesn't explain how create linux-libc-dev package for that kernel? How do I do?

I've tried with fakeroot debian/rules binary-arch-headers but it returns an, IMHO, absurd error:

mkdir /home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/
mkdir: cannot create directory `/home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/': File exists
make: *** [install-arch-headers] Error 1

The error is correct but this folder is created in the same process!

View 1 Replies View Related

General :: Moving From Paid Linux To Unpaid Linux CenOS - Red Hat (KVM Virtualization)

Dec 21, 2009

if anyone of you have shifted using Paid Red Hat Linux with CentOS, and what are your experiences of moving from Paid Linux to Unpaid Linux CenOS. When do you suggest a person use Paid Linux and when to use Unpaid Linux?

View 1 Replies View Related

General :: Verifying Qlogic FC HBA Adapter In Linux ( SUSE Linux)

May 5, 2010

i would just like to verify that the command

lspci would show the FC adapter installed

is there any other command that i can use to verify the FC adapter is being installed

View 4 Replies View Related

General :: Migration Of C++ Application From SuSE Linux To Red Hat Linux

Feb 12, 2010

I want to Migrate my C++ Application from SuSE Linux to Red Hat Linux.What impact analysis i should do?

View 3 Replies View Related

General :: How To Share A Folder From Linux To Linux

Mar 17, 2010

how to share a folder from linux to linux systems and setting password to open that folder

View 14 Replies View Related

Programming :: Mobile Phone Programming Using Linux

Sep 30, 2010

I am trying to work on mobile phone programming in Linux platform using C language. Can somebody guide with this? I tried to search the web but I didnt get appropriate site.Also guide me about the mobile phones compliant with linux platform for programming using C language.

View 5 Replies View Related

Ubuntu :: Removing Linux Kernel Image

Apr 24, 2011

Other than the linux kernel image I am using is it ok to remove the others I have and thus gain more disk space ? I only have a small asus 900 netbook.

View 4 Replies View Related

Fedora Servers :: No /usr/src/linux Directory / Recompile A Kernel?

Feb 11, 2009

I need to recompile a kernel and I am wondering why I have a /usr/srckernels directory instead of a /usr/src/linux directory?

I installed all the packages I thought I needed.... kernek-devel, gcc, make...

What am I missing to do this "correctly"?

View 5 Replies View Related

Hardware :: Interfacing USB-based FM Transmitter With Linux-kernel

Mar 18, 2011

I need an FM transmitter (with RDS support) that can be controlled via the linux kernel, preferably connected via USB.

Recommend a good programmable USB-based FM transmitter?

I have investigated an architecture with i2c-tiny-usb interfaced with a Silicon Labs si4713, but the additional circuitry to get it to work it too much. (I'm not an electronics engineer).

View 3 Replies View Related

Ubuntu :: Error : After Installing Linux-kernel-pae And Binaries

Dec 11, 2010

I read in some website and thought of giving a shot at the pae enabled kernel as i was having 6GB of RAM available in my system. I couldn't use 64bit system because i have a lot of applications that are not available in 64bit. I use a few customised software (From my office corporate) they are 32bit too.
Here is what i did..

sudo install linux-generic-pae
It installed a few headers and packages additionally required.
and i did a reboot.

[Code]...

An alternate solution to use all the 6GB is also welcome... using the current pae enabled kernel. do i need to install any additiona drivers..While i try to load Xwindows.. I get the following error.A long error report is generated and at the end "No Xwindows system installed.."

View 4 Replies View Related

Ubuntu :: Linux Kernel Vulnerability Openly Demonstrated

Oct 24, 2010

If the moderators permit (because it's a security issue), the security vulnerability was shown in the ubuntu 10.04(64 bits) first by VSR, a security research firm. Now kindly view the link i will give and suggest what to do! I have the same version ,but the 32 bits(Intel).

View 2 Replies View Related

Fedora Hardware :: Broadcom Wireless BCM4312 On Linux Kernel 2.6.35.10-72

Dec 26, 2010

I have a problem here with my updated kernel. I'm currently using Fedora 14 kernel 2.6.35.9-64, and my wireless card Broadcom BCM4312, which had an issue before with Linux distros, is working fine already, thanks to the kmod-wl software driver. My problem now is this, after updating to kernel 2.6.35.10-72, fedora does not boot, and I noticed that the wireless card is the only thing not activating, compared to the working kernel. And when i looked at the log of the bootup (pressed right arrow key), I saw this:

[code]...

View 3 Replies View Related

Ubuntu Installation :: Error Exists While Updating Linux Kernel

Mar 3, 2011

My kernel is not updating and I'm getting errors like.........

[Code]...

View 6 Replies View Related

Slackware :: Kernel Image In /usr/src/linux/arch/i386/boot?

Jan 5, 2010

's/ARCHTYPE=i386/ARCHTYPE=x86/'If your looking for a kernel image in /usr/src/linux/arch/i386/boot, your not likely to find one.

View 3 Replies View Related

OpenSUSE Install :: Wrong Linux Kernel Version Reported By Uname -a

Jan 6, 2010

I am an openSuSE user for many years. My current installation is openSuSE 11.2. However, my first was SuSE 6.4 and I have been _constantly_ upgrading since then until reaching the current openSuSE 11.2. The technical issue I have been facing lately is with the kernel version of my current system: although it should be 2.6.31.5-0.1-desktop, as this is the one I have chosen via the online update mechanism and the yast2 system boot-loader procedure, grub shows it as preselected, the boot procedure in the end greets me mentioning this very kernel version, _but_ when I issue the command: uname -a in a command prompt, I am informed of using linux kernel version: 2.6.18.2-34-default #1 SMP PREEMPT

I am really quite puzzled, since I _cannot_ find any such vmlinuz file under /boot/ ! Could it be that my system properly runs with the expected kernel version, but uname mistakes it with a different one? Is there a way to determine the actual version of the linux kernel that my system currently runs with? If it's a problem with uname, have you got any suggestions that could potentially shed some light towards the origin/cause of the reported issue?

View 9 Replies View Related

Programming :: 12F675 Programming From Linux

Dec 30, 2010

Back at uni I used to love programming in assembly, we used ARM processors and some pre-made boards. Anyway, I'd like to try and get back into it, so I have acquired some basic electronic components, some prototype board, a couple of 12F675 chips and a JDM serial programmer.Now, whilst I could run this from my works laptop on Windows, I'd far prefer to use my Linux desktop! (of course!) I'll be using my favourite editor to write the code so not bothered about an all singing and dancing IDE.I have a couple of questions...

1) What can I use to assembly/compile the source code? Does gcc have any support? If not, can someone recommend a free assembler, ideally command line?

2) Is there any good simulator software out there (I've found a few but not found people who have actually used them)? It would be useful to be able to run the code through a simulator before actually uploading to the chip - saves time and effort uploading something to find I've missed a command out!

3) Any useful links, tutorials, forums?

4) Any other resources? Like I said, I can (or at least used to be able to! ) write code for an ARM chip but the instruction set it different for this. I can easily pick up languages though so not too bothered about learning from scratch. I know people will say use c, but I'd far prefer to go down the ASM route, just for my own benefit and enjoyment!

This isn't for any particular project, it's just a hobby - once I've got a sound grounding then I'll start looking at a few more elaborate things!

View 1 Replies View Related

General :: Developing A Project In C Kernel Programming?

Mar 11, 2010

I am a Master's student.I am a newbie to Linux. I am interested in doing a term project in C kernel programming. I need help in developing a project in which I can use C kernel programming .

View 2 Replies View Related

Programming :: Add Linux Users Online?

Jul 6, 2010

Im looking for a script that could help me create linux users on my server online using a website.Anybody know where i could find one?or how to make it? not the best with coding doh

View 3 Replies View Related

Programming :: Perl From USB Pen To Run On Both Linux And Windows

May 23, 2011

Im somewhat new at perl and was wondering if there was a way to run a perl script or tool made from perl, from a USB pen that would work both on Linux and on Windows?

View 1 Replies View Related

Programming :: Measuring Microseconds With Linux

Oct 27, 2010

I need to measure the time it takes for a program I'm writing to do Its job in microseconds resolution. I'm using Ubuntu 10.10. My Idea is, to write a device driver that directly reads the counter that produces the interrupt of RTC ticks. How do I do this, for a Linux kernel and a PC hardware?

View 4 Replies View Related

General :: Kernel Programming - Convert Timespec To Datetime

Dec 29, 2010

I'm changing some syscalls functions into kernel 2.6.36.2

So i'm doing this :

Code:

But i have a output like this : Date 1293619251

How can i convert inode->i_atime into D:M:Y h:m Format?? or just simply D:M:Y

View 1 Replies View Related

Ubuntu :: Trying To Patch 10.10 I686 - 1 Out Of 1 Hunk FAILED -- Saving Rejects To File Linux-2.6/Documentation/kernel-parameters.txt.rej

Nov 16, 2010

I saw this forum post and I want to try it out so I went here and copied and pasted the following text into a file called test.patch.

Code:
---
Documentation/kernel-parameters.txt | 2
drivers/tty/tty_io.c | 1
include/linux/sched.h | 19 ++++
init/Kconfig | 12 +++
kernel/fork.c | 5 +
kernel/sched.c | 25 ++++--
kernel/sched_autogroup.c | 140 ++++++++++++++++++++++++++++++++++++
[Code]....

1 out of 1 hunk FAILED -- saving rejects to file linux-2.6/Documentation/kernel-parameters.txt.rej I'm not so good with patching so I am sure it is probably something easy.

View 7 Replies View Related







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