RE: Device Driver

From: Bloch, Jack (
Date: Thu Oct 10 2002 - 11:36:05 EST

Thanks for the response. I figured out the problem. I included
linux/modversions.h in my makefile and now it works (silly mistake on my

Jack Bloch
Siemens ICN
phone (561) 923-6550

-----Original Message-----
From: szonyi calin []
Sent: Thursday, October 10, 2002 11:21 AM
To: Bloch, Jack;
Subject: Re: Device Driver

 --- "Bloch, Jack" <> a écrit : > I
have written a device driver for a cPCI device. Thsi device
> driver loads
> and runs successfully when my application starts (I call
> /sbin/insmod).
> However, when I add the following line to /etc/modules.conf
> alias ifp0 Icdrva0s /* my device is called ifp0
> and the driver
> Icdrva0s.o is stored in
> /lib/modules/2.4.18-3/kernel/drivers/net */
> I get depmod errors. When I run depmod -e, I see that it is
> complaining
> about all kinds of regular symbols (ioremap,
> pci_register_driver to name but
> a few). What am I doing wrong? Please CC me directly on any
> responses.


What do you use for depmod ?
If you do a man depmod you can see that it has an algorithm
for finding the But maybe the case that
depmod thins that your is in another directory.

I think it's better to specify manually the system map
from your kernel tree (i.e. /usr/src/linux/

> Thanks in advance,
> Jack Bloch
> Siemens ICN
> phone (561) 923-6550
> e-mail


A mouse is a device used to point at 
the xterm you want to type in.
Kim Alm on a.s.r.

___________________________________________________________ Do You Yahoo!? -- Une adresse gratuite et en français ! Yahoo! Mail : - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:37 EST