Please consider only this warning message: WARNING: failed to program mem space [4/0/0] b...@0x10 length 0x800000 For the device 0x5833, bus=0, dev=0 and func=0. Thanks, Eitan
-----Original Message----- From: Eitan Eliahu Sent: Wednesday, April 22, 2009 10:26 AM To: '[email protected]'; Gireesh Nagabhushana Cc: [email protected] Subject: RE: [driver-discuss] OpenSOlaris build 110 - problem with ddi_regs_map_setup() on x86 Hi Kerry, Yes, Girresh and I dealing with the same issue. Here is the output for the scanpci command on this device: pci bus 0x0004 cardnum 0x00 function 0x00: vendor 0x17d5 device 0x5833 S2io Inc. Device unknown CardVendor 0x17d5 card 0x6030 (S2io Inc., Card unknown) STATUS 0x0010 COMMAND 0x0046 CLASS 0x02 0x00 0x00 REVISION 0x01 BIST 0x80 HEADER 0x00 LATENCY 0x00 CACHE 0x10 BASE2 0xd8002000 SIZE 4096 MEM PREFETCHABLE BASE4 0xd8000100 SIZE 256 MEM PREFETCHABLE BASEROM 0x00000000 addr 0x00000000 MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x0b Thank you, Eitan -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Wednesday, April 22, 2009 10:23 AM To: Eitan Eliahu; Gireesh Nagabhushana Cc: [email protected] Subject: Re: [driver-discuss] OpenSOlaris build 110 - problem with ddi_regs_map_setup() on x86 Could you post the '/usr/X11/bin/scanpci -v' result? And what is your device ID? I saw you mentioned: WARNING: failed to program mem space [0/31/3] b...@0x10 length 0x100 While Gireesh mentioned: WARNING: failed to program mem space [4/0/0] b...@0x10 length 0x800000 Are you two talking about same issue or not? Regards, Kerry Eitan Eliahu wrote: > We found that whenever the following message is displayed the driver fails to read the mapped memory for the first BAR. > "WARNING: failed to program mem space [0/31/3] b...@0x10 length 0x100" > > > This warning message is output here: > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/intel/ io/pci/pci_boot.c#2159 > > 2027 base = (uint_t)memlist_find(io_res, len, len); > 2028 if (base != 0) { > 2029 memlist_insert(io_res_used, base, len); > 2030 /* XXX need to worry about 64-bit? */ > 2031 pci_putl(bus, dev, func, offset, > 2032 base | type); > 2033 base = pci_getl(bus, dev, func, offset); > 2034 base &= PCI_BASE_IO_ADDR_M; > 2035 } > 2036 if (base == 0) { > 2037 cmn_err(CE_WARN, "failed to program" > 2038 " IO space [%d/%d/%d] b...@0x%x" > 2039 " length 0x%x", > 2040 bus, dev, func, offset, len); > > Thanks, > Eitan _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
