NetBSD-Bugs archive

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

re: regarding PR http://gnats.netbsd.org/46885



> Hi Lars
> 
> This is regarding netbsd bug 46885. We have been seeing same problem on an
> x86 board when we try to boot a netbsd kernel with ramfdisk embedded.  The
> size of ramdisk is 18mb and with kernel, the final kernel is around 31MB.
> When we try to boot this kernel, the system resets mostly before vga or
> serial console is initialized. If the ramdisk is created to be 16mb, then it
> boots fine.
> 
> I have experimented with the size of the ramdisk. When i put it at 17mb and
> with few printfs added to the kernel I could see that it went farther in
> the boot process and got uvm page fault while trying to initialize sysctls.
> Please find the attached images that has a a panic stack trace.
> 
> Looking at 46885, it seems to be same issue. However we are using netbsd 6.1
> and this issue was fixed for 6.1 but we still see it in our board. We have
> also seen the same issue, on an HP machine ( x86 64bit amd),  There, we
> saw this when trying to install netbsd 6.1 on that machine from official ISO

try increasing this value:

sys/arch/amd64/include/pmap.h:#define NKL2_KIMG_ENTRIES 16

the amd64 kernel must fit in NKL2_KIMG_ENTRIES * 2MB pages.


.mrg.


Home | Main Index | Thread Index | Old Index