On Mon, Jan 21, 2008 at 03:08:03PM -0300, Sdävtaker wrote:
> It doesnt appear in pciconf (output is pasted below). I removed it and
> tryed make it work in a winxp machine and it was successfully working,
> so is not hardware problem (at least not in the nic).
> Any idea why is not working?, the card chip says "8139d", my kernel is
> release generic.
> Is it the none0?
> thanks for reply me :-)

Yes, it looks very much like the "none0" entry is your NIC.
That particular chip-id (0x81391904) is not one that is currently recognized
by the rl(4) driver, which is why the driver is not attaching to the card.

Most likely all that is needed to make work is to add that id to the list
of chips the rl(4) driver is supposed to attach to, but this requires
modifying the kernel source code and rebuilding the kernel.

Most likely the following quick, dirty, and ugly patch would suffice to make
it work, but since I do not have such a card I cannot test that it works:


Index: sys/pci/if_rl.c
===================================================================
RCS file: /ncvs/src/sys/pci/if_rl.c,v
retrieving revision 1.152.2.8
diff -u -r1.152.2.8 if_rl.c
--- sys/pci/if_rl.c     2 Dec 2007 08:54:59 -0000       1.152.2.8
+++ sys/pci/if_rl.c     21 Jan 2008 20:55:24 -0000
@@ -176,6 +176,8 @@
                "LevelOne FPC-0106TX" },
        { EDIMAX_VENDORID, EDIMAX_DEVICEID_EP4103DL, RL_8139,
                "Edimax EP-4103DL CardBus" },
+       { 0x1904, RT_DEVICEID_8139, RL_8139,
+               "Unknown 8139 10/100BaseTX" },
        { 0, 0, 0, NULL }
 };
 
 




> 
> pciconf -lv
> [EMAIL PROTECTED]:0:0:  class=0x060000 card=0x00001106 chip=0x31231106 
> rev=0x00 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT8623 Apollo CLE266 CastleRock CPU to PCI Bridge'
>     class    = bridge
>     subclass = HOST-PCI
> [EMAIL PROTECTED]:1:0: class=0x060400 card=0x00000080 chip=0xb0911106 
> rev=0x00 hdr=0x01
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT8633 Apollo Pro 266 CPU to AGP Controller'
>     class    = bridge
>     subclass = PCI-PCI
> [EMAIL PROTECTED]:8:0: class=0x020000 card=0x00000000 chip=0x81391904 
> rev=0x01 hdr=0x00
>     class    = network
>     subclass = ethernet
> [EMAIL PROTECTED]:16:0:        class=0x0c0300 card=0x30381106 chip=0x30381106
> rev=0x80 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
>     class    = serial bus
>     subclass = USB
> [EMAIL PROTECTED]:16:1:        class=0x0c0300 card=0x30381106 chip=0x30381106
> rev=0x80 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
>     class    = serial bus
>     subclass = USB
> [EMAIL PROTECTED]:16:2:        class=0x0c0300 card=0x30381106 chip=0x30381106
> rev=0x80 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
>     class    = serial bus
>     subclass = USB
> [EMAIL PROTECTED]:16:3:        class=0x0c0320 card=0x31041106 chip=0x31041106
> rev=0x82 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT6202 USB 2.0 Enhanced Host Controller'
>     class    = serial bus
>     subclass = USB
> [EMAIL PROTECTED]:17:0:        class=0x060100 card=0x00001106 chip=0x31771106
> rev=0x00 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT8235 PCI to ISA Bridge'
>     class    = bridge
>     subclass = PCI-ISA
> [EMAIL PROTECTED]:17:1:      class=0x01018a card=0x05711106 chip=0x05711106
> rev=0x06 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
>     class    = mass storage
>     subclass = ATA
> [EMAIL PROTECTED]:17:5:        class=0x040100 card=0x41611106 chip=0x30591106
> rev=0x50 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'
>     class    = multimedia
>     subclass = audio
> [EMAIL PROTECTED]:17:6:        class=0x078000 card=0x4c211543 chip=0x30681106
> rev=0x80 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT82C686/A/B,VT8233/A Modem Codec'
>     class    = simple comms
> [EMAIL PROTECTED]:18:0:  class=0x020000 card=0x01021106 chip=0x30651106 
> rev=0x74 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
>     class    = network
>     subclass = ethernet
> [EMAIL PROTECTED]:0:0: class=0x030000 card=0x31221106 chip=0x31221106 
> rev=0x03 hdr=0x00
>     vendor   = 'VIA Technologies Inc'
>     device   = 'VT8623 Apollo CLE266 CastleRock AGP 8X Controller'
>     class    = display
>     subclass = VGA
> 
> On Jan 21, 2008 12:59 PM, Erik Trulsson <[EMAIL PROTECTED]> wrote:
> >
> > On Mon, Jan 21, 2008 at 11:57:24AM -0300, Sdävtaker wrote:
> > > Hello.
> > > Im running FBSD 6.2release.
> > > I got an old RLT 8139 1/10m working in my ia32 pc, used it for long
> > > time and wanted to buy a second one for routing, couldnt find one of
> > > those, and bought a 10/100/1000 rlt8139d, FBSD is not detecting it, i
> > > was googling  and found out that 8139c+ drivers are not compatible
> > > with the old drivers.
> > > Is there any way to make it work?
> > > Thanks for any help.
> > > Sdav
> >
> > The RTL8139D is a 10/100Mbit chip that is supported by the rl(4) driver and
> > can be found on the majority of really cheap NICs these days,
> > The RTL8169/8169S is a 10/100/1000Mbit chip that is supported by the re(4) 
> > driver
> > and is quite common on cheap gigabit-NICs.
> > The RTL8139C+ (which is not the same as the RTL8139C or RTL8139D) is a
> > 10/100M chip which is also supported by the re(4) driver.
> >
> > If FreeBSD cannot detect your NIC then you will have to send more
> > information to help people figure out what exact hardware you have
> > and what would be needed to make it work.
> >
> > The output of 'pciconf -lv' should be a good start.  (Include the full
> > output, not just the lines you think are important.)
> >
> >
> >
> >
> >
> >
> > --
> > <Insert your favourite quote here.>
> > Erik Trulsson
> > [EMAIL PROTECTED]
> >
> 
> 
> 
> -- 
> Sdävtaker prays to Rikku goddess for a good treasure.

> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


-- 
<Insert your favourite quote here.>
Erik Trulsson
[EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to