NetBSD-Bugs archive

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

kern/55067: bge(4) does not work on MIPS systems (it panics)



>Number:         55067
>Category:       kern
>Synopsis:       bge(4) does not work on MIPS systems (it panics)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 12 21:05:00 +0000 2020
>Originator:     Jason Thorpe
>Release:        NetBSD 9.99.48
>Organization:
Riscy Business
>Environment:
NetBSD 9.99.48 cobalt mipsel
>Description:
The bge(4) driver does not function correctly on MIPS platforms.  The first symptom is the following panic:

Waiting for duplicate address detection to finish...
Starting dhcpcd.
[  23.6599208] panic: _bus_dmamap_sync: bad length
[  23.6713571] cpu0: Begin traceback...
[  23.6713571] pid -2086495680 not found
[  23.6801778] cpu0: End traceback...
[  23.6801778] kernel: breakpoint trap
Stopped in pid 119.1 (dhcpcd) at        netbsd:cpu_Debugger+0x4:        jr      
ra
                bdslot: nop
db> bt
0x83a29a68: cpu_Debugger+4 (3,8000,c,80657c40) ra 803cd228 sz 0
0x83a29a68: vpanic+15c (3,8000,c,80657c40) ra 803cd2bc sz 48
0x83a29a98: panic+24 (3,83edfc90,10998,0) ra 8000dd9c sz 32
0x83a29ab8: _bus_dmamap_sync+4bc (3,83edfc90,10998,0) ra 800726ec sz 72
0x83a29b00: bge_intr+730 (3,83edfc90,10998,0) ra 8000bef8 sz 104
0x83a29b68: icu_intr+130 (3,83edfc90,10998,0) ra 8000c8ac sz 64
0x83a29ba8: cpu_intr+17c (3,83edfc90,10998,0) ra 800119cc sz 56
0x83a29be0: mips3_kern_intr+cc (0,fb00,0,80657c40) ra 80064708 sz 192
0x83a29ca0: bge_ioctl+f8 (0,fb00,0,80657c40) ra 804750f8 sz 48
0x83a29cd0: doifioctl+9a4 (0,80906910,83e3f6e8,80657c40) ra 803dd8d4 sz 304
0x83a29e00: sys_ioctl+2d4 (0,80906910,83e3f6e8,80657c40) ra 8001f1dc sz 200
0x83a29ec8: syscall+28c (0,80906910,83e3f6e8,80657c40) ra 80011e60 sz 128
0x83a29f48: mips3_systemcall+e0 (0,80906910,83e3f6e8,80657c40) ra 7dd7fe40 sz 0
PC 0x7dd7fe40: not in kernel space
0x83a29f48: 0+7dd7fe40 (0,80906910,83e3f6e8,80657c40) ra 0 sz 0
User-level: pid 119.1
db> 

There may be other problems.
>How-To-Repeat:
Attempt to use bge(4) on MIPS.
>Fix:
N/A



Home | Main Index | Thread Index | Old Index