linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* modules.pcimap
@ 2005-01-17  9:59 shyam
  2005-01-17 11:48 ` modules.pcimap Jan Zwiegers
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: shyam @ 2005-01-17  9:59 UTC (permalink / raw)
  To: linux-hotplug

Hi,
I find that on doing depmod in /lib/modules/'uname-r'/   the 
modules.pcimap does not contain the serial PCI driver that I am 
implementing. My kernel version is 2.6.9-1.667 and I have 
module-init-tools-3.1-0.pre5.3 installed. I am not able to understand 
whether it the MODULE_DEVICE_TABLE that I am exporting that is creating 
the problem or it is a depmod bug.
thanks in advance,
shyam


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modules.pcimap
  2005-01-17  9:59 modules.pcimap shyam
@ 2005-01-17 11:48 ` Jan Zwiegers
  2005-01-17 14:42 ` modules.pcimap shyam
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Jan Zwiegers @ 2005-01-17 11:48 UTC (permalink / raw)
  To: linux-hotplug

Hi Shyam

I have also just started on Linux Kernel 2.6 and went through a bit of 
darkness to get my drivers going, so I might be able to help you.
1) Have you used the new PCI driver structure to write your driver 
(<kernel source>/Documentation/pci.txt & <kernel 
source>/Documentation/driver-model/driver.txt)
2) Can you load an unload your driver successfully with depmod from your 
source directory and any other directory?
3) Have you install the driver under the correct directory under 
/lib/modules/<kernel ver>/kernel/drivers/ ?

Cheers
Jan

shyam wrote:

> Hi,
> I find that on doing depmod in /lib/modules/'uname-r'/   the 
> modules.pcimap does not contain the serial PCI driver that I am 
> implementing. My kernel version is 2.6.9-1.667 and I have 
> module-init-tools-3.1-0.pre5.3 installed. I am not able to understand 
> whether it the MODULE_DEVICE_TABLE that I am exporting that is 
> creating the problem or it is a depmod bug.
> thanks in advance,
> shyam
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
> Linux-hotplug-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
>




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modules.pcimap
  2005-01-17  9:59 modules.pcimap shyam
  2005-01-17 11:48 ` modules.pcimap Jan Zwiegers
@ 2005-01-17 14:42 ` shyam
  2005-01-17 18:25 ` modules.pcimap Greg KH
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: shyam @ 2005-01-17 14:42 UTC (permalink / raw)
  To: linux-hotplug

hi,
I have implemented the driver using the new PCI driver structure.And I 
am able to load the module but I feel my probe routine does not seem to 
work. I feel the driver is not getting bound to the device at all.
There is one more thing that I have come to know. Kay maybe you can 
understand my problem now. I see that the vendor ID for the Exar card is 
being supported by the 8250/16550 device driver part of the kernel. 
Hence I think that the this serial driver is getting control of the 
device and getting bound to it. Hence my driver can not probe the device 
now. Is there anyway other than recompiling the kernel without this 
driver which can override this kernel driver so that I can load my 
driver as module and register to the device.
thanks,
shyam
Jan Zwiegers wrote:

> Hi Shyam
>
> I have also just started on Linux Kernel 2.6 and went through a bit of 
> darkness to get my drivers going, so I might be able to help you.
> 1) Have you used the new PCI driver structure to write your driver 
> (<kernel source>/Documentation/pci.txt & <kernel 
> source>/Documentation/driver-model/driver.txt)
> 2) Can you load an unload your driver successfully with depmod from 
> your source directory and any other directory?
> 3) Have you install the driver under the correct directory under 
> /lib/modules/<kernel ver>/kernel/drivers/ ?
>
> Cheers
> Jan
>
> shyam wrote:
>
>> Hi,
>> I find that on doing depmod in /lib/modules/'uname-r'/   the 
>> modules.pcimap does not contain the serial PCI driver that I am 
>> implementing. My kernel version is 2.6.9-1.667 and I have 
>> module-init-tools-3.1-0.pre5.3 installed. I am not able to understand 
>> whether it the MODULE_DEVICE_TABLE that I am exporting that is 
>> creating the problem or it is a depmod bug.
>> thanks in advance,
>> shyam
>>
>>
>> -------------------------------------------------------
>> The SF.Net email is sponsored by: Beat the post-holiday blues
>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
>> _______________________________________________
>> Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
>> Linux-hotplug-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
>>
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
> Linux-hotplug-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
>



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modules.pcimap
  2005-01-17  9:59 modules.pcimap shyam
  2005-01-17 11:48 ` modules.pcimap Jan Zwiegers
  2005-01-17 14:42 ` modules.pcimap shyam
@ 2005-01-17 18:25 ` Greg KH
  2005-01-18 20:35 ` modules.pcimap David Brownell
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2005-01-17 18:25 UTC (permalink / raw)
  To: linux-hotplug


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

A: No.
Q: Should I include quotations after my reply?


On Mon, Jan 17, 2005 at 08:00:58PM +0530, shyam wrote:
> hi,
> I have implemented the driver using the new PCI driver structure.And I 
> am able to load the module but I feel my probe routine does not seem to 
> work. I feel the driver is not getting bound to the device at all.

Do you have a pointer to your code anywhere so we could review it?

> There is one more thing that I have come to know. Kay maybe you can 
> understand my problem now. I see that the vendor ID for the Exar card is 
> being supported by the 8250/16550 device driver part of the kernel. 
> Hence I think that the this serial driver is getting control of the 
> device and getting bound to it. Hence my driver can not probe the device 
> now. Is there anyway other than recompiling the kernel without this 
> driver which can override this kernel driver so that I can load my 
> driver as module and register to the device.

No.  So your driver also binds to the same device as another one?  Does
it do something different from the other driver?

thanks,

greg k-h


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modules.pcimap
  2005-01-17  9:59 modules.pcimap shyam
                   ` (2 preceding siblings ...)
  2005-01-17 18:25 ` modules.pcimap Greg KH
@ 2005-01-18 20:35 ` David Brownell
  2005-01-18 20:43 ` modules.pcimap Greg KH
  2005-01-19  6:23 ` modules.pcimap Jan Zwiegers
  5 siblings, 0 replies; 7+ messages in thread
From: David Brownell @ 2005-01-18 20:35 UTC (permalink / raw)
  To: linux-hotplug

?QAF emos ot dedda eb siht t'ndluohS

On Monday 17 January 2005 10:25 am, Greg KH wrote:
> 
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing on usenet and in e-mail?
> 
> A: No.
> Q: Should I include quotations after my reply?
> 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modules.pcimap
  2005-01-17  9:59 modules.pcimap shyam
                   ` (3 preceding siblings ...)
  2005-01-18 20:35 ` modules.pcimap David Brownell
@ 2005-01-18 20:43 ` Greg KH
  2005-01-19  6:23 ` modules.pcimap Jan Zwiegers
  5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2005-01-18 20:43 UTC (permalink / raw)
  To: linux-hotplug

On Tue, Jan 18, 2005 at 12:35:28PM -0800, David Brownell wrote:
> ?QAF emos ot dedda eb siht t'ndluohS

Why?  Like anyone who top posts would take the time to read a FAQ?  :)

greg k-h


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modules.pcimap
  2005-01-17  9:59 modules.pcimap shyam
                   ` (4 preceding siblings ...)
  2005-01-18 20:43 ` modules.pcimap Greg KH
@ 2005-01-19  6:23 ` Jan Zwiegers
  5 siblings, 0 replies; 7+ messages in thread
From: Jan Zwiegers @ 2005-01-19  6:23 UTC (permalink / raw)
  To: linux-hotplug

Jan Zwiegers mid-posted:
Greg KH wrote:

>On Tue, Jan 18, 2005 at 12:35:28PM -0800, David Brownell wrote:
>  
>
>>?QAF emos ot dedda eb siht t'ndluohS
>>
Ok I give up!

>Why?  Like anyone who top posts would take the time to read a FAQ?  :)
>
In this is case it is Frequently Questions to Answers or FQA by greg k-h:)

>
>greg k-h
>  
>
I reputable study about top-posting and mid-posting or 
point-inserted-posting (or PIP) has shown that mid-posting to be the 
most understandable solution with smaller email responses or queries and 
answers to queries, comments etc. However when large complicated email 
letters gets formed by a vast amount of response, especially when more 
than one source replies, the mid-posting technique becomes unclear, 
confusing and cluttered. It also becomes difficult to merge all response 
into one letter. So to conclude in a one-liner-answer-to-question kind 
of response, mid-posting is better, but in a letter type response 
top-posting is the better option.

Cheers
Jan




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-01-19  6:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-17  9:59 modules.pcimap shyam
2005-01-17 11:48 ` modules.pcimap Jan Zwiegers
2005-01-17 14:42 ` modules.pcimap shyam
2005-01-17 18:25 ` modules.pcimap Greg KH
2005-01-18 20:35 ` modules.pcimap David Brownell
2005-01-18 20:43 ` modules.pcimap Greg KH
2005-01-19  6:23 ` modules.pcimap Jan Zwiegers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).