Hello again,

By way of update, if the kernel panic occurs as first described, boot
dump seems to cause the system to hang on the message 'syncing
disks...' and I have to carry out a hard reset. Not surprisingly, on
boot, savecore reports that there was no core dump.

> OpenBSD/arm64 (foo) (console)
> 
> login: panic: assertwaitok: non-zero mutex count: 1
> Stopped at      panic+0x150:        TID    PID    UID     PRFLAGS     PFLAGS  
> C
> PU  COMMAND
> db_enter() at panic+0x14c
> panic() at mi_switch+0x38
> mi_switch() at sleep_finish+0x7c
> sleep_finish() at tsleep+0xbc
> tsleep() at usbd_transfer+0x23c
> usbd_transfer() at usbd_do_request_flags+0x168
> usbd_do_request_flags() at axen_ax88179_init+0x6c
> https://www.openbsd.org/ddb.html describes the minimum info required in bug
> reports.  Insufficient info makes it difficult to find and fix bugs.
> ddb{2}> show registers
> x0                               0x1
> x1                0xffffff8029ef0000
> x2                               0x4
> x3                              0x10
> x4                0xffffff8029f6c990
> x5                0xffffff8000703a40    _dmamap_sync
> x6                0x4f0267eec17df804
> x7                0x4f0267eec17df804
> x8                               0x1
> x9                0xffffff8000b6a000    $d.11
> x10                              0xb
> x11                           0x12e9    $d.0+0x128c
> x12                                0
> x13                       0xffffffff
> x14                                0
> x15               0xd6e11c01742377cb
> x16               0xffffff8009d1b024    _end+0x8fc771c
> x17                              0x2
> x18               0xffffff8029f6ca00
> x19               0xffffff8000a2106f    $d.2+0x7
> x20                            0x100    $d.0+0xa3
> x21               0xffffff8000c4de80    kprintf_mutex
> x22               0xffffff8000d3f000    db_history+0x1d8
> x23               0xffffff8029f6cb00
> x24               0xffffff8009965000    _end+0x8c116f8
> x25               0xffffff8000c84000    uk_cd+0x10
> x26                              0x1
> x27               0xffffff8000c84000    uk_cd+0x10
> x28                              0xf
> x29               0xffffff8029f6caf0
> x30                                0
> sp                0xffffff8029f6ca00
> spsr                      0x60000005
> elr               0xffffff80005023b4    db_enter+0xc
> lr                0xffffff80005de2f8    panic+0x150
> panic+0x150:
> ddb{2}> show panic
> assertwaitok: non-zero mutex count: 1
> ddb{2}> trace  
> db_enter() at panic+0x14c
> panic() at mi_switch+0x38
> mi_switch() at sleep_finish+0x7c
> sleep_finish() at tsleep+0xbc
> tsleep() at usbd_transfer+0x23c
> usbd_transfer() at usbd_do_request_flags+0x168
> usbd_do_request_flags() at axen_ax88179_init+0x6c
> axen_ax88179_init() at axen_stop+0x30
> axen_stop() at axen_encap+0x168
> axen_encap() at axen_start+0x84
> axen_start() at if_qstart_compat+0x38
> if_qstart_compat() at ifq_serialize+0xc4
> ifq_serialize() at taskq_thread+0x40
> taskq_thread() at proc_trampoline+0x10
> ddb{2}> mach ddbcpu 1
> Stopped at      ampintc_ipi_ddb+0x1c:   db_enter() at ampintc_ipi_ddb+0x18
> ampintc_ipi_ddb() at arm_cpu_intr+0x30
> arm_cpu_intr() at handle_el1h_irq+0x6c
> handle_el1h_irq() at sched_idle+0x220
> sched_idle() at proc_trampoline+0x10
> ddb{1}> trace
> db_enter() at ampintc_ipi_ddb+0x18
> ampintc_ipi_ddb() at arm_cpu_intr+0x30
> arm_cpu_intr() at handle_el1h_irq+0x6c
> handle_el1h_irq() at sched_idle+0x220
> sched_idle() at proc_trampoline+0x10
> ddb{1}> mach ddbpu 2
> No such command
> ddb{1}> mach ddbcpu 2
> Stopped at      panic+0x150:    db_enter() at panic+0x14c
> panic() at mi_switch+0x38
> mi_switch() at sleep_finish+0x7c
> sleep_finish() at tsleep+0xbc
> tsleep() at usbd_transfer+0x23c
> usbd_transfer() at usbd_do_request_flags+0x168
> usbd_do_request_flags() at axen_ax88179_init+0x6c
> ddb{2}> trace
> db_enter() at panic+0x14c
> panic() at mi_switch+0x38
> mi_switch() at sleep_finish+0x7c
> sleep_finish() at tsleep+0xbc
> tsleep() at usbd_transfer+0x23c
> usbd_transfer() at usbd_do_request_flags+0x168
> usbd_do_request_flags() at axen_ax88179_init+0x6c
> axen_ax88179_init() at axen_stop+0x30
> axen_stop() at axen_encap+0x168
> axen_encap() at axen_start+0x84
> axen_start() at if_qstart_compat+0x38
> if_qstart_compat() at ifq_serialize+0xc4
> ifq_serialize() at taskq_thread+0x40
> taskq_thread() at proc_trampoline+0x10
> ddb{2}> mach ddbcpu 3
> Stopped at      ampintc_ipi_ddb+0x1c:   db_enter() at ampintc_ipi_ddb+0x18
> ampintc_ipi_ddb() at arm_cpu_intr+0x30
> arm_cpu_intr() at handle_el1h_irq+0x6c
> handle_el1h_irq() at sched_idle+0x220
> sched_idle() at proc_trampoline+0x10
> ddb{3}> trace
> db_enter() at ampintc_ipi_ddb+0x18
> ampintc_ipi_ddb() at arm_cpu_intr+0x30
> arm_cpu_intr() at handle_el1h_irq+0x6c
> handle_el1h_irq() at sched_idle+0x220
> sched_idle() at proc_trampoline+0x10
> ddb{3}> boot dump
> syncing disks...
 
Kind regards,
--
OpenBSD Bug Reporter

Reply via email to