Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2015 14:35:18 +0200
From:      Svatopluk Kraus <onwahe@gmail.com>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        Adrian Chadd <adrian.chadd@gmail.com>,  "freebsd-arm@FreeBSD.org" <freebsd-arm@freebsd.org>, Ian Lepore <ian@freebsd.org>
Subject:   Re: Instability likely related to new pmap on Cubieboard A10
Message-ID:  <CAFHCsPVSGuWWY97ac2QVGAE77Lz2gJ12wDLpzH_kNdZsLQxh%2BQ@mail.gmail.com>
In-Reply-To: <20150819120753.GH79354@hades.panopticon>
References:  <20150819002103.GC79354@hades.panopticon> <1439944961.242.150.camel@freebsd.org> <20150819013834.GD79354@hades.panopticon> <CAJ-VmokJv=nvcEkBogWeNJT65MosxnFcaitWn8FXJu32eahSdw@mail.gmail.com> <20150819120753.GH79354@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 19, 2015 at 2:07 PM, Dmitry Marakasov <amdmi3@amdmi3.ru> wrote:
> * Adrian Chadd (adrian.chadd@gmail.com) wrote:
>
>> can you try just before the jemalloc upgrade to -HEAD?
>
> I've tried r286865. It still panics, but more predictably:


Great! I'm hunting this kind of panic for long time, but it never was
so stable. Can you send me "show pmap addr" output from kdb after
panic - pmap address is in panic message.

However, understand that it's two different things. Your problem is
not the panic. It's caused by primary problem which is caused by
something we need to figure out.

Svata

>
> ---
> Trying to mount root from ufs:/dev/mmcsd0s2 []...
> warning: no time-of-day clock registered, system time will not be set accurately
> /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, generating a new one
> Setting hostuuid: c87f05b4-4668-11e5-a9ac-abe30311dc87.
> Setting hostid: 0x5ddcb6c9.
> pid 36 (sysctl), uid 0: exited on signal 11
> Segmentation fault
> No suitable dump device was found.
> Starting file system checks:
> /dev/mmcsd0s2: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/mmcsd0s2: clean, 6966840 free (216 frags, 870828 blocks, 0.0% fragmentation)
> Mounting local file systems:.
> <jemalloc>: jemapid 69 (mdmfs), uid 0: exited on signal 6
> lloc_arena.c:102: Failed assertion: "cmp != 0"
> Abort trap
> rm: casper: Read-only file system
> rm: casperd.pid: Read-only file system
> rm: cron.pid: Read-only file system
> rm: devd.pid: Read-only file system
> rm: devd.pipe: Read-only file system
> rm: devd.seqpacket.pipe: Read-only file system
> rm: dhclient.emac0.pid: Read-only file system
> rm: dmesg.boot: Read-only file system
> rm: ld-elf.so.hints: Read-only file system
> rm: emac0: Read-only file system
> rm: syslogd.sockets: Read-only file system
> pid 94 (rm), uid 0: exited on signal 11
> Segmentation fault
> eval: cannot create /var/run/clean_var: Read-only file system
> eval: cannot create /var/spool/lock/clean_var: Read-only file system
> pid 101 (grep), uid 0: exited on signal 11
> Setting hostname: cubie.panopticon.
> pid 119 (cat), uid 0: exited on signal 11
> Segmentation fault
> pmap_remove_pages: pmap 0xc0833784 va 0x20285000 pte1 0
> panic: bad pte1
> KDB: enter: panic
> [ thread pid 124 tid 100050 ]
> Stopped at      kdb_enter+0x58: ldrb    r15, [r15, r15, ror r15]!
> db> bt
> Tracing pid 124 tid 100050 td 0xc3bda350
> db_trace_self() at db_trace_self
>          pc = 0xc05ce7b0  lr = 0xc02423e0 (db_hex2dec+0x494)
>          sp = 0xef6a56d0  fp = 0xef6a56e8
>         r10 = 0xc0717118
> db_hex2dec() at db_hex2dec+0x494
>          pc = 0xc02423e0  lr = 0xc0241e78 (db_command_loop+0x40c)
>          sp = 0xef6a56f0  fp = 0xef6a5790
>          r4 = 0x00000000  r5 = 0x00000000
>          r6 = 0x00000000 r10 = 0xc0717118
> db_command_loop() at db_command_loop+0x40c
>          pc = 0xc0241e78  lr = 0xc0241ae0 (db_command_loop+0x74)
>          sp = 0xef6a5798  fp = 0xef6a57a8
>          r4 = 0xc06169e1  r5 = 0xc062d06b
>          r6 = 0xc0717104  r7 = 0xc06c2354
>          r8 = 0xc070c950  r9 = 0xc070c954
>         r10 = 0xef6a5970
> db_command_loop() at db_command_loop+0x74
>          pc = 0xc0241ae0  lr = 0xc0244634 (db_fetch_ksymtab+0x2d0)
>          sp = 0xef6a57b0  fp = 0xef6a58c8
>          r4 = 0x00000000  r5 = 0xc0717110
>          r6 = 0xc070c978 r10 = 0xef6a5970
> db_fetch_ksymtab() at db_fetch_ksymtab+0x2d0
>          pc = 0xc0244634  lr = 0xc03cfe9c (kdb_trap+0xd4)
>          sp = 0xef6a58d0  fp = 0xef6a58f0
>          r4 = 0x00000000  r5 = 0x00000001
>          r6 = 0xc070c978  r7 = 0xc06c2354
> kdb_trap() at kdb_trap+0xd4
>          pc = 0xc03cfe9c  lr = 0xc05e58dc (undefinedinstruction+0x350)
>          sp = 0xef6a58f8  fp = 0xef6a5968
>          r4 = 0x00000000  r5 = 0x00000000
>          r6 = 0xc05e54dc  r7 = 0xe7ffffff
>          r8 = 0xc3bda350  r9 = 0xc03cf768
>         r10 = 0xef6a5970
> undefinedinstruction() at undefinedinstruction+0x350
>          pc = 0xc05e58dc  lr = 0xc05cfe38 (exception_exit)
>          sp = 0xef6a5970  fp = 0xef6a5a08
>          r4 = 0xc062d0c0  r5 = 0xef6a5a4c
>          r6 = 0xc064ca2a  r7 = 0xc06feea0
>          r8 = 0xc3bda350  r9 = 0xc07187c8
>         r10 = 0xc06fee30
> exception_exit() at exception_exit
>          pc = 0xc05cfe38  lr = 0xc03cf758 (kdb_enter+0x48)
>          sp = 0xef6a5a00  fp = 0xef6a5a08
>          r0 = 0xc070c964  r1 = 0x00000000
>          r2 = 0xef6a5934  r3 = 0xc062f511
>          r4 = 0xc062d0c0  r5 = 0xef6a5a4c
>          r6 = 0xc064ca2a  r7 = 0xc06feea0
>          r8 = 0xc3bda350  r9 = 0xc07187c8
>         r10 = 0xc06fee30 r12 = 0x00000000
> kdb_enter() at kdb_enter+0x5c
>          pc = 0xc03cf76c  lr = 0xc0393b20 (vpanic+0xd0)
>          sp = 0xef6a5a10  fp = 0xef6a5a30
>          r4 = 0x00000100 r10 = 0xc06fee30
> vpanic() at vpanic+0xd0
>          pc = 0xc0393b20  lr = 0xc0393a50 (vpanic)
>          sp = 0xef6a5a38  fp = 0xef6a5a40
>          r4 = 0xc0000000  r5 = 0xc1f14a5c
>          r6 = 0x00000000  r7 = 0xc1f14a9c
>          r8 = 0x0000001d  r9 = 0x00000001
>         r10 = 0xc0833784
> vpanic() at vpanic
>          pc = 0xc0393a50  lr = 0xc05dacd0 (pmap_remove_pages+0x76c)
>          sp = 0xef6a5a48  fp = 0xef6a5aa8
>          r4 = 0x0000001d  r5 = 0x00000001
>          r6 = 0xc0833784  r7 = 0xef6a5a40
>          r8 = 0xc0393a50  r9 = 0x59106800
>         r10 = 0xef6a5a4c
> pmap_remove_pages() at pmap_remove_pages+0x76c
>          pc = 0xc05dacd0  lr = 0xc03563d4 (exec_new_vmspace+0x1f0)
>          sp = 0xef6a5ab0  fp = 0xef6a5b00
>          r4 = 0xc3817f00  r5 = 0xc06eeaa0
>          r6 = 0x00000000  r7 = 0x00000001
>          r8 = 0xef6a5c60  r9 = 0xc08336c8
>         r10 = 0xc3bde380
> exec_new_vmspace() at exec_new_vmspace+0x1f0
>          pc = 0xc03563d4  lr = 0xc0333cc4 (elf32_populate_note+0x85c)
>          sp = 0xef6a5b08  fp = 0xef6a5b78
>          r4 = 0xc06eeaa0  r5 = 0x00000000
>          r6 = 0xef6a5c60  r7 = 0x00000001
>          r8 = 0xec3cc14c  r9 = 0xec3cc000
>         r10 = 0xec3cc034
> elf32_populate_note() at elf32_populate_note+0x85c
>          pc = 0xc0333cc4  lr = 0xc0354e38 (kern_execve+0x324)
>          sp = 0xef6a5b80  fp = 0xef6a5d98
>          r4 = 0xef6a5d64  r5 = 0x00000004
>          r6 = 0x00000000  r7 = 0xc06fd634
>          r8 = 0xffffffff  r9 = 0x00000000
>         r10 = 0xef6a5dac
> kern_execve() at kern_execve+0x324
>          pc = 0xc0354e38  lr = 0xc0354778 (sys_execve+0x58)
>          sp = 0xef6a5da0  fp = 0xef6a5de8
>          r4 = 0xc3bda350  r5 = 0x00000000
>          r6 = 0xef6a5e08  r7 = 0x60000013
>          r8 = 0x00000000  r9 = 0x00000000
>         r10 = 0xc3bde380
> sys_execve() at sys_execve+0x58
>          pc = 0xc0354778  lr = 0xc05e4310 (swi_handler+0x3dc)
>          sp = 0xef6a5df0  fp = 0xef6a5e50
>          r4 = 0xc3bda350  r5 = 0xef6a5e00
>          r6 = 0x60000013 r10 = 0xc3bde380
> swi_handler() at swi_handler+0x3dc
>          pc = 0xc05e4310  lr = 0xc05cfdc8 (swi_exit)
>          sp = 0xef6a5e58  fp = 0xbfbfe3c0
>          r4 = 0x2082c90c  r5 = 0x2082c90c
>          r6 = 0x2082c8b8  r7 = 0x0000003b
>          r8 = 0x2082c918  r9 = 0x2082c918
>         r10 = 0x2082c90c
> swi_exit() at swi_exit
>          pc = 0xc05cfdc8  lr = 0xc05cfdc8 (swi_exit)
>          sp = 0xef6a5e58  fp = 0xbfbfe3c0
> db>
> ---
>
> --
> Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
> amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru      http://amdmi3.ru
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHCsPVSGuWWY97ac2QVGAE77Lz2gJ12wDLpzH_kNdZsLQxh%2BQ>