[fedora-india] pci_request_regions not working

Giriprasad Deviprasad g_pr21 at yahoo.in
Fri Sep 9 06:37:18 UTC 2011

Hi All,

 I am currently working on the realtek driver available in http://linuxgazette.net/156/jangir.html.

 When I run the driver, pci_request_regions is erring out as :
Device enabled
Base 0  Starting Address = 9c00 End Address = 9cff  Length = 256
This Port is I/O mapped. It is NON Prefetchable.This is readable and writable.
Base 0 starting Address = 9c00  End Address = 9cff Length = 256 resource is not available 
Base 1  Starting Address = fdaff000 End Address = fdaff0ff  Length = 256
This Port is Memory mapped. It is NON Prefetchable. This is readable and writable.
Reading the PCI BAR registers 
Checking the PCI BAR registers for Memory mapped flag 
Calling pci_request_region 
8139too 0000:04:03.0: BAR 0: can't reserve I/O region [0x9c00-0x9cff]
Could not get PCI region
sys_init_module: 'real3'->init suspiciously returned 1, it should follow 0/-E convention
sys_init_module: loading module anyway...

I am attaching the driver code. Any clues as to why?

Thanks & Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/india/attachments/20110909/7ca14e20/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: real3.c
Url: http://lists.fedoraproject.org/pipermail/india/attachments/20110909/7ca14e20/attachment.c 

More information about the india mailing list