Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2009 15:00:58 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        William Gordon Rutherdale <will.rutherdale@utoronto.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cannot get ethernet off the ground
Message-ID:  <20090111140058.GA57235@slackbox.xs4all.nl>
In-Reply-To: <4969E869.4070307@utoronto.ca>
References:  <4968EDAF.40108@utoronto.ca> <3a142e750901101153x66d0099dxa871dce07df32175@mail.gmail.com> <49694724.6090705@utoronto.ca> <gkbnia$2tf$1@ger.gmane.org> <4969E869.4070307@utoronto.ca>

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

--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jan 11, 2009 at 07:39:05AM -0500, William Gordon Rutherdale wrote:
> Is there an easy way to tell whether the new 7.1 release will officially=
=20
> support my hardware?  I looked at this url: =20
> http://www.freebsd.org/releases/7.1R/relnotes.html#PROC

Look at this manual page for the re(4) driver: [http://www.freebsd.org/cgi/=
man.cgi?query=3Dre&apropos=3D0&sektion=3D4&manpath=3DFreeBSD+7.1-RELEASE&fo=
rmat=3Dhtml]

This seems to match what you see with pciconf:
> >> none2@pci0:2:0:0: class=3D0x020000 card=3D0x2abf103c chip=3D0x816810ec
> >> rev=3D0x02 hdr=3D0x00
> >>     vendor          =3D 'Realtek Semiconductor'
> >>     device          =3D 'RTL 8168/8111 PCI-E Gigabit Ethernet NIC'
> >>     class           =3D network
> >>     subclass        =3D ethernet

This driver is part of the GENERIC kernel. So it should be recognized by
7.1-RELEASE. Try downloading the bootonly CD-image and booting from it.

I've used realtek devices in the past (cheap rl(4) based cards) but
wasn't really impressed. One one of those cards, download speed was OK,
but upload maxed out @ 200 kB/s. :-(

Better get a card based on an Intel PRO/100 chip [fxp(4) driver] or 3COM
3c905 [xl(4) driver]. If you need gigabit, try Intel PRO/1000 [em(4)].

> and cannot easily tell from there.  There must be something in the boot=
=20
> code (or drivers) that looks at the signature (maybe device name and=20
> manufacturer) and decides whether it knows the card.=20

Drivers try to probe for the card. If they get a good reaction, the
device is enabled.
=20
> If I could find either documentation or some configuration or source=20
> code file to look at, then I could have an idea before actually trying=20
> it whether freebsd 7.1 actually will recognise this driver on its own.

Look at /usr/src/sys/dev/re/if_re.c.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAklp+5oACgkQEnfvsMMhpyUmYQCgsS8bqbmeq8j8q2lujOT5RhE9
DfsAmwaQs8eFD0AbD8IMo3/TopkueQHC
=Ucxt
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--



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