Hi,
PPPoE on octeon seems to have a bug that causes a panic. The following config
is enough to hit it my USG-PRO-4:
# /etc/hostname.pppoe0
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev cnmac1 authproto chap \
description test \
up
To test this I have cnmac1 down on boot. Once it is up'd the panic is
triggered:
qs# ifconfig pppoe0
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
description: test
index 7 priority 0 llprio 3
dev: cnmac1 state: PADI sent
sid: 0x0 PADI retries: 0 PADR retries: 0
sppp: phase establish authproto chap
groups: pppoe
status: no carrier
inet 0.0.0.0 --> 0.0.0.0 netmask 0xffffffff
qs# ifconfig cnmac1 up
qs#
Trap cause = 2 Frame 0x980000000ffdb840
Trap PC 0xffffffff811757dc RA 0xffffffff811afc38 fault 0x0
smallcpy+0x8 (1,9800000001db2676,1,2) ra 0xffffffff811afc38 sp
0x980000000ffdb998, sz 0
sppp_auth_send+0x108 (1,9800000001db2676,1,2) ra 0xffffffff811a53c0 sp
0x980000000ffdb998, sz 144
sppp_chap_input+0x350 (1,9800000001db2676,9c71778bd3eff05d,2) ra
0xffffffff811a2b70 sp 0x980000000ffdba28, sz 256
sppp_input+0x308 (1,9800000001db2676,5055ffc377a791fd,2) ra 0xffffffff8136d8c8
sp 0x980000000ffdbb28, sz 80
pppoeintr+0xfa0 (1,7ee4f0ce8b0053c8,5055ffc377a791fd,2) ra 0xffffffff813824f8
sp 0x980000000ffdbb78, sz 400
if_netisr+0x138 (1,6e06218584b39cf9,5055ffc377a791fd,2) ra 0xffffffff810a074c
sp 0x980000000ffdbd08, sz 96
User-level: pid 69968
stopped on non ddb fault
Stopped at smallcpy+0x8: lbu v1,0(a0)
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
40971 344644 1 0 3 0x100083 ttyin ksh
86956 384410 1 0 3 0x100098 poll cron
34682 141017 1 99 3 0x100090 poll sndiod
81287 192604 1 110 3 0x100090 poll sndiod
3703 396750 97553 95 3 0x100092 kqread smtpd
42547 485598 97553 103 3 0x100092 kqread smtpd
73320 142108 97553 95 3 0x100092 kqread smtpd
49086 284145 97553 95 3 0x100092 kqread smtpd
15655 467511 97553 95 3 0x100092 kqread smtpd
12367 337956 97553 95 3 0x100092 kqread smtpd
97553 14812 1 0 3 0x100080 kqread smtpd
66574 403562 1 0 3 0x80 select sshd
62674 398153 1 0 3 0x100080 poll ntpd
48543 154049 25872 83 3 0x100092 poll ntpd
25872 459221 1 83 3 0x100092 poll ntpd
75665 40091 34142 74 3 0x100092 bpf pflogd
34142 52091 1 0 3 0x80 netio pflogd
4105 120453 61401 73 3 0x100090 kqread syslogd
61401 412383 1 0 3 0x100082 netio syslogd
10401 262610 1 77 3 0x100090 poll dhclient
29752 240375 1 0 3 0x80 poll dhclient
5182 512908 91747 115 3 0x100092 kqread slaacd
29687 102402 91747 115 3 0x100092 kqread slaacd
91747 203133 1 0 3 0x100080 kqread slaacd
27770 186932 0 0 3 0x14200 pgzero zerothread
60038 210133 0 0 3 0x14200 aiodoned aiodoned
45274 63859 0 0 3 0x14200 syncer update
48261 227943 0 0 3 0x14200 cleaner cleaner
32646 260970 0 0 3 0x14200 reaper reaper
37097 311790 0 0 3 0x14200 pgdaemon pagedaemon
61023 149570 0 0 3 0x14200 bored crynlk
2618 195422 0 0 3 0x14200 bored crypto
32267 137105 0 0 3 0x14200 usbtsk usbtask
75382 95709 0 0 3 0x14200 usbatsk usbatsk
85745 411481 0 0 3 0x14200 mmctsk sdmmc0
*69968 422593 0 0 7 0x14200 softnet
80279 336042 0 0 3 0x14200 bored systqmp
63947 449539 0 0 3 0x14200 bored systq
1705 38302 0 0 3 0x40014200 bored softclock
91520 351241 0 0 3 0x40014200 idle0
64131 350511 0 0 3 0x14200 bored smr
1 71355 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show registers
at 0x1
v0 0x980000000ffdba08
v1 0x9800000001db2677
a0 0x1
a1 0x9800000001db2676
a2 0x1
a3 0x2
a4 0x2642309d6b408729
a5 0xb876b3a22584429b
a6 0x26e7a85c9c167a63
a7 0x980000000ffdbac0
t0 0x2
t1 0
t2 0x1
t3 0xafcf0fcedb46e2f9
s0 0xc000000000063000
s1 0x9800000001db2600
s2 0xffffffff815f17c0 chap
s3 0x9800000001db2676
s4 0x1
s5 0x9800000001db2670
s6 0x1
s7 0xffffffff
t8 0xffffffff81670000 __retguard_3096
t9 0xffffffff81300250 generic_space_write_8
k0 0x1ab10
k1 0xc40db30a
gp 0xffffffff8165bcf0 _gp
sp 0x980000000ffdb998
s8 0x8851
ra 0xffffffff811afc38 sppp_auth_send+0x108
sr 0x9fa3
lo 0x1cd7d36bc50af92
hi 0
bad 0
cs 0x8
pc 0xffffffff811757dc smallcpy+0x8
smallcpy+0x8: lbu v1,0(a0)
ddb{0}>
--
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A 4AF0 1F81 112D 62A9 ADCE