NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/51174: panic: init died i386-7.99.29



>Number:         51174
>Category:       kern
>Synopsis:       panic: init died i386-7.99.29
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 28 03:00:00 +0000 2016
>Originator:     John D. Baker
>Release:        NetBSD/i386-7.99.29 (sources from 20160526)
>Organization:
>Environment:
NetBSD 7.99.29 (GENERIC) #24: Thu May 26 11:42:11 CDT 2016

>Description:
After building a release from sources updated 27 May 2016, i386 kernels
panic as follows:

NetBSD 7.99.29 (GENERIC) #24: Thu May 26 11:42:11 CDT 2016
[...]
boot device: ex0
root on ex0
[...]
root file system type: nfs
kern.module.path=/stand/i386/7.99.29/modules
panic: init died (signal 0, exit 1)
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c010e764 cs 8 eflags 246 cr2 b4bdc9cd ilevel 0 esp d9246e9c
curlwp 0xc21b7000 pid 1 lid 1 lowest kstack 0xd92442c0
Stopped in pid 1.1 (init) at    netbsd:breakpoint+0x4:  popl    %ebp
db{0}> bt
breakpoint(c0f6e886,c1300560,c0fca750,d9246eb8,c21d7da0,c21b7000,d9246fa8,d9246e
ac,c090c4fa,c0fca750) at netbsd:breakpoint+0x4
vpanic(c0fca750,d9246eb8,d9246f1c,c08be839,c0fca750,0,1,c21dcef8,efe000,c1e80e70
) at netbsd:vpanic+0x121
snprintf(c0fca750,0,1,c21dcef8,efe000,c1e80e70,ef8000,d9246f14,2,c21d8b80) at ne
tbsd:snprintf
exit1(c21b7000,1,0,c21b7000,c12024f4,d9246f9c,c014e73c,c21b7000,d9246f68,d9246f6
0) at netbsd:exit1+0x6de
sys_exit(c21b7000,d9246f68,d9246f60,c21dcee8,b4bdc000,d9246f60,d9246f68,1,0,0) a
t netbsd:sys_exit+0x3b
syscall() at netbsd:syscall+0x13c
--- syscall (number 1) ---
baea6637:
db{0}> 
 ps
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
1    >   1 7   0         0           c21b7000               init
0       51 3   0       200           c232a2a0           aiodoned aiodoned
0       50 3   0       200           c232a540            ioflush syncer
0       49 3   0       200           c232a7e0           pgdaemon pgdaemon
0       48 5   0       200           c232aa80           (zombie)
0       46 3   0       200           c21b8020              nfsio nfsiod
0       45 3   0       200           c21b82c0              nfsio nfsiod
0       44 3   0       200           c21b8560              nfsio nfsiod
0       43 3   0       200           c21b7540              nfsio nfsiod
0       42 3   0       200           c21b8800          atapibus0 sccomp
0       39 3   0       200           c21b77e0               usb3 usbevt
0       38 3   0       200           c21b7a80               usb2 usbevt
0       37 3   0       200           c21b7d20               usb1 usbevt
0       36 3   0       200           c21b72a0               usb0 usbevt
0       35 3   0       200           c21b8d40              unpgc unpgc
0       34 3   0       200           c21b8aa0        vmem_rehash vmem_rehash
0       25 3   0       200           c1f96020            atabus1 atath
0       24 3   0       200           c1f962c0            atabus0 atath
0       23 3   0       280           c1f96560           fw0probe ieee1394
0       22 3   0       200           c1f96800         usbtask-dr usbtsk
0       21 3   0       200           c1f96aa0         usbtask-hc usbtsk
0       20 3   0       200           c1f96d40               pms0 pmsreset
0       19 3   0       200           c1f6a000               apm0 apmev
0       18 3   0       200           c1f6a2a0           lnxsyswq lnxsyswq
0       17 3   0       200           c1f6a540          cryptoret crypto_w
0       16 3   0       200           c1f6a7e0             sysmon smtaskq
0       15 3   0       200           c1f6aa80         pmfsuspend pmfsuspend
0       14 3   0       200           c1f6ad20           pmfevent pmfevent
0       13 3   0       200           c1f60020         sopendfree sopendfr
0       12 3   0       200           c1f602c0           nfssilly nfssilly
0       11 3   0       200           c1f60560            cachegc cachegc
0       10 3   0       200           c1f60800              vrele vrele
0        9 3   0       200           c1f60aa0             vdrain vdrain
0        8 3   0       200           c1f60d40          modunload mod_unld
0        7 3   0       200           c1eb7000            xcall/0 xcall
0        6 1   0       200           c1eb72a0          softser/0
0        5 1   0       200           c1eb7540          softclk/0
0        4 1   0       200           c1eb77e0          softbio/0
0        3 1   0       200           c1eb7a80          softnet/0
0        2 1   0       201           c1eb7d20             idle/0
0        1 3   0       200           c1205640            swapper uvm
db{0}> 

>How-To-Repeat:
See above.

Thinking it might be related to kern/51173, I replied to that PR.

Seeing that it's not, christos@ suggested:

> Very different; you are dying later. Compile a kernel without ASLR and
> see if that works. It could be the change to randomize the location of
> rtld.

Building a kernel which includes GENERIC but then does:

  no options PAX_ASLR_DEBUG
  no options PAX_ASLR

Did not work.
>Fix:



Home | Main Index | Thread Index | Old Index