The pfSense Store

Author Topic: Triple Realtek 8110SC (Jetway Daughterboard)  (Read 2908 times)

0 Members and 1 Guest are viewing this topic.

Offline asgari

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Triple Realtek 8110SC (Jetway Daughterboard)
« on: April 28, 2009, 12:23:06 am »
Hi,

Yesterday I've tried 1.2.3 RC1 on my Jetway Mini-Itx box with Triple Gigabit daughterboard (3 x Realtek RTL8110SC) , and one internal NIC,
only internal NIC has detected, same as 1.2.2

Here is a photo of the daughterboard : http://i663.photobucket.com/albums/uu359/asgari/SANY0321-Low.jpg

Here is my pciconf -lv output :

Code: [Select]
hostb0@pci0:0:0:0:      class=0x060000 card=0x27708086 chip=0x27708086 rev=0x02 hdr=0x00
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:     class=0x030000 card=0x27728086 chip=0x27728086 rev=0x02 hdr=0x00
    class      = display
    subclass   = VGA
none0@pci0:0:27:0:      class=0x040300 card=0xa62516f3 chip=0x27d88086 rev=0x01 hdr=0x00
    class      = multimedia
pcib1@pci0:0:28:0:      class=0x060400 card=0x27d08086 chip=0x27d08086 rev=0x01 hdr=0x01
    class      = bridge
    subclass   = PCI-PCI
uhci0@pci0:0:29:0:      class=0x0c0300 card=0x27c88086 chip=0x27c88086 rev=0x01 hdr=0x00
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:      class=0x0c0300 card=0x27c98086 chip=0x27c98086 rev=0x01 hdr=0x00
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:29:2:      class=0x0c0300 card=0x27ca8086 chip=0x27ca8086 rev=0x01 hdr=0x00
    class      = serial bus
    subclass   = USB
uhci3@pci0:0:29:3:      class=0x0c0300 card=0x27cb8086 chip=0x27cb8086 rev=0x01 hdr=0x00
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:29:7:      class=0x0c0320 card=0x27cc8086 chip=0x27cc8086 rev=0x01 hdr=0x00
    class      = serial bus
    subclass   = USB
pcib2@pci0:0:30:0:      class=0x060401 card=0x244e8086 chip=0x244e8086 rev=0xe1 hdr=0x01
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 card=0x27b88086 chip=0x27b88086 rev=0x01 hdr=0x00
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:2:    class=0x010180 card=0x27c08086 chip=0x27c08086 rev=0x01 hdr=0x00
    class      = mass storage
    subclass   = ATA
none1@pci0:0:31:3:      class=0x0c0500 card=0x27da8086 chip=0x27da8086 rev=0x01 hdr=0x00
    class      = serial bus
    subclass   = SMBus
re0@pci0:1:0:0: class=0x020000 card=0x816810ec chip=0x816810ec rev=0x02 hdr=0x00
    class      = network
    subclass   = ethernet
none2@pci0:2:4:0:       class=0x020000 card=0x10cc16f3 chip=0x814910ec rev=0x10 hdr=0x00
    class      = network
    subclass   = ethernet
none3@pci0:2:6:0:       class=0x020000 card=0x10cc16f3 chip=0x814910ec rev=0x10 hdr=0x00
    class      = network
    subclass   = ethernet
none4@pci0:2:7:0:       class=0x020000 card=0x10cc16f3 chip=0x814910ec rev=0x10 hdr=0x00
    class      = network
    subclass   = ethernet

Here is my DMESG Output :

Code: [Select]
Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE-p5 #0: Wed Apr 22 15:35:36 EDT 2009
    sullrich@RELENG_1_2-snapshots.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.7
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Atom(TM) CPU  330   @ 1.60GHz (1601.59-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x106c2  Stepping = 2
  Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x40e31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM,<b22>>
  AMD Features=0x20000000<LM>
  AMD Features2=0x1<LAHF>
  Logical CPUs per core: 4
real memory  = 2137587712 (2038 MB)
avail memory = 2081943552 (1985 MB)
ACPI APIC Table: <IntelR AWRDACPI>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0: Changing APIC ID to 4
ioapic0 <Version 2.0> irqs 0-23 on motherboard
wlan: mac acl policy registered
kbd1 at kbdmux0
cryptosoft0: <software crypto> on motherboard
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7f5e0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xff00-0xff07 mem 0xfdf00000-0xfdf7ffff,0xd0000000-0xdfffffff,0xfdf80000-0xfdfbffff irq 16 at device 2.0 on pci0
agp0: <Intel 82945G (945G GMCH) SVGA controller> on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
pci0: <multimedia> at device 27.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe Gigabit Ethernet> port 0xde00-0xdeff mem 0xfddff000-0xfddfffff,0xfdef0000-0xfdefffff irq 16 at device 0.0 on pci1
re0: Using 1 MSI messages
re0: Chip rev. 0x3c000000
re0: MAC rev. 0x00400000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:30:18:ab:4a:d8
re0: [FILTER]
uhci0: <UHCI (generic) USB controller> port 0xfe00-0xfe1f irq 23 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0xfd00-0xfd1f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI (generic) USB controller> port 0xfc00-0xfc1f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0xfb00-0xfb1f irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xfdfff000-0xfdfff3ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 8 ports with 8 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <network, ethernet> at device 4.0 (no driver attached)
pci2: <network, ethernet> at device 6.0 (no driver attached)
pci2: <network, ethernet> at device 7.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 SATA300 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 31.2 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
speaker0: <PC speaker> port 0x61 on acpi0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
cpu2: <ACPI CPU> on acpi0
p4tcc2: <CPU Frequency Thermal Control> on cpu2
cpu3: <ACPI CPU> on acpi0
p4tcc3: <CPU Frequency Thermal Control> on cpu3
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xcc000-0xccfff pnpid ORM0000 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
rue0: <Linksys Linksys USB LAN Adapter, class 0/0, rev 1.10/1.00, addr 2> on uhub0
miibus1: <MII bus> on rue0
ruephy0: <RealTek RTL8150 internal media interface> PHY 0 on miibus1
ruephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rue0: WARNING: using obsoleted if_watchdog interface
rue0: WARNING: using obsoleted IFF_NEEDSGIANT flag
rue0: Ethernet address: 00:1a:70:90:a0:6d
rue1: <Linksys Linksys USB LAN Adapter, class 0/0, rev 1.10/1.00, addr 2> on uhub1
miibus2: <MII bus> on rue1
ruephy1: <RealTek RTL8150 internal media interface> PHY 0 on miibus2
ruephy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rue1: WARNING: using obsoleted if_watchdog interface
rue1: WARNING: using obsoleted IFF_NEEDSGIANT flag
rue1: Ethernet address: 00:1a:70:90:a0:6c
ukbd0: <NOVATEK USB Keyboard, class 0/0, rev 1.10/1.12, addr 3> on uhub1
kbd2 at ukbd0
uhid0: <NOVATEK USB Keyboard, class 0/0, rev 1.10/1.12, addr 3> on uhub1
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
ad0: 3919MB <SanDisk SDCFX3-004G HDX 4.32> at ata0-master UDMA66
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
Trying to mount root from ufs:/dev/ad0s1a


Please advice.

Thanks in advance

Offline rockbochs

  • Jr. Member
  • **
  • Posts: 49
  • Karma: +0/-0
    • View Profile
    • RockBochs, Inc.
Re: Triple Realtek 8110SC (Jetway Daughterboard)
« Reply #1 on: April 29, 2009, 03:26:09 pm »
I think the general consensus is to stay away from those boards as much as possible.  Besides, I believe all the nics are on the PCI bus, which can realistically only handle the throughput of ONE gigabit nic.  So with 3 or 4 on the same bus, performance will be horrible.
Creator of world class Linux/FreeBSD appliances, including the popular StrongBochs pfSense appliance.

Offline ktims

  • Sr. Member
  • ****
  • Posts: 300
  • Karma: +0/-0
    • View Profile
Re: Triple Realtek 8110SC (Jetway Daughterboard)
« Reply #2 on: April 29, 2009, 07:07:38 pm »
Well it looks like the only issue is that Jetway has changed the PCI IDs and that those IDs are not claimed by the re driver. It should be a trivial kernel patch to fix this, but I don't have the expertise or development environment set up to do it myself.

The devs seem to be fairly receptive to doing this themselves as it's likely a 30 second job.

Offline wallabybob

  • Hero Member
  • *****
  • Posts: 5262
  • Karma: +0/-0
    • View Profile
Re: Triple Realtek 8110SC (Jetway Daughterboard)
« Reply #3 on: April 29, 2009, 07:53:13 pm »
Besides, I believe all the nics are on the PCI bus, which can realistically only handle the throughput of ONE gigabit nic.  So with 3 or 4 on the same bus, performance will be horrible.
For short bursts a PCI bus could handle transfers of data 1Gbps one direction. However there is still lots of applications where its performance is "good enough". (For example, out of your four interfaces one connecte sto the internet at 100Mbps and the other three are used predominantly for shared access to the internet.)

To asgari:
The FreeBSD 7.1 re driver doesn't seem to have any knowledge of the Realtek chip with device id 0x8149 (the three interfaces identified as none2, none3, none4 in the pciconf output). Its probably worthwhile lodging a FreeBSD problem report (goto http://www.freebsd.org/support/bugreports.html) to initiate a conversation with the FreeBSD developers about this. At best someone will need to add an entry to the "supported devices" table in the re driver. But there might need to be more work done, depending on the peculiarities of this particular device.

Offline asgari

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Triple Realtek 8110SC (Jetway Daughterboard)
« Reply #4 on: April 30, 2009, 03:39:01 pm »
Its probably worthwhile lodging a FreeBSD problem report (goto http://www.freebsd.org/support/bugreports.html) to initiate a conversation with the FreeBSD developers about this. At best someone will need to add an entry to the "supported devices" table in the re driver. But there might need to be more work done, depending on the peculiarities of this particular device.

Thanks, done that, this is their response to problem report :
Quote
Old Synopsis: Realtek 8110SC with device ID 0x814910ec is not detected by FreeBSD 7.1. Most of New Mini-ITX boards are based on this chip.
New Synopsis: rl(4) Realtek 8110SC with device ID 0x814910ec not detected

State-Changed-From-To: open->feedback
State-Changed-By: gavin
State-Changed-When: Thu Apr 30 20:06:18 UTC 2009
State-Changed-Why:
To submitter: can you please try the patch at
http://people.freebsd.org/~gavin/PRs/134105.diff
and see if that makes a difference?  If you still do not
get the extra interfaces, you should at least get extra lines
in the dmesg, please supply them.  Thanks!


Responsible-Changed-From-To: freebsd-i386->gavin
Responsible-Changed-By: gavin
Responsible-Changed-When: Thu Apr 30 20:06:18 UTC 2009
Responsible-Changed-Why:
Track

http://www.freebsd.org/cgi/query-pr.cgi?pr=134105


I am not familiar with applying patches. Is there any guides?