Port-evbmips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ERLITE frozen in rc script after switching to GCC 5.4
Hi,
On 2016/11/09 17:37, Nick Hudson wrote:
On 11/07/16 11:48, Rin Okuyama wrote:
Starting sshd.
pid 240(sleep): trap: cpu0, TLB miss (load or instr. fetch) in kernel mode
status=0x50200083, cause=0x8, epc=0xffffffff802342a4, vaddr=0x132
TS=1 in status here (bit 21)
Maybe 'mach tlb' will show something
I observed another kernel panic on ERLITE. To my surprise, neither epc
(ostype+0x12c) nor ra (ostype+0x128) are in text segment; Analysis with
objdump reveals that "ostype+0x12c" is in .rodata.str1.8 section of
autoconf.o. I attached trace of kernel and current process as well as
"mach tbl", although status bit 21 is turned off this time.
Thanks,
Rin
====
NetBSD 7.99.42 (ERLITE_RO) #0: Mon Nov 21 20:29:47 JST 2016
rin@xxx:xxx
Cavium Octeon CN50XX
total memory = 512 MB
avail memory = 500 MB
...
init: copying out path `/sbin/init' 11
pid 1(init): ABI set to N32 (e_flags=0x20000027)
Mon Nov 21 20:33:09 JST 2016
Not checking /: fs_passno = 0 in /etc/fstab
...
Starting sshd.
pid 319(ntpd): trap: cpu0, TLB miss (load or instr. fetch) in kernel mode
status=0x80ff83, cause=0x8, epc=0xffffffff8046f774, vaddr=0x7374
tf=0x9800000410985d60 ksp=0x9800000410985ea0 ra=0xffffffff8046f770 ppl=0
kernel: TLB miss (load or instr. fetch) trap
Stopped in pid 319.1 (ntpd) at netbsd:main+0x19d8c: ldr t3,s3,29556
db> bt
0x9800000410985ea0: ostype+12c (7,ff00,0,ffffffff80490000) ra ffffffff8046f770 sz 0
0x9800000410985ea0: ostype+128 (7,ff00,0,ffffffff80490000) ra 0 sz 0
User-level: pid 319.1
db> ps
PID LID S CPU FLAGS STRUCT LWP * NAME WAIT
333 1 3 0 0 ffffffff8fb46d80 sh netio
332 1 3 0 0 ffffffff8fb47600 sh wait
314 1 2 0 0 ffffffff8fe584e0 man
312 1 3 0 80 ffffffff8fe58d60 sh wait
319 > 1 7 0 0 ffffffff8fb471c0 ntpd
...
db> trace/a ffffffff8fb471c0
pid 319.1 at 0x9800000410984000
0x9800000410985e00: kernel_text+dc (0,0,0,0) ra ffffffff8037eae8 sz 0
0x9800000410985e00: mi_switch+1c0 (0,0,0,0) ra ffffffff8046f770 sz 96
0x9800000410985e60: ostype+128 (0,0,0,0) ra 0 sz 0
User-level: pid 319.1
db> mach tlb
TLB 0 Hi 0x78438008 Lo0=0x41f0d2000 D attr 3 Lo1=0x41f0d3000 D attr 3 sz=0
TLB 1 Hi 0xc00000000012200b Lo0=0x41ff56000 DG attr 3 Lo1=0x41ff57000 DG attr 3 sz=0
TLB 2 Hi 0xc0000000000ae00b Lo0=0x41ffca000 DG attr 3 Lo1=0x41ffcb000 DG attr 3 sz=0
TLB 3 Hi 0xc00000000012600b Lo0=0x41ff52000 DG attr 3 Lo1=0x41ff53000 DG attr 3 sz=0
TLB 4 Hi 0xc00000000011400b Lo0=0x41ff64000 DG attr 3 Lo1=0x41ff65000 DG attr 3 sz=0
TLB 5 Hi 0xc00000000010400b Lo0=0x41ff74000 DG attr 3 Lo1=0x41ff75000 DG attr 3 sz=0
TLB 6 Hi 0xc00000000012c00b Lo0=0x41ff4c000 DG attr 3 Lo1=0x41ff4d000 DG attr 3 sz=0
TLB 7 Hi 0xc00000000013200b Lo0=0x41ff46000 DG attr 3 Lo1=0x41ff47000 DG attr 3 sz=0
TLB 8 Hi 0xc00000000013000b Lo0=0x41ff48000 DG attr 3 Lo1=0x41ff49000 DG attr 3 sz=0
TLB 9 Hi 0xc00000000e0bc00b Lo0=0x41f0ae000 G attr 3 Lo1=0x41f0af000 G attr 3 sz=0
TLB 10 Hi 0xc00000000020600b Lo0=0x41fee8000 DG attr 3 Lo1=0x41fee9000 DG attr 3 sz=0
TLB 11 Hi 0xc00000000020c00b Lo0=0x41fee2000 DG attr 3 Lo1=0x41fee3000 DG attr 3 sz=0
TLB 12 Hi 0xc00000000e0c0000 Lo0=0x41f0aa000 G attr 3 Lo1=0x41f0ab000 G attr 3 sz=0
TLB*13 Hi 0xc001ffff8001a000 Lo0=0x000000000 attr 0 Lo1=0x000000000 attr 0 sz=0
TLB 14 Hi 0xc00000000dd60004 Lo0=0x00ff72000 DG attr 3 Lo1=0x00ff73000 DG attr 3 sz=0
TLB 15 Hi 0x0002e004 Lo0=0x41fd4c000 attr 3 Lo1=0x41fd4d000 attr 3 sz=0
TLB 16 Hi 0x7872e004 Lo0=0x41fdc0000 attr 3 Lo1=0x41fdc1000 attr 3 sz=0
TLB*17 Hi 0x000060f7 Lo0=0x000000000 attr 0 Lo1=0x000001000 attr 0 sz=0
TLB 18 Hi 0x785a8004 Lo0=0x41fe06000 attr 3 Lo1=0x41fe07000 attr 3 sz=0
TLB 19 Hi 0x786c0004 Lo0=0x41fd64000 attr 3 Lo1=0x41fd65000 attr 3 sz=0
TLB 20 Hi 0x78408004 Lo0=0x41fc4a000 D attr 3 Lo1=0x41fc4b000 D attr 3 sz=0
TLB 21 Hi 0x00054004 Lo0=0x41fc6a000 D attr 3 Lo1=0x41fc6b000 D attr 3 sz=0
TLB 22 Hi 0x78402004 Lo0=0x41fc3e000 D attr 3 Lo1=0x41fc3f000 D attr 3 sz=0
TLB 23 Hi 0x786c8004 Lo0=0x41fe04000 attr 3 Lo1=0x41fe05000 attr 3 sz=0
TLB 24 Hi 0x78436004 Lo0=0x41fcb2000 D attr 3 Lo1=0x41fcb3000 D attr 3 sz=0
TLB 25 Hi 0x7845c004 Lo0=0x41fcb8000 D attr 3 Lo1=0x41fcb9000 D attr 3 sz=0
TLB 26 Hi 0x7fff6004 Lo0=0x41fdc8000 D attr 3 Lo1=0x41fdc9000 D attr 3 sz=0
TLB 27 Hi 0x0002a004 Lo0=0x41fd5a000 attr 3 Lo1=0x41fd5b000 attr 3 sz=0
TLB 28 Hi 0x786d8004 Lo0=0x41fd9c000 attr 3 Lo1=0x41fd9d000 attr 3 sz=0
TLB 29 Hi 0x78400004 Lo0=0x41fbfc000 D attr 3 Lo1=0x41fbfd000 D attr 3 sz=0
TLB 30 Hi 0x7872c004 Lo0=0x41fcbe000 D attr 3 Lo1=0x41fcbf000 D attr 3 sz=0
TLB 31 Hi 0x00032004 Lo0=0x41fd74000 attr 3 Lo1=0x41fd75000 attr 3 sz=0
TLB 32 Hi 0x78406004 Lo0=0x41fcb6000 D attr 3 Lo1=0x41fcb7000 D attr 3 sz=0
TLB 33 Hi 0x78668004 Lo0=0x41fd94000 attr 3 Lo1=0x41fd95000 attr 3 sz=0
TLB 34 Hi 0x785ae004 Lo0=0x41fe26000 attr 3 Lo1=0x41fe27000 attr 3 sz=0
TLB 35 Hi 0x78730004 Lo0=0x41fcc0000 D attr 3 Lo1=0x41fcc1000 D attr 3 sz=0
TLB 36 Hi 0x7864a004 Lo0=0x41fd96000 attr 3 Lo1=0x41fd97000 attr 3 sz=0
TLB 37 Hi 0x78738004 Lo0=0x41fdb2000 attr 3 Lo1=0x41fdb3000 attr 3 sz=0
TLB 38 Hi 0x00030004 Lo0=0x41fd6e000 attr 3 Lo1=0x41fd6f000 attr 3 sz=0
TLB 39 Hi 0x7861a004 Lo0=0x41fd84000 attr 3 Lo1=0x41fd85000 attr 3 sz=0
TLB 40 Hi 0x78404004 Lo0=0x41fcbc000 D attr 3 Lo1=0x41fcbd000 D attr 3 sz=0
TLB 41 Hi 0x786b6004 Lo0=0x41fe02000 attr 3 Lo1=0x41fe03000 attr 3 sz=0
TLB 42 Hi 0x786a0004 Lo0=0x41fe1c000 attr 3 Lo1=0x41fe1d000 attr 3 sz=0
TLB 43 Hi 0x0001c004 Lo0=0x41fd80000 attr 3 Lo1=0x41fd81000 attr 3 sz=0
TLB 44 Hi 0x0003c004 Lo0=0x41fd76000 attr 3 Lo1=0x41fd77000 attr 3 sz=0
TLB 45 Hi 0x0003a004 Lo0=0x41fdaa000 attr 3 Lo1=0x41fdab000 attr 3 sz=0
TLB 46 Hi 0x0001a004 Lo0=0x41fd48000 attr 3 Lo1=0x41fd49000 attr 3 sz=0
TLB 47 Hi 0x0001e004 Lo0=0x41fd44000 attr 3 Lo1=0x41fd45000 attr 3 sz=0
TLB 48 Hi 0x00028004 Lo0=0x41fd7c000 attr 3 Lo1=0x41fd7d000 attr 3 sz=0
TLB 49 Hi 0x7840c004 Lo0=0x41fc68000 D attr 3 Lo1=0x41fc69000 D attr 3 sz=0
TLB 50 Hi 0x00056004 Lo0=0x41fcf6000 D attr 3 Lo1=0x41fcf7000 D attr 3 sz=0
TLB 51 Hi 0x00022004 Lo0=0x41fd52000 attr 3 Lo1=0x41fd53000 attr 3 sz=0
TLB 52 Hi 0x00020004 Lo0=0x41fd46000 attr 3 Lo1=0x41fd47000 attr 3 sz=0
TLB*53 Hi 0xc00000000e0c200c Lo0=0x000000000 G attr 0 Lo1=0x000001000 G attr 0 sz=0
TLB 54 Hi 0x7840400b Lo0=0x41f0c4000 D attr 3 Lo1=0x41f0c5000 D attr 3 sz=0
TLB 55 Hi 0x7845c00b Lo0=0x41f0ba000 D attr 3 Lo1=0x41f0bb000 D attr 3 sz=0
TLB 56 Hi 0x7840800b Lo0=0x41f0c2000 D attr 3 Lo1=0x41f0c3000 D attr 3 sz=0
TLB 57 Hi 0x7840600b Lo0=0x41f12c000 D attr 3 Lo1=0x41f12d000 D attr 3 sz=0
TLB 58 Hi 0xc00000000e57200b Lo0=0x41fea8000 DG attr 3 Lo1=0x41fea9000 DG attr 3 sz=0
TLB 59 Hi 0x7840c00b Lo0=0x41f130000 D attr 3 Lo1=0x41f131000 D attr 3 sz=0
TLB 60 Hi 0xc00000000dd6800b Lo0=0x41feaa000 G attr 3 Lo1=0x41feab000 G attr 3 sz=0
TLB 61 Hi 0xc00000000020a00b Lo0=0x41fee4000 DG attr 3 Lo1=0x41fee5000 DG attr 3 sz=0
TLB 62 Hi 0xc00000000020200b Lo0=0x41feec000 DG attr 3 Lo1=0x41feed000 DG attr 3 sz=0
TLB 63 Hi 0xc00000000010c00b Lo0=0x41ff6c000 DG attr 3 Lo1=0x41ff6d000 DG attr 3 sz=0
db>
Home |
Main Index |
Thread Index |
Old Index