>Synopsis: exception upon setting of static arp >Category: net >Environment: System : OpenBSD 6.8 Details : octeon system
Architecture: OpenBSD.octeon Machine : octeon >Description: My octeon gateway dropped to debugger upon me doing the following commands: # arp -d <IP address> && arp -s <IP address> <MAC address> <this caused a slight interruption because I didn't background it> ## upon trying to reenter the system I pinged it, ping was successful ## upon trying to SSH to it, it dropped to debugger Here is the backtrace: Script started on Fri Nov 13 08:45:27 2020 saturn# cu -l /dev/cuaU0 -s 115200 Connected to /dev/cuaU0 (speed 115200) bt sounlock+0x40 (9800000006fcd478,42,f119533a7d913dff,b08e1fcc6feb3899) ra 0xfff fffff8118824c sp 0x9800000414b7f760, sz 16 route_input+0xc4 (9800000006fcd478,42,f119533a7d913dff,b08e1fcc6feb3899) ra 0x ffffffff8118a898 sp 0x9800000414b7f770, sz 112 rtm_send+0x160 (9800000006fcd478,42,f119533a7d913dff,b08e1fcc6feb3899) ra 0xff ffffff812ef3e8 sp 0x9800000414b7f7e0, sz 320 rt_clone+0xd8 (9800000006fcd478,42,f119533a7d913dff,2a5fb6af63d062b0) ra 0xfff fffff812f0800 sp 0x9800000414b7f920, sz 224 rtalloc_mpath+0x70 (9800000006fcd478,42,f119533a7d913dff,20dd1db1cc01c584) ra 0 xffffffff8150a260 sp 0x9800000414b7fa00, sz 48 ip_output+0x4d0 (9800000001e20c00,42,f119533a7d913dff,20dd1db1cc01c584) ra 0xf fffffff811d1910 sp 0x9800000414b7fa30, sz 272 tcp_output+0x1940 (9800000001e20c00,8699b731c5e3da58,f119533a7d913dff,20dd1db1c c01c584) ra 0xffffffff81534154 sp 0x9800000414b7fb40, sz 464 tcp_usrreq+0x3e4 (9800000001e20c00,8699b731c5e3da58,f119533a7d913dff,20dd1db1cc 01c584) ra 0xffffffff811c7390 sp 0x9800000414b7fd10, sz 112 sosend+0x3f8 (9800000001e20c00,0,f119533a7d913dff,9800000001e20c00) ra 0xfffff fff8107bbd0 sp 0x9800000414b7fd80, sz 144 soo_write+0x58 (9800000001e20c00,0,f119533a7d913dff,bde35121744cd20d) ra 0xfff fffff8135a748 sp 0x9800000414b7fe10, sz 16 dofilewritev+0x120 (9800000001e20c00,0,f119533a7d913dff,bde35121744cd20d) ra 0 xffffffff8135a5e4 sp 0x9800000414b7fe20, sz 96 sys_write+0x64 (9800000001e20c00,0,f119533a7d913dff,27780871704f566a) ra 0xfff fffff811b1368 sp 0x9800000414b7fe80, sz 80 itsa+0xb98 (9800000001e20c00,0,f119533a7d913dff,27780871704f566a) ra 0xfffffff f811b074c sp 0x9800000414b7fed0, sz 192 trap+0x1ec (9800000001e20c00,bca2719f3d7995a3,f119533a7d913dff,27780871704f566a ) ra 0xffffffff81030b78 sp 0x9800000414b7ff90, sz 64 u_general+0xf0 (9800000001e20c00,bca2719f3d7995a3,f119533a7d913dff,f7539ff78) r a 0x0 sp 0x9800000414b7ffd0, sz 0 User-level: pid 10665 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 68517 489182 67224 0 3 0x10008b pause ksh 67224 495738 10665 1000 3 0x10008b pause ksh *10665 307869 16803 1000 7 0x10 sshd 16803 30456 6948 0 3 0x92 poll sshd 69062 73552 90 542 3 0x90 poll flowd 90 83102 1 0 3 0x80 netio flowd 19113 258942 1 77 3 0x100090 poll dhcpd 79918 495546 1 77 3 0x100090 poll dhcpd 26451 194718 1 77 3 0x100090 poll dhcpd 92777 42453 1 77 3 0x100090 poll dhcpd 61387 345486 18486 1001 3 0x100090 select delphinusdnsd 42996 479303 93584 1001 3 0x100090 select delphinusdnsd 32782 136885 94814 1001 3 0x100090 select delphinusdnsd 93584 493321 94814 1001 3 0x100090 select delphinusdnsd 18486 425407 94814 1001 3 0x100090 select delphinusdnsd 19751 34197 94814 1001 3 0x100090 netcon2 delphinusdnsd 80557 394736 94814 1001 3 0x100090 select delphinusdnsd 98780 109183 94814 1001 3 0x100090 select delphinusdnsd 71980 115025 94814 0 3 0x100080 select delphinusdnsd 18419 420961 94814 1001 3 0x100090 select delphinusdnsd 94814 51946 1 1001 3 0x100090 select delphinusdnsd -85474ore58470 1 0 3 0x100083 ttyin getty 12566 374189 1 0 3 0x100098 poll cron 58807 451496 1 99 3 0x100090 poll sndiod 31096 96727 1 110 3 0x100090 poll sndiod 91181 374822 51987 95 3 0x100092 kqread smtpd 97516 211528 51987 103 3 0x100092 kqread smtpd 93354 414250 51987 95 3 0x100092 kqread smtpd 18052 60449 51987 95 3 0x100092 kqread smtpd 71239 23721 51987 95 3 0x100092 kqread smtpd 90717 481658 51987 95 3 0x100092 kqread smtpd 51987 191163 1 0 3 0x100080 kqread smtpd 6948 212959 1 0 3 0x80 select sshd 47947 336482 1 0 3 0x100080 poll ntpd 5183 3079 26481 83 3 0x100092 poll ntpd 26481 84093 1 83 3 0x100092 poll ntpd 92401 362969 46323 74 3 0x100092 bpf pflogd 46323 119014 1 0 3 0x80 netio pflogd 72486 464444 13004 73 3 0x100090 kqread syslogd 13004 82312 1 0 3 0x100082 netio syslogd 40916 227012 45717 115 3 0x100092 kqread slaacd 99767 366203 45717 115 3 0x100092 kqread slaacd 45717 504454 1 0 3 0x100080 kqread slaacd 39281 477290 0 0 3 0x14200 bored smr -70583ore59138 0 0 3 0x40014200 idle1 17320 496468 0 0 3 0x14200 pgzero zerothread 93973 490886 0 0 3 0x14200 aiodoned aiodoned 57950 470470 0 0 3 0x14200 syncer update 18952 161309 0 0 3 0x14200 cleaner cleaner 12437 381942 0 0 2 0x14200 reaper 8531 20891 0 0 3 0x14200 pgdaemon pagedaemon 62193 434152 0 0 3 0x14200 bored crynlk 64228 493469 0 0 3 0x14200 bored crypto 11732 116795 0 0 3 0x14200 usbtsk usbtask 46631 365901 0 0 3 0x14200 usbatsk usbatsk 30960 144325 0 0 3 0x14200 bored dwc2 85949 344343 0 0 3 0x14200 bored softnet 3712 13912 0 0 3 0x14200 bored systqmp 12096 471276 0 0 3 0x14200 bored systq 98746 205613 0 0 3 0x40014200 bored softclock 69250 449428 0 0 7 0x40014200 idle0 1 151887 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> panic No such command ddb{1}> show panic the kernel did not panic ddb{1}> boot reboot System restart. <some cut> >> OpenBSD/octeon BOOT 1.2 boot> booting sd0a:/bsd bootmem desc 0x24108 version 3.0 avail phys mem 0x00000000001004d0 - 0x0000000001000000 avail phys mem 0x00000000017e10c0 - 0x0000000001fffcd0 avail phys mem 0x0000000002000000 - 0x0000000008100000 avail phys mem 0x0000000008100010 - 0x000000000fffdc00 avail phys mem 0x0000000410000000 - 0x000000041ff00000 Total DRAM Size 0x0000000020000000 mem_layout[0] page 0x0000000000000041 -> 0x0000000000000400 mem_layout[1] page 0x00000000000005F9 -> 0x00000000000007FF mem_layout[2] page 0x0000000000000800 -> 0x0000000000002040 mem_layout[3] page 0x0000000000002041 -> 0x0000000000003FFFInitial setup done, switching console. boot_desc->desc_ver:7 boot_desc->desc_size:400 boot_desc->stack_top:0 boot_desc->heap_start:0 boot_desc->heap_end:0 boot_desc->argc:2 boot_desc->flags:0x5 boot_desc->core_mask:0x3 boot_desc->dram_size:512 boot_desc->phy_mem_desc_addr:0 boot_desc->debugger_flag_addr:0xa44 boot_desc->eclock:500000000 boot_desc->boot_info_addr:0x100200 boot_info->ver_major:1 boot_info->ver_minor:2 boot_info->stack_top:0 boot_info->heap_start:0 boot_info->heap_end:0 boot_info->boot_desc_addr:0 boot_info->exception_base_addr:0x1000 boot_info->stack_size:0 boot_info->flags:0x5 boot_info->core_mask:0x3 boot_info->dram_size:512 boot_info->phys_mem_desc_addr:0x24108 boot_info->debugger_flags_addr:0 boot_info->eclock:500000000 boot_info->dclock:266000000 boot_info->board_type:20004 boot_info->board_rev_major:0 boot_info->board_rev_minor:16 boot_info->mac_addr_count:3 boot_info->cf_common_addr:0 boot_info->cf_attr_addr:0 boot_info->led_display_addr:0 boot_info->dfaclock:0 boot_info->config_flags:0x8 [ using 739048 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2020 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 6.8 (GENERIC.MP) #322: Sun Oct 4 21:22:50 MDT 2020 dera...@octeon.openbsd.org:/usr/src/sys/arch/octeon/compile/GENERIC.MP real mem = 536870912 (512MB) avail mem = 521453568 (497MB) random: good seed from bootblocks mainbus0 at root: board 20004 rev 0.16, model CN3xxx/CN5xxx cpu0 at mainbus0: CN50xx CPU rev 0.1 500 MHz, Software FP emulation cpu0: cache L1-I 32KB 4 way D 16KB 64 way, L2 128KB 8 way cpu1 at mainbus0: CN50xx CPU rev 0.1 500 MHz, Software FP emulation cpu1: cache L1-I 32KB 4 way D 16KB 64 way, L2 128KB 8 way clock0 at mainbus0: int 5 octcrypto0 at mainbus0 iobus0 at mainbus0 simplebus0 at iobus0: "soc" octciu0 at simplebus0 octsmi0 at simplebus0 octpip0 at simplebus0 octgmx0 at octpip0 interface 0 cnmac0 at octgmx0: port 0 RGMII, address fc:ec:da:04:8d:68 atphy0 at cnmac0 phy 7: AR8035 10/100/1000 PHY, rev. 2 cnmac1 at octgmx0: port 1 RGMII, address fc:ec:da:04:8d:69 atphy1 at cnmac1 phy 6: AR8035 10/100/1000 PHY, rev. 2 cnmac2 at octgmx0: port 2 RGMII, address fc:ec:da:04:8d:6a atphy2 at cnmac2 phy 5: AR8035 10/100/1000 PHY, rev. 2 com0 at simplebus0: ns16550a, 64 byte fifo com0: console dwctwo0 at iobus0 base 0x1180068000000 irq 56 usb0 at dwctwo0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "Octeon DWC2 root hub" rev 2.00/1.00 addr 1 octrng0 at iobus0 base 0x1400000000000 irq 0 umass0 at uhub0 port 1 configuration 1 interface 0 " UDinfo UF2 4GB" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <, UDinfo UF2 4GB, PMAP> removable serial.13fe420077C9177D2781 sd0: 3824MB, 512 bytes/sector, 7831552 sectors vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on sd0a (d5ffec0c72cad730.a) swap on sd0b dump on sd0b WARNING: /mnt was not properly unmounted WARNING: CHECK AND RESET THE DATE! Automatic boot in progress: starting file system checks. /dev/sd0a (d5ffec0c72cad730.a): 2087 files, 44191 used, 383800 free (168 frags, 47954 blocks, 0.0% fragmentation) /dev/sd0a (d5ffec0c72cad730.a): MARKING FILE SYSTEM CLEAN /dev/sd0e (d5ffec0c72cad730.e): 442 files, 2708 used, 171235 free (67 frags, 21396 blocks, 0.0% fragmentation) /dev/sd0e (d5ffec0c72cad730.e): MARKING FILE SYSTEM CLEAN /dev/sd0d (d5ffec0c72cad730.d): 24083 files, 503281 used, 664710 free (2046 frags, 82833 blocks, 0.2% fragmentation) /dev/sd0d (d5ffec0c72cad730.d): MARKING FILE SYSTEM CLEAN pf enabled net.inet.ip.forwarding: 0 -> 1 starting network add net default: gateway 0.0.0.1 add net default: gateway fe80::%pppoe0 reordering libraries: [EOT] >How-To-Repeat: See above. >Fix: None provided. Treat this as low priority.