Port-arm archive

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

Re: Booting NetBSD/evbarm on QEMU (IntegratorCP)



> >I'm trying this kernel and sadly it panics when executing init:
> >
> >     root on 172.20.0.1:/nfsroot
> >     root file system type: nfs
> >     warning: no /dev/console
> >     init path (default /sbin/init):
> >     init: trying /sbin/init
> >     uvm_fault(0xc13e591c, 20646000, 1) -> e
> >     Fatal kernel mode data abort: 'Translation Fault (S)'
> >     trapframe: 0xc76cdd20
> >     FSR=00000005, FAR=20646598, spsr=20000113
> >     r0 =20646574, r1 =00000000, r2 =c1036000, r3 =00000000
> >     r4 =c1036040, r5 =00000004, r6 =00000000, r7 =00000001
> >     r8 =c1036040, r9 =00000003, r10=c038a33c, r11=c76cddd8
> >     r12=00000000, ssp=c76cdd70, slr=c02730b0, pc =c02723a0
> >     Stopped in pid 38.1 (sh) at     netbsd:uvm_pagealloc_pgfl+0x150:        
> > ldr
> >     r
> >     2, [r0, #0x024]
> >     db>
> 
> 
> Make sure you have a /dev/console,  or your /dev/MAKEDEV is made with
> 
> #       NetBSD: MAKEDEV.tmpl,v 1.161 2013/01/26 18:44:21 apb Exp
> 
> or your MAKEDEV has
> 
>                     mknod -m 600 -g 0 -u 0 temp_console c 2 0

Thanks Nick !

I'm using a 6.0.1 userland. I changed MAKEDEV:

-                     mknod -m 600 -g 0 -u 0 temp_console c 0 0
+                     mknod -m 600 -g 0 -u 0 temp_console c 2 0

And it boots now :)

Sebastien


Home | Main Index | Thread Index | Old Index