Port-arm archive

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

Re: Panic at init on arm (Seagate Dockstar) with -current



[dropping tern-kern]

On Tuesday 23 October 2012 20:17:09 Andy Ruhl wrote:
> On Tue, Oct 23, 2012 at 10:31 AM, SAITOH Masanobu 
> <msaitoh%execsw.org@localhost> 
wrote:
> >  This problem was fixed by arm32/bus_space.c rev. 1.65 yesterday.  And
> >  another
> > 
> > bus_space.c's bug was fixed today by Nick.
> 
> Mine still panics, I hope it's not something I'm doing wrong:

It would appear that the accounting in arm32_kernel_vm_init is still off. Can 
you confirm that you boot cleanly with the attached diff.

VERBOSE_INIT_ARM output from a failing and working boot will help.

Thanks,
Nick
Index: sys/arch/arm/arm32/arm32_kvminit.c
===================================================================
RCS file: /cvsroot/src/sys/arch/arm/arm32/arm32_kvminit.c,v
retrieving revision 1.13
diff -u -p -u -r1.13 arm32_kvminit.c
--- sys/arch/arm/arm32/arm32_kvminit.c  21 Oct 2012 22:04:05 -0000      1.13
+++ sys/arch/arm/arm32/arm32_kvminit.c  23 Oct 2012 20:49:31 -0000
@@ -385,7 +385,7 @@ arm32_kernel_vm_init(vaddr_t kernel_vm_b
            cpu_num * (ABT_STACK_SIZE + FIQ_STACK_SIZE + IRQ_STACK_SIZE
            + UND_STACK_SIZE + UPAGES) * PAGE_SIZE;
        kernel_size += round_page(MSGBUFSIZE);
-       kernel_size += 0x10000; /* slop */
+       kernel_size += 0x100000;        /* slop */
        kernel_size += (kernel_size + L2_S_SEGSIZE - 1) / L2_S_SEGSIZE;
        kernel_size = round_page(kernel_size);
 


Home | Main Index | Thread Index | Old Index