Re: Trouble with PCI Ethernet card

2008-04-09 Thread Dinesh Bhat
This probably means mapping the BARs were unsuccessful. You should look into ioremap_nocache more carefully within your driver. Dinesh Thomas Häberle wrote: Hi! I'm working with a MPC5200 on an STK52xx (TQ components) using the Linux_2_4_devel Kernel from the DENX site. Currently I have

Re: module programming in linux 2.6

2007-11-05 Thread Dinesh Bhat
I added EXTRA_AFLAGS += -DLINUX_2_6 CFLAGS_miface.o = -D"KBUILD_MODNAME=KBUILD_STR(NAME)" to all the modules that are to be linked to my module and I could load the drivers without problems. Dinesh cihan wrote: Hello everybody I have a module that write for kernel 2.4 and I have to port

Re: Module stacking & warnings

2007-09-28 Thread Dinesh Bhat
How do you know MY_SYMBOL is exported correctly? Have you tried explicitly exporting (EXPORT_SYMBOL(MY_SYMBOL)) in your code to get rid of the warning during make? If you can get rid of the error during make, you will be able to insmod the module. Dinesh Benedict, Michael wrote: I am trying

Re: compilng and booting new kernel

2007-09-18 Thread Dinesh Bhat
Are you using SATA disks? If so, enable the driver modules in the .config file. Do you see the compiled kernel in grub list? If not, follow these two steps: cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.0 cp System.map /boot/System.map-2.6.0 * Edit /etc/lilo.conf, and add these lines: imag

Re: e1000.ko: -1 Invalid module format

2007-08-16 Thread Dinesh Bhat
Look for the architecture types for the kernel and kernel-devel packages. Most likely they would be different, e.g. i386 for kernel and i586 for kernel-devel or something. Did you install kernel-devel separately or did it come with the default installation? Most likely if you use yum to install

Re: [***SPAM*** Score/Req: 6.1/5.0] System calls in user and kernel space

2007-07-31 Thread Dinesh Bhat
Most likely you don't have the correct libraries in compile path. Post your Makefile with the errors you are getting and someone would be able to help you. Dinesh Jug Venkatesh wrote: Hi, I am writing new system calls for a security project, and I was wondering if there is any way to specif