Koozali.org: home of the SME Server

need help to get dual 8169sc onboard lan running

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: it works........
« Reply #15 on: February 20, 2007, 09:04:09 PM »
Quote from: "ameier"

01.) yum -y update

02.) reboot

03.) yum -y install kernel-devel gcc gcc-c++

04.) reboot

05.) wget http://www.vexins.com/r1000_v1.04.tgz


Those reboots aren't required.

Quote

11.) mcedit /etc/modprobe.conf

alias eth0 r1000
alias eth1 r1000

12.) config set EthernetDriver1 r1000
13.) config set EthernetDriver2 r1000


Step 11 is not required.

Offline ameier

  • 12
  • +0/-0
    • http://www.horatec.de
conection sometimes dropped
« Reply #16 on: February 21, 2007, 12:15:46 AM »
Hallo CharlieBrady,

did you have any kind of problems to get the connection stable ?
i mad some test during the last few hours. sometimes the connection
just dropped........did you modifi settings such as MTU ?

any tipps and hints are welcome !

mfg

andreas

p.s.: did you use a messenger ? - for direct contact.........

Offline Confucius

  • ****
  • 235
  • +0/-0
need help to get dual 8169sc onboard lan running
« Reply #17 on: February 21, 2007, 12:28:52 AM »
Andreas,

I don't think Charlie has such a mainboard at hand. He's a general knowledgebase ( :roll: ) when it comes to SME.

I had no connection problems yet. BUT... honestly.. I only run the server in the evening when I'm in the mood to puzzle & fiddle with it. And at this moment a SME 6.0.1 is keeping me connected. But.... during all these hours of playing, using putty, I haven't suffered any disconnects or other weird behaviour. For the record: I still use driver r1000 version 1.04

Harro

daddytux

Thanks and patch for 1.04 driver
« Reply #18 on: February 23, 2007, 05:25:59 PM »
Many thanks to all of you.

I was looking for a solution to have this brand new J7F4 MB, I bought begining of January from LinITX (UK), working with SME, including trying to install a rpm driver for SL44 (another Linux distro based on RHEL), or install an entire CentOS distro to compile the driver, and I was about to try with a third NIC, when I came back to Contribs.org forums to find this very smart solution.

Just to bring my small contribution to the solution, I tried to patch the source driver from Realtek (the 1.04 available on Confucius website) as indicated in this page on a Gentoo wiki (http://gentoo-wiki.com/HARDWARE_RTL8168, section TROUBLESHOOTING). With the Confucius 1.04 version I had the warning when "making clean modules", and I didn't have anymore warning with the MODULE_PARM_DESC modification in the src/r1000_n.c file.

I hope this could help.

Any news of a 1.05 working driver or do we have to wait for a new kernel fixing the bug?

DaddyTux

Offline Confucius

  • ****
  • 235
  • +0/-0
Prevent work
« Reply #19 on: February 28, 2007, 07:55:52 PM »
Before running the sme update (with kernel update) make sure that you installed all libs you need for compiling.
Download the working driver and keep it unpacked in a map u remember.


Then tell your machine to do the "yum update"

Now all your compile libs are also updated.

The only thing you need to do now is make sure the machine starts in the right mode (NOT smp if you have 1 processor only) and start compiling as instructed before. (with the correction from Charlie included ofcourse)

This way I didn't needed to add my extra networkcard anymore. Only needed local access to the server (keyboard & screen) to get all done.

Without too much hassle... a working server that is up2date  :D

Harro

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Prevent work
« Reply #20 on: February 28, 2007, 07:57:45 PM »
Quote from: "Confucius"

The only thing you need to do now is make sure the machine starts in the right mode (NOT smp if you have 1 processor only) ...


SMP should work fine no matter how many CPUs you have.

Offline z3n0

  • ***
  • 105
  • +0/-0
    • http://www.giuseppeferraiolo.it
need help to get dual 8169sc onboard lan running
« Reply #21 on: March 26, 2007, 07:34:03 PM »
hi, i've tried this procedure but doesn't work...
When it tries to compile the module, get the:

Code: [Select]
make clean modules
make -C src/ clean
make[1]: Entering directory `/tmp/r1000_v1.05/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
make[1]: Leaving directory `/tmp/r1000_v1.05/src'
make -C src/ modules
make[1]: Entering directory `/tmp/r1000_v1.05/src'
make -C /lib/modules/2.6.9-42.0.10.EL/build SUBDIRS=/tmp/r1000_v1.05/src modules
make[2]: Entering directory `/lib/modules/2.6.9-42.0.10.EL/build'
make[2]: *** No rule to make target `modules'.  Stop.
make[2]: Leaving directory `/lib/modules/2.6.9-42.0.10.EL/build'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/tmp/r1000_v1.05/src'
make: *** [modules] Error 2
[root@cube r1000_v1.05]#
[root@cube r1000_v1.05]# make install
make -C src/ install
make[1]: Entering directory `/tmp/r1000_v1.05/src'
install -m 644 -c r1000.ko /lib/modules/2.6.9-42.0.10.EL/kernel/drivers/net/
install: impossibile fare stat di `r1000.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/tmp/r1000_v1.05/src'
make: *** [install] Error 2
[root@cube r1000_v1.05]#


and now?

Offline Confucius

  • ****
  • 235
  • +0/-0
need help to get dual 8169sc onboard lan running
« Reply #22 on: March 26, 2007, 08:34:52 PM »
Use the 1.04 as stated.

Offline z3n0

  • ***
  • 105
  • +0/-0
    • http://www.giuseppeferraiolo.it
need help to get dual 8169sc onboard lan running
« Reply #23 on: March 26, 2007, 09:07:11 PM »
no difference

Offline Confucius

  • ****
  • 235
  • +0/-0
need help to get dual 8169sc onboard lan running
« Reply #24 on: March 26, 2007, 09:28:19 PM »
then you didn't follow the steps as described.

You have installed the kernel-headers ??

I have done it 3 times this was on the previous kernel version. Did it 2 times on the current kernel version and tried the 1.05 aswell and all compiles well.... only the 1.05 doesn't connect properly at all.

Offline z3n0

  • ***
  • 105
  • +0/-0
    • http://www.giuseppeferraiolo.it
need help to get dual 8169sc onboard lan running
« Reply #25 on: March 27, 2007, 12:52:51 AM »
I have installed all the packages demands..

u can send me the module plese?

Linux cube 2.6.9-42.0.10.EL #1 Tue Feb 27 09:32:35 EST 2007 i686 i686 i386 GNU/Linux

Offline Confucius

  • ****
  • 235
  • +0/-0
need help to get dual 8169sc onboard lan running
« Reply #26 on: March 27, 2007, 01:12:23 AM »
In your hotmail account. Hope it works for you.

Offline z3n0

  • ***
  • 105
  • +0/-0
    • http://www.giuseppeferraiolo.it
need help to get dual 8169sc onboard lan running
« Reply #27 on: March 27, 2007, 02:43:34 AM »
Code: [Select]
tar xvf r1000.tar
r1000.ko
[root@cube net]# ls
3c59x.ko     e1000         netconsole.ko   r1000.tar      sunhme.ko
8139cp.ko    e100.ko       netdump.ko      r8169.ko       tg3.ko
8139too.ko   eepro100.ko   ns83820.ko      s2io.ko        tlan.ko
82596.ko     epic100.ko    pcmcia          sis900.ko      tokenring
8390.ko      ethertap.ko   pcnet32.ko      sk98lin        tulip
acenic.ko    fealnx.ko     ppp_async.ko    skge.ko        tun.ko
amd8111e.ko  forcedeth.ko  ppp_deflate.ko  sky2.ko        typhoon.ko
b44.ko       hp100.ko      ppp_generic.ko  slhc.ko        via-rhine.ko
bnx2.ko      ixgb          pppoe.ko        smc9194.ko     via-velocity.ko
bonding      mii.ko        pppox.ko        starfire.ko    wireless
dl2k.ko      natsemi.ko    ppp_synctty.ko  sungem.ko
dummy.ko     ne2k-pci.ko   r1000.ko        sungem_phy.ko
[root@cube net]# modprobe r1000
FATAL: Error inserting r1000 (/lib/modules/2.6.9-42.0.10.EL/kernel/drivers/net/r1000.ko): Invalid module format


mmh, where is the error?

Offline Confucius

  • ****
  • 235
  • +0/-0
need help to get dual 8169sc onboard lan running
« Reply #28 on: March 27, 2007, 09:20:15 AM »
Good question.... I'm puzzled... Will dig into it when I'm back on the spot.

Offline z3n0

  • ***
  • 105
  • +0/-0
    • http://www.giuseppeferraiolo.it
need help to get dual 8169sc onboard lan running
« Reply #29 on: March 27, 2007, 09:33:19 AM »
invalid module format????

helpppppppppp :(

i've tried the right 644 & 777 but nothing...

what depend? from the packages installed on system?

i've tried at remve the packs for compiling but nothing..

 :(

i have this motheboard all in one