Subject: Re: NFS writes NetBSD vs FreeBSD
To: Stephen Jones <smj@cirr.com>
From: Christos Zoulas <christos@zoulas.com>
List: port-alpha
Date: 07/15/2004 12:51:20
On Jul 15,  9:36am, smj@cirr.com (Stephen Jones) wrote:
-- Subject: Re: NFS writes NetBSD vs FreeBSD

| 
| On Jul 15, 2004, at 5:35 AM, Christos Zoulas wrote:
| > Does "netstat -i" show 0 errors for FreeBSD? Is the driver 
| > dignificantly
| > different?
| 
| Here are the current stats for both CS20s:
| 
| FreeBSD:
| Name    Mtu Network       Address              Ipkts Ierrs    Opkts 
| Oerrs  Coll
| fxp0   1500 <Link#1>      00:02:56:00:03:f1 243327419 235759 210965571  
|     0 5968693
| fxp0   1500 fe80:1::202:5 fe80:1::202:56ff:        7     -       54     
| -     -
| fxp0   1500 10            iceland1          128182563     - 74230205    
|   -     -
| 
| NetBSD
| Name  Mtu   Network       Address              Ipkts Ierrs    Opkts 
| Oerrs Colls
| fxp0  1500  <Link>        00:02:56:00:0f:ad 59258306 58394 116294776    
|   4     0
| fxp0  1500  fe80::        fe80::202:56ff:fe 59258306 58394 116294776    
|   4     0
| fxp0  1500  10/8          vinland1          59258306 58394 116294776    
|   4     0
| 
| fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|          address: 00:02:56:00:0f:ad
|          media: Ethernet 100baseTX full-duplex (100baseTX 
| full-duplex,flowcontrol,rxpause,txpause)
|          status: active
|          input: 59427265 packets, 61515147912 bytes, 42 multicasts, 
| 58536 errors
|          output: 116605394 packets, 156225597508 bytes, 12 multicasts, 4 
| errors
|          inet 10.0.0.6 netmask 0xff000000 broadcast 10.0.0.255

Our netstat needs fixing :-) since it appears to report the same stats for
all protocols. So it looks like FreeBSD's sees the errors too, but does not
report them. What are the errors our driver produces?

My fxp0 [granted on x86] shows up like, but it does not have any ierrs
or oerrs:
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:02:b3:3f:6a:68
		media: Ethernet autoselect (100baseTX full-duplex,flowcontrol,rxpause,txpause)

Are you sure you are not having some hub/switch problem?

christos