Problem with spinlocks in SMP kernel

From: Srinivas G. (srinivasg_at_esntechnologies.co.in)
Date: 05/03/04

  • Next message: Allen Martin: "RE: IO-APIC on nforce2 [PATCH] + [PATCH] for nmi_debug=1 + [PATCH] for idle=C1halt, 2.6.5"
    Date:	Mon, 3 May 2004 12:57:12 +0530
    To: <linux-kernel@vger.kernel.org>
    
    

    Hi, 
     
    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.
     
    Regards,
     
    Srinivas G
     

    -
    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/


  • Next message: Allen Martin: "RE: IO-APIC on nforce2 [PATCH] + [PATCH] for nmi_debug=1 + [PATCH] for idle=C1halt, 2.6.5"

    Relevant Pages

    • Re: netgear wg311 v2 and configuration
      ... >Subject: Re: netgear wg311 v2 and configuration ... >> Express yourself instantly with MSN Messenger! ... Check out the new MSN Search! ... To unsubscribe, ...
      (freebsd-current)
    • Re: netgear wg311 v2 and configuration
      ... >Subject: Re: netgear wg311 v2 and configuration ... Check out the new MSN Search! ... To unsubscribe, ...
      (freebsd-current)
    • Re: printing problem - spurious "d" characters, bad pixels, spuriousform feeds
      ... with Woody, kernel 2.4, and the pre-CUPs printing system. ... the kernel and interrupt handlers (device drivers)). ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess
      ... but do not have root access on the server system. ... configuration changes, it might be desirable to permit individual users ... to make these changes in .htaccess files for themselves. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: your mail - Matrox video card help on Alpha
      ... I am looking ahead for a reply that can be helpful to me in getting this system running in x-windows mode with bothe the KDE and Gnome desktops. ... appropriate subject in your emails so that those who just skim the list ... # the configuration of a single screen. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)