Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2008 10:42:39 -0700 (PDT)
From:      "Mr. Robert Murillo" <billypilgrim782001@yahoo.com>
To:        freebsd-sparc64@freebsd.org
Subject:   dc0 not working at all on a few FreeBSD/SPARC64 machines
Message-ID:  <796800.35289.qm@web82404.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi - I have a Linksys ethernet PCI card I'm trying to use with my SPARC64 machines (an Ultra 10 and a SunBlade 150) running FreeBSD 7.0-Release.  Here is the easiest test I can perform with it -

1) Plug network cable into built-in ethernet port (hme0 or gem0), run "dhclient hme0" (or gem0), and confirm that it gets an address through DHCP
2) run "ifconfig hme0 down", unplug cable from hme0, plug very same cable into dc0, and run "dhclient dc0".  At this point, on both machines, I end up with "No DHCPOFFERS received."

Of note - when I take DHCP out of the equation and do manual configuration on both machines, I also get no indication that any data whatsoever is being received on dc0 (or for that matter, leaving dc0).  I'm using DHCP as an example since it's more concise to show.

When I remove the dc0 card and put it into my FreeBSD-i386 machine, it works as expected with both DHCP and manual configuration.

No errors appear on the console, in dmesg, or in /var/log/messages.

Has anybody had any similar problems?  I've searched both the -SPARC64 and -net archives and nothing looks quite like what I'm seeing.  I've also googled endlessly.  I see some discussion that appears to be related to the dc interface built in on some Sun machines (?), but little about a PCI card.  I saw one discussion of a potential code problem in FreeBSD 5 that might cause problems for non-built-in dc interfaces on SPARC64, but looked at the FreeBSD 7 source and that problem has been fixed.

  Here is the dmesg snippet for the card -
   
  dc0: <ADMtek AN985 10/100BaseTX> port 0x1000-0x10ff mem 0x3000000-0x30003ff at device 2.0 on pci1
miibus1: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 05:25:06:00:ff:ff
dc0: [ITHREAD]

I am fine to keep digging at it, but don't want to pour a bunch of time into it if somebody else might know exactly what's wrong.

Thanks,
Bob



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