Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2002 21:49:56 -0400
From:      "Naga Narayanaswamy" <naga@mindspring.com>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   ng_eiface hangs on 4.6 RC
Message-ID:  <000701c201fc$24454120$5ab9fea9@compaq>

next in thread | raw e-mail | index | archive | help
Hello!

I updated to 4.6-RC today .
Am testing ng_eiface, new netgraph node added in this release.
I find that it is not in sys/conf/[files|options] but
the ng_eiface.[ch] are present in netgraph directory and in
Release notes. After cvsup'ing, I added the required lines in
sys/conf/[files|options] and did buildkernel and installkernel.
However on running the following command the system hangs
and I have to hard reboot the PC. Any idea ?
(I also made /usr/sbin/ngctl; but I did not do a complete buildworld.
Could that be a problem ?)

Command causing hang =
ngctl mkpeer fxp0: eiface divert ether

Thanks!
Naga

Debug Information
--------------------------

I set the debug to 10 and the following messages came before the system
hangs.

ngctl: SENDING MESSAGE:
ngctl: SOCKADDR: { fam=32 len=8 addr="fxp0:" }
ngctl: NG_MESG :
ngctl:   vers   2
ngctl:   arglen 48
ngctl:   flags  0
ngctl:   token  1
ngctl:   cookie GENERIC (851672668)
ngctl: SENDING MESSAGE:
ngctl: SOCKADDR: { fam=32 len=8 addr="fxp0:" }
ngctl: NG_MESG :
ngctl:   vers   2
ngctl:   arglen 84
ngctl:   flags  0
ngctl:   token  2
ngctl:   cookie GENERIC (851672668)
ngctl: SENDING MESSAGE:
ngctl: SOCKADDR: { fam=32 len=8 addr="fxp0:" }
ngctl: NG_MESG :
ngctl:   vers   2
ngctl:   arglen 120
ngctl:   flags  0
ngctl:   token  3
ngctl:   cookie GENERIC (851672668)
ngctl:   cmd    12
ngctl:   args (120 bytes)
ngctl: 0000:  02 00 54 00 00 00 00 00 02 00 00 00 5c 7e c3 32
..T.........\~.2
ngctl: 0010:  0c 00 00 00 63 6d 64 31 32 00 00 00 00 00 00 00
....cmd12.......
ngctl: 0020:  00 00 00 00 02 00 30 00 00 00 00 00 01 00 00 00
......0.........
ngctl: 0030:  5c 7e c3 32 02 00 00 00 63 6d 64 32 00 00 00 00
\~.2....cmd2....
ngctl: 0040:  00 00 00 00 00 00 00 00 65 69 66 61 63 65 00 08
........eiface..
ngctl: 0050:  60 a9 04 08 20 d3 bf bf 64 69 76 65 72 74 00 28   `...
...divert.(
ngctl: 0060:  05 00 00 00 e0 ca bf bf 65 74 68 65 72 00 0e 28
........ether..(
ngctl: 0070:  e0 ca bf bf 30 fb bf bf                           ....0...
ngctl: RECEIVED RESPONSE:
ngctl: SOCKADDR: { fam=32 len=8 addr="fxp0:" }
ngctl: NG_MESG :
ngctl:   vers   2
ngctl:   arglen 334
ngctl:   flags  1
ngctl:   token  3
ngctl:   cookie GENERIC (851672668)
ngctl:   cmd    12
ngctl:   args (334 bytes)
ngctl: 0000:  02 00 2a 01 00 00 00 00 02 00 00 00 5c 7e c3 32
..*.........\~.2
ngctl: 0010:  0c 00 00 00 62 69 6e 61 72 79 32 61 73 63 69 69
....binary2ascii
ngctl: 0020:  00 00 00 00 7b 20 76 65 72 73 69 6f 6e 3d 32 20   ....{
version=2
ngctl: 0030:  61 72 67 6c 65 6e 3d 34 38 20 74 6f 6b 65 6e 3d   arglen=48
token=
ngctl: 0040:  31 20 74 79 70 65 63 6f 6f 6b 69 65 3d 38 35 31   1
typecookie=851
ngctl: 0050:  36 37 32 36 36 38 20 63 6d 64 3d 32 20 63 6d 64   672668 cmd=2
cmd
ngctl: 0060:  73 74 72 3d 22 63 6d 64 32 22 20 64 61 74 61 3d   str="cmd2"
data=
ngctl: 0070:  5b 20 30 78 36 35 20 30 78 36 39 20 30 78 36 36   [ 0x65 0x69
0x66
ngctl: 0080:  20 30 78 36 31 20 30 78 36 33 20 30 78 36 35 20    0x61 0x63
0x65
ngctl: 0090:  37 3d 30 78 38 20 30 78 36 30 20 30 78 61 39 20   7=0x8 0x60
0xa9
ngctl: 00a0:  30 78 34 20 30 78 38 20 30 78 32 30 20 30 78 64   0x4 0x8 0x20
0xd
ngctl: 00b0:  33 20 30 78 62 66 20 30 78 62 66 20 30 78 36 34   3 0xbf 0xbf
0x64
ngctl: 00c0:  20 30 78 36 39 20 30 78 37 36 20 30 78 36 35 20    0x69 0x76
0x65
ngctl: 00d0:  30 78 37 32 20 30 78 37 34 20 32 33 3d 30 78 32   0x72 0x74
23=0x2
ngctl: 00e0:  38 20 30 78 35 20 32 38 3d 30 78 65 30 20 30 78   8 0x5
28=0xe0 0x
ngctl: 00f0:  63 61 20 30 78 62 66 20 30 78 62 66 20 30 78 36   ca 0xbf 0xbf
0x6
ngctl: 0100:  35 20 30 78 37 34 20 30 78 36 38 20 30 78 36 35   5 0x74 0x68
0x65
ngctl: 0110:  20 30 78 37 32 20 33 38 3d 30 78 65 20 30 78 32    0x72 38=0xe
0x2
ngctl: 0120:  38 20 30 78 65 30 20 30 78 63 61 20 30 78 62 66   8 0xe0 0xca
0xbf
ngctl: 0130:  20 30 78 62 66 20 30 78 33 30 20 30 78 66 62 20    0xbf 0x30
0xfb
ngctl: 0140:  30 78 62 66 20 30 78 62 66 20 5d 20 7d 00         0xbf
0xbf ] }.
ngctl:   cmd    binary2ascii (12)
ngctl:   args   { version=2 arglen=48 token=1 typecookie=851672668 cmd=2
cmdstr="cmd2" data=[ 0x65 0x69 0x66 0x61 0x63 0x65 7=0x8 0x60 0xa9 0x4 0x8
0x20
0xd3 0xbf 0xbf 0x64 0x69 0x76 0x65 0x72 0x74 23=0x28 0x5 28=0xe0 0xca 0xbf
0xbf
0x65 0x74 0x68 0x65 0x72 38=0xe 0x28 0xe0 0xca 0xbf 0xbf 0x30 0xfb 0xbf
0xbf ] }
ngctl: RECEIVED RESPONSE:
ngctl: SOCKADDR: { fam=32 len=8 addr="fxp0:" }
ngctl: NG_MESG :
ngctl:   vers   2
ngctl:   arglen 88
ngctl:   flags  1
ngctl:   token  2
ngctl:   cookie GENERIC (851672668)
ngctl: SENDING MESSAGE:
ngctl: SOCKADDR: { fam=32 len=8 addr="fxp0:" }
ngctl: NG_MESG :
ngctl:   vers   2
ngctl:   arglen 124
ngctl:   flags  0
ngctl:   token  4
ngctl:   cookie GENERIC (851672668)
ngctl:   cmd    12
ngctl:   args (124 bytes)
ngctl: 0000:  02 00 58 00 01 00 00 00 02 00 00 00 5c 7e c3 32
..X.........\~.2
ngctl: 0010:  0c 00 00 00 63 6d 64 31 32 00 00 00 00 00 00 00
....cmd12.......
ngctl: 0020:  00 00 00 00 02 00 34 00 00 00 00 00 01 00 00 00
......4.........
ngctl: 0030:  5c 7e c3 32 02 00 00 00 6d 6b 70 65 65 72 00 00
\~.2....mkpeer..
ngctl: 0040:  00 00 00 00 00 00 00 00 7b 20 74 79 70 65 3d 22   ........{
type="
ngctl: 0050:  65 69 66 61 63 65 22 20 6f 75 72 68 6f 6f 6b 3d   eiface"
ourhook=
ngctl: 0060:  22 64 69 76 65 72 74 22 20 70 65 65 72 68 6f 6f   "divert"
peerhoo
ngctl: 0070:  6b 3d 22 65 74 68 65 72 22 20 7d 00               k="ether" }.
ngctl: RECEIVED RESPONSE:
ngctl: SOCKADDR: { fam=32 len=8 addr="fxp0:" }
ngctl: NG_MESG :
ngctl:   vers   2
ngctl:   arglen 375
ngctl:   flags  1
ngctl:   token  4
ngctl:   cookie GENERIC (851672668)
ngctl:   cmd    12
ngctl:   args (375 bytes)
ngctl: 0000:  02 00 53 01 01 00 00 00 02 00 00 00 5c 7e c3 32
..S.........\~.2
ngctl: 0010:  0c




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c201fc$24454120$5ab9fea9>