DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th August 2008
ashleyd ashleyd is offline
New User
 
Join Date: Aug 2008
Posts: 4
Thanked 0 Times in 0 Posts
Default Realtek Gigabit 8169SC Network card not workies!!

Hi,

I brought a 'Plexus' (technically unbranded) gigabit pci card. The dmesg output is that there's no driver attached.

First i tried with re and rl activated in the kernel, as the kernel says re(4) is for the 8169 cards, but realtek say the 8169sc is rl. Then I downloaded new rl drivers from realtek and then 'cp if_rl.c to /boot/modules/if_rl.ko', i removed both re and rl drivers from the kernel, recompiled and added if_rl_load="YES" to loader.conf, this has not changed anything however.

I have a nfe card built-in to the motherboard and another 10/100 realtek pci card on rl0.


uname -a:

FreeBSD diamondbsd.com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #2: Sun Aug 10 10:09:24 BST 2008 root at diamondbsd.com:/usr/obj/usr/src/sys/MYKERNEL amd64

Relevant dmesg output:

pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
pci0: <memory, RAM> at device 0.6 (no driver attached)
pci0: <memory, RAM> at device 0.7 (no driver attached)
pci1: <network, ethernet> at device 7.0 (no driver attached)


pciconf -lv | grep -B 3 network:

rl0@pci0:1:6:0: class=0x020000 card=0x813911f6 chip=0x813910ec rev=0x10 hdr=0x00
vendor = 'Realtek Semiconductor'
device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
class = network
subclass = ethernet
none11@pci0:1:7:0: class=0x020000 card=0x0000106c chip=0x81690000 rev=0x10 hdr=0x00
class = network

MYKERNEL:

device miibus # MII bus support
#device age # Attansic/Atheros L1 Gigabit Ethernet
#device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet
#device bfe # Broadcom BCM440x 10/100 Ethernet
#device bge # Broadcom BCM570xx Gigabit Ethernet
#device dc # DEC/Intel 21143 and various workalikes
#device et # Agere ET1310 10/100/Gigabit Ethernet
#device fxp # Intel EtherExpress PRO/100B (82557, 82558)
#device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet
#device lge # Level 1 LXT1001 gigabit Ethernet
#device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
device nfe # nVidia nForce MCP on-board Ethernet
#device nge # NatSemi DP83820 gigabit Ethernet
#device nve # nVidia nForce MCP on-board Ethernet Networking
#device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le')
#device re # RealTek 8139C+/8169/8169S/8110S
#device rl # RealTek 8129/8139
#device sf # Adaptec AIC-6915 (``Starfire'')
#device sis # Silicon Integrated Systems SiS 900/SiS 7016
#device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet

/boot/loader.conf:

#if_nfe_load="yes"
#if_re_load="YES"
if_rl_load="YES"


Thanks to anyone who may be able to help!
Reply With Quote
  #2   (View Single Post)  
Old 10th August 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Thanked 7 Times in 7 Posts
Default

I know some work was going on with this recently due to the fact that that chip and some other of Realtek's new cards use a different setup and therefor required changes to the FreeBSD driver. Updating to a recent -STABLE (csup tag RELENG_7) may solve your issue, and it should appear under the re driver. Try it first with a GENERIC kernel.
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
  #3   (View Single Post)  
Old 10th August 2008
ashleyd ashleyd is offline
New User
 
Join Date: Aug 2008
Posts: 4
Thanked 0 Times in 0 Posts
Default

Great thanks, Il give that a try!

Is there any stability issues with RELENG_7 instead of RELENG_7_0?

To change to RELENG_7 do I change cvsup, cvsup sources, make buildworld, make buildkernel, make install kernel, boot into single user mode and make installworld?

I've read through the handbook and this is (as far as I can make out) what I have to do? I did this plus mergmaster to upgrade from 6.2 to 7 and mostly seemed to go ok!
Reply With Quote
  #4   (View Single Post)  
Old 10th August 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Thanked 7 Times in 7 Posts
Default

Yes, but make sure you keep the handbook close. Don't leave out/misorder steps. Other than that it's pretty straight-forward.

Generally, STABLE is not recommended for production environments, except in cases where you have needs like new drivers that haven't found their way into a RELEASE yet. Like this case

Oh, and use csup instead of cvsup. csup should be built-in to your system.
Quote:
Originally Posted by handbook
23.4.1 The Canonical Way to Update Your System

To update your system, you should check /usr/src/UPDATING for any pre-buildworld steps necessary for your version of the sources and then use the following procedure:

# make buildworld
# make buildkernel
# make installkernel
# reboot

Note: There are a few rare cases when an extra run of mergemaster -p is needed before the buildworld step. These are described in UPDATING. In general, though, you can safely omit this step if you are not updating across one or more major FreeBSD versions.

After installkernel finishes successfully, you should boot in single user mode (i.e. using boot -s from the loader prompt). Then run:

# mergemaster -p
# make installworld
# mergemaster
# reboot
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.

Last edited by Weaseal; 10th August 2008 at 10:33 PM.
Reply With Quote
  #5   (View Single Post)  
Old 11th August 2008
ashleyd ashleyd is offline
New User
 
Join Date: Aug 2008
Posts: 4
Thanked 0 Times in 0 Posts
Default

Nope, didnt seem to work.

uname -a:

FreeBSD diamondbsd.com 7.0-STABLE FreeBSD 7.0-STABLE #1: Mon Aug 11 10:20:35 BST 2008 root at diamondbsd.com:/usr/obj/usr/src/sys/GENERIC amd64

Still says no driver attached to network device.

Is there any step like adding pci identifiers or something?

I just found ebuyer sell a D-Link DGE528T for £2 more, and a customer review on that site said it actually works out the box with freebsd 5.3! Damn, all for £2 more! Teach me for being so cheap!

Shall I cut my loses and go buy that instead?
Reply With Quote
  #6   (View Single Post)  
Old 11th August 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Thanked 7 Times in 7 Posts
Default

For 2 pounds? Why not...
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A PDP-11 program card TerryP Programming 0 10th April 2009 05:54 AM
GB lan card choice for FreeBSD mururoa General Hardware 6 21st December 2008 02:41 PM
C F Card and fstab terryd FreeBSD General 1 3rd December 2008 05:26 PM
Double network card Dilemma disappearedng FreeBSD General 6 1st September 2008 06:31 AM
Wireless Card on T61 disappearedng FreeBSD General 1 13th July 2008 12:54 AM


All times are GMT. The time now is 05:41 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick