[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48669252.1000608@nokia.com>
Date: Sat, 28 Jun 2008 22:34:42 +0300
From: "Becker Stefan (Nokia-D/Salo)" <Stefan.Becker@...ia.com>
To: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
CC: ext Alan Stern <stern@...land.harvard.edu>
Subject: BUG in 2.6.26-rc8 interrupt handling
Hi,
[I'm not subscribed to this list, so please CC: me]
[Subject has been changed, please read the rest of the thread for all
the details]
On my AthlonXP single CPU laptop I experience random lockups when I
access the external USB harddrive with kernels >2.6.23. The problem
doesn't appear with 2.6.23.
Debugging revealed that a routine was called twice that takes a
spinlock. But this actually shouldn't happen, because the function
should only be invoked with interrupts disabled. A little more debugging
revealed that apparently sometimes interrupts are enabled when the USB
HCD interrupt handlers are called, although they are registered with
IRQF_DISABLED.
With the attached patch ontop of 2.6.26-rc8 I get these messages:
kernel: USB_HCD_IRQ interrupts disabled 14206 enabled 6289
kernel: USB_HCD_IRQ interrupts disabled 14761 enabled 6290
kernel: USB_HCD_IRQ interrupts disabled 14761 enabled 6291
I also attached the contents from /proc/interrupts from the machine.
Any ideas what could be wrong or any suggestions in which direction I
should continue debugging?
Regards,
Stefan
---
Stefan Becker Nokia-TP/Salo Senior Specialist, EE SW
E-Mail: Stefan.Becker@...ia.com SMS: 4871554@....??
Office: +358-7180-71554 FAX: +358-7180-44751
GSM : +358-50-4871554
View attachment "usb-hcd-interrupts.patch" of type "text/plain" (673 bytes)
View attachment "proc-interrupts.txt" of type "text/plain" (914 bytes)
Powered by blists - more mailing lists