Subject: Re: 2.0.2 and a 3CXFE575BT network card
To: david l goodrich <dlg@dorkzilla.org>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: netbsd-users
Date: 09/28/2005 16:32:07
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.
} 
} inserting card:
} panic: no cardbus on cardslot 0
} Stopped  in pid 8.1 (cardslot0) at netbsd:cpu_Debugger+0x4: leave
} db>reboot
} 
} booting with card in:
} 
} 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
} cbb0: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
} cardslot0 at cbb0 slot 0 flags 0
} pcmcia0 at cardslot0
} cbb1: interrupting at irq 9
} cbb1: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
} cardslot1 at cbb1 slot 1 flags 0
} pcmcia1 at cardslot1
} dlg@ordep:~$
} 
} so, okay.  build a new kernel.
} 
} 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 16:12:34.000000000 -0500
} @@ -354,7 +354,7 @@
}  #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$
} 
} 
} install, reboot.  the card is still inserted.
} 
} dlg@ordep:~$ dmesg | head -2
} NetBSD 2.0.2 (GENERIC_fixup) #0: Wed Sep 28 16:48:44 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
} cbb0: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
} cardslot0 at cbb0 slot 0 flags 0
} pcmcia0 at cardslot0
} cbb1: interrupting at irq 9
} cbb1: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
} cardslot1 at cbb1 slot 1 flags 0
} pcmcia1 at cardslot1
} dlg@ordep:~$

     Try uncommenting 'options PCIBIOS'

}-- End of excerpt from david l goodrich