advice needed regarding OS & Hardware.

Aryeh M. Friedman aryeh.friedman at gmail.com
Sat May 10 16:22:28 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wojciech Puchar wrote:
|> | if it's realteks, marvell etc. you will have a problems
|>
|> re(4) seems to be fine with most of them now under 7
|
| you mean it's IP checksums turned off by default in freebsd 7?
|
| if i turn it off in FreeBSD 6.3 - it works too. but you CAN NOT do 
ifconfig re0 down and ifconfig re0 up
|
| after 5-15 times it will lockup.
|
|
| now i use it at 100Mbps in one server, following this 2 things, works 
for a month now.
|
I am using 8-CURRENT and no such issue.   Details:

uname:

FreeBSD ool-435559b8.dyn.optonline.net 8.0-CURRENT FreeBSD 8.0-CURRENT 
#3: Fri May  9 01:10:47 EDT 2008     
aryeh at ool-435559b8.dyn.optonline.net:/usr/obj/usr/src/sys/MONSTER  amd64


/etc/rc:

#!/bin/sh

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin

sysctl net.inet.udp.blackhole=1
sysctl net.inet.tcp.blackhole=2
swapon -a
fsck -p
mount -rw /
mount -a
kldload /usr/local/modules/fuse.ko
hostname ool-435559b8.dyn.optonline.net
ifconfig re0 192.168.2.2
ifconfig lo0 127.0.0.1
route add default 192.168.2.1
named
inetd
noip2
/usr/sbin/sshd
ntpdate north-america.pool.ntp.org
cupsd
sendmail -bd -q1m
apachectl start
moused -t auto -p /dev/ums0
vidcontrol -m on

Relevent portions of dmesg:

re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xe800-0xe8ff mem 
0xfebff000-0xfebfffff irq 17 at device 0.0 on pci4
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
re0: Ethernet address: 00:19:db:b5:f8:0f
re0: [FILTER]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgly7kACgkQk8GFzCrQm4AxFQCbBJWm/JHHxzwLC/xTPrFAHAgL
T6sAn0x3+6rJeiFRO30HvCsOMoKiHGMu
=I3k/
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list