From: Dave Jones <davej@redhat.com>
To: "Srinivas G." <srinivasg@esntechnologies.co.in>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Problem with spinlocks in SMP kernel
Date: Mon, 3 May 2004 09:46:59 +0100 [thread overview]
Message-ID: <20040503084658.GA29878@redhat.com> (raw)
In-Reply-To: <1118873EE1755348B4812EA29C55A9721D703E@esnmail.esntechnologies.co.in>
On Mon, May 03, 2004 at 12:57:12PM +0530, Srinivas G. wrote:
> We developed a driver for PCI card. It was compiled and working fine under non-smp kernel. But when we port it into SMP kernel it is not working. System is going to hang permanently. What problem peter got at the following site, the same problem we got here. When we don't use spinlocks it is working fine under SMP kernel also. But when we use spinlocks it is not working under SMP kernel. The link peter posted the error I am sending here.
> http://www.linuxtv.org/mailinglists/linux-dvb/2002/06-2002/msg00178.html
> I tried with spin_lock_irqsave(&xxx,flags) and spin_unlock_irqrestore(&xxx,flags). Then also system halts.
> Why system is permanently hanging? What was the problem? Is their any OS problem?
> We are using following configuration:
> P4 HT Processor, RealTech 8139 Network card, Redhat 9.0 Kernel version 2.4.20-8smp.
> Thanks in advance for any help you can come up with.
You forgot to include a pointer to the source for your driver.
Without which, no-one can help you.
Dave
prev parent reply other threads:[~2004-05-03 8:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-03 7:27 Problem with spinlocks in SMP kernel Srinivas G.
2004-05-03 8:46 ` Dave Jones [this message]
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=20040503084658.GA29878@redhat.com \
--to=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=srinivasg@esntechnologies.co.in \
/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