Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   disabling irq assigned to sata hard drives (http://www.linux-archive.org/debian-user/494969-disabling-irq-assigned-sata-hard-drives.html)

Mark Copper 02-27-2011 10:16 PM

disabling irq assigned to sata hard drives
 
Hi All,

In the last week, my desktop has been disabled by disabling an IRQ
several times.

Feb 20 14:46:05 rigel kernel: [17358.879005] irq 19: nobody cared (try
booting with the "irqpoll" option)
Feb 20 14:46:05 rigel kernel: [17358.879011] Pid: 0, comm: swapper Not
tainted 2.6.32-5-686 #1
Feb 20 14:46:05 rigel kernel: [17358.879013] Call Trace:
Feb 20 14:46:05 rigel kernel: [17358.879019] [<c106d05d>] ?
__report_bad_irq+0x24/0x69
Feb 20 14:46:05 rigel kernel: [17358.879023] [<c106d064>] ?
__report_bad_irq+0x2b/0x69
Feb 20 14:46:05 rigel kernel: [17358.879026] [<c106d189>] ?
note_interrupt+0xe7/0x13e
Feb 20 14:46:05 rigel kernel: [17358.879029] [<c106d6b7>] ?
handle_fasteoi_irq+0x7a/0x97
Feb 20 14:46:05 rigel kernel: [17358.879033] [<c1004dd7>] ?
handle_irq+0x17/0x1b
Feb 20 14:46:05 rigel kernel: [17358.879037] [<c1004659>] ? do_IRQ+0x38/0x89
Feb 20 14:46:05 rigel kernel: [17358.879040] [<c10037f0>] ?
common_interrupt+0x30/0x38
Feb 20 14:46:05 rigel kernel: [17358.879053] [<f83bf24b>] ?
acpi_idle_enter_simple+0x117/0x151 [processor]
Feb 20 14:46:05 rigel kernel: [17358.879058] [<c11c666d>] ?
cpuidle_idle_call+0x68/0xbb
Feb 20 14:46:05 rigel kernel: [17358.879061] [<c1002388>] ? cpu_idle+0x89/0xa5
Feb 20 14:46:05 rigel kernel: [17358.879063] handlers:
Feb 20 14:46:05 rigel kernel: [17358.879065] [<f80e9ae1>]
(irq_handler+0x0/0x35e [firewire_ohci])
Feb 20 14:46:05 rigel kernel: [17358.879073] [<f81397fa>]
(piix_interrupt+0x0/0x16a [ata_piix])
Feb 20 14:46:05 rigel kernel: [17358.879078] [<f81397fa>]
(piix_interrupt+0x0/0x16a [ata_piix])
Feb 20 14:46:05 rigel kernel: [17358.879083] [<f7c64849>]
(usb_hcd_irq+0x0/0x71 [usbcore])
Feb 20 14:46:05 rigel kernel: [17358.879092] Disabling IRQ #19

irq is tied to two sata hard drives:

root@rigel:/var/log# cat /proc/interrupts
CPU0 CPU1
0: 212138 156976 IO-APIC-edge timer
1: 29 21 IO-APIC-edge i8042
5: 0 0 IO-APIC-edge parport0
8: 0 0 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
16: 10284 8549 IO-APIC-fasteoi uhci_hcd:usb3
18: 8428 10122 IO-APIC-fasteoi pata_marvell,
ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8
19: 14286 13789 IO-APIC-fasteoi firewire_ohci,
ata_piix, ata_piix, uhci_hcd:usb7
21: 0 0 IO-APIC-fasteoi uhci_hcd:usb4
22: 325 238 IO-APIC-fasteoi HDA Intel
23: 13 15 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb6
27: 3374 2647 PCI-MSI-edge eth0
28: 2514 2460 PCI-MSI-edge i915

These hard drives look like this to lspci -v:

00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port
SATA IDE Controller #1 (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corporation Device 0028
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at f190 [size=8]
I/O ports at f180 [size=4]
I/O ports at f170 [size=8]
I/O ports at f160 [size=4]
I/O ports at f150 [size=16]
I/O ports at f140 [size=16]
Capabilities: [70] Power Management version 3
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ata_piix

00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port
SATA IDE Controller #2 (prog-if 85 [Master SecO PriO])
Subsystem: Intel Corporation Device 0028
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at f130 [size=8]
I/O ports at f120 [size=4]
I/O ports at f110 [size=8]
I/O ports at f100 [size=4]
I/O ports at f0f0 [size=16]
I/O ports at f0e0 [size=16]
Capabilities: [70] Power Management version 3
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ata_piix

This is a brand new machine with an Intel DG43GT motherboard, BIOS
looks up to date, running this kernel:

uname -a
Linux rigel 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux

How can I narrow the problem down? For example, the box isn't using
the firewire or usb7 ports; could I remove them, just to make sure
it's the sata drives?

How could I tell if this is a hardware problem as opposed to a bug?

Is there other relevant data I should be considering?

Thanks.

Mark


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTik2QwYjnP8HQBrAMKT=omq9COSw=Lra6y9hU-nU@mail.gmail.com">http://lists.debian.org/AANLkTik2QwYjnP8HQBrAMKT=omq9COSw=Lra6y9hU-nU@mail.gmail.com

Wayne Topa 02-27-2011 11:09 PM

disabling irq assigned to sata hard drives
 
On 02/27/2011 06:16 PM, Mark Copper wrote:

Hi All,

In the last week, my desktop has been disabled by disabling an IRQ
several times.


<--SNIP-->


uname -a
Linux rigel 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux

How can I narrow the problem down? For example, the box isn't using
the firewire or usb7 ports; could I remove them, just to make sure
it's the sata drives?

How could I tell if this is a hardware problem as opposed to a bug?

Is there other relevant data I should be considering?


Not that I can think of.

Thanks for reporting this as I was about to post about the same error
on my wheezy/testing AMD64 partition. I am getting the same error with
IRQ19 and am not able to connect to the net with wicd since Feb 22nd.


In my case it shows up as a kernel error on 2.6.32-30-amd64 and on
2.6.37-1-amd64


Feb 22 12:13:10 dj kernel: [ 604.383622] wlan0: authenticate with 00:21:e8:b5:c4:b5 (try 1)
Feb 22 12:13:10 dj kernel: [ 604.580045] wlan0: authenticate with 00:21:e8:b5:c4:b5 (try 2)
Feb 22 12:13:10 dj kernel: [ 604.780042] wlan0: authenticate with 00:21:e8:b5:c4:b5 (try 3)
Feb 22 12:13:10 dj kernel: [ 604.953908] Pid: 0, comm: kworker/0:0 Not tainted 2.6.37-1-amd64 #1
Feb 22 12:13:10 dj kernel: [ 604.953910] Call Trace:
Feb 22 12:13:10 dj kernel: [ 604.953912] <IRQ> [<ffffffff81092ff1>] ? __report_bad_irq+0x30/0x80
Feb 22 12:13:10 dj kernel: [ 604.953923] [<ffffffff81093168>] ? note_interrupt+0x127/0x19f
Feb 22 12:13:10 dj kernel: [ 604.953927] [<ffffffff8100f6d5>] ? sched_clock+0x5/0x8
Feb 22 12:13:10 dj kernel: [ 604.953931] [<ffffffff81093b47>] ? handle_fasteoi_irq+0xcc/0xf7
Feb 22 12:13:10 dj kernel: [ 604.953935] [<ffffffff8100bf48>] ? handle_irq+0x17/0x1f
Feb 22 12:13:10 dj kernel: [ 604.953938] [<ffffffff8100b603>] ? do_IRQ+0x50/0xb5
Feb 22 12:13:10 dj kernel: [ 604.953942] [<ffffffff8131ef13>] ? ret_from_intr+0x0/0x11
Feb 22 12:13:10 dj kernel: [ 604.953944] <EOI> [<ffffffff81028108>] ? native_safe_halt+0x2/0x3
Feb 22 12:13:10 dj kernel: [ 604.953951] [<ffffffff81010a95>] ? default_idle+0x39/0x57
Feb 22 12:13:10 dj kernel: [ 604.953954] [<ffffffff81010bac>] ? c1e_idle+0xf9/0xfd
Feb 22 12:13:10 dj kernel: [ 604.953957] [<ffffffff81008be9>] ? cpu_idle+0xb2/0x124
Feb 22 12:13:10 dj kernel: [ 604.953960] [<ffffffff81317db4>] ? start_secondary+0x1e5/0x1eb
Feb 22 12:13:10 dj kernel: [ 604.980023] wlan0: authentication with 00:21:e8:b5:c4:b5 timed out


Message from syslogd@dj at Tue Feb 22 12:13:10 2011 ...
dj kernel: [ 604.953998] Disabling IRQ #19


I am still looking for the culprit.

Wayne


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D6AE7A8.1080901@gmail.com">http://lists.debian.org/4D6AE7A8.1080901@gmail.com

Mark Copper 03-06-2011 08:19 PM

disabling irq assigned to sata hard drives
 
A week later, no real progress. One IRQ 19 disabling event.

In light of bug 664400 reported at Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/664400, which
looks tantalizingly similar, I should also mention that I have 2 sata
hard drives configured as a single RAID1 system.

I'm still not seeing any clouds before lightning strikes:
"note_interrupt" only calls "__report_bad_irq" when the number of
unhandled IRQ's approach 100,000
(http://lxr.free-electrons.com/source/kernel/irq/spurious.c?v=2.6.32#L228),
but during normal times I don't see many:
cat /proc/irq/19/spurious
count 33017
unhandled 1
last_unhandled 10978492 ms

I've added the "irqpoll" as a boot option and will wait and see if that helps.

Mark


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTinwGZznp5PKK0+YqpciyHeQHOybxppvMXQziiNH@mail .gmail.com">http://lists.debian.org/AANLkTinwGZznp5PKK0+YqpciyHeQHOybxppvMXQziiNH@mail .gmail.com


All times are GMT. The time now is 03:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.