Page 1 of 2

Ethernet Nic not detected on Gigabyte Z87X-UD3H[Solved]

Posted: 30 Aug 2013 08:47
by foxdoismil
I am not able to make my newly installed NAS4Free detect the Ethernet Nic on the Gigabyte Z87X-UD3H motherboard.

dmesg | grep -i ethernet returns the following:
pci0: <network, ethernet> at device 25.0 (no driver attached)

pciconf -lv | grep -B3 network
Class = simple comms
none1@pci0:0:25:0: class=0x20000 card=0xe0001458 chip=0x153b8086 rev=0x04
hdr=0x00
vendor = Íntel Corporation
class = network

I still do not know which Ethernet gigabit controller is it, but it appears that there is only one driver to download in the the
intel web site https://downloadcenter.intel.com/Detail ... ldID=17509

The file em-7.3.8.tar.gz contains only source codes that must be compiled.
I was not able to proceed because my NAS4Free does not have MAKE (c compiler).

questions:
1) Am I in the right way? Shall I have to compile the driver?
2) Is there any precompiled file?
3) tutorial to easy the pain of making this NIC work?
4) do you recomend any off board Ethernet NIC? Which one?

Thanks

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 30 Aug 2013 08:56
by b0ssman
its most likely the new intel i217 nic.

i should be supported in freebsd 9.2. http://www.freebsd.org/releases/9.2R/schedule.html

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 31 Aug 2013 01:24
by foxdoismil
Are there any tutorials on how to install a NIC driver?

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 31 Aug 2013 09:16
by raulfg3
Use this for Realtek as tutorial, only need to use apropiate source viewtopic.php?f=58&t=222

http://blog.hani-ibrahim.de/en/netzwerk ... ieren.html


Remember , If You wait a little, in september a new BSD 9.2 is out, and a new N4F can be ready.

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 18 Sep 2013 00:08
by foxdoismil
I already had tried that, but in this case we only have the source code and not the binaries as in the tutorial.
I decided that buying an add-on Gigabit Ethernet board would be easier.
Both TP-Link TG-3468 (PCIe) or Dlink DGE528T (PCI) are good and cost effective Gigabit Ethernet NICs and will work fine with nas4free.

Either way. I was frustrated by having to wait a day or two and for not easily finding any driver solution.

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 18 Sep 2013 07:54
by raulfg3
foxdoismil wrote:Either way. I was frustrated by having to wait a day or two and for not easily finding any driver solution.
sorry, but you must find/read if your mainboard/NIC is compatible with BSD prior to buy.

this is not linux, it's BSD and have less hardware compatibility/actuallizations of drivers: http://wiki.nas4free.org/doku.php?id=na ... s_hardware

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 18 Sep 2013 19:33
by apollo567
get an other network card, e.g. one of Intel the older nics are fast and well supported in FreeBSD...

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 19 Sep 2013 06:36
by foxdoismil
It appears that I did not express myself clearly.
The intention of my reply was to tell that i had already bought the new NICs and tested it successfully.
I just tried to help anyone who could face the same problem. That is why I mentioned the models.

I also took the opportunity to suggest that someone (with much better BSD knowledge than me) could make a tutorial on how to build a driver.
I tried, but my NAS4FREE does not have the "c" compiler installed. Than I started this thread.

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 09 Jan 2014 20:26
by DL84
Well, here we are half a year later and im running into the same problem..have a mini itx board wich uses the intel i217, but nas4free has no support for it..what can i do? Could someone compile the driver from the intel source? I Of course you cant compile it in the nas4free shell because you cant use "make"..help would be greatly appreciated

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 09 Jan 2014 21:07
by apollo567
u have two Options:
wait for a N4F Version which is based on FreeBSD 9.2 or
buy an other Network adapter which is supported. A Intel Desktop CT Adapter is one a have good experiences with.

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 09 Jan 2014 21:10
by DL84
Not really in the mood to spend even more money right now, so i guess i can only wait..thank goodness my n4f system is still in its test stage

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 09 Jan 2014 21:26
by apollo567
zoon is currently more active again in programming, so maybe it won't last too long......

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 09 Jan 2014 21:29
by raulfg3
DL84 wrote:Not really in the mood to spend even more money right now, so i guess i can only wait..thank goodness my n4f system is still in its test stage

Please test this beta is based on BSD 9.2 and MUST Work. viewtopic.php?f=17&t=5608


PD: save your actual config.xml, do a new install and restore your previosly saved config , do it in a new bootdevice, if do not work, you only need to unplug and use old boot device to restore your boot.

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 09 Jan 2014 21:31
by DL84
raulfg3 wrote:
DL84 wrote:Not really in the mood to spend even more money right now, so i guess i can only wait..thank goodness my n4f system is still in its test stage

Please test this beta is based on BSD 9.2 and MUST Work. viewtopic.php?f=17&t=5608


PD: save your actual config.xml, do a new install and restore your previosly saved config , do it in a new bootdevice, if do not work, you only need to unplug and use old boot device to restore your boot.
im already on it.

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 09 Jan 2014 21:38
by apollo567
Does it work then ?

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 09 Jan 2014 21:40
by DL84
Im on it i.e. im in the process of installing it on my usb stick ;) going to report later

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 09 Jan 2014 22:07
by alexey123
foxdoismil wrote:I
I still do not know which Ethernet gigabit controller is it, but it appears that there is only one driver to download in the the
intel web site https://downloadcenter.intel.com/Detail ... ldID=17509

The file em-7.3.8.tar.gz contains only source codes that must be compiled.
I was not able to proceed because my NAS4Free does not have MAKE (c compiler).

You have sources and Nas4Free have jail extension, called Thebrig - what problem compille driver?
I compilled it for x64 (9.1) during 1 minute ( I was have installed sources and ports
Download it free :P https://sites.google.com/site/aganimkar ... g/if_em.ko

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 05:06
by DL84
alexey123 wrote:
foxdoismil wrote:I
I still do not know which Ethernet gigabit controller is it, but it appears that there is only one driver to download in the the
intel web site https://downloadcenter.intel.com/Detail ... ldID=17509

The file em-7.3.8.tar.gz contains only source codes that must be compiled.
I was not able to proceed because my NAS4Free does not have MAKE (c compiler).

You have sources and Nas4Free have jail extension, called Thebrig - what problem compille driver?
I compilled it for x64 (9.1) during 1 minute ( I was have installed sources and ports
Download it free :P https://sites.google.com/site/aganimkar ... g/if_em.ko
Thank you very very much my man. I have to try this out, since the beta is giving me errors left and right.

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 16:15
by DL84
well im running into another problem here..when i want to kldload the compiled driver it says "can't load /mnt/usb/if_em.ko: File exists"..i followed the instructions on the link above for the embedded version (since i use an usb stick (altho an older n4f version is shown in the guide))..can somebody give me some pointers? Does the driver have to be in a folder on the usb stick wich i just use for the transfer of this file?

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 16:24
by alexey123
May be driver need something
print to forum result after

Code: Select all

dmesg

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 16:35
by DL84
thats a too long list to type out, since i can't access the n4f box over the webgui (card is not detected)..what specifically do you need to know from the output?

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 16:42
by alexey123

Code: Select all

tail -n 3 /var/run/dmesg.boot
Will wrote last 3 lines dmesg

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 16:46
by DL84
okay it says:

GEOM: ada2: corrupt or invalid GPT detected
GEOM: ada2: GPT rejected -- may not be recoverable
Trying to mount root from ufs:/dev/md0 []...


and thats that

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 16:51
by alexey123
Power of your server and remove broken drive.

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 16:52
by DL84
its not broken, its because i changed the mobo/cpu..but yeah already took them out, still the same problem of "file exists" when trying to kldload

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 16:58
by alexey123
I was change motherboard many tymes without problem. One time I replace motherboard from x86 to x64 - from my LAB to Home server, just replace system drive and begin to work

May be your motherboard have defect?
You tried it with another BSD, such mfsbsd or FreeBSD original? Or any Live Linux?

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 17:02
by DL84
Hardware is all okay. I didn't try out any other BSD because im a windows kid :D .

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 17:27
by alexey123
Very fast way check motherboard with mfsbsd. Download from here http://mfsbsd.vx.sk/ any USB image for 9.2 release, write it with imagewriter on usb -pen and boot.
Password is mfsroot.
From command line
ifconfig, ping...

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 10 Jan 2014 17:50
by DL84
As i wrote, nothing is defective here. Just please explain to me how to kldload your compiled driver.
edit: tried nf4 9.2 beta and it recognized the NIC, but after that i couldn't boot anymore since it always lost usb power during boot and of course the system couldn't load the config.xml anymore (works fine with 9.1)..odd errors..so is there any way to put the if_em file from the 9.2 iso into the 9.1 iso on windows?

Re: Ethernet Nic not detected on Gigabyte Z87X-UD3H

Posted: 11 Jan 2014 12:55
by DL84
FINALLY SUCCESS...after searching the net some guy on another forum suggested that i try to install the "FULL" installation on my usb stick and try again to copy the driver..well lo and behold it worked with alexey123's compiled driver. Thanks again alexey123 and the rest for helping me with my annoying questions