Skip site navigation (1)Skip section navigation (2)
Date:      25 Apr 2003 16:29:16 +0800
From:      Al-Afu <afu-subscribed-list@aeefyu.net>
To:        freebsd-mobile@freebsd.org, freebsd-questions@freebsd.org, freebsd-net@freebsd.org
Subject:   Device ed1 (D-Link DFE-670TXD) has an invisible "interface"?
Message-ID:  <1051259356.32676.25.camel@krista.webcraft99.net>

next in thread | raw e-mail | index | archive | help
I have a D-Link DFE-670TXD (device ed1) card which is giving me the 
following output on "ifconfig -a":

lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.123 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::d41d:8cd9:8f00:b204%ed1 prefixlen 64 scopeid 0x6
        ether 01:d4:ff:03:00:20

As you can see, there is no Media or carrier information. Is this a reason 
why i cant ping to this machine from any other host? I cant ping out from
this machine to others. But not the other way round. Pls .. if anyone has
any ideas.

-----------------------------------------------------------

Here's the config files and output messages. I appreciate any help on
debugging this issue.

/etc/pccard.conf
----------------
io 0x300-0x31f
debuglevel 5

#D-Link DFE-670TXD
card "D-Link" "DFE-670TXD"
  config auto "ed" ?
  insert /etc/pccard_ether $device start
  remove /etc/pccard_ether $device stop

/etc/rc.conf (relevant to pccard)
------------
hostname="noname.webcraft99.net"
defaultrouter="192.168.0.10"
pccard_ifconfig="inet 192.168.0.123 netmask 255.255.255.0"
pccard_enable="YES"

dmesg output
------------
The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RELEASE #0: Thu Apr 24 05:41:54 MYT 2003
    krista@noname.office.net:/usr/obj/usr/src/sys/KRISTA
Timecounter "i8254"  frequency 1193182 Hz
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz (1196.48-MHz 686-class
CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
 
Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR
,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 536543232 (523968K bytes)
config> di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config> di aic0
No such device: aic0
Invalid command or syntax.  Type `?' for help.
config> di aha0
No such device: aha0
Invalid command or syntax.  Type `?' for help.
config> di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 517464064 (505336K bytes)
Preloaded elf kernel "kernel" at 0xc047c000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc047c09c.
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc03f7022 (1000022)
VESA: NVIDIA
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fc590
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82845 Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xec000000-0xefffffff at
device 0.0 on pci0
pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0286 graphics accelerator> at 0.0 irq 11
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xbf80-0xbf9f
irq 11 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xbf40-0xbf5f
irq 11 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xbf20-0xbf3f
irq 11 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <USB controller> at 29.7 irq 11
pcib2: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on
pci0
pci2: <PCI bus> on pcib2
pci2: <unknown card> (vendor=0x14e4, dev=0x4401) at 0.0 irq 11
pcic0: <TI PCI-4510 PCI-CardBus Bridge> irq 11 at device 1.0 on pci2
pcic0: PCI Memory allocated: 0x88000000
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr
save][CSC serial isa irq]
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pci2: <unknown card> (vendor=0x104c, dev=0x8029) at 1.1 irq 11
isab0: <PCI to ISA bridge (vendor=8086 device=24cc)> at device 31.0 on
pci0
isa0: <ISA bus> on isab0
atapci0: <Generic PCI ATA controller> port
0xbfa0-0xbfaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 irq 0 at
device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x8086, dev=0x24c5) at 31.5 irq 11
pci0: <unknown card> (vendor=0x8086, dev=0x24c6) at 31.6 irq 11
orm0: <Option ROMs> at iomem 0xc0000-0xcf7ff,0xcf800-0xcffff on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
ad0: 38154MB <HITACHI_DK23EB-40> [77520/16/63] at ata0-master BIOSDMA
acd0: CD-RW <HL-DT-STCD-RW/DVD-ROM GCC-4240N> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a
pccard: card inserted, slot 0
pccard: card removed, slot 0
pccard: card inserted, slot 0
ed1 at port 0x300-0x31f irq 11 slot 0 on pccard0
ed1: address 01:d4:ff:03:00:20, type NE2000 (16 bit)

pccardc dumpcis
---------------
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  d4 1a ff
        Common memory device information:
                Device number 1, type Function specific, WPS = OFF
                Speed = 100nS, Memory block size = 8Kb, 4 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
    000:  41 00 ff
        Attribute memory device information:
                Device number 1, type EEPROM, WPS = OFF
                Speed = 250nS, Memory block size = 512b, 1 units
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  49 01 30 45
        PCMCIA ID = 0x149, OEM ID = 0x4530
Tuple #4, code = 0x21 (Functional ID), length = 2
    000:  06 01
        Network/LAN adapter - POST initialize
Tuple #5, code = 0x15 (Version 1 info), length = 29
    000:  04 01 44 2d 4c 69 6e 6b 00 44 46 45 2d 36 37 30
    010:  54 58 44 00 50 43 20 43 61 72 64 00 ff
        Version = 4.1, Manuf = [D-Link], card vers = [DFE-670TXD]
        Addit. info = [PC Card]
Tuple #6, code = 0x1a (Configuration map), length = 5
    000:  01 20 00 04 0b
        Reg len = 2, config register addr = 0x400, last config = 0x20
        Registers: XX-X----
Tuple #7, code = 0x1b (Configuration entry), length = 7
    000:  e0 81 18 45 30 fc be
        Config index = 0x20(default)
        Interface byte = 0x81 (I/O)  wait signal supported
        Card decodes 5 address lines, limited 8/16 Bit I/O
                IRQ modes: Level
                IRQs:  2 3 4 5 6 7 9 10 11 12 13 15
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  01 08 ca 60 00 03 1f
        Config index = 0x1
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x300 block length = 0x20
Tuple #9, code = 0x1b (Configuration entry), length = 7
    000:  02 08 ca 60 20 03 1f
        Config index = 0x2
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x320 block length = 0x20
Tuple #10, code = 0x1b (Configuration entry), length = 7
    000:  03 08 ca 60 40 03 1f
        Config index = 0x3
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x340 block length = 0x20
Tuple #11, code = 0x1b (Configuration entry), length = 7
    000:  04 08 ca 60 80 03 1f
        Config index = 0x4
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x380 block length = 0x20
Tuple #12, code = 0x14 (No link), length = 0
Tuple #13, code = 0xff (Terminator), length = 0
1 slots found


-- 
Al-Afu
Webcraft Solutions - http://www.webcraftsolutions.com
--------------------------------------
Sweater, n.:
	A garment worn by a child when its mother feels chilly.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1051259356.32676.25.camel>