From nobody@FreeBSD.org  Mon Mar 30 15:28:19 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2D522106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Mar 2009 15:28:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 0F18C8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Mar 2009 15:28:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2UFSHCU044850
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Mar 2009 15:28:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n2UFSH0Q044849;
	Mon, 30 Mar 2009 15:28:17 GMT
	(envelope-from nobody)
Message-Id: <200903301528.n2UFSH0Q044849@www.freebsd.org>
Date: Mon, 30 Mar 2009 15:28:17 GMT
From: Livitin Serg <admin@netadmin.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: arp and sshd errors
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         133213
>Category:       kern
>Synopsis:       arp and sshd errors on 7.1-PRERELEASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-net
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 30 15:30:05 UTC 2009
>Closed-Date:    
>Last-Modified:  Fri Sep 18 06:00:37 UTC 2009
>Originator:     Livitin Serg
>Release:        7.1-PRERELEASE
>Organization:
IT Prof Service
>Environment:
FreeBSD gw.tyrolit.local 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Oct 14 11:05:14 MSD 2008     root@gw.tyrolit.local:/usr/obj/usr/src/sys/krnl2008101400  i386
>Description:
The server is: HP Proliant DL320G5.

This server has two internal NIC (one NIC = NIC and second NIC = ILO in NIC mode).

Sysctl:
dev.bge.0.%desc: HP NC326i Dual Port PCI-E Gigabit Adapter, ASIC rev. 0x9003
dev.bge.0.%driver: bge
dev.bge.0.%location: slot=4 function=0
dev.bge.0.%pnpinfo: vendor=0x14e4 device=0x1678 subvendor=0x103c subdevice=0x703e class=0x020000
dev.bge.0.%parent: pci3
dev.bge.1.%desc: HP NC326i Dual Port PCI-E Gigabit Adapter, ASIC rev. 0x9003
dev.bge.1.%driver: bge
dev.bge.1.%location: slot=4 function=1
dev.bge.1.%pnpinfo: vendor=0x14e4 device=0x1678 subvendor=0x103c subdevice=0x703e class=0x020000
dev.bge.1.%parent: pci3
dev.miibus.0.%desc: MII bus
dev.miibus.0.%driver: miibus
dev.miibus.0.%parent: bge0
dev.miibus.1.%desc: MII bus
dev.miibus.1.%driver: miibus
dev.miibus.1.%parent: bge1

ifconfig:
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:21:5a:50:c6:88
        inet 192.168.20.254 netmask 0xffffff00 broadcast 192.168.20.255
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
bge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:21:5a:50:c6:89
        inet xxx.xxx.xxx.114 netmask 0xfffffffc broadcast xxx.xxx.xxx.115
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
        tunnel inet xxx.xxx.xx8.x14 --> xxx.xxx.xxx.xxx
        inet 192.168.20.254 --> 192.168.0.254 netmask 0xffffff00


When I try to run arp:
TG-1-VL-2993.comstar-uts.ru (85.235.188.113) at 00:0a:8b:e1:ef:40 on bge1 [ethernet]
Alex.tyrolit.local (192.168.20.83) at 00:11:d8:b6:1c:07 on bge0 [ethernet]
buh1.tyrolit.local (192.168.20.92) at 00:18:f3:09:a8:9f on bge0 [ethernet]
Tanya.tyrolit.local (192.168.20.93) at 00:1e:8c:7b:62:a4 on bge0 [ethernet]
USER03.tyrolit.local (192.168.20.97) at 00:1c:25:7a:a3:d4 on bge0 [ethernet]
USER05.tyrolit.local (192.168.20.108) at 00:18:f3:09:a5:ee on bge0 [ethernet]
Segmentation fault (core dumped)

In the /var/log/messages:
Mar 30 19:19:41 gw kernel: pid 44663 (arp), uid 0: exited on signal 11 (core dumped)

When I try to connect to the second interface (bge1) by ssh I'&#1084;&#1091; got in the messages:
Mar 30 19:25:45 gw kernel: pid 44712 (sshd), uid 22: exited on signal 11

It is ok, if I try to connect to bge0 by ssh.


>How-To-Repeat:
run arp -a
try to connect by ssh (putty 6.0 version) to the server to external NIC. 
>Fix:


>Release-Note:
>Audit-Trail:

From: Remko Lodder <remko@elvandar.org>
To: Livitin Serg <admin@netadmin.ru>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/133213: arp and sshd errors
Date: Tue, 31 Mar 2009 08:53:12 +0200

 7.1 prerelease is no longer supported now that 7.1 had been released.  
 You have a rather old version, please upgrade first and report back to  
 us whether the problem persists with -RELEASE (or 7-STABLE).
 
 Thanks,
 remko
 
 -- 
 /"\   Best regards,                        | remko@FreeBSD.org
 \ /   Remko Lodder                      | remko@EFnet
 X    http://www.evilcoder.org/    |
 / \   ASCII Ribbon Campaign    | Against HTML Mail and News
 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Jun 15 21:49:51 UTC 2009 
State-Changed-Why:  
Does this still happen in a recent version of FreeBSD? 

If so, please build a debug version of arp: 
cd /usr/src/usr.sbin/arp 
make 
file arp 

The output of "file arp" should contain "not stripped": 

arp: ELF 32-bit LSB executable, Intel 80386, version 1 
(FreeBSD), for FreeBSD 7.2 (702100), dynamically linked 
(uses shared libs), FreeBSD-style, not stripped 

Then run "./arp -a" again, see it crash (unless it now works 
correctly...) and run gdb on it: "gdb arp arp.core" and enter the 
commands "where" and "bt". 

With that output we can do more investigation. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133213 
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Sep 18 05:07:29 UTC 2009 
Responsible-Changed-Why:  
Fix up Synopsis. 

To submitter: do you still see this error with 7.2 or 8.0-BETA3? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133213 
>Unformatted:
