Re: Linux 2.4.22-pre2 and AthlonMP

Edward Tandi (ed@efix.biz)
28 Jun 2003 23:50:03 +0100


On Sat, 2003-06-28 at 22:51, Alan Cox wrote:
> On Sad, 2003-06-28 at 21:50, Edward Tandi wrote:
> > Jun 28 18:27:46 machine kernel: PCI: Using ACPI for IRQ routing
> > Jun 28 18:27:46 machine kernel: PCI: if you experience problems, try
> > using option 'pci=noacpi' or even 'acpi=off'
> > Jun 28 18:27:46 machine kernel: BIOS failed to enable PCI standards
> > compliance, fixing this error.
>
> Start by upgrading to their current BIOS

Believe or not, it _is_ the latest bios for that board
(Tyan S2460 BIOS v1.05, 2nd Jan 2003).

Ed-T.

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


(attempting to kill init)
on boot. It didn't flushed to disk, so it isn't attached, but it panics
at effective_prio+0xcc/0xe0.
With objdump I could see it traps a division by 0:
cc: f7 fb idiv %ebx

I remember cleary %ebx being 0 on the panic report.
And I tracked down and the code is on this else in effective_prio:
----------- sched.c 341-----------------
else {
sleep_period = (sleep_period *
17 * sleep_period / ((17 * sleep_period / (5 * tau + 2)) * 5 * tau));
if (!sleep_period)
return p->static_prio;
}
--------------------------------------

I don't have the time now to track this further today, but what happens
if sleep_period is too small and tau is too big?
Could this (17 * sleep_period / (5 * tau + 2) give 0 and so a division
by 0?

abs
Roberto

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