Port-mips archive

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

Re: netbsd-7 on indy / challenge-s



just tried a 20151020 daily build of -7 on my indy, but it hits a TLB
miss during boot:

boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
pid 1(init): ABI set to O32 (e_flags=0x1007)
Tue Oct 20 09:17:05 PDT 2015
Startinpid 47(sh): trap: cpu0, TLB miss (load or instr. fetch) in kernel mode
status=0x2004ff03, cause=0x30000008, epc=0, vaddr=0
tf=0xc4c49000 ksp=0xc4c490a0 ra=0 ppl=0
kernel: TLB miss (load or instr. fetch) trap
Stopped in pid 47.1 (sh) at     0:      invalid address.
db> 

with -7 201510122130Z daily, it boots, but I get occasional TLB misses
when the system is stressed:

On Sat, Oct 17, 2015 at 02:39:38PM -0700, Aaron J. Grier wrote:
> pid 16999(cc1): trap: cpu0, TLB miss (load or instr. fetch) in kernel mode
> status=0x2000f003, cause=0x508, epc=0x880849d4, vaddr=0xc21e0000
> tf=0xc4c7fac0 ksp=0xc4c7fb60 ra=0x8808048c ppl=0xf
> kernel: TLB miss (load or instr. fetch) trap
> Stopped in pid 16999.1 (cc1) at netbsd:r4k_pdcache_wb_range_16+0x3c:    cache   0
> x19,0x0(a0)
> db> bt
> 0xc4c7fb60: r4k_pdcache_wb_range_16+3c (c21e0000,c21e1000,0,0) ra 8808048c sz 0
> 0xc4c7fb60: _bus_dmamap_sync_mips3+28c (c21e0000,c21e1000,0,0) ra 883aa1e4 sz 80
> 
> 0xc4c7fbb0: wdsc_dmago+68 (c21e0000,c21e1000,0,0) ra 883a8614 sz 40
> 0xc4c7fbd8: wd33c93_nextstate+654 (c21e0000,c21e1000,0,0) ra 883a96c8 sz 48
> 0xc4c7fc08: wd33c93_intr+c8 (c21e0000,c21e1000,0,0) ra 883aa448 sz 56
> 0xc4c7fc40: wdsc_scsiintr+14 (c21e0000,c21e1000,0,0) ra 88146284 sz 24
> 0xc4c7fc58: int2_local0_intr+a0 (c21e0000,c21e1000,0,0) ra 880a55d4 sz 48
> 0xc4c7fc88: cpu_intr+150 (0,c21e1000,0,0) ra 88205988 sz 64
> 0xc4c7fcc8: mips3_kern_intr+c8 (0,0,0,88495c10) ra 88366490 sz 192
> 0xc4c7fd88: uvm_anon_dispose+13c (0,0,0,88495c10) ra 883664f8 sz 32
> 0xc4c7fda8: uvm_anon_freelst+38 (0,896878e0,0,88495c10) ra 883645f0 sz 32
> 0xc4c7fdc8: amap_wipeout+118 (0,896878e0,0,88495c10) ra 883716ec sz 32
> 0xc4c7fde8: uvm_unmap_detach+54 (0,896878e0,0,88495c10) ra 88374438 sz 40
> 0xc4c7fe10: uvmspace_free+114 (0,896878e0,0,88495c10) ra 8819e468 sz 48
> 0xc4c7fe40: exit1+18c (0,896878e0,0,88495c10) ra 8819ead4 sz 128
> 0xc4c7fec0: sys_exit+4c (0,896878e0,0,88495c10) ra 882f6d00 sz 32
> 0xc4c7fee0: syscall+150 (0,896878e0,0,88495c10) ra 88205ddc sz 104
> 0xc4c7ff48: mips3_systemcall+dc (0,896878e0,0,88495c10) ra 7dd5a534 sz 0
> PC 0x7dd5a534: not in kernel space
> 0xc4c7ff48: 0+7dd5a534 (0,896878e0,0,88495c10) ra 0 sz 0
> User-level: pid 16999.1
> db>

got another one tonight, also in the DMA handler, this time through
pmap_copy_page.

pid 797(amd): trap: cpu0, TLB miss (load or instr. fetch) in kernel mode
status=0xf003, cause=0x508, epc=0x880849d4, vaddr=0xc2210000
tf=0xc4c5ba80 ksp=0xc4c5bb20 ra=0x8808048c ppl=0xf
kernel: TLB miss (load or instr. fetch) trap
Stopped in pid 797.1 (amd) at   netbsd:r4k_pdcache_wb_range_16+0x3c:    cache   0
x19,0x0(a0)
db> bt
0xc4c5bb20: r4k_pdcache_wb_range_16+3c (c2210000,c2211000,0,0) ra 8808048c sz 0
0xc4c5bb20: _bus_dmamap_sync_mips3+28c (c2210000,c2211000,0,0) ra 883aa1e4 sz 80 
0xc4c5bb70: wdsc_dmago+68 (c2210000,c2211000,0,0) ra 883a8614 sz 40
0xc4c5bb98: wd33c93_nextstate+654 (c2210000,c2211000,0,0) ra 883a96c8 sz 48
0xc4c5bbc8: wd33c93_intr+c8 (c2210000,c2211000,0,0) ra 883aa448 sz 56
0xc4c5bc00: wdsc_scsiintr+14 (c2210000,c2211000,0,0) ra 88146284 sz 24
0xc4c5bc18: int2_local0_intr+a0 (c2210000,c2211000,0,0) ra 880a55d4 sz 48
0xc4c5bc48: cpu_intr+150 (0,c2211000,0,0) ra 88205988 sz 64
0xc4c5bc88: mips3_kern_intr+c8 (8a072620,8e611620,4e,87511d) ra 8827f080 sz 192
0xc4c5bd48: pmap_copy_page+8c (8a072620,8e611620,0,a072000) ra 883646c4 sz 48
0xc4c5bd78: amap_cow_now+94 (8a072620,8e611620,0,a072000) ra 88372db8 sz 72
0xc4c5bdc0: uvmspace_fork+320 (8a072620,8e611620,0,a072000) ra 8836c9e4 sz 64
0xc4c5be00: uvm_proc_fork+2c (8a072620,8e611620,0,a072000) ra 8819f630 sz 32
0xc4c5be20: fork1+3e0 (8a072620,8e611620,14,a072000) ra 8819fd48 sz 144
0xc4c5beb0: sys_fork+2c (8a072620,8e611620,c4c5bf68,a072000) ra 882f6d00 sz 48
0xc4c5bee0: syscall+150 (8a072620,8e611620,c4c5bf68,a072000) ra 88205ddc sz 104
0xc4c5bf48: mips3_systemcall+dc (8a072620,8e611620,c4c5bf68,a072000) ra 7de2b400 sz 0
PC 0x7de2b400: not in kernel space
0xc4c5bf48: 0+7de2b400 (8a072620,8e611620,c4c5bf68,a072000) ra 0 sz 0
User-level: pid 797.1
db>

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier%poofygoof.com@localhost


Home | Main Index | Thread Index | Old Index