Subject: Re: DLink PCMCIA and 1.6
To: Jeff Hergan <jeff@praeclara.com>
From: Jeff Hergan <jeff@praeclara.com>
List: port-macppc
Date: 04/01/2003 10:26:53
One more note about my cardbus problem that might give someone a clue.

This file:  /usr/src/sys/dev/cardbus/cardbusdevs specifically lists  
both the vendor (D-Link) of my cardbus ethernet card, and the specific  
card (DFE-690TXD).

Does that mean it should automagically be supported?
I did a kernel rebuild, using the 1.6 generic source.  Should I try  
-current?

I thought that just being listed in the cardbusdevs.h file would mean  
that the card would at least be identified in dmesg.
But then, I'm pretty clueless...

Thanks again for any help, any pointers to links, whatever.

Jeff

(See my dmesg below for more info).

On Tuesday, April 1, 2003, at 07:57 AM, Jeff Hergan wrote:

>
> On Monday, March 31, 2003, at 03:39 PM, Jeff Hergan wrote:
>
>> I have never used NetBSD and PCMCIA or cardbus cards before.
>> I've searched for info, but I can't seem to find much.
>> Anyway, I have a Powerbook G3 Series 266mhz and a D Link DFE-690TXD  
>> ethernet Cardbus ethernet adapter.
>> Anyone know if this works?  Is there something like linux's cardmgr  
>> for NetBSD?
>> I'm not sure where to begin...except that I have plugged in the card.
>>
>> Thanks,
>> Jeff
>>
>>
>
> Still trying to get this card working.  I've tried booting with the  
> card inserted, and I've tried adding the card after it is booted, but  
> neither seems to work.  Using NetBSD 1.6 on a Powerbook G3 Series  
> 266mhz with 512mb ram.
> Any thoughts on what I need to do to get this cardbus card working?
>
> Thanks for any help.
>
> Here is the output to my dmesg:
>
> NetBSD 1.6 (GENERIC) #0: Sun Sep  8 22:04:33 UTC 2002
>      
> autobuild@tgm.daemon.org:/autobuild/macppc/OBJ/autobuild/src/sys/arch/ 
> macppc/compile/GENERIC
> total memory = 512 MB
> avail memory = 464 MB
> using 2048 buffers containing 26316 KB of memory
> mainbus0 (root)
> cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)
> cpu0: HID0 8290c0a4<EMCP,ECLK,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
> cpu0: 266.67 MHz
> cpu0: 1MB backside cache
> grackle0 at mainbus0
> pci0 at grackle0 bus 0
> pci0: i/o space, memory space enabled
> pchb0 at pci0 dev 0 function 0
> pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
> obio0 at pci0 dev 13 function 0: addr 0xf3000000
> mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
> scsibus0 at mesh0: 8 targets, 8 luns per target
> zsc0 at obio0 offset 0x13000: irq 15,16
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1
> bm0 at obio0 offset 0x11000 irq 42,33: address 00:05:02:7c:fd:fb
> davbus at obio0 offset 0x14000 not configured
> mediabay0 at obio0 offset 0x34 irq 29 level-triggered
> wdc0 at mediabay0 offset 0x21000 irq 14
> atapibus0 at wdc0 channel 0: 2 targets
> cd0 at atapibus0 drive 0: <MATSHITA CR-174, , A011> type 5 cdrom  
> removable
> cd0: drive supports PIO mode 4, DMA mode 2
> cd0(wdc0:0:0): using PIO mode 4
> wdc1 at obio0 offset 0x20000 irq 13: DMA transfer
> wd0 at wdc1 channel 0 drive 0: <IBM-DJSA-220>
> wd0: drive supports 16-sector PIO transfers, LBA addressing
> wd0: 19077 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 39070080  
> sectors
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
> wd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> adb0 at obio0 offset 0x16000 irq 18: 3 targets
> aed0 at adb0 addr 0: ADB Event device
> akbd0 at adb0 addr 2: PowerBook G3 keyboard
> wskbd0 at akbd0: console keyboard
> ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
> wsmouse0 at ams0 mux 0
> abtn0 at adb0 addr 7: brightness/volume button
> Apple Computer MAC-IO I/O Controller (Paddington) (undefined subclass  
> 0x00) at pci0 dev 16 function 0 not configured
> ofb0 at pci0 dev 17 function 0: ATI Technologies 3D Rage LT Pro
> ofb0: 1024 x 768, 8bpp
> wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation), using  
> wskbd0
> wsmux1: connecting to wsdisplay0
> cbb0 at pci0 dev 19 function 0: Texas Instruments PCI1131 PCI-CardBus  
> Bridge (rev. 0x01)
> cbb1 at pci0 dev 19 function 1: Texas Instruments PCI1131 PCI-CardBus  
> Bridge (rev. 0x01)
> cbb0: interrupting at irq 22
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 0 device 0
> pcmcia0 at cardslot0
> cbb1: interrupting at irq 23
> cardslot1 at cbb1 slot 1 flags 0
> cardbus1 at cardslot1: bus 0 device 0
> pcmcia1 at cardslot1
> scsibus0: waiting 2 seconds for devices to settle...
>  Motorola MPC106 "Grackle" Host Bridge (host bridge, revision 0x40) at  
> cardbus1 dev 0 function 0 not configured
> boot device: <unknown>
> root device: wd0a
> dump device (default wd0b):
> file system (default generic):
> root on wd0a dumps on wd0b
> root file system type: ffs
> syncing disks... 1 1 done
> rebooting
>
>
>
> And here is the output of ifconfig -a
>
> bm0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu  
> 1500
> 	address: 00:05:02:7c:fd:fb
> 	media: Ethernet 10baseT (none)
> 	inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
> 	inet6 fe80::205:2ff:fe7c:fdfb%bm0 prefixlen 64 scopeid 0x1
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
> 	inet 127.0.0.1 netmask 0xff000000
> 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
> 	inet6 ::1 prefixlen 128
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
> sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
>