[PATCH] fix boot crash when freeing initrd memory

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

 



On Wed, 1 Nov 2006, Jeremy Fitzhardinge wrote:

> James Morris wrote:
> > I'm triggering this BUG_ON during boot, which happens while freeing initrd 
> > memory:
> >
> >  EIP is at free_init_pages+0x37/0xac
> >  [<c01143f1>] free_initrd_mem+0x11/0x13
> >  [<c03ce259>] free_initrd+0x13/0x29
> >  [<c03cf647>] populate_rootfs+0xdc/0xe2
> >  [<c01003af>] init+0x42/0x253
> >  [<c0103bbb>] kernel_thread_helper+0x7/0x10
> >
> >
> > I'm not sure why this memory isn't aligned now.
> >
> > The patch below allows my system to boot.  Any clues about the correct fix
> > appreciated.
> >   
> 
> Is this booting native or under Xen?  I put the BUG_ON in there since if 
> it isn't page-aligned, freeing the page would seem to be freeing 
> something else unexpectedly...  I think ChrisW was triggering this 
> BUG_ON at one point, but I don't think we've worked out what's going on 
> here.

This is booting native, with patches applied but nothing selected (no Xen, 
VMI or lhype).



-- 
James Morris
<jmorris at redhat.com>




[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux