Subject: Re: 2.0.2 and a 3CXFE575BT network card
To: John Nemeth <jnemeth@victoria.tc.ca>
From: david l goodrich <dlg@dorkzilla.org>
List: netbsd-users
Date: 09/28/2005 22:54:15
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig065E7F4B4A5687A6244A632A
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

John Nemeth wrote:
> On Feb 18, 12:41pm, david l goodrich wrote:
> } 
> } i have a 3com "Megahertz" 10/100 lan cardbus pc card.  it works
> } fine in openbsd 3.6, and anecdotal evidence[1] suggests it once
> } worked in netbsd, back in the 1.5 days.  however, running 2.0.2,
> } i don't have any luck at all.  if i insert the card while the
> } machine is running, netbsd kernel panics.  if i insert the card
> } while the computer is off and /then/ boot, netbsd mostly ignores
> } it.  does anyone have a suggestion?  thanks.
> } 
> 
>      Try uncommenting 'options PCIBIOS'

well, it sees the card now, sorta.  except it doesn't really give it a
device name or let me configure it at all.  aue0's the sketchy little
usb ethernet adapter i've been using since i switched this machine to
netbsd.
  --waldo


dlg@fawkes:/usr/src/sys/arch/i386/conf$ diff -u GENERIC GENERIC_fixup
--- GENERIC     2004-08-30 04:52:37.000000000 -0500
+++ GENERIC_fixup       2005-09-28 18:43:14.000000000 -0500
@@ -351,10 +351,10 @@
 pci*   at ppb? bus ?

 # Configure PCI using BIOS information
-#options       PCIBIOS                 # PCI BIOS support
+options        PCIBIOS                 # PCI BIOS support
 #options       PCIBIOSVERBOSE          # PCI BIOS verbose info
 #options       PCIBIOS_ADDR_FIXUP      # fixup PCI I/O addresses
-#options       PCIBIOS_BUS_FIXUP       # fixup PCI bus numbering
+options        PCIBIOS_BUS_FIXUP       # fixup PCI bus numbering
 #options       PCIBIOS_INTR_FIXUP      # fixup PCI interrupt routing
 #options       PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
 #options       PCIBIOS_INTR_GUESS      # see pcibios(4)
dlg@fawkes:/usr/src/sys/arch/i386/conf$

<reboot>

dlg@ordep:~$ dmesg|head -2
NetBSD 2.0.2 (GENERIC_fixup) #1: Wed Sep 28 18:45:30 CDT 2005
        dlg@fawkes.dsrw.org:/usr/src/sys/arch/i386/compile/GENERIC_fixup
dlg@ordep:~$ dmesg | egrep -ie '(card|pcmcia|cbb)'
cbb0 at pci0 dev 10 function 0: Texas Instruments PCI1250 PCI-CardBus
Bridge (rev. 0x02)
cbb1 at pci0 dev 10 function 1: Texas Instruments PCI1250 PCI-CardBus
Bridge (rev. 0x02)
cbb0: interrupting at irq 9
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 9
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2 device 0
pcmcia1 at cardslot1
3Com Corporation, 3CCFE575BT, LAN Cardbus Card, 001 (manufacturer 0x0,
product 0x0) 3Com product 0x5157 (ethernet network, revision 0x01) at
cardbus0 dev 0 function 0 not configured
dlg@ordep:~$ ifconfig -a
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33196
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
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
strip0: flags=0 mtu 1100
strip1: flags=0 mtu 1100
aue0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
        address: 00:04:5a:09:1c:94
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 172.20.4.13 netmask 0xffffff00 broadcast 172.20.4.255
        inet6 fe80::204:5aff:fe09:1c94%aue0 prefixlen 64 scopeid 0x8
dlg@ordep:~$ dmesg | grep ^aue
aue0 at uhub0 port 2
aue0: LINKSYS Inc. LINKSYS USB Adapter, rev 1.10/1.01, addr 5
aue0: Ethernet address 00:04:5a:09:1c:94
dlg@ordep:~$



--------------enig065E7F4B4A5687A6244A632A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFDO2Vwsw9Pt+GRQPURAkHqAKDz8TCi8R9yadTQydDGddglxLHyygCeKtqr
23nonl/J8MoThNl8u43U5hk=
=CE7P
-----END PGP SIGNATURE-----

--------------enig065E7F4B4A5687A6244A632A--