Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2000 19:11:58 -0700
From:      "Mark D. Anderson" <mda@discerning.com>
To:        <freebsd-mobile@freebsd.org>
Subject:   d-link DFE-650 problems on 4.0 GENERIC
Message-ID:  <028401bfb4a5$08bdc040$0200a8c0@mdaxke>

next in thread | raw e-mail | index | archive | help
I'm running 4.0 GENERIC from the walnut creek CD (no kernel rebuild).
On a "chembook 7200" laptop, a fairly vanilla pentium box.
I'm a complete freebsd neophyte, but am expert on unix generally.

I'm having problems with a D-Link DFE-650 (10/100Mbit card).

I've done what research i can, but haven't found much information on fbsd 4.0
and pccards. The PAO home page is completely unhelpful. Does this mailing
list have some other home page?

I'm running the standard pccard.conf which says:
card "D-Link" "DFE-650"
     config 0x20 "ed0" ? 0x10
     insert logger -t pccard:$device -s D-Link DFE-605 inserted
     insert /etc/pccard_ether $device

My /boot/kernel.conf has:
di sn0
di lnc0
di le0
di ie0
di fe0
di cs0
en ed0
(though i think that has no effect)

I'm dual booting with w2k, which can use all the hardware fine.
(At least windows makes a good device probe....)
w2k says gives the card irq 10 and uses an io range of DFE0-DFFF,
at least according to "Device Manager".
w2k was giving the infrared port irq3, but i disabled that in the bios
just to eliminate it from consideration.

The best I've been able to achieve with freebsd is link layer lights,
and the ability to ping myself. But I can't ping others. 

More info...

At boot time i get:
pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pcic0: management irq 10
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0   # why is pccard1 reporting on pcic0?
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
...
ed1 at port 0x240-0x25f irq 3 slot 0 on pccard0
ed1: supplying EUI64: 00:e0:98:ff:fe:74:c7:1f
ed1: address 00:eu:98:74:c7:1f, type Linksys (16 bit)
May  2 17:41:16 mdachemw pccardd[46]: pccardd started

Then i do 
     ifconfig ed1 192.168.0.4 netmask 255.255.255.0
and it spews on the console:
ed1: starting DAD for fe80:000b::02e0:98ff:fe74:c71f
ed1: DAD complete for fe80:000b::02e0:98ff:fe74:c71f - no duplicates found
ed1: device timeout

Then i can ping myself (192.168.0.4) but not anyone else
(such as the gateway 192.168.0.1).

I tried setting irq 15 at the top of pccard.conf, instead of
letting it give it irq 3. Also irq 13.
Neither irq 13 or 15 is mentioned in any other freebsd boot message,
so i assume they are conflict free.
I also tried irq 10 because w2k gives the card that irq.
But then i get:
 driver allocation failed for D-Link(DFE-650): Device not configured

I'm guessing that either there is a driver bug or i've still got an irq conflict somehow?

I'm assuming there is no utility that will simply print out all current irqs
and io ranges in use by a system? It seems like such an obvious thing, but
it must be hard or someone must have done it.

Some other non-crippling but annoying problems:
- I have to do a full power cycle (not just a soft reboot), or the card gets no power.
- If I pull it out and put in while running, neither event is detected.
- At boot time, the pccard is not detected when rc.network is run, only afterwards when it is too late.

I'm also confused about ed0 vs. ed1: even though my /boot/kernel.conf and
my /etc/pccard.conf mention ed0, i see ed1 as a boot message.

Thanks for any help.

-mda



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?028401bfb4a5$08bdc040$0200a8c0>