Subject: Re: CF/CardBus
To: None <current-users@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 07/14/2000 14:30:20
In message <200007141901.PAA24439@ghost.whirlpool.com>, Andrew Gillham writes:
>It seems to be fine.  It might be an issue with your laptop chipset or
>the type of CF you are using. 

It may be.

cbb1: interrupting at irq 11
cbb1: cacheline 0x8 lattimer 0xb0
cbb1: bhlc 0x82a808 lscp 0xb0020200
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: VIKING COMPONENTS        , CF ATA , V.102
pcmcia1: Manufacturer code 0x4e01, product 0x100
pcmcia1: function 0: fixed disk, ccr addr 200 mask f
pcmcia1: function 0, config table entry 0: memory card; irq mask 0; memspace 0-7ff; maxtwins 2; rdybsy_active powerdown
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; maxtwins 2; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 2: I/O card; irq mask 4000; iomask a, iospace 1f0-1f7 3f6-3f7; memspace 0-7ff; maxtwins 2; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 2: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; maxtwins 2; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 3: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; maxtwins 2; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 3: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; maxtwins 2; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
wdc0 at pcmcia1 function 0
wd1 at wdc0 channel 0 drive 0: < ATA_FLASH>
wd1: drive supports 1-sector pio transfers, lba addressing
wd1: 15744 KB, 492 cyl, 2 head, 32 sec, 512 bytes/sect x 31488 sectors

Results:

* one lockup trying to run "disklabel" to view the label.
* two lockups trying to read from the card.

This is about what I've seen with other cards, including SanDisk and Kingston
cards.  The laptop works fine with non-CF cards, e.g., the ray0 I have in
it has been fine for months, I've burned CD's with a SCSI card, etcetera.

No panic, no nothing; system just hangs.

How would I best debug this?

Oh, btw:
NetBSD ged.plethora.net 1.5_ALPHA NetBSD 1.5_ALPHA (GED) #0: Thu Jul 13 18:32:24 CDT 2000 seebs@ged.plethora.net:/usr/src/sys/arch/i386/compile/GED i386

-s