Subject: kern/23388: cardbus(4) doesn't mention RBUS option needed on TP 600E
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/07/2003 11:17:24
>Number:         23388
>Category:       kern
>Synopsis:       cardbus(4) doesn't mention RBUS option needed on TP 600E
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 07 16:18:00 UTC 2003
>Originator:     Greg Troxel
>Release:        NetBSD 1.6.1_STABLE
        Greg Troxel <>
System: NetBSD 1.6.1_STABLE NetBSD 1.6.1_STABLE (FNORD) #7: Mon Oct 6 15:46:22 EDT 2003 i386
Architecture: i386
Machine: i386
The cardbus support uses the RBUS abstraction, which maps card memory.
The default location doesn't work on some machines, resulting in
mysterious failures.
One can map at 512M instead of 1G, and this helps on at least 2 known
The cardbus(4) man page does not give this critical hint.

Try to get cardbus to work on a 600E.  Post to current-users.  Observe
that no helpful replies arrive.  Send mail to authors of any PRs that
seem relevant from the 1.4 days, and hope one of them mails you the
hint (thanks jtk).
Realize later that arch/i386/conf/CARDBUS has the hint about RBUS,
notice that cardbus(4) does not give this hint, but that similar hints
are in pcmcia(4).


Apply patch:

Index: share/man/man4/cardbus.4
RCS file: /NETBSD-CVS/src/share/man/man4/cardbus.4,v
retrieving revision 1.16
diff -u -r1.16 cardbus.4
--- cardbus.4	6 May 2003 18:58:24 -0000	1.16
+++ cardbus.4	7 Nov 2003 16:15:18 -0000
@@ -117,3 +117,23 @@
 appeared in
 .Nx 1.5 .
+.Ss Memory space conflicts
+maps memory on Cardbus and PCMCIA cards in order to access the cards
+(including reading CIS tuples on PCMCIA cards)
+and access the devices using the
+When the mapping does not work, PCMCIA cards are typically ignored on
+insert, and Cardbus cards are recognized but nonfunctional.
+The location is machine-specific, and the default location does not
+work on all hardware.
+On i386, the following kernel configuration line, which maps Cardbus
+space at 512M rather than 1GB, has been found to make Cardbus support
+(including PCMCIA attachment under a cbb) work on some notebook
+models, including the IBM Thinkpad 600E (2645-4AU) and the Compaq
+.Bd -literal -offset indent
+options RBUS_MIN_START="0x20000000"