Date: Mon, 7 Jan 2002 03:27:49 +0100 (CET) From: Michael Reifenberger <root@nihil.plaut.de> To: "M. Warner Losh" <imp@village.org> Cc: FreeBSD-Current <current@FreeBSD.ORG>, <winter@jurai.net> Subject: Re: Why does bus_alloc_resource fail for sound and PCIC? Message-ID: <20020107030140.M668-200000@nihil> In-Reply-To: <20020106.133118.118973030.imp@village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1044331872-1010370469=:668 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 6 Jan 2002, M. Warner Losh wrote: ... > : pci2: <PCI bus> on pcib2 > : pccbb0: <RF5C478 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at device > : 0.0 on pci2 > : pcib2: device pccbb0 requested unsupported memory range 0x50000000-0x50000fff > : (decoding 0xc0200000-0xcfffffff, 0xe8000000-0xefffffff) > : pccbb0: Could not map register memory > : device_probe_and_attach: pccbb0 attach returned 12 > : pccbb0: <RF5C478 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 11 at device > : 0.1 on pci2 > : pcib2: device pccbb0 requested unsupported memory range 0x50100000-0x50100fff > : (decoding 0xc0200000-0xcfffffff, 0xe8000000-0xefffffff) > : pccbb0: Could not map register memory > : device_probe_and_attach: pccbb0 attach returned 12 > > Maybe you need some patches to the pci bridge code to map the range > requested, or to just allow it (since it just works anyway). There's > another kludge option: PCI_ALLOW_UNSUPPORTED_IO_RANGE. Thanks for the hint. After applying my attached patch this option got accepted and led to probed and attached NEWCARD devices. Inserting a FA411 Card leads to a frozen system (after reading the CIS info) until the card gets ejected. Haven't tried the OLDCARD (which worked in compat mode anyway) yet. Maybe NEWCARD is trying to use wrong resources here... Maybe we need some special handling for the new Intel-mobile-chipset used by IBM (which supports up to 1GB of memory). Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS --0-1044331872-1010370469=:668 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="sys.pat" Content-Transfer-Encoding: BASE64 Content-ID: <20020107032749.O668@nihil> Content-Description: Content-Disposition: attachment; filename="sys.pat" LS0tIGNvbmYvb3B0aW9ucy5vcmlnCVNhdCBEZWMgMjIgMTc6MDU6MjQgMjAw MQ0KKysrIGNvbmYvb3B0aW9ucwlNb24gSmFuICA3IDAyOjQ0OjUxIDIwMDIN CkBAIC00MTgsNCArNDE4LDUgQEANCiBQQ0lfUVVJRVQJCW9wdF9wY2kuaA0K IFBDSV9FTkFCTEVfSU9fTU9ERVMJb3B0X3BjaS5oDQorUENJX0FMTE9XX1VO U1VQUE9SVEVEX0lPX1JBTkdFIG9wdF9wY2liLmgNCiANCiAjIE5GUyBvcHRp b25zDQotLS0gZGV2L3BjaS9wY2lfcGNpLmMub3JpZwlNb24gTm92IDI2IDA4 OjEyOjM1IDIwMDENCisrKyBkZXYvcGNpL3BjaV9wY2kuYwlNb24gSmFuICA3 IDAyOjQ0OjI3IDIwMDINCkBAIC0zNSw0ICszNSw3IEBADQogICovDQogDQor I2luY2x1ZGUgIm9wdF9idXMuaCINCisjaW5jbHVkZSAib3B0X3BjaWIuaCIN CisNCiAjaW5jbHVkZSA8c3lzL3BhcmFtLmg+DQogI2luY2x1ZGUgPHN5cy9z eXN0bS5oPg0K --0-1044331872-1010370469=:668-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020107030140.M668-200000>