public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "W. Michael Petullo" <mike@flyn.org>
To: linux-kernel@vger.kernel.org
Cc: wli@holomorphy.com
Subject: Re: SMP Pentium III, GA-6VXDC7 MoBo. -- 2.4.18-pre7 SMP not working
Date: Sat, 2 Feb 2002 15:12:41 +0100	[thread overview]
Message-ID: <20020202151241.A1417@dragon.flyn.org> (raw)
In-Reply-To: <20020127172150.A1407@dragon.flyn.org>
In-Reply-To: <20020127172150.A1407@dragon.flyn.org>; from mike@flyn.org on Sun, Jan 27, 2002 at 05:21:50PM +0100

> 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.
> 
> Kernel 2.4.12 works fine when compiled with SMP on.  However, anything
> newer fails to load when compiled with SMP support.  In the failing cases,
> lilo prints its uncompressing kernel and booting kernel messages followed
> by a system hang -- the kernel never prints anything.
> 
> Kernel.org
> Vanilla		CONFIG_SMP=y		# CONFIG_SMP is not set
> Version		SMP Status		UP Status
> ======================================================
> 2.4.10		SMP works		Fine
> 2.4.11		Wouldn't touch		Wouldn't touch
> 2.4.12		SMP Works		Fine
> 2.4.13		SMP does not boot	Fine
> 2.4.14		Did not try		Did not try
> 2.4.15		Did not try		Did not try
> 2.4.16		SMP does not boot	Fine
> 2.4.17		SMP does not boot	Fine
> 2.4.18-pre7		SMP does not boot	Fine
> 
> Since the kernel does not even peep an oops message, I'm not sure where
> to start debugging.  Is anyone else having similar problems?

I'm having a lot of trouble debugging this one.  Prinks are not being
displayed on the screen, though I know they are being executed.  I have
even tried William Lee Irwin's early_printk patch to try and get printks
to display.  Apparently the prink buffer is not being flushed this early
in the kernel code?

The only debugging technique I have found is to insert return statements
in order to avoid different sections of code.  I find, for example,
that if I make the first statement of the smpboot.c:do_boot_cpu a return,
the kernel will boot (without SMP on, of course).

Obviously, this is not the best technique.  I have been able to narrow
the location of the bug down a little with it, but I feel I will be able
to discover little more with this technique.

I'm not sure what else to do without printks.

I would appreciate any tips on debugging smpboot.c.

Thank you.

-- 
Mike

:wq

  parent reply	other threads:[~2002-02-02 14:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-27 16:21 SMP Pentium III, GA-6VXDC7 MoBo. -- 2.4.18-pre7 SMP not working W. Michael Petullo
2002-01-28  1:44 ` Petr Vandrovec
2002-02-02 14:12 ` W. Michael Petullo [this message]
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=20020202151241.A1417@dragon.flyn.org \
    --to=mike@flyn.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.com \
    /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