Date: Tue, 10 Nov 2009 14:40:26 GMT From: Sergey Mokryshev <mokr@mokr.net> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/140446: netstat -f ng not working on 7-STABLE Message-ID: <200911101440.nAAEeQkY007744@www.freebsd.org> Resent-Message-ID: <200911101450.nAAEo2AF054073@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140446 >Category: kern >Synopsis: netstat -f ng not working on 7-STABLE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 10 14:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sergey Mokryshev >Release: 7.2-STABLE >Organization: >Environment: FreeBSD mail.xxx.ru 7.2-STABLE FreeBSD 7.2-STABLE #3: Tue Nov 10 07:20:39 MSK 2009 root@mail.xxx.ru:/usr/obj/usr/src/sys/GENERIC i386 >Description: netstat -f ng on FreeBSD 7-STABLE returns an error. # netstat -f ng netstat: ng_socket.ko not found netstat: ng_socket.ko not found # kldstat Id Refs Address Size Name 1 11 0xc0400000 a1547c kernel 2 1 0xc0e16000 164e8 geom_mirror.ko 3 1 0xc0e2d000 19cc accf_data.ko 4 1 0xc0e2f000 2464 accf_http.ko 5 1 0xc0e32000 6a4f8 acpi.ko 6 1 0xc4695000 36000 ipl.ko 7 1 0xc479b000 4000 ng_socket.ko 8 2 0xc479f000 b000 netgraph.ko 9 1 0xc47ee000 4000 ng_mppc.ko 10 1 0xc47f2000 2000 rc4.ko Preloaded ng_socket.ko does not correct an error. I did not check with NETGRAPH_SOCKET compiled into kernel. The problem does not show up on 6.4-STABLE (FreeBSD *** 6.4-STABLE FreeBSD 6.4-STABLE #159: Fri Oct 2 23:42:26 UTC 2009) There is another bug (probably related) with netgraph subsystem mpd 5.[23] with config like pppoe_client: create bundle static B1 set iface route default set ipcp ranges 0.0.0.0/0 0.0.0.0/0 create link static L1 pppoe set link action bundle B1 set auth authname user set auth password pass set link max-redial 0 set link mtu 1460 set link keep-alive 10 60 set pppoe iface fxp0 set pppoe service "" # set nat enable log immediately exits on SIGSEGV on any (uncommented) "set nat enable ..." command. 2263 mpd5 STRU struct sockaddr { AF_NETGRAPH, unknown address family } 2263 mpd5 RET recvfrom 128/0x80 2263 mpd5 CALL sendto(0x7,0x8850f0a0,0x58,0,0xbf9fe4a2,0x5) 2263 mpd5 GIO fd 7 wrote 88 bytes 0x0000 0800 0000 2000 0000 0400 0000 0000 0000 0a00 0000 1e51 c643 636d 6434 0000 0000 |.... ................Q.Ccmd4....| 0x0020 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 6d70 6432 3236 332d |........................mpd2263-| 0x0040 4231 0000 d8e7 9fbf 240a 0808 ce8f 0b08 1800 0000 0830 5188 |B1......$............0Q.| 2263 mpd5 RET sendto 88/0x58 2263 mpd5 PSIG SIGSEGV caught handler=0x80949d0 mask=0x0 code=0x1 >How-To-Repeat: netstat -f ng >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911101440.nAAEeQkY007744>