On Thu, Dec 22, 2016 at 12:11:36PM -0200, Luiz Gustavo dos S. Costa wrote:
> Hello list,
> 
> Yesterday, received a new board to a lab with Linux for a product,
> but, my principal intencion is use with OpenBSD.
> 
> Image: http://imgur.com/a/fRWky
> Describe: http://www.orangepi.org/orangepizero/
> 
> Ok, i burned a new sdcard with a ready image from Openbsd 6-current
> and orange dtb (Orange PC) and i obtained this dmesg:
> 
> .... (complete dmesg here: http://pastebin.com/29qjkNXC )
> 
> gpio7 at sxipio0: 28 pins
> gpio8 at sxipio0: 22 pins
> 
> uvm_fault(0xc0ceb8a4, 8b6af000, 1, 0) -> e
> Fatal kernel mode data abort: 'Translation fault (L1)'
> trapframe: 0xca8f4d08
> DFSR=00000005, DFAR=8b6afe2c, spsr=20000113
> r0 =8b6afe2c, r1 =00000001, r2 =ca8f4d7c, r3 =c0c94dac
> r4 =c04f2234, r5 =ca8f4d7c, r6 =c04f2234, r7 =00000020
> r8 =017d7840, r9 =00000000, r10=c0ceb940, r11=ca8f4d74
> r12=ca8f4d78, ssp=ca8f4d58, slr=c04088d4, pc =c040869c
> 
> panic: Fatal abort
> syncing disks... done
> rebooting...
> 
> My question is: How to begin make a debug to solution to this panic ?
> 
> Where to start? What do i have to change? Ok, ok ... I know i need the
> sources, etc ... but is there a "path to the stones"?
> 
> Thanks !

The ramdisk kernels do not have the kernel debugger (ddb).

If you mount /dev/sdXa (where sdX is your sd/mmc device) you can replace
/mnt/bsd with
http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/bsd

You will then be able to run "trace" and "show registers" at the
ddb prompt.

Reply via email to