lkml.org 
[lkml]   [2006]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: 2.6.18-rc3-mm2
    From
    Date
    On Fri, 2006-08-11 at 11:36 -0700, Andrew Morton wrote:
    > On Fri, 11 Aug 2006 11:11:40 -0700
    > Mark Haverkamp <markh@osdl.org> wrote:
    >
    > > On Sun, 2006-08-06 at 03:08 -0700, Andrew Morton wrote:
    > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc3/2.6.18-rc3-mm2/
    > >
    > > I am seeing problem loading modules at boot time. My initrd tries to
    > > load scsi_mod and percpu_modalloc prints this;
    > >
    > > Could not allocate 16 bytes percpu data
    > >
    > > This is a 2 processor x86_64 machine. I have attached the output from
    > > the serial console and the config file.
    > >
    > > It is related to the mm patches. I can boot OK from the main kernel
    > > tree and the scsi trees.
    >
    > Yeah, sorry - this is almost certainly due to the increase in NR_IRQS. It
    > made this, in include/linux/kernel_stat.h
    >
    > DECLARE_PER_CPU(struct kernel_stat, kstat);
    >
    > really big and we consume all the per-cpu memory.
    >
    >
    > NR_IRQS is (sometimes) calculated from NR_CPUS via complex means. Reducing
    > your NR_CPUS should fix things up.

    It helps. I set NR_CPUS to 8 and got past that problem. Now I can't
    get the root to mount.

    Here is some output. I had to copy it from the VGA since this doesn't
    show up on the serial output.

    Creating root device
    Mounting root filesystem
    mount: error 6 mounting ext3
    Switching to new root
    ERROR opening /dev/console!!!!:2
    error dup2'ing fd of 0 to 0
    error dup2'ing fd of 0 to 1
    error dup2'ing fd of 0 to 2
    umounting old /proc
    unmounting old /sys
    Switchroot: mount failed: 22
    Kernel Panic ....


    >
    --
    Mark Haverkamp <markh@osdl.org>
    \
     
     \ /
      Last update: 2006-08-11 22:35    [W:0.022 / U:1.576 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site