1691e
![]() |
|
|
|
|
|||||||
| Networking Network related discussions (including general TCP/IP stuff, routing, etc). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hey guys, I added a PCI NIC onto my FreeNAS8.2Beta3 (FreeBSD 8.2) box. I configured the onboard NIC to use DHCP, it (re0) has an ip of 192.168.1.4, and I also assosiate a second IP to the onboard NIC, 192.168.1.30 (jail IP). I configured the PCI NIC to use DHCP, it (em0) has an IP of 192.168.1.12. I have both NICs connected to an unmanaged switch. Everything seems to work perfectly and I can ping both NICs just fine.
The problems comes in when I use my PCI NIC for NFS or iscsi, I can usually connect to NFS or iscsi for a few seconds / minutes on the 192.168.1.12 address but it always stops responding. At which point I can't ping 192.168.1.12 from anywhere on my network (except from being ssh'ed into the box using the 192.168.1.4 IP). I don't see anything in syslog (using FreeNAS console). A local ifconfig makes it seem like the interface is still working perfectly fine. I can get the interface to work again using ifconfig em0 down and ifconfig em0 up but using iscsi or NFS makes the IP unreachable once again. iscsi and NFS work perfectly ok using my 192.168.1.4 IP. Not sure if it's the card's fault (link below), the switch's fault, or if I configured something wrongly. Thanks for the help! http://www.newegg.com/Product/Produc...82E16833106121 Last edited by DutchDaemon; May 1st, 2012 at 10:54. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#2
|
||||
|
||||
|
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Adminstrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#3
|
|||
|
|||
|
Quote:
It is not clear which version of FreeNAS you are using and how jail is executed whether you are using pf/ipfw or anything. Maybe you need to compile VIMAGE for epair, just guess in the kernel. This may also require some ipfw adjustments, I guess. What you can do is you can pop in any livecd (I suggest any lightweight linux like puppy) with the WAN connected to the new card and try to figure out if that is working (the novice way). Else, you can post your NIC card status here in command line. Last edited by DutchDaemon; May 1st, 2012 at 14:41. |
|
#4
|
|||
|
|||
|
-Here's a link if the related thread I made in the FreeNAS forum, I just assumed it was OS agnostic enough to ask here / you guys might have better ability to help me debug it.
http://forums.freenas.org/showthread...7245#post27245
Last edited by DutchDaemon; May 1st, 2012 at 14:42. |
|
#5
|
|||
|
|||
|
I already replied earlier but it needs to be approved.
Code:
$pciconf -lv
em0@pci0:6:1:0: class=0x020000 card=0x13768086 chip=0x107c8086 rev=0x05 hdr=0x00
vendor = 'Intel Corporation'
device = 'Gigabit Ethernet Controller (Copper) rev 5 (82541PI)'
class = network
subclass = ethernet
Once again everything works as expected, my PCI NIC is assigned 192.168.1.4, I can ping it. But if I use the IP for anything (including SSH) it suddenly becomes no longer reachable. Have to plug a monitor/keyboard in to restart the interface. Using the monitor/keyboard I can't even ping my router from my box once the IP stops responding. This leads me to assume it's not something I configured weird, but something wrong with this NIC and my version of FreeNAS (based on FreeBSD8.2). This conclusion doesn't seem probable to me because it's a widely used Intel NIC but I don't know what else it could be. Any ways to debug this thing would be greatly appreciated, thanks. Last edited by DutchDaemon; May 1st, 2012 at 14:43. |
|
#6
|
|||
|
|||
|
I found someone with the same chip and same issue (Nick Rogers) http://lists.freebsd.org/pipermail/f...ry/054451.html
He also continues to ask for help in this thread though neither seem to have a resolution http://freebsd.1045724.n5.nabble.com....html#a3934807 I turned off TSO and TXCSUM as they suggested in the first thread but it doesn't change the result. Interestingly they claim it worked in FreeBSD 7.2, my goal is to have this work in FreeBSD 8.3 (kernel FreeNAS will soon be based on). Last edited by DutchDaemon; May 1st, 2012 at 17:58. |
|
#7
|
|||
|
|||
|
I have the exact same issues. Using NFS in my case, locks up the interface. The only thing to do is an ifconfig down and ifconfig up. However, I believe it is not related to just one driver or one NIC. I tried both Realtek (re) and Intel (em). Both have the same problem. The solution for me is to lower the rsize/wsize but that gives me crappy performance.
See my post here: http://forums.freenas.org/showthread...eps-locking-up Last edited by DutchDaemon; May 14th, 2012 at 10:54. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#8
|
|||
|
|||
|
Mind giving the output of pciconf -lv? I just want to check to see if you have the same chip as I. I believe it is only the chip I have, and possibly one other, that have the hanging problem.
Last edited by DutchDaemon; May 15th, 2012 at 10:47. |
|
#9
|
|||
|
|||
|
|
|
#10
|
|||
|
|||
|
Well, you have a different chip than me. It's weird you're getting similar behavior for different types of interfaces. Not sure what to do from here, I heard the Intel driver from FreeBSD 7 should work so I may compile that and test it one of these days.
|
|
#11
|
|||
|
|||
|
I believe a set of tunables and sysctls has 'fixed' this. Or perhaps it's acting like a work-around. Nonetheless, I do not experience this problem currently. I will post the list of tunables and sysctls that I use later today. As soon as I can figure out where these are stored in file on FreeBSD/FreeNAS.
|
|
#12
|
|||
|
|||
|
Could you post the settings that worked
|
|
#13
|
|||
|
|||
|
Below is what fixed the issue for me on freenas 8.2 beta4 with intel NIC:
this is from http://forums.freenas.org/showthread...H-6F)-with-fix login as root and type enter the following commands: mount -uw / echo kern.ipc.nmbclusters=\"131072\" >> /boot/loader.conf echo hw.igb.num_queues=\"4\" >> /boot/loader.conf sync ; reboot |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HP LaserJet Pro P1102 stops responding after a while | rockHardRideFre | Peripheral Hardware | 1 | December 14th, 2011 14:50 |
| stops responding FreeBSD after running Xorg | Vagner | Mobile Computing | 3 | September 28th, 2011 13:24 |
| NIC stops responding to outside | Red_Cat | Networking | 5 | August 3rd, 2011 04:16 |
| Server stops responding at 4AM | Defre | Installing & Upgrading | 8 | March 24th, 2010 01:14 |
| Server stops responding | Vib3 | General | 10 | May 11th, 2009 19:40 |