NetBSD Problem Report #32327

From mlelstv@henery.1st.de  Sun Dec 18 15:11:50 2005
Return-Path: <mlelstv@henery.1st.de>
Received: from serpens.de (serpens.de [62.208.181.200])
	by narn.netbsd.org (Postfix) with ESMTP id 4B90063B88D
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 18 Dec 2005 15:11:49 +0000 (UTC)
Message-Id: <200512181511.jBIFBbCt017576@henery.1st.de>
Date: Sun, 18 Dec 2005 16:11:37 +0100 (CET)
From: mlelstv@serpens.de
Reply-To: mlelstv@serpens.de
To: gnats-bugs@netbsd.org
Subject: CF card does not attach wdX with Thinkpad T43p
X-Send-Pr-Version: 3.95

>Number:         32327
>Category:       kern
>Synopsis:       CF card does not attach wdX with Thinkpad T43p
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 18 15:15:00 +0000 2005
>Last-Modified:  Wed Dec 28 21:24:57 +0000 2005
>Originator:     mlelstv@serpens.de
>Release:        NetBSD 3.0_RC6
>Organization:

>Environment:


System: NetBSD henery 3.0_RC6 NetBSD 3.0_RC6 (HENERY) #7: Sun Dec 18 01:17:56 CET 2005 src@henery:/usr/obj/home/src/sys/arch/i386/compile/HENERY i386
Architecture: i386
Machine: i386
>Description:
When you insert a CF-PCMCIA-Adapter into the cardbus slot of
a Thinkpad T43p the following happens:

cbb0: wait took 0.114567s
wdc0 at pcmcia0 function 0: <SanDisk, SDP, 5/3 0.6>
wdc0: i/o mapped mode
atabus2 at wdc0 channel 0

and nothing else. The wd device is not attached. The same
works fine on a Dell Inspiron 8000 with NetBSD3.

Here is some more data:


pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb3 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0xd3)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
cbb0 at pci4 dev 0 function 0: Ricoh 5C476 PCI-CardBus bridge (rev. 0x8d)
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0

The kernel config contains:

wd*     at atabus? drive ? flags 0x0000


>How-To-Repeat:
see above

>Fix:
none known

>Audit-Trail:
From: Michael van Elst <mlelstv@serpens.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/32327 CF card does not attach wdX with Thinkpad T43p
Date: Wed, 28 Dec 2005 22:24:33 +0100

 The cardbus bridge works fine with Knoppix, but the linux
 kernel choses only some "free" 12bit address ranges instead
 of a 16bit address at 0x4000.

 Forcing our code to chose a 12bit address with

 options RBUS_IO_BASE=0xa00
 options RBUS_IO_SIZE=0x0ff

 makes PCMCIA cards work again.

 -- 
                                 Michael van Elst
 Internet: mlelstv@serpens.de
                                 "A potential Snark may lurk in every tree."

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.