linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: [2.6.12rc4] PROBLEM: "drive appears confused" and "irq 18:     nobody cared!"
@ 2005-06-17 17:32 Protasevich, Natalie
  2005-06-20  8:08 ` Alexander Fieroch
  0 siblings, 1 reply; 24+ messages in thread
From: Protasevich, Natalie @ 2005-06-17 17:32 UTC (permalink / raw)
  To: Alexander Fieroch, Alan Cox
  Cc: bzolnier, Linux Kernel Mailing List, axboe, Bartlomiej Zolnierkiewicz

> Alan Cox wrote:
> >>Jun 17 12:07:49 orclex kernel: hdb: cdrom_pc_intr: The 
> drive appears 
> >>confused (ireason = 0x01) Jun 17 12:07:49 orclex kernel: 
> irq 18: nobody cared (try booting with the "irqpoll" option.
> > 
> > Something failed to clear IRQ 18, that typically means 
> there are IRQ 
> > routing problems rather than IDE ones and would explain your traces.
> > 
> > Try booting with acpi=off and see what trace you get then.
> 
> acpi=off makes linux hang and not continuing booting. Hm, 
> syslog does not contain the trace until that crash but the 
> last lines before the hanging are:
> 
> ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 
> 10 Dec 2004 hub 1-0:1.0: USB hub found
> 
> 
> I've tried booting the kernel with parameter irqpoll as you 
> have suggested but it leads to a kernel panic.
> The last line was:
> 
> kernel panic - not syncing: Aiee, killing interrupt handler!
> 
> It's not saved in syslog too, so is there any way to get the 
> trace to a file?

You can set up a serial console and capture the output.
 
I would also recommend booting with pci=routeirq, this will show the
pre-disposition of each GSI->IRQ pair, although sometimes it changes IRQ
distribution, and you may get different error. Also try using apic=debug
or acpi=verbose to see the IO-APIC lines setup. For debug failed IRQs, I
sometimes insert print_io_APIC() after each PCI device IRQ registration,
to see it got edge or level triggered and other details. 
The other one that I saw causing problems especially for ISA devices is
ACPI PnP (and still does, I'm researching a similar problem on ES7000),
and in this case I get my system booted with pnpacpi=off.
Thanks,
--Natalie

^ permalink raw reply	[flat|nested] 24+ messages in thread
[parent not found: <19D0D50E9B1D0A40A9F0323DBFA04ACCE04C08@USRV-EXCH4.na.uis.unisys.com>]
* RE: [2.6.12rc4] PROBLEM: "drive appears confused" and "irq 18:  nobody cared!"
@ 2005-06-17 18:41 Protasevich, Natalie
  0 siblings, 0 replies; 24+ messages in thread
From: Protasevich, Natalie @ 2005-06-17 18:41 UTC (permalink / raw)
  To: Alan Cox, Alexander Fieroch
  Cc: bzolnier, Linux Kernel Mailing List, axboe, Bartlomiej Zolnierkiewicz


> > Jun 17 12:07:49 orclex kernel: ICH6: 100% native mode on 
> irq 18 Jun 17 
> > 12:07:49 orclex kernel: ide0: BM-DMA at 0x5800-0x5807, BIOS 
> settings: 
> > hda:DMA, hdb:DMA Jun 17 12:07:49 orclex kernel: ide1: BM-DMA at 
> > 0x5808-0x580f, BIOS settings: hdc:pio, hdd:pio
> 
> This seems an unusual setup - the ICH6 is in native mode not 
> legacy as I'd have expected.
> 
> > Jun 17 12:07:49 orclex kernel: hdb: cdrom_pc_intr: The 
> drive appears 
> > confused (ireason = 0x01) Jun 17 12:07:49 orclex kernel: 
> irq 18: nobody cared (try booting with the "irqpoll" option.
> 
> Something failed to clear IRQ 18, that typically means there 
> are IRQ routing problems rather than IDE ones and would 
> explain your traces.
> 

This looks like a problem to me:

Jun 17 09:53:02 orclex kernel: Uniform Multi-Platform E-IDE driver
Revision: 7.00alpha2
Jun 17 09:53:02 orclex kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Jun 17 09:53:02 orclex kernel: ICH6: IDE controller at PCI slot
0000:00:1f.1
Jun 17 09:53:02 orclex kernel: ACPI: PCI Interrupt 0000:00:1f.1[A] ->
GSI 18 (level, low) -> IRQ 217 <=== level IRQ
Jun 17 09:53:02 orclex kernel: ICH6: chipset revision 3
Jun 17 09:53:02 orclex kernel: ICH6: 100% native mode on irq 217
Jun 17 09:53:02 orclex kernel: ide0: BM-DMA at 0x5800-0x5807, BIOS
settings: hda:DMA, hdb:DMA
Jun 17 09:53:02 orclex kernel: ide1: BM-DMA at 0x5808-0x580f, BIOS
settings: hdc:pio, hdd:pio
Jun 17 09:53:02 orclex kernel: Probing IDE interface ide0...
Jun 17 09:53:02 orclex kernel: hda: IC35L060AVV207-0, ATA DISK drive
Jun 17 09:53:02 orclex kernel: hdb: SONY CD-RW CRX210E1, ATAPI
CD/DVD-ROM drive
Jun 17 09:53:02 orclex kernel: ide0 at 0x7000-0x7007,0x6802 on irq 217
<=========== here it's used for IDE

^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: [2.6.12rc4] PROBLEM: "drive appears confused" and "irq 18:     nobody cared!"
@ 2005-06-17 17:38 Protasevich, Natalie
  0 siblings, 0 replies; 24+ messages in thread
From: Protasevich, Natalie @ 2005-06-17 17:38 UTC (permalink / raw)
  To: Protasevich, Natalie, Alexander Fieroch, Alan Cox
  Cc: bzolnier, Linux Kernel Mailing List, axboe, Bartlomiej Zolnierkiewicz

> different error. Also try using apic=debug or acpi=verbose to 
Oops, that was suppose to be apic=verbose.
> 

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [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; 24+ 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] 24+ messages in thread

end of thread, other threads:[~2005-08-05  9:55 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-17 17:32 [2.6.12rc4] PROBLEM: "drive appears confused" and "irq 18: nobody cared!" Protasevich, Natalie
2005-06-20  8:08 ` Alexander Fieroch
     [not found] <19D0D50E9B1D0A40A9F0323DBFA04ACCE04C08@USRV-EXCH4.na.uis.unisys.com>
2005-06-21 18:22 ` Alexander Fieroch
  -- strict thread matches above, loose matches on Subject: below --
2005-06-17 18:41 Protasevich, Natalie
2005-06-17 17:38 Protasevich, Natalie
2005-05-18 22:24 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
     [not found]                     ` <42C0953B.8000506@web.de>
2005-06-28 13:47                       ` 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

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).