[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] pv_ops dom0 kernel failure with ata_piix / irq problems



On Sat, Jan 24, 2009 at 04:59:48PM -0800, Jeremy Fitzhardinge wrote:
> Pasi Kärkkäinen wrote:
> >rc = devm_request_irq(dev, ATA_PRIMARY_IRQ(pdev), irq_handler, 
> >IRQF_SHARED, drv_name, host);
> >if (rc)
> >     goto out;
> >
> >and ports names never get assigned because that "goto out;" is executed.
> >
> >So.. Any ideas why devm_request_irq() fails? 
> 
> 
> Good question.  Will need to pick through
> 
> Hm, wonder if its something to do with the handling of the legacy irqs:
> 
> ata_pci_sff_activate_host: pci_read_config_byte()
> ata_pci_sff_activate_host: if (!devres_open_group(dev, NULL, GFP_KERNEL))
> ata_pci_sff_activate_host: if (!legacy_mode && pdev->irq)
> ata_pci_sff_activate_host: legacy_mode
> ata_pci_sff_activate_host: port 0 not dummy: devm_request_irq()
> ata_pci_sff_activate_host: non-legacy-mode irq: 30
> ata_pci_sff_activate_host: requesting ATA_PRIMARY_IRQ(pdev) irq: 14
> ata_pci_sff_activate_host: devm_request_irq() returned != 0, goto out
> ata_pci_sff_activate_host: out
> ata_pci_sff_activate_host: devres_release_group()
> ata_pci_sff_activate_host: end, returning
> 
> 

Yeah, there seems to be something wrong with the legacy irq handling.

PS/2 stuff also confirms that:

PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice

irq 12: nobody cared (try booting with the "irqpoll" option)
Pid: 0, comm: swapper Not tainted 2.6.29-rc1-tip #13
Call Trace:
 [<c046f0da>] __report_bad_irq+0x2e/0x6f
 [<c046f20b>] note_interrupt+0xf0/0x149
 [<c046f7e2>] handle_level_irq+0x7a/0xaf
 [<c046f768>] ? handle_level_irq+0x0/0xaf
 <IRQ>  [<c0590976>] ? xen_evtchn_do_upcall+0xc0/0x139
 [<c0409f27>] ? xen_do_upcall+0x7/0xc
 [<c0402227>] ? _stext+0x227/0x1000
 [<c040656b>] ? xen_force_evtchn_callback+0xf/0x14
 [<c0406cc6>] ? check_events+0x8/0xe
 [<c0406bf7>] ? xen_irq_enable_direct_end+0x0/0x1
 [<c0433759>] ? finish_task_switch+0x63/0xe5
 [<c06defa0>] ? __schedule+0x756/0x7c0
 [<c05909de>] ? xen_evtchn_do_upcall+0x128/0x139
 [<c04096ab>] ? restore_nocheck_notrace+0x0/0xe
 [<c045007b>] ? clocksource_register+0x3e/0x175
 [<c06df007>] ? __schedule+0x7bd/0x7c0
 [<c06df012>] ? schedule+0x8/0x17
 [<c04086bf>] ? cpu_idle+0x9b/0xa0
 [<c06cea46>] ? rest_init+0x4e/0x50
handlers:
[<c061c971>] (i8042_interrupt+0x0/0x1e7)
Disabling IRQ #12

-- Pasi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.