linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6.12rc4] PROBLEM: "drive appears confused" and "irq 18: nobody cared!"
@ 2005-05-18 22:24 Alexander Fieroch
  2005-05-27 19:30 ` Alexander Fieroch
  2005-05-28  0:16 ` Andrew Morton
  0 siblings, 2 replies; 36+ messages in thread
From: Alexander Fieroch @ 2005-05-18 22:24 UTC (permalink / raw)
  To: linux-kernel

Problem 1:
while booting the message "hdb: cdrom_pc_intr: The drive appears
confused (ireason = 0x01)" repeats several times and the system hangs
for some seconds. After booting sometimes I get the same message and
linux hangs.

Problem 2:
syslog message "irq 18: nobody cared!" followed by a call trace repeats
while booting and while running linux.

On the bottom of this mail you'll find an extract of /var/log/syslog
showing this error.


My system is a P4 630 with em64t, ASUS P5GD2 Premium board (ICH6
chipset) and nvidia 6600GT PCIe graphic card.
I'm running a self compiled kernel 2.6.12rc4 but I've had these bugs in
 self compiled kernel 2.6.11.8 and default debian kernel
2.6.11-9-em64t-p4-smp too.
The default debian kernel 2.6.8-11-em64t-p4-smp seems to be the only one
where problem 1 does not occur but problem 2 does.



/var/log/syslog:

...
ICH6: chipset revision 3
ICH6: 100%% native mode on irq 18
    ide0: BM-DMA at 0x5800-0x5807, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0x5808-0x580f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: IC35L060AVV207-0, ATA DISK drive
hdb: SONY CD-RW CRX210E1, ATAPI CD/DVD-ROM drive
ide0 at 0x7000-0x7007,0x6802 on irq 18
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 1024KiB
hda: 120103200 sectors (61492 MB) w/1821KiB Cache, CHS=16383/255/63,
UDMA(100)
hda: cache flushes supported
 hda: hda1
hdb: packet command error: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
Losing some ticks... checking if CPU frequency changed.
ide: failed opcode was: unknown
hdb: drive not ready for command
hdb: cdrom_pc_intr: The drive appears confused (ireason = 0x01)
last message repeated 37 times
irq 18: nobody cared!

Call Trace: <IRQ> <ffffffff80151c54>{__report_bad_irq+48}
<ffffffff80151d18>{note_interrupt+91}
       <ffffffff801516d3>{__do_IRQ+257} <ffffffff80110469>{do_IRQ+67}
       <ffffffff8010ddc1>{ret_from_intr+0}  <EOI>
<ffffffff8010dee9>{retint_kernel+38}
       <ffffffff8010bb2c>{mwait_idle+94} <ffffffff8010bab0>{cpu_idle+71}
       <ffffffff80670876>{start_kernel+445}
<ffffffff8067022c>{x86_64_start_kernel+320}

handlers:
[<ffffffff80308031>] (ide_intr+0x0/0x17a)
Disabling IRQ #18
ide-cd: cmd 0x5a timed out
hdb: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdb: DMA disabled
hdb: ATAPI reset complete
hdb: cdrom_pc_intr: The drive appears confused (ireason = 0x01)
last message repeated 52 times
Uniform CD-ROM driver Revision: 3.20
hdb: cdrom_pc_intr: The drive appears confused (ireason = 0x01)
last message repeated 3 times
...


^ permalink raw reply	[flat|nested] 36+ messages in thread
* RE: PROBLEM: "drive appears confused" and "irq 18: nobody cared!"
@ 2005-07-06 15:33 Protasevich, Natalie
  2005-07-06 23:20 ` Alexander Fieroch
  0 siblings, 1 reply; 36+ messages in thread
From: Protasevich, Natalie @ 2005-07-06 15:33 UTC (permalink / raw)
  To: Alexander Fieroch
  Cc: Jesper Juhl, Alan Cox, bzolnier, Linux Kernel Mailing List,
	axboe, Bartlomiej Zolnierkiewicz, Alexey Dobriyan, Andrew Morton


> Hm, I did not get any answer to my last report last week. 
> Didn't you get it?
> 
> There are still the same errors in kernel 2.6.13rc2 as in 
> 2.6.13rc1. So I've attached an up to date syslog and the last 
> error report below.
> 
Hi Alexander,
To me, it looks like both IDE channels get wrong IRQ. Didn't you
verified previously that when you go without IDE the system boots up OK?
They get some interrupts because when IRQ 201 occurs triggered by USB,
the handler for ide runs also, since it is shared with both ide and
uhci. (Can you also attach output for "cat /proc/interrupts" please).
> 
>  >Then I would try forth-feeding IRQ 14 to the IDE.
> 
> I don't know how to do that.

I was going to put some code together for you over the weekend, but got
caught up in other things, sorry. The idea was to forcibly assign IRQ 14
for ide0 and IRQ 15 for ide1 in the ide driver, setup-pci.c (just for
diagnostics and proof of concept so to speak) and see if devices become
sane.
I will try tweaking it tonight. I need to make sure it works on my
system first and if it does I will send you the code. 
Thanks,
--Natalie

> Regards,
> Alexander
> 
> 
> 

^ permalink raw reply	[flat|nested] 36+ messages in thread
* RE: PROBLEM: "drive appears confused" and "irq 18: nobody cared!"
@ 2005-07-11  5:35 Protasevich, Natalie
  0 siblings, 0 replies; 36+ messages in thread
From: Protasevich, Natalie @ 2005-07-11  5:35 UTC (permalink / raw)
  To: Alan Cox, Bartlomiej Zolnierkiewicz, axboe, Alexander Fieroch
  Cc: Jesper Juhl, jgarzik, bzolnier, Alexey Dobriyan,
	Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 3062 bytes --]

We did a few experiments with assigning IRQ 14 and 15, and didn't get
anywhere. 
Then I asked Alexander for the MP routing table, and it became clear
that 14 and 15 are not wired on his system. 
Below is some information that we collected.
I am showing here the case when Alexander booted with acpi=off and no
MSI, to simplify the picture.
The interrupt routing according to MPS:
I/O APIC #2 Version 32 at 0xFEC00000.
Int: type 3, pol 0, trig 0, bus 5, IRQ 00, APIC ID 2, APIC INT 00 
Int: type 0, pol 0, trig 0, bus 5, IRQ 01, APIC ID 2, APIC INT 01 
Int: type 0, pol 0, trig 0, bus 5, IRQ 00, APIC ID 2, APIC INT 02 
Int: type 0, pol 0, trig 0, bus 5, IRQ 04, APIC ID 2, APIC INT 04
Int: type 0, pol 0, trig 0, bus 5, IRQ 06, APIC ID 2, APIC INT 06 
Int: type 0, pol 0, trig 0, bus 5, IRQ 07, APIC ID 2, APIC INT 07
Int: type 0, pol 1, trig 1, bus 5, IRQ 08, APIC ID 2, APIC INT 08 
Int: type 0, pol 0, trig 0, bus 5, IRQ 09, APIC ID 2, APIC INT 09  
Int: type 0, pol 0, trig 0, bus 5, IRQ 0a, APIC ID 2, APIC INT 0a  
Int: type 0, pol 0, trig 0, bus 5, IRQ 0c, APIC ID 2, APIC INT 0c 
Int: type 0, pol 0, trig 0, bus 5, IRQ 0d, APIC ID 2, APIC INT 0d 
Int: type 0, pol 3, trig 3, bus 0, IRQ 04, APIC ID 2, APIC INT 10
Int: type 0, pol 3, trig 3, bus 4, IRQ 00, APIC ID 2, APIC INT 10
Int: type 0, pol 3, trig 3, bus 0, IRQ 70, APIC ID 2, APIC INT 10
Int: type 0, pol 3, trig 3, bus 0, IRQ 71, APIC ID 2, APIC INT 11
Int: type 0, pol 3, trig 3, bus 0, IRQ 7c, APIC ID 2, APIC INT 12
Int: type 0, pol 3, trig 3, bus 0, IRQ 7d, APIC ID 2, APIC INT 13
Int: type 0, pol 3, trig 3, bus 0, IRQ 74, APIC ID 2, APIC INT 17
Int: type 0, pol 3, trig 3, bus 0, IRQ 75, APIC ID 2, APIC INT 13
Int: type 0, pol 3, trig 3, bus 0, IRQ 76, APIC ID 2, APIC INT 12
Int: type 0, pol 3, trig 3, bus 0, IRQ 77, APIC ID 2, APIC INT 10
Int: type 0, pol 3, trig 3, bus 0, IRQ 6c, APIC ID 2, APIC INT 10
Int: type 0, pol 3, trig 3, bus 1, IRQ 28, APIC ID 2, APIC INT 15
Int: type 0, pol 3, trig 3, bus 1, IRQ 24, APIC ID 2, APIC INT 11
Int: type 0, pol 3, trig 3, bus 1, IRQ 0c, APIC ID 2, APIC INT 15
Int: type 0, pol 3, trig 3, bus 2, IRQ 00, APIC ID 2, APIC INT 11
Int: type 0, pol 3, trig 3, bus 1, IRQ 18, APIC ID 2, APIC INT 10
Int: type 0, pol 3, trig 3, bus 1, IRQ 10, APIC ID 2, APIC INT 17 
 
           CPU0       
  0:     164179    IO-APIC-edge  timer
  1:        183    IO-APIC-edge  i8042
  2:          0          XT-PIC  cascade
  8:          0    IO-APIC-edge  rtc
 16:       2330   IO-APIC-level  skge, uhci_hcd:usb5, HDA Intel
 17:          3   IO-APIC-level  bttv0
 18:    4400000   IO-APIC-level  ide0, uhci_hcd:usb4
 19:       4824   IO-APIC-level  libata, uhci_hcd:usb3
 21:          3   IO-APIC-level  ohci1394, Ensoniq AudioPCI
 23:       1246   IO-APIC-level  ide2, ehci_hcd:usb1, uhci_hcd:usb2
NMI:        543 
LOC:     163040 
ERR:          0
MIS:          0

I am also attaching full trace.
Hope someone familiar with the chipset will be able to make sense out of
this data...

Thanks,
--Natalie

[-- Attachment #2: syslog2613rc2patch-nomsi.bz2 --]
[-- Type: application/octet-stream, Size: 55392 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2005-08-19 11:12 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-18 22:24 [2.6.12rc4] PROBLEM: "drive appears confused" and "irq 18: nobody cared!" Alexander Fieroch
2005-05-27 19:30 ` Alexander Fieroch
2005-05-28  0:16 ` Andrew Morton
2005-05-29 20:18   ` Alexander Fieroch
2005-06-14  8:04     ` Bartlomiej Zolnierkiewicz
2005-06-15 20:39       ` Alexander Fieroch
2005-06-15 21:30         ` Andrew Morton
2005-06-16 22:23           ` Alan Cox
2005-06-16 23:52             ` Bartlomiej Zolnierkiewicz
2005-06-17 10:49             ` Alexander Fieroch
2005-06-17 12:38               ` Alan Cox
2005-06-17 17:05                 ` Alexander Fieroch
2005-06-17 17:17                   ` Jesper Juhl
2005-06-29 13:47                     ` Alexander Fieroch
2005-07-06 10:17                     ` Alexander Fieroch
2005-07-29 22:38                       ` Alexander Fieroch
2005-07-30  0:57                         ` Michael Thonke
2005-07-29 23:05                           ` Parag Warudkar
2005-07-30  1:42                             ` Alexey Dobriyan
2005-08-01 14:38                               ` Alexander Fieroch
2005-08-01 14:56                                 ` Alexander Fieroch
2005-08-01 19:23                                 ` Krzysztof Halasa
2005-08-01 19:28                                   ` Bartlomiej Zolnierkiewicz
2005-08-09 17:28                                     ` Alexander Fieroch
2005-08-09 22:14                                       ` Alan Cox
2005-08-19 11:12                                     ` Alexander Fieroch
2005-07-31 22:15                           ` Alexander Fieroch
2005-07-06 10:19                     ` Alexander Fieroch
     [not found]                     ` <42C0953B.8000506@web.de>
2005-06-28 13:47                       ` [2.6.12rc4] " Alan Cox
2005-08-04 20:25                       ` Andrew Morton
2005-08-05 10:19                         ` Alan Cox
2005-06-17 11:29           ` Alexander Fieroch
2005-06-13 17:59   ` Alexander Fieroch
2005-07-06 15:33 Protasevich, Natalie
2005-07-06 23:20 ` Alexander Fieroch
2005-07-11  5:35 Protasevich, Natalie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).