Displaying 20 results from an estimated 800 matches similar to: "Can't Compile Driver due to Missing version.h"
2008 Oct 14
4
yum priorities question
Hello,
I have a question about working principles of yum.
Here are the details:
Installed package: GeoIP.i386 1.4.4-1.el5.centos
Repo: CentOS Extras
Priority for CentOS Extras repo: 1
"yum update" wants to replace the above package with the following:
Package: geoip.i386 1.4.5-1.el5.rf
Repo: rpmforge
Priority for rpmforge: 15
And yes, the following is already in the priorities.conf
2008 Jul 31
3
File system goes read-only once in a while
Hi,
My Centos 5.2 server (5.1 suffered the same problem as well) has a
logical volume on a RAID 10 array (4 SATA harddisks on a Highpoint
RR2310 controller). /etc/fstab has an entry for this array as below
/dev/raid_vg0/raid_lv0 /mnt/raid ext3 defaults 0 0
Normally it works OK. But, file system of "this volume" once in a while
goes "read only"
2008 Mar 17
1
internal messages problem with postfix
Hello,
After a server crash, I re-installed postfix, cyrus-imapd, amavisd-new,
spamassassin on a Centos 5.1 box. But, now mail system behaves somewhat
different.
There is no problem with mail receiving/sending from/to internet.
Before the crash, mail system used to sent internal messages to
root at example.com. But now, I can't receive internal messages as it tries
to send them to root
2008 Feb 20
1
ls : not UTF-8 compliant?
Sorry bugging you for this simple command.
ls command displays question marks for the local characters (ones not
included in 8859-1 space) in filenames.
ie.
[root at server aa]# touch ?arp
[root at server aa]# ls
??arp
[root at server aa]# ls -b #for octal escapes
\303\247arp
[root at server aa]#
However, ls|less, ls|more or vi <directory name> all display filename
2009 Mar 16
3
grub issue
HI,
I always get a grub prompt ,after I installed 2nd processor to the
Server IBM x3610
At the grub prompt, I always have to issue below commands. Then,
Server starts successfully.
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> kernel /vmlinuz-2.6.18-128.1.1.el5PAE
[Linux-bzImage, setup=0x1e00, size=0x1bb714]
grub> initrd
2011 Nov 05
1
Odd ethernet interface
Hello,
I have a CentOS 6 VM on a CentOS 6 host. This VM has two ethernet
interfaces, eth0 and eth1. It was working nice. All of a sudden eth1
stopped working as expected. Kernel started to give the message below:
kernel: udev: renamed network interface eth2 to eth2-eth1
There is no any eth2 or eth2-eth1 in /etc/sysconfig/network-scripts/. I
really don't know where it is coming from.
2009 Jun 03
5
Removing old kernels
I have the following kernels on my /boot:
2.6.18-128.1.6
2.6.18-92.1.18
2.6.18-92.1.22
I'm low on /boot space and need to remove the oldest version. It
appears that I cannot use yum to remove since all of the versions are
the same (only the release is different). I believe that I can use rpm
to remove the old version, but I also need to remove them from the
grub.conf. Any other
2008 Dec 03
5
Re: Can Xen boot a Linux OS already installed in a realpartition
Well, you have two options:
1) If your hardware supports VT, you can boot this in a Xen HVM domU (fully virtualized). To do this, you need to make sure that the initrd images in the Linux partition are set up correctly to support the PIIX IDE/ATA chipset and that your root and fstab entries use the correct device.
2) If you can install a Xen domU kernel into the Linux partition install, you can
2012 Apr 12
2
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
On Thu, Apr 12, 2012 at 03:48:29PM +0800, 15102925731 wrote:
> BTW, the Makefile is as folllow,
>
> CC := gcc
> obj-m := hellomodule.o
> KERNELDIR := /lib/modules/`uname -r`/build
> PWD := $(shell pwd)
> modules:
> $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
^^^^^^^^^^^^^^
Check the Makefile under KERNELDIR directory.
Regards,
chenwj
--
Wei-Ren Chen
2012 Apr 12
2
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
Wow that's to much output information.
Maybe I can put it in this way. Could you tell me the clang option that can include the linux kernel headers???
Something like
"clang -O3 -isystem /lib/modules/`uname -r`/build/include -emit-llvm hellomodule.c -c -o hellomodule.bc"
Thank you!
--
祝好!
甄凯
2012 Apr 12
0
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
BTW, the Makefile is as folllow,
CC := gcc
obj-m := hellomodule.o
KERNELDIR := /lib/modules/`uname -r`/build
PWD := $(shell pwd)
modules:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
Can I use an option of clang to specify the KERNELDIR ,etc?
Thank you!
--
祝好!
甄凯
------------------------------------------------------------------------------------------------------
2012-04-12
2008 Apr 19
1
Not able to run kernel-xen with megasr module :/
I've managed to install CentOS 5.1 on S5000PAL
with fakeraid Intel Embedded Raid Technology II
Raid1 (LSI chipset) with some help of kickstart
declaration 'driverdisk --source=http://.../driver.img'
Then I've had some problems with yum update - new kernel
didn't know about megasr.ko. I've solved it with commands:
cd /lib/modules/
cp 2.6.18-53.el5PAE/updates/megasr.ko
2012 Apr 12
0
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
Sorry, but I didn't find a Makefile under KERNELDIR.
Why is it necessary to check that makefile anyway???
As to the Makefile that I posted before, if I can changed that file to build the .c into .bc rather then .o, that would also solve my problem!
Thank you!
--
祝好!
甄凯
------------------------------------------------------------------------------------------------------
2012 Apr 18
1
[LLVMdev] How to compile this linux-driver like programme into .bc file?
I may try to use the Makefile then.
When using gcc
the Makefile is
CC := colorgcc
obj-m := hello.o
KERNELDIR := /lib/modules/2.6.36.1/build
PWD := $(shell pwd)
modules:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
#modules install:
# $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
How to change it so the generating result is .bc file not the .o file? PLEASE BE KIND AND HELP ME~~
--
2006 Nov 27
4
Get error msg if try to use kernel makefile / build kernel
Using the new method for building a standalone kernel module
(although seems to happen with the traditional way as well)
I get "mach_mpspec.h: No such file or directory"
Same result if I try to do a kernel 'make'.
Subsequently I get MAX_MP_BUSSES and MAX_IRQ_SOURCES undeclared.
This should surely work 'out of the box' with Centos ?
Any ideas about what's missing ?
2010 Aug 31
2
Centos 5.5, not booting latest kernel but older one instead
I've been going along not noticing things happening right under my nose.
so imagine my surprise when I discovered last night that my Centos 5 box
has installed multiple new kernels over the last few months, as updates
come out, and IT IS NOT BOOTING THE NEWST ONE.
grub.conf says to boot kernel 0, and 0 is the newest one. but the one it
actually boots is 6 or 8 down the list (clearly I've
2010 Jun 19
2
dahdi modules installed wrong location
CENTOS 5.5
dahdi 1.4.3.0.1
uname -r
2.6.18-194.3.1.el5PAE
[root at localhost dahdi-linux-2.3.0.1]# service dahdi start
Loading DAHDI hardware modules:
FATAL: Module dahdi not found.
wct4xxp: FATAL: Module wct4xxp not found.
[FAILED]
wctc4xxp: FATAL: Module wctc4xxp not found.
2007 May 22
1
Compilation of kernel failed for CentOS 5
I downloaded the src rpm for CentOS 5 and tried to recompile it. It failed
with the following message:
+ sh ./scripts/modsign/modsign.sh /var/tmp/kernel-2.6.18-8.el5-root
/lib/modules/2.6.18-8.el5PAE/kernel/drivers/char/watchdog/pcwd_pci.ko CentOS
gpg: WARNING: unsafe permissions on homedir `..'
+ mv -f
2015 Jan 26
2
No symlink support on SMB2 and SMB3?
On Fri, Jan 23, 2015 at 01:20:05PM -0800, Jeremy Allison wrote:
> On Fri, Jan 23, 2015 at 10:16:34PM +0100, Ralph B?hme wrote:
> > On Fri, Jan 23, 2015 at 01:08:31PM -0800, Jeremy Allison wrote:
> > > On Fri, Jan 23, 2015 at 10:05:44PM +0100, Markus Doits wrote:
> > > >
> > > > On 23.01.15 19:57, Miguel Medalha wrote:
> > > > > I am using
2012 Apr 18
0
[LLVMdev] How to compile this linux-driver like programme into .bc file?
Dear Chen,
I tried the command you told me. It turns out that clang use -I option rather then -isystem.
But after I included the init.h file, it fired at me that "asm/processor.h" is not fount. Then I included that file
using -I option and some other files were said not found! It's like I opened a can of worms...
I can still continue to include the file that is said not found. But