Subject: Network device not configured
To: None <netbsd-help@netbsd.org>
From: Andy Caldera <boxv1@yahoo.com>
List: netbsd-help
Date: 07/31/2005 12:46:51
--0-975227578-1122839211=:56111
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Greetings to all. I'm coming from Linux trying out NetBSD on this old laptop IBM 760XD. This is my first experience with asking for help for anything, so bear with me.
I have several Cardbus PCMCIA cards... One that uses the 'rtk' driver, a Linksys EtherFast PCM200 which uses 'tlp' ?, a wireless card that uses the 'ath' driver and a NetGear wireless PC Card MA521, of which I am not sure which driver it uses if someone could tell me... I have tried them all on my two PCMCIA Cardbus slots type II.
I get this with all cards, rtk for example:
# ifconfig rtk0 up
ifconfig: SIOCGIFFLAGS rtk0: Device not configured
I had a similar problem when I tried Linux on this laptop where I was told by ifconfig that the resource was busy. Could this be related?
Now I'm not familiar too with NetBSD and none of the cards come up in my dmesg and the LEDs don't even come on. Is that not normal? Is NetBSD supposed to detect my cards at boot time? I have tried reading documentation and looking through the mailing list archive and I've come to the conclusion that this might be an IRQ problem? I am not sure, but if so, can someone point me to documentation where I could become more familiar with manipulating IRQ's.
Here is some info about my settings including my dmesg.( My apologies if this is too much information. Any sort of help would be greatly appreciated. Thank you.
# cat /etc/ifconfig.rtk0
up
!dhclient $int
# dmesg
NetBSD 2.0.2 (MYKERNEL) #0: Sat Jul 30 18:40:07 PDT 2005
root@:/usr/src/sys/arch/i386/compile/MYKERNEL
total memory = 48764 KB
avail memory = 41872 KB
BIOS32 rev. 0 found at 0xfd8f0
PCI BIOS rev. 2.1 found at 0xfd930
pcibios: config mechanism [1][x], special cycles [1][x], last bus 6
PCI BIOS has 3 Interrupt Routing table entries
PCI Exclusive IRQs: 11
------------------------------------------
device vendor product pin PIRQ IRQ stage
------------------------------------------
000:03:0 0x1023 0x9660 A 0x00 11 0 already assigned
000:05:0 0x1014 0x0057 A 0x00 11 0 already assigned
------------------------------------------
PCI fixup examining 8086:1235
PCI fixup examining 8086:122e
PCI fixup examining 8086:1230
PCI fixup examining 104c:ac12
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 104c:ac12
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI fixup examining 1023:9660
PCI fixup examining 1014:57
PCI bus #2 is the last bus
[System BIOS Setting]-----------------------
device vendor product
register space address size
--------------------------------------------
000:00:0 0x8086 0x1235
[OK]
000:01:0 0x8086 0x122e
[OK]
000:01:1 0x8086 0x1230
20h port 0x0000fcf0 0x00000010
[OK]
000:02:0 0x104c 0xac12
10h mem 0x10812000 0x00001000
[OK]
000:02:1 0x104c 0xac12
10h mem 0x10811000 0x00001000
[OK]
000:03:0 0x1023 0x9660
10h mem 0x08000000 0x00400000
14h mem 0x08400000 0x00010000
18h mem 0x08800000 0x00400000
[OK]
000:05:0 0x1014 0x0057
10h mem 0x10810000 0x00000100
[OK]
--------------------------[ 0 devices bogus]
Physical memory end: 0x02ffc000
PCI memory mapped I/O space start: 0x03000000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium/MMX (586-class), 165.80 MHz, id 0x544
cpu0: features 8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8001bf<MMX>
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82437MX Mobile System Controller (MTSC) (rev. 0x02)
pcib0 at pci0 dev 1 function 0
pcib0: Intel 82371FB PCI-to-ISA Bridge (PIIX) (rev. 0x02)
piixide0 at pci0 dev 1 function 1
piixide0: Intel 82371FB IDE controller (PIIX) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel ignored (disabled)
cbb0 at pci0 dev 2 function 0: Texas Instruments PCI1130 PCI-CardBus Bridge (rev. 0x04)
cbb0: NOT USED because of unconfigured interrupt
cbb1 at pci0 dev 2 function 1: Texas Instruments PCI1130 PCI-CardBus Bridge (rev. 0x04)
cbb1: NOT USED because of unconfigured interrupt
vga1 at pci0 dev 3 function 0: Trident Microsystems TGUI 9660 (rev. 0xd3)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
IBM product 0x0057 (video multimedia, revision 0x01) at pci0 dev 5 function 0 not configured
isa0 at pcib0
lpt2 at isa0 port 0x3bc-0x3bf irq : polled
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..5..7..9..10
pcic0: using irq 3 for socket events
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 1: <SANYO CRD-S58P, , 1.20> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 3
wd0 at atabus0 drive 0: <IBM-DLGA-23080>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 2937 MB, 5968 cyl, 16 head, 63 sec, 512 bytes/sect x 6015744 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2
wd0(piixide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
cd0(piixide0:0:1): using PIO mode 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--0-975227578-1122839211=:56111
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV>
<DIV>Greetings to all. I'm coming from Linux trying out NetBSD on this old laptop IBM 760XD. This is my first experience with asking for help for anything, so bear with me.</DIV>
<DIV> </DIV>
<DIV>I have several Cardbus PCMCIA cards... One that uses the 'rtk' driver, a Linksys EtherFast PCM200 which uses 'tlp' ?, a wireless card that uses the 'ath' driver and a NetGear wireless PC Card MA521, of which I am not sure which driver it uses if someone could tell me... I have tried them all on my two PCMCIA Cardbus slots type II.</DIV>
<DIV>I get this with all cards, rtk for example:</DIV>
<DIV> </DIV>
<DIV># ifconfig rtk0 up</DIV>
<DIV>ifconfig: SIOCGIFFLAGS rtk0: Device not configured</DIV>
<DIV> </DIV>
<DIV>I had a similar problem when I tried Linux on this laptop where I was told by ifconfig that the resource was busy. Could this be related?</DIV>
<DIV>Now I'm not familiar too with NetBSD and none of the cards come up in my dmesg and the LEDs don't even come on. Is that not normal? Is NetBSD supposed to detect my cards at boot time? I have tried reading documentation and looking through the mailing list archive and I've come to the conclusion that this might be an IRQ problem? I am not sure, but if so, can someone point me to documentation where I could become more familiar with manipulating IRQ's.</DIV>
<DIV>Here is some info about my settings including my dmesg.( My apologies if this is too much information. Any sort of help would be greatly appreciated. Thank you.</DIV>
<DIV> </DIV>
<DIV># cat /etc/ifconfig.rtk0</DIV>
<DIV>up</DIV>
<DIV>!dhclient $int</DIV>
<DIV> </DIV>
<DIV># dmesg</DIV>
<DIV><FONT size=2>
<P>NetBSD 2.0.2 (MYKERNEL) #0: Sat Jul 30 18:40:07 PDT 2005</P>
<P>root@:/usr/src/sys/arch/i386/compile/MYKERNEL</P>
<P>total memory = 48764 KB</P>
<P>avail memory = 41872 KB</P>
<P>BIOS32 rev. 0 found at 0xfd8f0</P>
<P>PCI BIOS rev. 2.1 found at 0xfd930</P>
<P>pcibios: config mechanism [1][x], special cycles [1][x], last bus 6</P>
<P>PCI BIOS has 3 Interrupt Routing table entries</P>
<P>PCI Exclusive IRQs: 11</P>
<P>------------------------------------------</P>
<P>device vendor product pin PIRQ IRQ stage</P>
<P>------------------------------------------</P>
<P>000:03:0 0x1023 0x9660 A 0x00 11 0 already assigned</P>
<P>000:05:0 0x1014 0x0057 A 0x00 11 0 already assigned</P>
<P>------------------------------------------</P>
<P>PCI fixup examining 8086:1235</P>
<P>PCI fixup examining 8086:122e</P>
<P>PCI fixup examining 8086:1230</P>
<P>PCI fixup examining 104c:ac12</P>
<P>PCI bridge 0: primary 0, secondary 1, subordinate 1</P>
<P>PCI fixup examining 104c:ac12</P>
<P>PCI bridge 1: primary 0, secondary 2, subordinate 2</P>
<P>PCI fixup examining 1023:9660</P>
<P>PCI fixup examining 1014:57</P>
<P>PCI bus #2 is the last bus</P>
<P>[System BIOS Setting]-----------------------</P>
<P>device vendor product</P>
<P>register space address size</P>
<P>--------------------------------------------</P>
<P>000:00:0 0x8086 0x1235 </P>
<P>[OK]</P>
<P>000:01:0 0x8086 0x122e </P>
<P>[OK]</P>
<P>000:01:1 0x8086 0x1230 </P>
<P>20h port 0x0000fcf0 0x00000010</P>
<P>[OK]</P>
<P>000:02:0 0x104c 0xac12 </P>
<P>10h mem 0x10812000 0x00001000</P>
<P>[OK]</P>
<P>000:02:1 0x104c 0xac12 </P>
<P>10h mem 0x10811000 0x00001000</P>
<P>[OK]</P>
<P>000:03:0 0x1023 0x9660 </P>
<P>10h mem 0x08000000 0x00400000</P>
<P>14h mem 0x08400000 0x00010000</P>
<P>18h mem 0x08800000 0x00400000</P>
<P>[OK]</P>
<P>000:05:0 0x1014 0x0057 </P>
<P>10h mem 0x10810000 0x00000100</P>
<P>[OK]</P>
<P>--------------------------[ 0 devices bogus]</P>
<P>Physical memory end: 0x02ffc000</P>
<P>PCI memory mapped I/O space start: 0x03000000</P>
<P>mainbus0 (root)</P>
<P>cpu0 at mainbus0: (uniprocessor)</P>
<P>cpu0: Intel Pentium/MMX (586-class), 165.80 MHz, id 0x544</P>
<P>cpu0: features 8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8></P>
<P>cpu0: features 8001bf<MMX></P>
<P>pci0 at mainbus0 bus 0: configuration mode 1</P>
<P>pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok</P>
<P>pchb0 at pci0 dev 0 function 0</P>
<P>pchb0: Intel 82437MX Mobile System Controller (MTSC) (rev. 0x02)</P>
<P>pcib0 at pci0 dev 1 function 0</P>
<P>pcib0: Intel 82371FB PCI-to-ISA Bridge (PIIX) (rev. 0x02)</P>
<P>piixide0 at pci0 dev 1 function 1</P>
<P>piixide0: Intel 82371FB IDE controller (PIIX) (rev. 0x02)</P>
<P>piixide0: bus-master DMA support present</P>
<P>piixide0: primary channel wired to compatibility mode</P>
<P>piixide0: primary channel interrupting at irq 14</P>
<P>atabus0 at piixide0 channel 0</P>
<P>piixide0: secondary channel wired to compatibility mode</P>
<P>piixide0: secondary channel ignored (disabled)</P>
<P>cbb0 at pci0 dev 2 function 0: Texas Instruments PCI1130 PCI-CardBus Bridge (rev. 0x04)</P>
<P>cbb0: NOT USED because of unconfigured interrupt</P>
<P>cbb1 at pci0 dev 2 function 1: Texas Instruments PCI1130 PCI-CardBus Bridge (rev. 0x04)</P>
<P>cbb1: NOT USED because of unconfigured interrupt</P>
<P>vga1 at pci0 dev 3 function 0: Trident Microsystems TGUI 9660 (rev. 0xd3)</P>
<P>wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)</P>
<P>wsmux1: connecting to wsdisplay0</P>
<P>IBM product 0x0057 (video multimedia, revision 0x01) at pci0 dev 5 function 0 not configured</P>
<P>isa0 at pcib0</P>
<P>lpt2 at isa0 port 0x3bc-0x3bf irq : polled</P>
<P>com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo</P>
<P>pckbc0 at isa0 port 0x60-0x64</P>
<P>pckbd0 at pckbc0 (kbd slot)</P>
<P>pckbc0: using irq 1 for kbd slot</P>
<P>wskbd0 at pckbd0: console keyboard, using wsdisplay0</P>
<P>pms0 at pckbc0 (aux slot)</P>
<P>pckbc0: using irq 12 for aux slot</P>
<P>wsmouse0 at pms0 mux 0</P>
<P>pcppi0 at isa0 port 0x61</P>
<P>midi0 at pcppi0: PC speaker</P>
<P>sysbeep0 at pcppi0</P>
<P>isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support</P>
<P>npx0 at isa0 port 0xf0-0xff: using exception 16</P>
<P>fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2</P>
<P>pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq </P>
<P>pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B</P>
<P>pcmcia0 at pcic0 controller 0 socket 0</P>
<P>pcmcia1 at pcic0 controller 0 socket 1</P>
<P>isapnp0: no ISA Plug 'n Play devices found</P>
<P>apm0 at mainbus0: Power Management spec V1.2</P>
<P>fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec</P>
<P>pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..5..7..9..10</P>
<P>pcic0: using irq 3 for socket events</P>
<P>Kernelized RAIDframe activated</P>
<P>atapibus0 at atabus0: 2 targets</P>
<P>cd0 at atapibus0 drive 1: <SANYO CRD-S58P, , 1.20> cdrom removable</P>
<P>cd0: 32-bit data port</P>
<P>cd0: drive supports PIO mode 3</P>
<P>wd0 at atabus0 drive 0: <IBM-DLGA-23080></P>
<P>wd0: drive supports 16-sector PIO transfers, LBA addressing</P>
<P>wd0: 2937 MB, 5968 cyl, 16 head, 63 sec, 512 bytes/sect x 6015744 sectors</P>
<P>wd0: 32-bit data port</P>
<P>wd0: drive supports PIO mode 4, DMA mode 2</P>
<P>wd0(piixide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)</P>
<P>cd0(piixide0:0:1): using PIO mode 0</P>
<P>boot device: wd0</P>
<P>root on wd0a dumps on wd0b</P>
<P>root file system type: ffs</P>
<P>wsdisplay0: screen 1 added (80x25, vt100 emulation)</P>
<P>wsdisplay0: screen 2 added (80x25, vt100 emulation)</P>
<P>wsdisplay0: screen 3 added (80x25, vt100 emulation)</P>
<P>wsdisplay0: screen 4 added (80x25, vt100 emulation)</P></FONT></DIV></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com
--0-975227578-1122839211=:56111--