On Sat, September 24, 2011 09:10, Jeremy Chadwick wrote:
> On Sat, Sep 24, 2011 at 08:44:20AM -0300, Nenhum_de_Nos wrote:
>>
>> On Sat, September 24, 2011 08:12, Jeremy Chadwick wrote:
>> > On Sat, Sep 24, 2011 at 05:56:00PM +0700, Eugene Grosbein wrote:
>> >> > I have a box using this Realtek nic:
>> >> >
>> >> > re0@pci0:1:0:0: class=0x020000 card=0x81051019 chip=0x813610ec
>> >> rev=0x05
>> >> > hdr=0x00
>> >> >     class      = network
>> >> >     subclass   = ethernet
>> >> >
>> >> > but FreeBSD is unable to use it. Its 8.1 pfSense. Newer versions
>> would
>> >> run
>> >> > it ?
>> >> >
>> >> > thanks,
>> >> >
>> >> > matheus
>> >> >
>> >>
>> >> Your card is supported with re(4) driver in 8.2-RELEASE and later
>> >> versions.
>> >
>> > Based on what I can tell his 8.1-based pfSense box detects the card
>> > and binds it to re(4) -- look closely at the first few digits of the
>> > first pciconf line.
>> >
>> > Whether or not the card actually **functions properly** in 8.1 is a
>> > different story altogether.  The OP doesn't explain what "unable to
>> use
>> > it" means.  My guess: it's probably a revision of card that 8.1 did
>> not
>> > have proper code for.
>>
>> pciconf -lv finds that I sent, but ifconfig won't list the card. it's
>> useless as a nic.
>
> Right, the problem is what I assumed: the re(4) driver in 8.1 binds to
> the card, but the card/driver/network layer is not functional.  This
> means the code in 8.1 probably does not work with this revision (not
> "model"!) of card.
>
> If it's possible for you to get dmesg(8) output from the machine, that
> would be useful.  Chances are there is something being emitted during
> kernel boot when re(4) is initialised that indicates failure.
>
> It would also help if you could provide "pciconf -lvcb" output; note the
> additional flags.  The BAR details are sometimes useful.

thanks, as this box is from work, as soon as I get there I'll try to do this.

>> is it possible to use if_re from 8.2 in 8.1 ?
>
> I would strongly recommend you avoid doing this unless the existing
> maintainer of re(4) says it's okay.  You should not get in the habit of
> doing this; there is no guarantee it will work (kernel ABI structures
> and semantics can/do change between versions).
>
> You might be able to take the re(4) source code from 8.2 and make it
> compile 8.1.  I don't know if you'll be able to, say, steal if_re.ko
> from an 8.2 mirror site and load that on 8.1.  It may load, but it may
> not work correctly.
>
> CC'ing YongHyeon to verify/dismiss my claims.

well, as its a pfsense box (2.0R), I guess it will be harder to compile
it, that's why I asked about taking it.

thanks again, and I'll wait for the maintainer also,

thanks,

matheus

> --
> | Jeremy Chadwick                                jdc at parodius.com |
> | Parodius Networking                       http://www.parodius.com/ |
> | UNIX Systems Administrator                   Mountain View, CA, US |
> | Making life hard for others since 1977.               PGP 4BD6C0CB |
>
>


-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to