Re: divide error in select_task_rq_fair()

From: Myron Stowe
Date: Thu Nov 18 2010 - 18:32:48 EST


On Sun, 2010-11-14 at 11:11 -0800, Yinghai Lu wrote:
> On Sun, Nov 14, 2010 at 9:36 AM, Myron Stowe <myron.stowe@xxxxxx> wrote:
> >
> > I got the same divide error with this latest patch (see attachment). If
> > I revert commit 50f2d7f682f9, the platform boots successfully.
>
> please check patch in
> http://lkml.org/lkml/2010/11/13/181

I was able to test this patch and with it applied the system did boot
successfully.

While I think you are on the correct path with respect to this issue I
could not make any sense out of the patch heading and description.
Worse - I'm thinking that it is even mis-leading as currently written
(especially the patch heading).

Thanks,

Myron
>
> BTW, you also need to ask your BIOS guys to fix the SRAT table.
> If you only have 128 cpu entries in MADT, SRAT table should have 128
> cpu entries instead of 256 cpu entries
> otherwise, RHEL 5.5 could have problem. it will throw away last cpu
> entry in SRAT,
> (NR_CPUS is 255..., and last entry still could point the right cpu in MADT)
> Also BIOS should keep cpu entries in SRAT have same order to that in MADT.
>
> Thanks
>
> Yinghai
>


--
Myron Stowe Linux Kernel Developer
Fort Collins, CO Office of Corporate Strategy and Technology

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/