Koozali.org: home of the SME Server

need help to get dual 8169sc onboard lan running

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: need help to get dual 8169sc onboard lan running
« Reply #75 on: November 06, 2007, 04:35:02 PM »
is there anyone who have a rpm binary package with r8169-6.003.00.tar.bz2 compiled for kernel-2.6.9-55.0.2.EL.i686.

The 2.6.9-55.0.2.EL is long obsolete.

Offline arne

  • ****
  • 1,116
  • +0/-4
......

Offline Jean-Philippe Pialasse

  • *
  • 2,745
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: need help to get dual 8169sc onboard lan running
« Reply #77 on: November 13, 2007, 11:01:37 PM »
you should try dkrms to auto compil the driver for new kernel as soon as a kernel is updated, and add somes commands to the post-update event

if you want an already made kernel go to my contrib space:

http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/jppialasse/SME7/kernel2.6.21rc5git1ViaC7/

install the rpm and make the mkinitrd job + add it to grub menu.lst and that's all



only lack the module f71805f to monitor the mobo, everything else work  good
« Last Edit: November 13, 2007, 11:11:02 PM by unnilennium »

Offline cucubau

  • 14
  • +0/-0
Re: need help to get dual 8169sc onboard lan running
« Reply #78 on: December 30, 2007, 10:34:56 PM »
Tried to compile driver as stated in http://forums.contribs.org/index.php?topic=35435.15
No luck.
[root@testserver r1000_v1.04]# make clean modules
make -C src/ clean
make[1]: Entering directory `/root/r1000_v1.04/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/root/r1000_v1.04/src'
make -C src/ modules
make[1]: Entering directory `/root/r1000_v1.04/src'
make -C /lib/modules/2.6.9-55.0.12.EL/build SUBDIRS=/root/r1000_v1.04/src modules
make: *** /lib/modules/2.6.9-55.0.12.EL/build: No such file or directory.  Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/r1000_v1.04/src'
make: *** [modules] Error 2
Searching for directory /lib/modules/2.6.9-55.0.12.EL/build I found it missing
But found /usr/src/kernels/2.6.9-67.0.1.EL-i686/build what kernel is this??!!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: need help to get dual 8169sc onboard lan running
« Reply #79 on: December 31, 2007, 10:18:42 AM »
make: *** /lib/modules/2.6.9-55.0.12.EL/build: No such file or directory.  Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/r1000_v1.04/src'
make: *** [modules] Error 2
Searching for directory /lib/modules/2.6.9-55.0.12.EL/build I found it missing
But found /usr/src/kernels/2.6.9-67.0.1.EL-i686/build what kernel is this??!!
What kernel are you currently running? Try:
Code: [Select]
uname -rCheck that you have the kernel headers/source for this kernel
Code: [Select]
rpm -q kernel-develBoth should report the same number... If not you should try to install the kernel headers/source matching your kernel version:
Code: [Select]
yum install kernel-devel-`uname -r`. It probably does not install with yum from the repositories so search it here. Download to your machine and run
Code: [Select]
yum localinstall /path/to/rpm
This is not tested and compiling modules is not advised, no warranties what so ever :-)
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cucubau

  • 14
  • +0/-0
Re: need help to get dual 8169sc onboard lan running
« Reply #80 on: December 31, 2007, 04:09:48 PM »
To be exact:
I've install SME 7.2 from ISO so I've got kernel 2.6.9-55.0.02
Did update from web-panel and got kernel 2.6.9-55.0.12 (always work with EL not ELsmp kernel)
Did yum -y install kernel-devel gcc gcc-c++
Downloaded  http://www.vexins.com/r1000_v1.04.tgz (from a topic of the forum) because someone reported a succesfully compile under the same circumstances
After make clean modules got error 2
Using SSH logged in remotely and looked for the missing directory. No luck.
Tried to install kernel-headers. Same situation.
I don't understand what happens. I did compile succesfully in SME 6.0.1 drivers for different network cards, but no luck with 7.2
Thanks anyways

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: need help to get dual 8169sc onboard lan running
« Reply #81 on: December 31, 2007, 04:22:55 PM »
This is not tested and compiling modules is not advised, no warranties what so ever :-)

I'd go further and say that compiling modules is strongly discouraged, unless you really know what you are doing and can solve your own problems, when they (inevitably) arise.

Offline cucubau

  • 14
  • +0/-0
Re: need help to get dual 8169sc onboard lan running
« Reply #82 on: January 01, 2008, 09:33:50 AM »
Thanks for your advice. I agree with avoiding compilation for SME server modules. But we don't have to forget that Gigabyte motherboards are very stable and are a very good choice for small business servers. And Gigabyte begun to use 8111 chipset on meny mobos. Should we avoid tis mobos? I think is annoying to use an extra netwok card when you have a gigabit one onboard. Anyways I'm stuck in this issue and I'll look for a solution after New Year's eve

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: need help to get dual 8169sc onboard lan running
« Reply #83 on: January 01, 2008, 12:29:40 PM »
Thanks for your advice. I agree with avoiding compilation for SME server modules. But we don't have to forget that Gigabyte motherboards are very stable and are a very good choice for small business servers. And Gigabyte begun to use 8111 chipset on meny mobos. Should we avoid tis mobos?
Perhaps not, but since SME Server is based on CentOS, which in turn is based on RedHat Enterprise Linux, your best bet would be to go all the way to the RHEL bugtracker and add a feature request for support of this module.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline davibou

  • ***
  • 79
  • +0/-0
Re: need help to get dual 8169sc onboard lan running
« Reply #84 on: April 14, 2009, 05:51:40 PM »
And about sme 7.4 ? Is it working or i need to compile a new kernel ?

Regards David

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: need help to get dual 8169sc onboard lan running
« Reply #85 on: April 14, 2009, 05:59:49 PM »
And about sme 7.4 ? Is it working or i need to compile a new kernel ?
The same advice applies to all minor releases as no new modules will be implemented in minor releases by our upstream provider(s) so SME Server won't either.

So no, it will not work (without manual modification like compiling modules which you should not do as advised earlier in this thread).
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline davibou

  • ***
  • 79
  • +0/-0
Re: need help to get dual 8169sc onboard lan running
« Reply #86 on: April 14, 2009, 10:51:20 PM »
In fact i have a jetway mini itx board and wan't to put sme on it .
Any way for sme 8 ?

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: need help to get dual 8169sc onboard lan running
« Reply #87 on: April 16, 2009, 08:31:50 PM »
In fact i have a jetway mini itx board and wan't to put sme on it .
Any way for sme 8 ?

what about trying and reporting?

Ciao
Stefano