I have further isolated this.
I disabled/removed basically all custom configuration I had on the system, and was still able to trigger it.

This:
em3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:04:23:c2:9f:27
        priority: 0
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active

-=[~]=- -=[Fri May 11]=- -=[22:46:55]=-
[root@charon]# ifconfig em3 lladdr 00:04:23:c2:9f:ff
-=[~]=- -=[Fri May 11]=- -=[22:47:11]=-
[root@charon]# ifconfig em2 up
-=[~]=- -=[Fri May 11]=- -=[22:47:13]=-
[root@charon]# ifconfig em3 up
-=[~]=- -=[Fri May 11]=- -=[22:47:16]=-
[root@charon]# ifconfig em3 down
-=[~]=- -=[Fri May 11]=- -=[22:47:20]=-
[root@charon]# ifconfig em3 lladdr 00:04:23:c2:9f:27
-=[~]=- -=[Fri May 11]=- -=[22:47:29]=-
[root@charon]# ifconfig em3 up
Write failed: Broken pipe
Shared connection to 10.0.12.14 closed.

Now, em3 has a conflicting address with another box in the same vlan. This is/was managed with a script that hooks into dhclient (replaces dhclient-script) and was relying on the PREINIT actions (now removed) to change the ll address on the interface.

http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/dhclient/dhclient.c.diff?r1=1.138;r2=1.139


That was, I guess, not so useless for me :)

In any event, it seems that even in this situation, the box really shouldn't hang like this, still no idea why that happens.

-Adam


On 5/10/12 11:46 PM, Adam Jacob Muller wrote:
On 5/10/12 4:24 AM, JC)rC)mie CourrC(ges-Anglas wrote:
Please see
   http://www.openbsd.org/faq/faq2.html
and
   http://www.openbsd.org/report.html

Regards.
Hi,

I did do a sendbug, but i'm not sure if gnats@ goes anywhere (seems query-pr page is broken?).

In any event, this is the ddb output of ps/show registers.

I'm fairly reliably able to reproduce this, if there is any more information I can gather, let me know.

-=[~]=- -=[Thu May 10]=- -=[21:30:46]=-
[root@charon]# ifconfig em2 up
-=[~]=- -=[Thu May 10]=- -=[21:30:49]=-
[root@charon]# uptime
 9:30PM  up 2 mins, 1 user, load averages: 1.38, 0.50, 0.19
-=[~]=- -=[Thu May 10]=- -=[21:30:52]=-
[root@charon]# ifconfig em3 up



^EB^EStopped at      Debugger+0x5:   leave
ddb>  show panic
the kernel did not panic
ddb>  ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
*31458   2782  31458      0  7           0                ifconfig
  2782      1   2782      0  3        0x80  wait          bash
  9835      1   9835      0  3        0x80  ttyin         getty
 28249      1  28249      0  3        0x80  ttyin         getty
  1429      1   1429      0  3        0x80  ttyin         getty
 12859      1  12859      0  3        0x80  ttyin         getty
 15689      1  15689      0  3        0x80  ttyin         getty
 21720      1  21720      0  3        0x80  select        cron
 22103  15791  15791      0  3        0x80  nanosleep     perl
 15791      1  15791      0  3        0x80  poll          collectd
 17486   1711   1711     77  3        0x80  poll          dhcpd
 32181  15104  27517     90  3        0x80  kqread        ospf6d
 22133  15104  27517     90  3        0x80  kqread        ospf6d
  4380  27517  27517      0  3        0x80  piperd        tee
 15104  27517  27517      0  2        0x80                ospf6d
 27517  11636  27517      0  3        0x88  pause         sh
  7865  22621   4001     83  3        0x80  poll          ntpd
 22621   4001   4001     83  3        0x80  poll          ntpd
 11636      1  11636      0  3        0x80  select        screen
  1711  22145   1711     77  3        0x80  poll          dhcpd
  4001  26301   4001      0  3        0x80  poll          ntpd
 22145      1  22145      0  3        0x80  select        screen
 20753  11069  20753      0  3        0x80  netcon        php
 11069      1  11069      0  3        0x80  select        screen
 26301      1  26301      0  3        0x80  select        screen
 23181      1  23181    556  3        0x80  select        nrpe
 13812  30502  30502     91  2        0x80                snmpd
 30502  23345  30502      0  3        0x80  kqread        snmpd
 24114   6566  24114      0  3        0x80  nanosleep     php
 24896  12320  24896      0  3        0x80  nanosleep     php
 30324  26717  30324      0  3        0x80  nanosleep     php
 23345      1  23345      0  3        0x80  select        screen
  2939  17720   2939      0  3        0x80  nanosleep     php
 26717      1  26717      0  3        0x80  select        screen
 12320      1  12320      0  3        0x80  select        screen
  6566      1   6566      0  3        0x80  select        screen
 17720      1  17720      0  3        0x80  select        screen
 20349  31546  20349      0  3        0x80  poll          syslog-ng
 31546      1  13174      0  3        0x80  wait          syslog-ng
 22116      1  22116     99  3        0x80  poll          sndiod
 12536      1  12536      0  3        0x80  select        inetd
 21142  13495  13495    507  3        0x80  kqread        qmgr
 16697  13495  13495    507  3        0x80  kqread        pickup
 13495      1  13495      0  3        0x80  kqread        master
 17383  15889  15889     75  3        0x80  poll          bgpd
  2491  15889  15889     75  3        0x80  poll          bgpd
 15889      1  15889      0  2        0x80                bgpd
 30554  15678  15678     90  3        0x80  kqread        ospf6d
 19811  15678  15678     90  3        0x80  kqread        ospf6d
 15678      1  15678      0  2        0x80                ospf6d
 29524      1  29524      0  3        0x80  select        sshd
 26501   5231   5231     70  3        0x80  select        named
  5231      1   5231      0  3        0x80  netio         named
 21867  29781  29781     74  3        0x80  bpf           pflogd
 29781      1  29781      0  3        0x80  netio         pflogd
  9811   2867   2867     73  3        0x80  poll          syslogd
  2867      1   2867      0  3        0x80  netio         syslogd
    11      0      0      0  3    0x100200  aiodoned      aiodoned
    10      0      0      0  3    0x100200  syncer        update
     9      0      0      0  3    0x100200  cleaner       cleaner
     8      0      0      0  3    0x100200  reaper        reaper
     7      0      0      0  3    0x100200  pgdaemon      pagedaemon
     6      0      0      0  3    0x100200  bored         crypto
     5      0      0      0  3    0x100200  pftm          pfpurge
     4      0      0      0  3    0x100200  acpi0         acpi0
     3      0      0      0  3    0x100200  bored         syswq
     2      0      0      0  3  0x40100200                idle0
     1      0      1      0  3        0x80  wait          init
     0     -1      0      0  3       0x200  scheduler     swapper
ddb>  show registers
ds                                 0
es                                 0
fs                              0x11
gs                                 0
rdi                                0
rsi                            0x3f8
rbp               0xffff80002140f838
rbx                             0xf9
rdx                            0x3f8
rcx                            0x282
rax                                0
r8                0xffffffff80d5fc30    x86_soft_intrs+0x50
r9                               0x1
r10                                0
r11               0xffffffff802bee60    pool_page_alloc
r12               0xffff800000168110
r13               0xffff800000164000
r14               0xffff800000144dc0
r15                            0x3f8
rip               0xffffffff80431a15    Debugger+0x5
cs                               0x8
rflags                         0x202
rsp               0xffff80002140f838
ss                              0x10
Debugger+0x5:   leave
ddb>  trace
Debugger() at Debugger+0x5
comintr() at comintr+0x268
Xintr_ioapic_edge4() at Xintr_ioapic_edge4+0xe0
--- interrupt ---
Bad frame pointer: 0xffff80002140faa0
end trace frame: 0xffff80002140faa0, count: -3
Xdoreti:
ddb>  boot dump
^T



\
^T^TStopped at      Debugger+0x5:   leave
ddb>

dumping to dev 0,1 offset 523047
dump 2047 2046 2045 2044 2043 2042 2041 2040 2039 2038 2037 2036 2035 2034 2033 2032 2031 2030 2029 2028 2027 2026 2025 2024 2023 2022 2021 2020 2019 2010


rebooting...

Reply via email to