Programming :: Can't Build Parted 2.3 On Kernel 2.6.34?
Jun 18, 2010
Im trying to build parted 2.3, but I always end-up in the same error:
Code:
In file included from arch/linux.c:42:
/usr/include/scsi/scsi.h:152: error: expected specifier-qualifier-list before 'u8'
/usr/include/scsi/scsi.h: In function 'scsi_varlen_cdb_length':
/usr/include/scsi/scsi.h:163: error: 'struct scsi_varlen_cdb_hdr' has no member named 'additional_cdb_length'
[Code]...
View 14 Replies
ADVERTISEMENT
Jun 18, 2010
trying to build parted 2.3, but I always end-up in the same error:
Code:
In file included from arch/linux.c:42:
/usr/include/scsi/scsi.h:152: error: expected specifier-qualifier-list before 'u8'
[code]...
View 1 Replies
View Related
Apr 13, 2011
I'm trying to debug a module I programmed but I don't want to do it on the running host but against UML (don't want to reboot every 5 minutes).
The UML kernel I downloaded is 2.6.38.2. I have already downloaded the ubuntu kernel headers for this version (they belong to natty though I'm running maverick.... when I installed the .deb file with dpkg I had no problem at all).
Now I'd like to build said module against these headers. How can I do it?
Here's the makefile for my module code...
View 1 Replies
View Related
Nov 27, 2010
I am trying to compile the kernel version 2.6.20-15 on my Linux 10.10 with 2.6.35-22 kernel. Additionally, this is my assignment.After I download kernel, extract it and create a new .config file for the new kernel I am trying to command;make-kpkg clean fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers.after the second command I get an error an it says "nothing to be done" but I expect to have some .deb files for the new kernel. In addition this I have added a new system call to the kernel 2.6.20-15.
View 1 Replies
View Related
May 17, 2011
I will like to build a Linux Kernel, how easy is it to build one?
View 9 Replies
View Related
May 24, 2010
my server are acting weird, how to build a new kernel ?
View 8 Replies
View Related
Feb 12, 2011
im trying to build a simple program for my C programming class, this is the source code
#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;
[Code]...
i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?
View 5 Replies
View Related
Sep 9, 2010
the correct way to remove custom kernels? I was trying to install a driver and only got it half way right and I want to wipe the slate clean and try again.Here's the original:Debian GNU/Linux, kernel 2.6.26-2-amd64root(hd0,4)kernel/boot/vmlinuz-2.6.26-2-amd64 root=UUID=64dcc531-f5b0-47e8-99c4-abeecfab9353 ro quietinitrd/boot/initrd.img-2.6.26-2-amd64
View 2 Replies
View Related
Feb 25, 2010
Just like title.can i disable mmu, and build it? how to do that?
View 4 Replies
View Related
Apr 25, 2011
I need to build a new kernel. I was directed toI tried following the instructions but I think I may have ended up with way more than I wanted. After just over 3 hours the build exhausted the 5.2GB I had available and fell over. The .config file used was nearly twice the size of the one I supplied. Why was it changed?I don't need an rpm.Are the patches supplied with the 2.6.38 sources required or nice to have?
View 3 Replies
View Related
Jun 29, 2010
We are working on 2.6.28. We have a requirement that we should boot using a non compressed kernel image. how can I build a non compressed kernel?
View 1 Replies
View Related
Apr 12, 2010
running current on a Lenovo S10
the b43 driver craps out every few minutes.
so i decided to try the sta driver.
i downloaded the slackbuild but it crashes with the following see attached
View 14 Replies
View Related
Feb 16, 2010
I need to install latest xen 3.4.2 to my centOS. I have:
* xen 3.4.2
* Linux 2.6.18 with Xen 3.4.x support source tarball, updated for Xen 3.4.2
* CentOS kernel-2.6.18-164.11.1.el5
Linux 2.6.18 with Xen 3.4.x have old cciss and scsi drivers. It don't support my hardware.
CentOS kernel-2.6.18-164.11.1.el5 works normaly, but was not compiled with xen 3.4.2.
How can I patch Linux 2.6.18 kernel or upgade CentOS kernel to the latest xen?
View 9 Replies
View Related
Jan 30, 2011
How can we build a packet using C?we have a structure called sockaddr_in which is use to for IPv4,so that we can define address,port and etc in this way:
Code:
struct sockaddr_in sock;
sock.sin_family=AF_INET;
[code]...
View 5 Replies
View Related
Apr 2, 2010
I'd like to compile a generic kernel for my netbook on my desktop. They are both F12 64bit. On my desktop can I do:
make xconfig
make
make modules_install
Then copy the folder to my netbook then:
make install? Is there a better way? I don't really want to make .rpms.
View 1 Replies
View Related
Aug 6, 2011
My VMWare Player was working fine After updating the kernel it is throwing the error "Unable to build kernel module" my kernel is 2.6.40-4.fc15.x86_64 what to do?
View 2 Replies
View Related
Jul 4, 2009
When I build the kernel 2.6.30 source, the rpm package is very big and needed or root filesystem 800-900 Mb. I use "make rpm" as described in Configure, Build and Install a Custom Linux Kernel - openSUSE.
View 7 Replies
View Related
Jun 27, 2010
I'm building the 2.6.34 kernel and I notice some interesting options, which you may want to consider including in the build, if you are building it:
Code:
Code:
View 3 Replies
View Related
Mar 11, 2011
How to build uimage from my kernel linux-2.6.10_mvl401 ,then need to port on my arm PXA 300 through TFTP . What all steps I require to do.In which configuration file i should make changes for ethernet for boot
View 6 Replies
View Related
Apr 26, 2011
I am using the 13.1 build scripts from slackbuilds.org. I modified the scripts to build 3.2.12 rather than 3.2.10.
In 13.1 the main VirtualBox 3.2.12 OSE package built and installed without errors. The VirtualBox GUI starts without errors.
Running the virtualbox-kernel-mksrctarball.sh script built a kernel source package without errors.
Yet the VirtualBox kernel module won't build. I receive the following error:
Code:
]*** Building 'vboxdrv' module ***
make[1]: Entering directory `/dev/shm/virtualbox-kernel-3.2.12/vboxdrv'
make KBUILD_VERBOSE= -C /lib/modules/2.6.33.11-smp-2/build SUBDIRS=/dev/shm/virtualbox-kernel-3.2.12/vboxdrv SRCROOT=/dev/shm/virtualbox-kernel-3.2.12/vboxdrv modules
[Code].....
View 2 Replies
View Related
Mar 18, 2010
I am trying to build a custom kernel but I couldn't. Here are the steps to reproduce it:
1. Set Up an RPM Build Environment as its is explained in [URL]
2. Then follow the instructions in [URL]
3. When I try to install the kernel source rpm I get the following error:
[matias@Centos ~]$ rpm -i [URL
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root . . .
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: unpacking of archive failed on file /home/matias/rpmbuild/SOURCES/linux-2.6.18.tar.bz2;4ba24901: cpio: read
View 8 Replies
View Related
Apr 24, 2011
I can't get the nVidia kernel module built. Each time DKMS runs to install it (I'm trying to install it with the nvidia-kernel-legacy-173xx-dkms package on ), the build fails with a different error. Here is an exemple /var/lib/dkms/nvidia/173.14.27/build/make.log (I have a geForce FX 5200 on the computer I'm trying to install the nVidia driver):
DKMS make.log for nvidia-173.14.27 for kernel 2.6.32-5-686 (i686)
dimanche 24 avril 2011, 17:28:09 (UTC+0200)
make: entrant dans le r©pertoire /var/lib/dkms/nvidia/173.14.27/build
[code]....
View 3 Replies
View Related
Oct 25, 2009
I'm building a Kernel on System A to use on System B. I've followed the walkthrough on [URL], and I get the following rpms:
kernel-debuginfo-common-i686-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-firmware-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAE-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAEdebug-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAEdebug-debuginfo-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAEdebug-devel-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAE-debuginfo-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAE-devel-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
What I don't get are any
kernel-headers-<version>.<arch>.rpm
Files. Don't I need them to rebuild modules and drivers on System B? Otherwise, how should I copy my new headers to System B? BTW, System B crashes when I try to build the Kernel on it, that's why I'm building debugger Kernels on System A.
View 2 Replies
View Related
Nov 7, 2010
That's it guys. I have successfully installed the proprietary ati drivers in past 6.34 and 6.35 kernels but not in latest .6.36. I'm wondering if this have something to do with compatibility or not.
Installation log shows me some errors I can't recognize:
Code:
View 9 Replies
View Related
Oct 15, 2010
I had a debian installation with kernel 2.6.32 I had a set of instructions to apply a patch to kernel which I followed to the T. The grub now shows the Debian installation with the old kernel and the Debian installation with the patched kernel.
The trouble is the system goes blank after attempting to start gdm3.
I have tried running in recovery mode and then typing startx but it only shows a blank screen.
Code: lspci | grep -i display
00:02.1 Display controller : Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) If i boot with the old kernel, everything works fine. Is this an "X" window configuration issue. I tried X -configure but still nothing changed.
View 3 Replies
View Related
Apr 29, 2010
I use ltib for mpc8272ads. How to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y'?
View 3 Replies
View Related
Mar 30, 2010
I have just started to work with BeagleBoard and built the Linux kernel (version 2.6.30.5) and download to the board and it start. I have also connected to the board over serial to Putty terminal.
Now I want to connect to the Beagle Board using USB instead of serial and I am looking for some info on how to do this.
My goal would be to connect to board over USB and then be able to:
* Download my own binary files/programs from PC over USB to BeagleBoard
* Communicate over USB instead of UART/Putty to get log and execute commands
Question:
How do I build the Linux kernel with USB support, meaning what settings should be ticked in menuconfig? Or is it already included?
How do I enable USB OTG in menu config?
I assume I would need some driver on my PC with Windows XP to connect to my BeagleBoard over USB. Were can I find this USB driver?
View 1 Replies
View Related
Mar 12, 2011
This is from Centos 5.5 so I apologize to anyone who may be offended.I installed my system and it came with kernel 2.6.18-194.el5. I installed the src.rpm of this kernel with rpm, patched, and built it. Then I did a yum -y install kernel.i686 which installed kernel-2.6.18-194.32.1.el5.centos.plus.src.rpm. Since this was a yum install, why doesn't this new kernel version show in the BUILD and SPEC directory?
View 1 Replies
View Related
Oct 22, 2010
My main computer (HP Pavilion 510n) only allows 512 meg ram.I've never built a kernel for Slackware.I'm running 13.0 :2.6.29.6 #1 Mon Dec 7 16:34:06 CST 2009 i686 Intel(R) Celeron(TM)CPU 1200MHz GenuineIntel GNU/Linux.Would there be any advantage to build a new kernel for 512 megs ram maximum? I do basic stuff with this: browse, email, video clips, music.
View 5 Replies
View Related
Mar 4, 2010
I had an issue with the module build for vbox 3.1.2 breaking on the latest kernel ( /etc/rc.d/rc.vboxdrv setup ). Apparently the issue is that a kernel header (autoconf.h ) has changed its location in the module tree and hence the issue.
2 options:
1. upgrade to 3.1.4
2. create a symlink as follows
cd /usr/src/linux/include/linux
ln -s ../generated/autoconf.h autoconf.h
View 12 Replies
View Related