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.
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.:
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.
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??
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?
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'
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.
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.
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:
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?
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.
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.
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).
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.."
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).
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:
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?
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!
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 .
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
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?
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?
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.