From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: "W. Michael Petullo" <mike@flyn.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: SMP Pentium III, GA-6VXDC7 MoBo. -- 2.4.18-pre7 SMP not working
Date: Mon, 28 Jan 2002 02:44:29 +0100 [thread overview]
Message-ID: <20020128014429.GF3684@ppc.vc.cvut.cz> (raw)
In-Reply-To: <20020127172150.A1407@dragon.flyn.org>
In-Reply-To: <20020127172150.A1407@dragon.flyn.org>
On Sun, Jan 27, 2002 at 05:21:50PM +0100, W. Michael Petullo wrote:
> I have a home-built dual Pentium III computer which does not seem to
> want to run recent SMP kernels. The computer is built on a Gigabyte
> GA-6VXDC7 motherboard, which is in turn based on a VIA Apollo Pro chip-set.
> It is an exclusively SCSI system -- I do not compile any IDE drivers
> into my kernel.
Can you open arch/i386/kernel/smpboot.c in your favorite text
editor, locate wakeup_secondary_via_INIT (it has this name
in 2.5.3-pre5), and in this function locate
apic_write_around(APIC_ICR, APIC_DM_STARTUP | (start_eip >> 12));
/* Give the other CPU some time to accept the IPI */
udelay(300);
and try increasing 300 to some bigger value (and make sure that
you are using pristine sources, there must be no printk() between
apic_write_around and udelay()). When I was getting Linux SMP
to work on GA-6VXD7 (it still boots, even with 2.5.3-pre5), I had to
ensure that no bus accesses (and especially PCI write) happen
until secondary CPU is alive. By trial and error I found
that 150us is needed on my motherboard, so I put 300us here.
Maybe 300us is not enough for you, so try increasing this value.
On 6VXD7 if you are not silent after you send startup IPI,
secondary CPU will not execute even first two instructions,
and first CPU will die about 50ms after it sends this
startup IPI.
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
next prev parent reply other threads:[~2002-01-28 1:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-27 16:21 W. Michael Petullo
2002-01-28 1:44 ` Petr Vandrovec [this message]
2002-02-02 14:12 ` W. Michael Petullo
2002-02-02 21:44 ` William Lee Irwin III
2002-02-03 14:23 ` W. Michael Petullo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020128014429.GF3684@ppc.vc.cvut.cz \
--to=vandrove@vc.cvut.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mike@flyn.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®