Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 11:57:51 +0100
From:      franco@i-m-c.it
To:        freebsd-sparc@freebsd.org
Subject:   netra X1 and ethernet card
Message-ID:  <20021107105751.GA17580@i-m-c.it>

next in thread | raw e-mail | index | archive | help

--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,
I have a Sun Netra X1 with freebsd 5 installed and all seems work find,
excellent work guys! :D

My problem is only the ethernet support.
There are 2 ethernet with the davicom dm9102a chipset, supported by the
if_dc.ko driver, but they don't work.

when i attach the rj45 to the ethernet port the status appears to be "no
carrier".


These are the logs from shell:

# ifconfig -a
dc0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:00:00:00:00:00
        media: Ethernet autoselect (none)
        status: no carrier
dc1: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:00:00:00:00:00
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000



# pciconf -lv
none0@pci0:3:0: class=3D0x000000 card=3D0x00000000 chip=3D0x710110b9 rev=3D=
0x00
hdr=3D0x00
    vendor   =3D 'Acer Labs Incorporated (ALi)'
    device   =3D 'ALI M7101 Power Management Controller'
    class    =3D old
    subclass =3D non-VGA display device
dc0@pci0:5:0:   class=3D0x020000 card=3D0x00000000 chip=3D0x91021282 rev=3D=
0x31
hdr=3D0x00
    vendor   =3D 'Davicom Semiconductor Inc.'
    device   =3D 'DM9102/A/AF,DM9801 Fast Ethernet Adapter'
    class    =3D network
    subclass =3D ethernet
isab0@pci0:7:0: class=3D0x060100 card=3D0x153310b9 chip=3D0x153310b9 rev=3D=
0x00
hdr=3D0x00
    vendor   =3D 'Acer Labs Incorporated (ALi)'
    device   =3D 'ALI M1533 Aladdin IV ISA Bridge'
    class    =3D bridge
    subclass =3D PCI-ISA
none1@pci0:10:0:        class=3D0x0c0310 card=3D0x00000000 chip=3D0x523710b9
rev=3D0x03 hdr=3D0x00
    vendor   =3D 'Acer Labs Incorporated (ALi)'
    device   =3D 'ALI M5237 USB Host Controller'
    class    =3D serial bus
    subclass =3D USB
dc1@pci0:12:0:  class=3D0x020000 card=3D0x00000000 chip=3D0x91021282 rev=3D=
0x31
hdr=3D0x00
    vendor   =3D 'Davicom Semiconductor Inc.'
    device   =3D 'DM9102/A/AF,DM9801 Fast Ethernet Adapter'
    class    =3D network
    subclass =3D ethernet
atapci0@pci0:13:0:      class=3D0x0101ff card=3D0x00000000 chip=3D0x522910b9
rev=3D0xc3 hdr=3D0x00
    vendor   =3D 'Acer Labs Incorporated (ALi)'
    device   =3D 'M1543 Southbridge EIDE Controller'
    class    =3D mass storage
    subclass =3D ATA


# dmesg
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights
reserved.
FreeBSD 5.0-20021031-SNAP #1: Fri Nov  1 13:35:34 CET 2002
    root@:/usr/src/sys/sparc64/compile/NEXTRIP
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04be000.
Timecounter "tick"  frequency 500000000 Hz
cpu0: Sun Microsystems UltraSparc-IIe Processor (500.00 MHZ CPU)
Initializing GEOMetry subsystem
nexus0: <OpenFirmware Nexus device>
pcib0: <U2P UPA-PCI bridge> on nexus0
pcib0: Sabre, impl 0, version 0, ign 7c0 DVMA map: 0x60000000 to
0x7fffffff
pcib0: ofw_pci_init: no interrupt mapping found for 0/7/0 (preset 0)
pcib0: ofw_pci_init: no interrupt mapping found for 0/3/0 (preset 0)
pcib0: ofw_pci_init: no interrupt mapping found for 0/3/0 (preset 0)
device 0/12/0: latency timer 0 -> 165
pcib0: ofw_pci_init: mapping intr for 0/12/0 to 6 (preset was 0)
device 0/5/0: latency timer 0 -> 165
pcib0: ofw_pci_init: mapping intr for 0/5/0 to 28 (preset was 0)
pcib0: ofw_pci_init: mapping intr for 0/10/0 to 36 (preset was 0)
device 0/13/0: latency timer 0 -> 16
pcib0: ofw_pci_init: mapping intr for 0/13/0 to 12 (preset was 0)
pci0: <PCI bus> on pcib0
pci0: <old, non-VGA display device> at device 3.0 (no driver attached)
dc0: <Davicom DM9102A 10/100BaseTX> port 0x10100-0x101ff mem
0x2000-0x20ff irq 28 at device 5.0 on pci0
dc0: Ethernet address: 00:00:00:00:00:00
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
lock order reversal
 1st 0xc1950e30 dc0 (network driver) @ ../../../pci/if_dc.c:691
 2nd 0xc032ec38 kernel environment (kernel environment) @
=2E./../../kern/subr_hints.c:114
=2E./../../vm/uma_core.c:1311: could sleep with "dc0" locked from
=2E./../../pci/if_dc.c:691
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, USB> at device 10.0 (no driver attached)
dc1: <Davicom DM9102A 10/100BaseTX> port 0x10000-0x100ff irq 6 at device
12.0 on pci0
dc1: Ethernet address: 00:00:00:00:00:00
miibus1: <MII bus> on dc1
ukphy1: <Generic IEEE 802.3u media interface> on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
=2E./../../vm/uma_core.c:1311: could sleep with "dc1" locked from
=2E./../../pci/if_dc.c:691
atapci0: <AcerLabs Aladdin ATA66 controller> port
0x10220-0x1022f,0x10208-0x1020b,0x10210-0x10217,0x10218-0x1021b,0x10200-0x1=
0207
irq 12 at device 13.0 on pci0
ata2: at 0x10200 on atapci0
ata3: at 0x10210 on atapci0
Timecounters tick every 10.000 msec
ad0: 9773MB <FUJITSU MPF3102AH> [19857/16/63] at ata2-master UDMA66
acd0: CDROM <50X CD-ROM> at ata3-master PIO4
Mounting root from ufs:/dev/ad0a
warning: no time-of-day clock registered, system time will not be set
accurately


Regards

Franco
--=20

Franco (nextime) Lanza - i-m-c.it
Network Admin
tel: +39 347 3243736
Milano - Italy

you can download my public key at:
http://danex.i-m-c.it/nextime.asc || Key Servers
Key fingerprint =3D E4EF A5B7 7B93 0499 2832  D375 F437 D880 83D5 E711
-----------------------------------

--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9ykcv9DfYgIPV5xERAhbJAKCAIQ4nqCM9neTSgrL07OrQF/ZdAgCg4yrw
1lWlAEw04APAj6ANgj27nFM=
=CgMC
-----END PGP SIGNATURE-----

--tThc/1wpZn/ma/RB--

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




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