Re: ACPI S3 and ieee1394 don't get along

From: Lukas Hejtmanek
Date: Thu Sep 15 2005 - 09:21:27 EST


Hello,

I found, that if you insert module ohci1394 before S3, than everything is ok
after resume.

Next, if you do not do that, then after resume modprobe ohci1394 fails:
(I added dump_stack() to see what happened)
ohci1394: $Rev: 1299 $ Ben Collins <bcollins@xxxxxxxxxx>
ACPI: PCI Interrupt 0000:01:01.1[B] -> GSI 16 (level, low) -> IRQ 16
ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[pg0+526438805/1069020160] set_phy_reg+0xc5/0xe0 [ohci1394]
[pg0+526440116/1069020160] ohci_initialize+0xb4/0x330 [ohci1394]
[pg0+526449792/1069020160] ohci_irq_handler+0x0/0x850 [ohci1394]
[request_irq+142/192] request_irq+0x8e/0xc0
[pg0+526457413/1069020160] ohci1394_pci_probe+0x455/0x6b0 [ohci1394]
[pg0+526449792/1069020160] ohci_irq_handler+0x0/0x850 [ohci1394]
[__pci_device_probe+95/112] __pci_device_probe+0x5f/0x70
[pci_device_probe+47/96] pci_device_probe+0x2f/0x60
[driver_probe_device+56/208] driver_probe_device+0x38/0xd0
[__driver_attach+0/80] __driver_attach+0x0/0x50
[__driver_attach+65/80] __driver_attach+0x41/0x50
[bus_for_each_dev+93/128] bus_for_each_dev+0x5d/0x80
[driver_attach+37/48] driver_attach+0x25/0x30
[__driver_attach+0/80] __driver_attach+0x0/0x50
[bus_add_driver+132/240] bus_add_driver+0x84/0xf0
[pci_register_driver+109/128] pci_register_driver+0x6d/0x80
[pg0+524607503/1069020160] ohci1394_init+0xf/0x11 [ohci1394]
[sys_init_module+330/512] sys_init_module+0x14a/0x200
[syscall_call+7/11] syscall_call+0x7/0xb
ohci1394: fw-host0: Runaway loop while stopping context: ...

However, module is loaded but nonfunctional. BUT if you do S3 again, then after
resume module can be unloaded and next modprobe ohci1394 is now working! (Tested
right now.)

--
Lukáš Hejtmánek
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/