Hi,

my Sabre Lite board paniced during the night for the 1st time in
several month. Here is the information I collected:

kernel diagnostic assertion "p->p_wchan == NULL" failed: file "/usr/src/sys/ker
n/kern_sched.c", line 333
ddb> trace
panic+0x18
        scp=0xc03c5aa0 rlv=0xc03c5bf8 ($d)
        rsp=0xcc47eb18 rfp=0xcc47eb34
__assert+0xc
        scp=0xc03c5bd8 rlv=0xc03ab2b4 ($d)
        rsp=0xcc47eb38 rfp=0xcc47eb5c
sched_chooseproc+0xc
        scp=0xc03ab1a4 rlv=0xc03b8f90 (mi_switch+0x154)
        rsp=0xcc47eb60 rfp=0xcc47eb9c
        r6=0xca4915c8 r5=0x00000000 r4=0xca49b098
mi_switch+0xc
        scp=0xc03b8e48 rlv=0xc03b3fe0 (sleep_finish+0x60)
        rsp=0xcc47eba0 rfp=0xcc47ebbc
        r10=0x00000000 r8=0xca068e70 r7=0xc065be1c r6=0x00000000
        r5=0xcc47ebc4 r4=0xca4915c8
sleep_finish+0xc
        scp=0xc03b3f8c rlv=0xc03b4640 (tsleep+0xdc)
        rsp=0xcc47ebc0 rfp=0xcc47ebfc
        r5=0x00000011 r4=0xcc47ebc4
tsleep+0xc
        scp=0xc03b4570 rlv=0xc03e58d8 (biowait+0x54)
        rsp=0xcc47ec00 rfp=0xcc47ec24
        r10=0xc54e6800 r8=0x00000007 r7=0x00001800 r6=0xc069a894
        r5=0x00000000 r4=0xca068e70
biowait+0xc
        scp=0xc03e5890 rlv=0xc04b371c (ffs1_balloc+0xb28)
        rsp=0xcc47ec28 rfp=0xcc47ed6c
        r6=0x00001800 r5=0x000010b9 r4=0x00020000
ffs1_balloc+0xc
        scp=0xc04b2c00 rlv=0xc04b8fe0 (ffs_write+0x294)
        rsp=0xcc47ed70 rfp=0xcc47edec
        r10=0xca29f604 r9=0x00000044 r8=0x0000000e r7=0x00000000
        r6=0xc0694714 r5=0x00000001 r4=0x60000093
ffs_write+0xc
        scp=0xc04b8d58 rlv=0xc03f33c4 (VOP_WRITE+0x3c)
        rsp=0xcc47edf0 rfp=0xcc47ee14
        r10=0xca259754 r9=0xca4c50c0 r8=0xca1f0838 r7=0xcc47eeb8
        r6=0x00000003 r5=0x00000000 r4=0x00000044
VOP_WRITE+0xc
        scp=0xc03f3394 rlv=0xc03f3f18 (vn_write+0x94)
        rsp=0xcc47ee18 rfp=0xcc47ee54
vn_write+0xc
        scp=0xc03f3e90 rlv=0xc03c9fd4 (dofilewritev+0x1a4)
        rsp=0xcc47ee58 rfp=0xcc47ef0c
        r10=0xca25973c r9=0x00000044 r8=0xbffbd664 r7=0xcc47ef70
        r6=0x00000006 r5=0xca4915c8 r4=0xcc47ee78
dofilewritev+0xc
        scp=0xc03c9e3c rlv=0xc03ca198 (sys_writev+0x6c)
        rsp=0xcc47ef10 rfp=0xcc47ef44
        r10=0x097e0cfc r9=0x00000004 r8=0x00000079 r7=0xcc47ef70
        r6=0x0000000a r5=0xca4915c8 r4=0x00000006
sys_writev+0xc
        scp=0xc03ca138 rlv=0xc05287f4 (swi_handler+0x174)
        rsp=0xcc47ef48 rfp=0xcc47efac
        r7=0xca4915c8 r6=0xcc47efb0 r5=0x00000003 r4=0xcc47efb4
swi_handler+0xc
        scp=0xc052868c rlv=0xc052b040 (swi_entry+0x28)
        rsp=0xcc47efb0 rfp=0xbffbd644
        r10=0x097e0cfc r9=0x00000007 r8=0x7734c040 r7=0x00000000
        r6=0xbffbd664 r5=0x00000000 r4=0x6a20bc00
ddb> ps
   TID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
 76332      1  76332      0  3    0x100083  ttyin         getty
 90178      1  90178      0  3    0x100098  poll          cron
 30082      1  30082    110  3    0x100090  poll          sndiod
 94914      1  94914     99  3    0x100090  poll          sndiod
 68157  12379  12379     95  3    0x100092  kqread        smtpd
  4787  12379  12379    103  3    0x100092  kqread        smtpd
 36253  12379  12379     95  3    0x100092  kqread        smtpd
 10924  12379  12379     95  3    0x100092  kqread        smtpd
 45270  12379  12379     95  3    0x100092  kqread        smtpd
 74136  12379  12379     95  3    0x100092  kqread        smtpd
 12379      1  12379      0  3    0x100080  kqread        smtpd
 33090      1  33090      0  3        0x80  select        sshd
 22424      0      0      0  3     0x14280  nfsidl        nfsio
   419      0      0      0  3     0x14280  nfsidl        nfsio
 62242      0      0      0  3     0x14280  nfsidl        nfsio
 55171      0      0      0  3     0x14280  nfsidl        nfsio
 14734      1  14734      0  3    0x100080  poll          ntpd
 13130  44048  13130     83  3    0x100092  poll          ntpd
 44048      1  44048     83  3    0x100092  poll          ntpd
 70836  77488  77488     74  3    0x100090  bpf           pflogd
 77488      1  77488      0  3        0x80  netio         pflogd
*40718   9702   9702     73  3    0x100010  biowait       syslogd
  9702      1   9702      0  3    0x100082  netio         syslogd
 86480      0      0      0  3     0x14200  bored         sensors
 80964      0      0      0  3     0x14200  pgzero        zerothread
 84211      0      0      0  3     0x14200  aiodoned      aiodoned
 52163      0      0      0  3     0x14200  syncer        update
 41070      0      0      0  3     0x14200  cleaner       cleaner
 79043      0      0      0  3     0x14200  reaper        reaper
 37589      0      0      0  3     0x14200  pgdaemon      pagedaemon
 25939      0      0      0  3     0x14200  bored         crynlk
 93752      0      0      0  3     0x14200  bored         crypto
 64837      0      0      0  3     0x14200  pftm          pfpurge
 46145      0      0      0  3     0x14200  mmctsk        sdmmc1
 36394      0      0      0  3     0x14200  mmctsk        sdmmc0
 70978      0      0      0  3     0x14200  usbtsk        usbtask
 94382      0      0      0  3     0x14200  usbatsk       usbatsk
 90988      0      0      0  3     0x14200  bored         softnet
 94052      0      0      0  3     0x14200  bored         systqmp
 94448      0      0      0  3     0x14200  bored         systq
 79111      0      0      0  3  0x40014200  bored         softclock
 86009      0      0      0  2  0x40014200  miiaut        idle0
 65005      0      0      0  3     0x14200  kmalloc       kmthread
     1      0      1      0  3        0x82  wait          init
     0     -1      0      0  3     0x10200  scheduler     swapper
ddb> bo sy
boot: howto=00004800 curproc=0xca4915c8
syncing disks... done
WARNING: not updating battery clock
rebooting...


U-Boot 2016.07 (Jul 13 2016 - 07:04:26 -0600)

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: WDOG
Board: SABRE Lite
I2C:   ready
DRAM:  1 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB
*** Warning - bad CRC, using default environment

No panel detected: default to HDMI
Display: HDMI (1024x768)
In:    serial
Out:   serial
Err:   serial
Net:   using phy at 6
FEC [PRIME], usb_ether
Error: usb_ether address not set.

Hit any key to stop autoboot:  3  2  1  0 
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part 
SATA Device Info:
S/N: S1D5NSBDB24432N
Product model number: Samsung SSD 840 EVO 120GB
Firmware version: EXT0BB0Q
Capacity: 234441648 sectors

Device 0: Model: Samsung SSD 840 EVO 120GB Firm: EXT0BB0Q Ser#: S1D5NSBDB24432N
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
... is now current device
reading /6x_bootscript
251 bytes read in 201 ms (1000 Bytes/s)
## Executing script at 10008000
reading imx6q-sabrelite.dtb
36834 bytes read in 8 ms (4.4 MiB/s)
reading efi/boot/bootarm.efi
65192 bytes read in 10 ms (6.2 MiB/s)
## Starting EFI application at 0x10800000 ...
Scanning disks on usb...
Scanning disks on mmc...
MMC: no card present
MMC: no card present
MMC Device 2 not found
MMC Device 3 not found
Scanning disks on sata...
Found 5 disks
>> OpenBSD/armv7 BOOTARM 0.1
boot> 
booting sd0a:/bsd: 3708748+144676+494732[80+504400+237490]=0x4e15a0

OpenBSD/armv7 booting ...
arg0 0x0 arg1 0xeb9 arg2 0x18000000
Allocating page tables
freestart = 0x107e2000, free_pages = 260126 (0x0003f81e)
IRQ stack: p0x10810000 v0xc0810000
ABT stack: p0x10811000 v0xc0811000
UND stack: p0x10812000 v0xc0812000
SVC stack: p0x10813000 v0xc0813000
Creating L1 page table at 0x107e4000
Mapping kernel
Constructing L2 page tables
undefined page pmap [ using 742384 bytes of bsd ELF symbol table ]
board type: 3769
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2016 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 6.0-current (obj) #0: Sat Oct 15 19:25:02 CEST 2016
    matth...@sabre.herrb.net:/usr/src/sys/arch/armv7/compile/GENERIC/obj
real mem  = 1073741824 (1024MB)
avail mem = 1044455424 (996MB)
mainbus0 at root: Freescale i.MX6 Quad SABRE Lite Board
cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache
cortex0 at mainbus0
amptimer0 at cortex0: tick rate 396000 KHz
armliicc0 at cortex0: rtl 7 waymask: 0x0000000f
simplebus0 at mainbus0: "soc"
ampintc0 at simplebus0 nirq 160
simplebus1 at simplebus0: "aips-bus"
imxccm0 at simplebus1: imx6 rev 1.2 CPU freq: 792 MHz
imxiomuxc0 at simplebus1
simplebus2 at simplebus1: "spba-bus"
imxuart0 at simplebus2
imxgpio0 at simplebus1
imxgpio1 at simplebus1
imxgpio2 at simplebus1
imxgpio3 at simplebus1
imxgpio4 at simplebus1
imxgpio5 at simplebus1
imxgpio6 at simplebus1
imxdog0 at simplebus1
imxtemp0 at simplebus1
imxgpc0 at simplebus1
simplebus3 at simplebus0: "aips-bus"
imxehci0 at simplebus3
usb0 at imxehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "i.MX6 EHCI root hub" rev 2.00/1.00 
addr 1
imxehci1 at simplebus3
usb1 at imxehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "i.MX6 EHCI root hub" rev 2.00/1.00 
addr 1
fec0 at simplebus3
fec0: address 00:19:b8:01:31:1c
ukphy0 at fec0 phy 6: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x000885, model 0x0021
imxesdhc0 at simplebus3
imxesdhc0: 198 MHz base clock
sdmmc0 at imxesdhc0: 4-bit, mmc high-speed, dma
imxesdhc1 at simplebus3
imxesdhc1: 198 MHz base clock
sdmmc1 at imxesdhc1: 4-bit, mmc high-speed, dma
imxiic0 at simplebus3
iic0 at imxiic0
"fsl,sgtl5000" at iic0 addr 0xa not configured
imxiic1 at simplebus3
iic1 at imxiic1
imxiic2 at simplebus3
iic2 at imxiic2
imxocotp0 at simplebus3
imxuart1 at simplebus3: console
imxahci0 at simplebus0: AHCI 1.3
imxahci0: port 0: 3.0Gb/s
scsibus0 at imxahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, Samsung SSD 840, EXT0> SCSI3 0/direct fixed 
naa.50025388a00f2042
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
simplebus4 at mainbus0: "regulators"
uhub2 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems Hub" 
rev 2.00/b.b3 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
boot device: sd0
root on sd0a (39faca38ffbd8b59.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
WARNING: CHECK AND RESET THE DATE!

-- 
Matthieu Herrb

Reply via email to