* Ingo Molnar <[EMAIL PROTECTED]> wrote: > entry = get_irq_msi(dev->irq); > pos = entry->msi_attrib.pos; <-------- crash on NULL dereference > > > i.e. 'entry' is NULL after get_irq_msi(). (i can see the crash only on > the VGA screen so no dump of it available. Can write down more info if > it's helpful.) > > I have tried Eric's patch above but now i always get a hang after > "system 00:00: resuming", already upon the first suspend-resume. Not > even the NMI watchdog can get the system out of that hang.
find below the PM log of a successful suspend/resume cycle. (I've marked the place that hangs with '[hard hang]') Ingo ----------------> PM: Preparing system for mem sleep Stopping tasks ... done. psmouse serio2: suspend psmouse serio1: suspend atkbd serio0: suspend i8042 i8042: suspend sd 0:0:0:0: suspend ide 0.0: suspend serial8250 serial8250: suspend platform vesafb.0: suspend pci_express 0000:00:1c.3:pcie03: suspend pci_express 0000:00:1c.3:pcie02: suspend pci_express 0000:00:1c.3:pcie00: suspend pci_express 0000:00:1c.2:pcie03: suspend pci_express 0000:00:1c.2:pcie02: suspend pci_express 0000:00:1c.2:pcie00: suspend pci_express 0000:00:1c.1:pcie03: suspend pci_express 0000:00:1c.1:pcie02: suspend pci_express 0000:00:1c.1:pcie00: suspend pci_express 0000:00:1c.0:pcie03: suspend pci_express 0000:00:1c.0:pcie02: suspend pci_express 0000:00:1c.0:pcie00: suspend platform pcspkr: suspend pnp 00:0a: suspend i8042 aux 00:09: suspend i8042 kbd 00:08: suspend pnp 00:07: suspend pnp 00:06: suspend pnp 00:05: suspend pnp 00:04: suspend pnp 00:03: suspend system 00:02: suspend pnp 00:01: suspend system 00:00: suspend yenta_cardbus 0000:15:00.0: suspend pci 0000:03:00.0: suspend e1000 0000:02:00.0: suspend pci 0000:03:00.0: resuming yenta_cardbus 0000:15:00.0: resuming PM: Writing back config space on device 0000:15:00.0 at offset f (was 34001ff, writing 5c0010b) PM: Writing back config space on device 0000:15:00.0 at offset e (was 0, writing 94fc) PM: Writing back config space on device 0000:15:00.0 at offset d (was 0, writing 9400) PM: Writing back config space on device 0000:15:00.0 at offset c (was 0, writing 90fc) PM: Writing back config space on device 0000:15:00.0 at offset b (was 0, writing 9000) PM: Writing back config space on device 0000:15:00.0 at offset a (was 0, writing 8bfff000) PM: Writing back config space on device 0000:15:00.0 at offset 9 (was 0, writing 88000000) PM: Writing back config space on device 0000:15:00.0 at offset 8 (was 0, writing e3fff000) PM: Writing back config space on device 0000:15:00.0 at offset 7 (was 0, writing e0000000) PM: Writing back config space on device 0000:15:00.0 at offset 6 (was 0, writing b0171615) PM: Writing back config space on device 0000:15:00.0 at offset 4 (was 0, writing e4300000) PM: Writing back config space on device 0000:15:00.0 at offset 3 (was 20000, writing 2a820) PM: Writing back config space on device 0000:15:00.0 at offset 1 (was 2100000, writing 2100007) system 00:00: resuming <-------------- [ hard hang ] pnp 00:01: resuming system 00:02: resuming pnp 00:03: resuming pnp 00:04: resuming pnp 00:05: resuming pnp 00:06: resuming pnp 00:07: resuming i8042 kbd 00:08: resuming i8042 aux 00:09: resuming pnp 00:0a: resuming platform pcspkr: resuming pci_express 0000:00:1c.0:pcie00: resuming pci_express 0000:00:1c.0:pcie02: resuming pci_express 0000:00:1c.0:pcie03: resuming pci_express 0000:00:1c.1:pcie00: resuming pci_express 0000:00:1c.1:pcie02: resuming pci_express 0000:00:1c.1:pcie03: resuming pci_express 0000:00:1c.2:pcie00: resuming pci_express 0000:00:1c.2:pcie02: resuming pci_express 0000:00:1c.2:pcie03: resuming pci_express 0000:00:1c.3:pcie00: resuming pci_express 0000:00:1c.3:pcie02: resuming pci_express 0000:00:1c.3:pcie03: resuming platform vesafb.0: resuming serial8250 serial8250: resuming ide 0.0: resuming sd 0:0:0:0: resuming i8042 i8042: resuming atkbd serio0: resuming psmouse serio1: resuming ata2: SATA link down (SStatus 0 SControl 0) ata3: SATA link down (SStatus 0 SControl 0) ata4: SATA link down (SStatus 0 SControl 0) psmouse serio2: resuming ata1: waiting for device to spin up (7 secs) Restarting tasks ... done. e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata1.00: configured for UDMA/100 SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA PM: Preparing system for mem sleep - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/