modules.pcimap
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
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
Quoted 11 lines · shyam
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 theMODULE_DEVICE_TABLEthat I am exporting that is creating the problem or it is a depmod bug.
thanks in advance,
shyam
Quoted 9 lines
-------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
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
Quoted 41 lines · Jan Zwiegers
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
JanQuoted 11 lines · shyam
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 theMODULE_DEVICE_TABLEthat I am exporting that is creating the problem or it is a depmod bug.
thanks in advance,
shyamQuoted 9 lines
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 9 lines
-------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
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?
Quoted 4 lines · shyam
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?
Quoted 8 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
?QAF emos ot dedda eb siht t'ndluohS
Quoted 9 lines · Greg KH
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 1 line · David Brownell
?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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Jan Zwiegers mid-posted:
Quoted 5 lines · Greg KH
Quoted 2 lines · David Brownell
?QAF emos ot dedda eb siht t'ndluohS
Ok I give up!
Quoted 2 lines
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:)
Quoted 4 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel