2011-06-15 07:07:20

by Maarten Lankhorst

[permalink] [raw]
Subject: device plugged into xhci port not detected after a resume

I plugged a simple usb mouse in xhci that isn't found after a resume.

It's with the same lovely controller as I used with the previous bug.
Plugging in the controller to the same port doesn't cause it to be
detected again, I need to remodprobe xhci-hcd

suspended with echo mem > /sys/power/state

[ 504.199872] xhci_hcd 0000:04:00.0: Cancel URB ffff8801c348b300
[ 504.199875] xhci_hcd 0000:04:00.0: Event ring:
[ 504.199877] xhci_hcd 0000:04:00.0: @0000000002420400 02409150 00000000 01000000 01038001
[ 504.199878] xhci_hcd 0000:04:00.0: @0000000002420410 02409160 00000000 01000000 01038001
[ 504.199879] xhci_hcd 0000:04:00.0: @0000000002420420 02409170 00000000 01000000 01038001
[ 504.199880] xhci_hcd 0000:04:00.0: @0000000002420430 02409180 00000000 01000000 01038001
[ 504.199881] xhci_hcd 0000:04:00.0: @0000000002420440 02409190 00000000 01000000 01038001
[ 504.199882] xhci_hcd 0000:04:00.0: @0000000002420450 024091a0 00000000 01000000 01038001
[ 504.199883] xhci_hcd 0000:04:00.0: @0000000002420460 024091b0 00000000 01000000 01038001
[ 504.199884] xhci_hcd 0000:04:00.0: @0000000002420470 024091c0 00000000 01000000 01038001
[ 504.199885] xhci_hcd 0000:04:00.0: @0000000002420480 024091d0 00000000 01000000 01038001
[ 504.199887] xhci_hcd 0000:04:00.0: @0000000002420490 024091e0 00000000 01000000 01038001
[ 504.199888] xhci_hcd 0000:04:00.0: @00000000024204a0 024091f0 00000000 01000000 01038001
[ 504.199889] xhci_hcd 0000:04:00.0: @00000000024204b0 02409200 00000000 01000000 01038001
[ 504.199890] xhci_hcd 0000:04:00.0: @00000000024204c0 02409210 00000000 01000000 01038001
[ 504.199891] xhci_hcd 0000:04:00.0: @00000000024204d0 02409220 00000000 01000000 01038001
[ 504.199892] xhci_hcd 0000:04:00.0: @00000000024204e0 02409230 00000000 01000000 01038001
[ 504.199893] xhci_hcd 0000:04:00.0: @00000000024204f0 02409240 00000000 01000000 01038001
[ 504.199894] xhci_hcd 0000:04:00.0: @0000000002420500 02409250 00000000 01000000 01038001
[ 504.199895] xhci_hcd 0000:04:00.0: @0000000002420510 02409260 00000000 01000000 01038001
[ 504.199896] xhci_hcd 0000:04:00.0: @0000000002420520 02409270 00000000 01000000 01038001
[ 504.199897] xhci_hcd 0000:04:00.0: @0000000002420530 02409280 00000000 01000000 01038001
[ 504.199899] xhci_hcd 0000:04:00.0: @0000000002420540 02409290 00000000 01000000 01038001
[ 504.199900] xhci_hcd 0000:04:00.0: @0000000002420550 024092a0 00000000 01000000 01038001
[ 504.199901] xhci_hcd 0000:04:00.0: @0000000002420560 024092b0 00000000 01000000 01038001
[ 504.199902] xhci_hcd 0000:04:00.0: @0000000002420570 024092c0 00000000 01000000 01038001
[ 504.199903] xhci_hcd 0000:04:00.0: @0000000002420580 024092d0 00000000 01000000 01038001
[ 504.199904] xhci_hcd 0000:04:00.0: @0000000002420590 024092e0 00000000 01000000 01038001
[ 504.199905] xhci_hcd 0000:04:00.0: @00000000024205a0 024092f0 00000000 01000000 01038001
[ 504.199906] xhci_hcd 0000:04:00.0: @00000000024205b0 02409300 00000000 01000000 01038001
[ 504.199907] xhci_hcd 0000:04:00.0: @00000000024205c0 02409310 00000000 01000000 01038001
[ 504.199908] xhci_hcd 0000:04:00.0: @00000000024205d0 02409320 00000000 01000000 01038001
[ 504.199909] xhci_hcd 0000:04:00.0: @00000000024205e0 02409330 00000000 01000000 01038001
[ 504.199911] xhci_hcd 0000:04:00.0: @00000000024205f0 02409340 00000000 01000000 01038001
[ 504.199912] xhci_hcd 0000:04:00.0: @0000000002420600 02409350 00000000 01000000 01038001
[ 504.199913] xhci_hcd 0000:04:00.0: @0000000002420610 02409350 00000000 01000000 01038000
[ 504.199914] xhci_hcd 0000:04:00.0: @0000000002420620 02409360 00000000 01000000 01038000
[ 504.199915] xhci_hcd 0000:04:00.0: @0000000002420630 02409370 00000000 01000000 01038000
[ 504.199916] xhci_hcd 0000:04:00.0: @0000000002420640 02409380 00000000 01000000 01038000
[ 504.199917] xhci_hcd 0000:04:00.0: @0000000002420650 02409390 00000000 01000000 01038000
[ 504.199918] xhci_hcd 0000:04:00.0: @0000000002420660 024093a0 00000000 01000000 01038000
[ 504.199919] xhci_hcd 0000:04:00.0: @0000000002420670 024093b0 00000000 01000000 01038000
[ 504.199920] xhci_hcd 0000:04:00.0: @0000000002420680 024093c0 00000000 01000000 01038000
[ 504.199921] xhci_hcd 0000:04:00.0: @0000000002420690 024093d0 00000000 01000000 01038000
[ 504.199923] xhci_hcd 0000:04:00.0: @00000000024206a0 024093e0 00000000 01000000 01038000
[ 504.199924] xhci_hcd 0000:04:00.0: @00000000024206b0 02409000 00000000 01000000 01038000
[ 504.199925] xhci_hcd 0000:04:00.0: @00000000024206c0 02409010 00000000 01000000 01038000
[ 504.199926] xhci_hcd 0000:04:00.0: @00000000024206d0 02409020 00000000 01000000 01038000
[ 504.199927] xhci_hcd 0000:04:00.0: @00000000024206e0 02409030 00000000 01000000 01038000
[ 504.199928] xhci_hcd 0000:04:00.0: @00000000024206f0 02409040 00000000 01000000 01038000
[ 504.199929] xhci_hcd 0000:04:00.0: @0000000002420700 02409050 00000000 01000000 01038000
[ 504.199930] xhci_hcd 0000:04:00.0: @0000000002420710 02409060 00000000 01000000 01038000
[ 504.199931] xhci_hcd 0000:04:00.0: @0000000002420720 02409070 00000000 01000000 01038000
[ 504.199932] xhci_hcd 0000:04:00.0: @0000000002420730 02409080 00000000 01000000 01038000
[ 504.199933] xhci_hcd 0000:04:00.0: @0000000002420740 02409090 00000000 01000000 01038000
[ 504.199935] xhci_hcd 0000:04:00.0: @0000000002420750 024090a0 00000000 01000000 01038000
[ 504.199936] xhci_hcd 0000:04:00.0: @0000000002420760 024090b0 00000000 01000000 01038000
[ 504.199937] xhci_hcd 0000:04:00.0: @0000000002420770 024090c0 00000000 01000000 01038000
[ 504.199938] xhci_hcd 0000:04:00.0: @0000000002420780 024090d0 00000000 01000000 01038000
[ 504.199939] xhci_hcd 0000:04:00.0: @0000000002420790 024090e0 00000000 01000000 01038000
[ 504.199940] xhci_hcd 0000:04:00.0: @00000000024207a0 024090f0 00000000 01000000 01038000
[ 504.199941] xhci_hcd 0000:04:00.0: @00000000024207b0 02409100 00000000 01000000 01038000
[ 504.199942] xhci_hcd 0000:04:00.0: @00000000024207c0 02409110 00000000 01000000 01038000
[ 504.199943] xhci_hcd 0000:04:00.0: @00000000024207d0 02409120 00000000 01000000 01038000
[ 504.199944] xhci_hcd 0000:04:00.0: @00000000024207e0 02409130 00000000 01000000 01038000
[ 504.199945] xhci_hcd 0000:04:00.0: @00000000024207f0 02409140 00000000 01000000 01038000
[ 504.199947] xhci_hcd 0000:04:00.0: Endpoint ring:
[ 504.199948] xhci_hcd 0000:04:00.0: @0000000002409000 0240a000 00000000 00000008 00000424
[ 504.199949] xhci_hcd 0000:04:00.0: @0000000002409010 0240a000 00000000 00000008 00000424
[ 504.199950] xhci_hcd 0000:04:00.0: @0000000002409020 0240a000 00000000 00000008 00000424
[ 504.199951] xhci_hcd 0000:04:00.0: @0000000002409030 0240a000 00000000 00000008 00000424
[ 504.199952] xhci_hcd 0000:04:00.0: @0000000002409040 0240a000 00000000 00000008 00000424
[ 504.199953] xhci_hcd 0000:04:00.0: @0000000002409050 0240a000 00000000 00000008 00000424
[ 504.199954] xhci_hcd 0000:04:00.0: @0000000002409060 0240a000 00000000 00000008 00000424
[ 504.199955] xhci_hcd 0000:04:00.0: @0000000002409070 0240a000 00000000 00000008 00000424
[ 504.199957] xhci_hcd 0000:04:00.0: @0000000002409080 0240a000 00000000 00000008 00000424
[ 504.199958] xhci_hcd 0000:04:00.0: @0000000002409090 0240a000 00000000 00000008 00000424
[ 504.199959] xhci_hcd 0000:04:00.0: @00000000024090a0 0240a000 00000000 00000008 00000424
[ 504.199960] xhci_hcd 0000:04:00.0: @00000000024090b0 0240a000 00000000 00000008 00000424
[ 504.199961] xhci_hcd 0000:04:00.0: @00000000024090c0 0240a000 00000000 00000008 00000424
[ 504.199962] xhci_hcd 0000:04:00.0: @00000000024090d0 0240a000 00000000 00000008 00000424
[ 504.199963] xhci_hcd 0000:04:00.0: @00000000024090e0 0240a000 00000000 00000008 00000424
[ 504.199964] xhci_hcd 0000:04:00.0: @00000000024090f0 0240a000 00000000 00000008 00000424
[ 504.199965] xhci_hcd 0000:04:00.0: @0000000002409100 0240a000 00000000 00000008 00000424
[ 504.199966] xhci_hcd 0000:04:00.0: @0000000002409110 0240a000 00000000 00000008 00000424
[ 504.199967] xhci_hcd 0000:04:00.0: @0000000002409120 0240a000 00000000 00000008 00000424
[ 504.199968] xhci_hcd 0000:04:00.0: @0000000002409130 0240a000 00000000 00000008 00000424
[ 504.199970] xhci_hcd 0000:04:00.0: @0000000002409140 0240a000 00000000 00000008 00000424
[ 504.199971] xhci_hcd 0000:04:00.0: @0000000002409150 0240a000 00000000 00000008 00000424
[ 504.199972] xhci_hcd 0000:04:00.0: @0000000002409160 0240a000 00000000 00000008 00000424
[ 504.199973] xhci_hcd 0000:04:00.0: @0000000002409170 0240a000 00000000 00000008 00000424
[ 504.199974] xhci_hcd 0000:04:00.0: @0000000002409180 0240a000 00000000 00000008 00000424
[ 504.199975] xhci_hcd 0000:04:00.0: @0000000002409190 0240a000 00000000 00000008 00000424
[ 504.199976] xhci_hcd 0000:04:00.0: @00000000024091a0 0240a000 00000000 00000008 00000424
[ 504.199977] xhci_hcd 0000:04:00.0: @00000000024091b0 0240a000 00000000 00000008 00000424
[ 504.199978] xhci_hcd 0000:04:00.0: @00000000024091c0 0240a000 00000000 00000008 00000424
[ 504.199979] xhci_hcd 0000:04:00.0: @00000000024091d0 0240a000 00000000 00000008 00000424
[ 504.199980] xhci_hcd 0000:04:00.0: @00000000024091e0 0240a000 00000000 00000008 00000424
[ 504.199981] xhci_hcd 0000:04:00.0: @00000000024091f0 0240a000 00000000 00000008 00000424
[ 504.199983] xhci_hcd 0000:04:00.0: @0000000002409200 0240a000 00000000 00000008 00000424
[ 504.199984] xhci_hcd 0000:04:00.0: @0000000002409210 0240a000 00000000 00000008 00000424
[ 504.199985] xhci_hcd 0000:04:00.0: @0000000002409220 0240a000 00000000 00000008 00000424
[ 504.199986] xhci_hcd 0000:04:00.0: @0000000002409230 0240a000 00000000 00000008 00000424
[ 504.199987] xhci_hcd 0000:04:00.0: @0000000002409240 0240a000 00000000 00000008 00000424
[ 504.199988] xhci_hcd 0000:04:00.0: @0000000002409250 0240a000 00000000 00000008 00000424
[ 504.199989] xhci_hcd 0000:04:00.0: @0000000002409260 0240a000 00000000 00000008 00000424
[ 504.199990] xhci_hcd 0000:04:00.0: @0000000002409270 0240a000 00000000 00000008 00000424
[ 504.199991] xhci_hcd 0000:04:00.0: @0000000002409280 0240a000 00000000 00000008 00000424
[ 504.199992] xhci_hcd 0000:04:00.0: @0000000002409290 0240a000 00000000 00000008 00000424
[ 504.199993] xhci_hcd 0000:04:00.0: @00000000024092a0 0240a000 00000000 00000008 00000424
[ 504.199994] xhci_hcd 0000:04:00.0: @00000000024092b0 0240a000 00000000 00000008 00000424
[ 504.199995] xhci_hcd 0000:04:00.0: @00000000024092c0 0240a000 00000000 00000008 00000424
[ 504.199996] xhci_hcd 0000:04:00.0: @00000000024092d0 0240a000 00000000 00000008 00000424
[ 504.199998] xhci_hcd 0000:04:00.0: @00000000024092e0 0240a000 00000000 00000008 00000424
[ 504.199999] xhci_hcd 0000:04:00.0: @00000000024092f0 0240a000 00000000 00000008 00000424
[ 504.200000] xhci_hcd 0000:04:00.0: @0000000002409300 0240a000 00000000 00000008 00000424
[ 504.200001] xhci_hcd 0000:04:00.0: @0000000002409310 0240a000 00000000 00000008 00000424
[ 504.200002] xhci_hcd 0000:04:00.0: @0000000002409320 0240a000 00000000 00000008 00000424
[ 504.200003] xhci_hcd 0000:04:00.0: @0000000002409330 0240a000 00000000 00000008 00000424
[ 504.200004] xhci_hcd 0000:04:00.0: @0000000002409340 0240a000 00000000 00000008 00000424
[ 504.200005] xhci_hcd 0000:04:00.0: @0000000002409350 0240a000 00000000 00000008 00000424
[ 504.200006] xhci_hcd 0000:04:00.0: @0000000002409360 0240a000 00000000 00000008 00000424
[ 504.200007] xhci_hcd 0000:04:00.0: @0000000002409370 0240a000 00000000 00000008 00000425
[ 504.200008] xhci_hcd 0000:04:00.0: @0000000002409380 0240a000 00000000 00000008 00000425
[ 504.200009] xhci_hcd 0000:04:00.0: @0000000002409390 0240a000 00000000 00000008 00000425
[ 504.200010] xhci_hcd 0000:04:00.0: @00000000024093a0 0240a000 00000000 00000008 00000425
[ 504.200011] xhci_hcd 0000:04:00.0: @00000000024093b0 0240a000 00000000 00000008 00000425
[ 504.200013] xhci_hcd 0000:04:00.0: @00000000024093c0 0240a000 00000000 00000008 00000425
[ 504.200014] xhci_hcd 0000:04:00.0: @00000000024093d0 0240a000 00000000 00000008 00000425
[ 504.200015] xhci_hcd 0000:04:00.0: @00000000024093e0 0240a000 00000000 00000008 00000425
[ 504.200016] xhci_hcd 0000:04:00.0: @00000000024093f0 02409000 00000000 00000000 00001803
[ 504.200018] xhci_hcd 0000:04:00.0: // Ding dong!
[ 504.200045] xhci_hcd 0000:04:00.0: Stopped on Transfer TRB
[ 504.200047] xhci_hcd 0000:04:00.0: Cancelling TD starting at ffff880002409360, 0x2409360 (dma).
[ 504.200048] xhci_hcd 0000:04:00.0: Finding segment containing stopped TRB.
[ 504.200049] xhci_hcd 0000:04:00.0: Finding endpoint context
[ 504.200050] xhci_hcd 0000:04:00.0: Finding segment containing last TRB in TD.
[ 504.200051] xhci_hcd 0000:04:00.0: Cycle state = 0x0
[ 504.200052] xhci_hcd 0000:04:00.0: New dequeue segment = ffff8801c34379e0 (virtual)
[ 504.200053] xhci_hcd 0000:04:00.0: New dequeue pointer = 0x2409370 (DMA)
[ 504.200054] xhci_hcd 0000:04:00.0: Set TR Deq Ptr cmd, new deq seg = ffff8801c34379e0 (0x2409000 dma), new deq ptr = ffff880002409370 (0x2409370 dma), new cycle = 0
[ 504.200055] xhci_hcd 0000:04:00.0: // Ding dong!
[ 504.200088] xhci_hcd 0000:04:00.0: Successful Set TR Deq Ptr cmd, deq = @02409370
[ 504.543076] PM: Syncing filesystems ... done.
[ 504.564378] PM: Preparing system for mem sleep
[ 504.564390] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 504.575591] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 504.586572] PM: Entering mem sleep
[ 504.586625] Suspending console(s) (use no_console_suspend to debug)
[ 504.586809] xhci_hcd 0000:04:00.0: Cancel URB ffff8801c34ad6c0
[ 504.586810] xhci_hcd 0000:04:00.0: Event ring:
[ 504.586812] xhci_hcd 0000:04:00.0: @0000000002420400 02409150 00000000 01000000 01038001
[ 504.586813] xhci_hcd 0000:04:00.0: @0000000002420410 02409160 00000000 01000000 01038001
[ 504.586814] xhci_hcd 0000:04:00.0: @0000000002420420 02409170 00000000 01000000 01038001
[ 504.586815] xhci_hcd 0000:04:00.0: @0000000002420430 02409180 00000000 01000000 01038001
[ 504.586816] xhci_hcd 0000:04:00.0: @0000000002420440 02409190 00000000 01000000 01038001
[ 504.586816] xhci_hcd 0000:04:00.0: @0000000002420450 024091a0 00000000 01000000 01038001
[ 504.586817] xhci_hcd 0000:04:00.0: @0000000002420460 024091b0 00000000 01000000 01038001
[ 504.586818] xhci_hcd 0000:04:00.0: @0000000002420470 024091c0 00000000 01000000 01038001
[ 504.586819] xhci_hcd 0000:04:00.0: @0000000002420480 024091d0 00000000 01000000 01038001
[ 504.586820] xhci_hcd 0000:04:00.0: @0000000002420490 024091e0 00000000 01000000 01038001
[ 504.586821] xhci_hcd 0000:04:00.0: @00000000024204a0 024091f0 00000000 01000000 01038001
[ 504.586822] xhci_hcd 0000:04:00.0: @00000000024204b0 02409200 00000000 01000000 01038001
[ 504.586823] xhci_hcd 0000:04:00.0: @00000000024204c0 02409210 00000000 01000000 01038001
[ 504.586824] xhci_hcd 0000:04:00.0: @00000000024204d0 02409220 00000000 01000000 01038001
[ 504.586825] xhci_hcd 0000:04:00.0: @00000000024204e0 02409230 00000000 01000000 01038001
[ 504.586826] xhci_hcd 0000:04:00.0: @00000000024204f0 02409240 00000000 01000000 01038001
[ 504.586827] xhci_hcd 0000:04:00.0: @0000000002420500 02409250 00000000 01000000 01038001
[ 504.586828] xhci_hcd 0000:04:00.0: @0000000002420510 02409260 00000000 01000000 01038001
[ 504.586829] xhci_hcd 0000:04:00.0: @0000000002420520 02409270 00000000 01000000 01038001
[ 504.586830] xhci_hcd 0000:04:00.0: @0000000002420530 02409280 00000000 01000000 01038001
[ 504.586831] xhci_hcd 0000:04:00.0: @0000000002420540 02409290 00000000 01000000 01038001
[ 504.586832] xhci_hcd 0000:04:00.0: @0000000002420550 024092a0 00000000 01000000 01038001
[ 504.586833] xhci_hcd 0000:04:00.0: @0000000002420560 024092b0 00000000 01000000 01038001
[ 504.586834] xhci_hcd 0000:04:00.0: @0000000002420570 024092c0 00000000 01000000 01038001
[ 504.586835] xhci_hcd 0000:04:00.0: @0000000002420580 024092d0 00000000 01000000 01038001
[ 504.586836] xhci_hcd 0000:04:00.0: @0000000002420590 024092e0 00000000 01000000 01038001
[ 504.586837] xhci_hcd 0000:04:00.0: @00000000024205a0 024092f0 00000000 01000000 01038001
[ 504.586838] xhci_hcd 0000:04:00.0: @00000000024205b0 02409300 00000000 01000000 01038001
[ 504.586839] xhci_hcd 0000:04:00.0: @00000000024205c0 02409310 00000000 01000000 01038001
[ 504.586840] xhci_hcd 0000:04:00.0: @00000000024205d0 02409320 00000000 01000000 01038001
[ 504.586841] xhci_hcd 0000:04:00.0: @00000000024205e0 02409330 00000000 01000000 01038001
[ 504.586842] xhci_hcd 0000:04:00.0: @00000000024205f0 02409340 00000000 01000000 01038001
[ 504.586843] xhci_hcd 0000:04:00.0: @0000000002420600 02409350 00000000 01000000 01038001
[ 504.586844] xhci_hcd 0000:04:00.0: @0000000002420610 02409360 00000000 1a000008 01038001
[ 504.586845] xhci_hcd 0000:04:00.0: @0000000002420620 02420100 00000000 01000000 01008401
[ 504.586846] xhci_hcd 0000:04:00.0: @0000000002420630 02420110 00000000 01000000 01008401
[ 504.586846] xhci_hcd 0000:04:00.0: @0000000002420640 02409380 00000000 01000000 01038000
[ 504.586847] xhci_hcd 0000:04:00.0: @0000000002420650 02409390 00000000 01000000 01038000
[ 504.586848] xhci_hcd 0000:04:00.0: @0000000002420660 024093a0 00000000 01000000 01038000
[ 504.586849] xhci_hcd 0000:04:00.0: @0000000002420670 024093b0 00000000 01000000 01038000
[ 504.586850] xhci_hcd 0000:04:00.0: @0000000002420680 024093c0 00000000 01000000 01038000
[ 504.586851] xhci_hcd 0000:04:00.0: @0000000002420690 024093d0 00000000 01000000 01038000
[ 504.586852] xhci_hcd 0000:04:00.0: @00000000024206a0 024093e0 00000000 01000000 01038000
[ 504.586853] xhci_hcd 0000:04:00.0: @00000000024206b0 02409000 00000000 01000000 01038000
[ 504.586854] xhci_hcd 0000:04:00.0: @00000000024206c0 02409010 00000000 01000000 01038000
[ 504.586855] xhci_hcd 0000:04:00.0: @00000000024206d0 02409020 00000000 01000000 01038000
[ 504.586856] xhci_hcd 0000:04:00.0: @00000000024206e0 02409030 00000000 01000000 01038000
[ 504.586857] xhci_hcd 0000:04:00.0: @00000000024206f0 02409040 00000000 01000000 01038000
[ 504.586858] xhci_hcd 0000:04:00.0: @0000000002420700 02409050 00000000 01000000 01038000
[ 504.586859] xhci_hcd 0000:04:00.0: @0000000002420710 02409060 00000000 01000000 01038000
[ 504.586860] xhci_hcd 0000:04:00.0: @0000000002420720 02409070 00000000 01000000 01038000
[ 504.586861] xhci_hcd 0000:04:00.0: @0000000002420730 02409080 00000000 01000000 01038000
[ 504.586862] xhci_hcd 0000:04:00.0: @0000000002420740 02409090 00000000 01000000 01038000
[ 504.586863] xhci_hcd 0000:04:00.0: @0000000002420750 024090a0 00000000 01000000 01038000
[ 504.586864] xhci_hcd 0000:04:00.0: @0000000002420760 024090b0 00000000 01000000 01038000
[ 504.586865] xhci_hcd 0000:04:00.0: @0000000002420770 024090c0 00000000 01000000 01038000
[ 504.586866] xhci_hcd 0000:04:00.0: @0000000002420780 024090d0 00000000 01000000 01038000
[ 504.586867] xhci_hcd 0000:04:00.0: @0000000002420790 024090e0 00000000 01000000 01038000
[ 504.586868] xhci_hcd 0000:04:00.0: @00000000024207a0 024090f0 00000000 01000000 01038000
[ 504.586869] xhci_hcd 0000:04:00.0: @00000000024207b0 02409100 00000000 01000000 01038000
[ 504.586869] xhci_hcd 0000:04:00.0: @00000000024207c0 02409110 00000000 01000000 01038000
[ 504.586870] xhci_hcd 0000:04:00.0: @00000000024207d0 02409120 00000000 01000000 01038000
[ 504.586871] xhci_hcd 0000:04:00.0: @00000000024207e0 02409130 00000000 01000000 01038000
[ 504.586872] xhci_hcd 0000:04:00.0: @00000000024207f0 02409140 00000000 01000000 01038000
[ 504.586874] xhci_hcd 0000:04:00.0: Endpoint ring:
[ 504.586875] xhci_hcd 0000:04:00.0: @0000000002409400 0240a180 00000000 00000014 00000425
[ 504.586876] xhci_hcd 0000:04:00.0: @0000000002409410 00000000 00000000 00000000 00000000
[ 504.586877] xhci_hcd 0000:04:00.0: @0000000002409420 00000000 00000000 00000000 00000000
[ 504.586878] xhci_hcd 0000:04:00.0: @0000000002409430 00000000 00000000 00000000 00000000
[ 504.586879] xhci_hcd 0000:04:00.0: @0000000002409440 00000000 00000000 00000000 00000000
[ 504.586880] xhci_hcd 0000:04:00.0: @0000000002409450 00000000 00000000 00000000 00000000
[ 504.586881] xhci_hcd 0000:04:00.0: @0000000002409460 00000000 00000000 00000000 00000000
[ 504.586881] xhci_hcd 0000:04:00.0: @0000000002409470 00000000 00000000 00000000 00000000
[ 504.586882] xhci_hcd 0000:04:00.0: @0000000002409480 00000000 00000000 00000000 00000000
[ 504.586883] xhci_hcd 0000:04:00.0: @0000000002409490 00000000 00000000 00000000 00000000
[ 504.586884] xhci_hcd 0000:04:00.0: @00000000024094a0 00000000 00000000 00000000 00000000
[ 504.586885] xhci_hcd 0000:04:00.0: @00000000024094b0 00000000 00000000 00000000 00000000
[ 504.586886] xhci_hcd 0000:04:00.0: @00000000024094c0 00000000 00000000 00000000 00000000
[ 504.586887] xhci_hcd 0000:04:00.0: @00000000024094d0 00000000 00000000 00000000 00000000
[ 504.586888] xhci_hcd 0000:04:00.0: @00000000024094e0 00000000 00000000 00000000 00000000
[ 504.586889] xhci_hcd 0000:04:00.0: @00000000024094f0 00000000 00000000 00000000 00000000
[ 504.586890] xhci_hcd 0000:04:00.0: @0000000002409500 00000000 00000000 00000000 00000000
[ 504.586891] xhci_hcd 0000:04:00.0: @0000000002409510 00000000 00000000 00000000 00000000
[ 504.586892] xhci_hcd 0000:04:00.0: @0000000002409520 00000000 00000000 00000000 00000000
[ 504.586893] xhci_hcd 0000:04:00.0: @0000000002409530 00000000 00000000 00000000 00000000
[ 504.586894] xhci_hcd 0000:04:00.0: @0000000002409540 00000000 00000000 00000000 00000000
[ 504.586895] xhci_hcd 0000:04:00.0: @0000000002409550 00000000 00000000 00000000 00000000
[ 504.586896] xhci_hcd 0000:04:00.0: @0000000002409560 00000000 00000000 00000000 00000000
[ 504.586896] xhci_hcd 0000:04:00.0: @0000000002409570 00000000 00000000 00000000 00000000
[ 504.586897] xhci_hcd 0000:04:00.0: @0000000002409580 00000000 00000000 00000000 00000000
[ 504.586898] xhci_hcd 0000:04:00.0: @0000000002409590 00000000 00000000 00000000 00000000
[ 504.586899] xhci_hcd 0000:04:00.0: @00000000024095a0 00000000 00000000 00000000 00000000
[ 504.586900] xhci_hcd 0000:04:00.0: @00000000024095b0 00000000 00000000 00000000 00000000
[ 504.586901] xhci_hcd 0000:04:00.0: @00000000024095c0 00000000 00000000 00000000 00000000
[ 504.586902] xhci_hcd 0000:04:00.0: @00000000024095d0 00000000 00000000 00000000 00000000
[ 504.586903] xhci_hcd 0000:04:00.0: @00000000024095e0 00000000 00000000 00000000 00000000
[ 504.586904] xhci_hcd 0000:04:00.0: @00000000024095f0 00000000 00000000 00000000 00000000
[ 504.586905] xhci_hcd 0000:04:00.0: @0000000002409600 00000000 00000000 00000000 00000000
[ 504.586906] xhci_hcd 0000:04:00.0: @0000000002409610 00000000 00000000 00000000 00000000
[ 504.586907] xhci_hcd 0000:04:00.0: @0000000002409620 00000000 00000000 00000000 00000000
[ 504.586908] xhci_hcd 0000:04:00.0: @0000000002409630 00000000 00000000 00000000 00000000
[ 504.586909] xhci_hcd 0000:04:00.0: @0000000002409640 00000000 00000000 00000000 00000000
[ 504.586910] xhci_hcd 0000:04:00.0: @0000000002409650 00000000 00000000 00000000 00000000
[ 504.586911] xhci_hcd 0000:04:00.0: @0000000002409660 00000000 00000000 00000000 00000000
[ 504.586911] xhci_hcd 0000:04:00.0: @0000000002409670 00000000 00000000 00000000 00000000
[ 504.586912] xhci_hcd 0000:04:00.0: @0000000002409680 00000000 00000000 00000000 00000000
[ 504.586913] xhci_hcd 0000:04:00.0: @0000000002409690 00000000 00000000 00000000 00000000
[ 504.586914] xhci_hcd 0000:04:00.0: @00000000024096a0 00000000 00000000 00000000 00000000
[ 504.586915] xhci_hcd 0000:04:00.0: @00000000024096b0 00000000 00000000 00000000 00000000
[ 504.586916] xhci_hcd 0000:04:00.0: @00000000024096c0 00000000 00000000 00000000 00000000
[ 504.586917] xhci_hcd 0000:04:00.0: @00000000024096d0 00000000 00000000 00000000 00000000
[ 504.586918] xhci_hcd 0000:04:00.0: @00000000024096e0 00000000 00000000 00000000 00000000
[ 504.586919] xhci_hcd 0000:04:00.0: @00000000024096f0 00000000 00000000 00000000 00000000
[ 504.586920] xhci_hcd 0000:04:00.0: @0000000002409700 00000000 00000000 00000000 00000000
[ 504.586921] xhci_hcd 0000:04:00.0: @0000000002409710 00000000 00000000 00000000 00000000
[ 504.586922] xhci_hcd 0000:04:00.0: @0000000002409720 00000000 00000000 00000000 00000000
[ 504.586923] xhci_hcd 0000:04:00.0: @0000000002409730 00000000 00000000 00000000 00000000
[ 504.586924] xhci_hcd 0000:04:00.0: @0000000002409740 00000000 00000000 00000000 00000000
[ 504.586925] xhci_hcd 0000:04:00.0: @0000000002409750 00000000 00000000 00000000 00000000
[ 504.586926] xhci_hcd 0000:04:00.0: @0000000002409760 00000000 00000000 00000000 00000000
[ 504.586927] xhci_hcd 0000:04:00.0: @0000000002409770 00000000 00000000 00000000 00000000
[ 504.586928] xhci_hcd 0000:04:00.0: @0000000002409780 00000000 00000000 00000000 00000000
[ 504.586928] xhci_hcd 0000:04:00.0: @0000000002409790 00000000 00000000 00000000 00000000
[ 504.586929] xhci_hcd 0000:04:00.0: @00000000024097a0 00000000 00000000 00000000 00000000
[ 504.586930] xhci_hcd 0000:04:00.0: @00000000024097b0 00000000 00000000 00000000 00000000
[ 504.586931] xhci_hcd 0000:04:00.0: @00000000024097c0 00000000 00000000 00000000 00000000
[ 504.586932] xhci_hcd 0000:04:00.0: @00000000024097d0 00000000 00000000 00000000 00000000
[ 504.586933] xhci_hcd 0000:04:00.0: @00000000024097e0 00000000 00000000 00000000 00000000
[ 504.586934] xhci_hcd 0000:04:00.0: @00000000024097f0 02409400 00000000 00000000 00001802
[ 504.586936] xhci_hcd 0000:04:00.0: // Ding dong!
[ 504.587018] usb 1-1.4: unlink qh8-0e01/ffff880231b05c00 start 4 [1/2 us]
[ 504.587026] usb 1-1.4: unlink qh8-0e01/ffff880231b05d00 start 3 [1/2 us]
[ 504.587089] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[ 504.587109] xhci_hcd 0000:04:00.0: Stopped on Transfer TRB
[ 504.587112] xhci_hcd 0000:04:00.0: Cancelling TD starting at ffff880002409400, 0x2409400 (dma).
[ 504.587113] xhci_hcd 0000:04:00.0: Finding segment containing stopped TRB.
[ 504.587114] xhci_hcd 0000:04:00.0: Finding endpoint context
[ 504.587114] xhci_hcd 0000:04:00.0: Finding segment containing last TRB in TD.
[ 504.587115] xhci_hcd 0000:04:00.0: Cycle state = 0x1
[ 504.587116] xhci_hcd 0000:04:00.0: New dequeue segment = ffff8801c3437900 (virtual)
[ 504.587117] xhci_hcd 0000:04:00.0: New dequeue pointer = 0x2409410 (DMA)
[ 504.587118] xhci_hcd 0000:04:00.0: Set TR Deq Ptr cmd, new deq seg = ffff8801c3437900 (0x2409400 dma), new deq ptr = ffff880002409410 (0x2409410 dma), new cycle = 1
[ 504.587119] xhci_hcd 0000:04:00.0: // Ding dong!
[ 504.587139] xhci_hcd 0000:04:00.0: Successful Set TR Deq Ptr cmd, deq = @02409411
[ 504.587145] xhci_hcd 0000:04:00.0: // Ding dong!
[ 504.587182] sd 1:0:0:0: [sdb] Stopping disk
[ 504.587206] usb usb2: usb auto-resume
[ 504.587209] ehci_hcd 0000:00:1d.0: resume root hub
[ 504.587229] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 504.587257] sd 0:0:0:0: [sda] Stopping disk
[ 504.587403] ACPI handle has no context!
[ 504.587482] usb 1-1.4: usb suspend
[ 504.597495] usb 3-1: usb suspend
[ 504.597595] hub 1-1:1.0: hub_suspend
[ 504.597598] usb 1-1: unlink qh256-0001/ffff8802315a1b80 start 1 [1/0 us]
[ 504.597663] usb 1-1: usb suspend
[ 504.606485] hub 2-0:1.0: hub_resume
[ 504.606494] hub 2-0:1.0: port 1: status 0507 change 0000
[ 504.606507] usb 2-1: usb auto-resume
[ 504.608462] hub 3-0:1.0: hub_suspend
[ 504.608466] usb usb3: bus suspend
[ 504.608472] hub 1-0:1.0: hub_suspend
[ 504.608476] usb usb1: bus suspend
[ 504.608477] ehci_hcd 0000:00:1a.0: suspend root hub
[ 504.608492] xhci_hcd 0000:04:00.0: // Setting command ring address to 0x2420009
[ 504.609773] r8169 0000:03:00.0: eth0: link down
[ 504.619428] ehci_hcd 0000:00:1a.0: PCI INT A disabled
[ 504.632457] ehci_hcd 0000:00:1d.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 504.643363] usb 2-1: finish resume
[ 504.643678] hub 2-1:1.0: hub_resume
[ 504.644670] ehci_hcd 0000:00:1d.0: reused qh ffff8802315a1e80 schedule
[ 504.644676] usb 2-1: link qh256-0001/ffff8802315a1e80 start 1 [1/0 us]
[ 504.644690] hub 2-1:1.0: hub_suspend
[ 504.644696] usb 2-1: unlink qh256-0001/ffff8802315a1e80 start 1 [1/0 us]
[ 504.644761] usb 2-1: usb suspend
[ 504.655384] hub 2-0:1.0: hub_suspend
[ 504.655387] usb usb2: bus suspend
[ 504.655388] ehci_hcd 0000:00:1d.0: suspend root hub
[ 504.666284] ehci_hcd 0000:00:1d.0: PCI INT A disabled
[ 504.889130] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 504.889171] ACPI handle has no context!
[ 505.001202] HDA Intel 0000:01:00.1: PCI INT B disabled
[ 505.001238] ACPI handle has no context!
[ 505.012273] PM: suspend of devices complete after 426.888 msecs
[ 505.012531] xhci_hcd 0000:04:00.0: wakeup: 0
[ 505.023130] xhci_hcd 0000:04:00.0: --> PCI D3hot
[ 505.023231] r8169 0000:03:00.0: PME# enabled
[ 505.023239] pcieport 0000:00:1c.4: wake-up capability enabled by ACPI
[ 505.034213] ehci_hcd 0000:00:1d.0: wakeup: 0
[ 505.045052] ehci_hcd 0000:00:1d.0: --> PCI D3hot
[ 505.045157] ehci_hcd 0000:00:1a.0: wakeup: 0
[ 505.056016] ehci_hcd 0000:00:1a.0: --> PCI D3hot
[ 505.067005] PM: late suspend of devices complete after 54.896 msecs
[ 505.067409] ACPI: Preparing to enter system sleep state S3
[ 505.465807] PM: Saving platform NVS memory
[ 505.466636] Disabling non-boot CPUs ...
[ 505.467071] Broke affinity for irq 46
[ 505.468104] CPU 1 is now offline
[ 505.468660] Broke affinity for irq 49
[ 505.469684] CPU 2 is now offline
[ 505.470065] Broke affinity for irq 23
[ 505.471096] CPU 3 is now offline
[ 505.471347] Extended CMOS year: 2000
[ 505.471565] ACPI: Low-level resume complete
[ 505.471603] PM: Restoring platform NVS memory
[ 505.472008] Extended CMOS year: 2000
[ 505.472019] Enabling non-boot CPUs ...
[ 505.475189] Booting Node 0 Processor 1 APIC 0x2
[ 505.475192] smpboot cpu 1: start_ip = 98000
[ 505.497220] calibrate_delay_direct() timer_rate_max=3292457 timer_rate_min=3292432 pre_start=1592307481 pre_end=1625231909
[ 505.509178] calibrate_delay_direct() timer_rate_max=3292550 timer_rate_min=3292524 pre_start=1631816925 pre_end=1664742317
[ 505.521139] calibrate_delay_direct() timer_rate_max=3292541 timer_rate_min=3292520 pre_start=1671327373 pre_end=1704252671
[ 505.533100] calibrate_delay_direct() timer_rate_max=3292544 timer_rate_min=3292520 pre_start=1710837609 pre_end=1743762959
[ 505.545061] calibrate_delay_direct() timer_rate_max=3292547 timer_rate_min=3292529 pre_start=1750347621 pre_end=1783273005
[ 505.565311] ACPI Warning: For \_PR_.P001._PSS: SubPackage[0,1] - suspicious power dissipation values (20110413/nsrepair2-573)
[ 505.565386] CPU1 is up
[ 505.566007] Switched to NOHz mode on CPU #1
[ 505.566634] Booting Node 0 Processor 2 APIC 0x4
[ 505.566635] smpboot cpu 2: start_ip = 98000
[ 505.588921] calibrate_delay_direct() timer_rate_max=3292551 timer_rate_min=3292526 pre_start=1895218704 pre_end=1928144090
[ 505.600880] calibrate_delay_direct() timer_rate_max=3292514 timer_rate_min=3292485 pre_start=1934729056 pre_end=1967654034
[ 505.612841] calibrate_delay_direct() timer_rate_max=3292574 timer_rate_min=3292543 pre_start=1974239030 pre_end=2007164604
[ 505.624802] calibrate_delay_direct() timer_rate_max=3292540 timer_rate_min=3292506 pre_start=2013749218 pre_end=2046674454
[ 505.636763] calibrate_delay_direct() timer_rate_max=3292528 timer_rate_min=3292506 pre_start=2053259466 pre_end=2086184628
[ 505.657124] ACPI Warning: For \_PR_.P002._PSS: SubPackage[0,1] - suspicious power dissipation values (20110413/nsrepair2-573)
[ 505.657202] CPU2 is up
[ 505.657423] Booting Node 0 Processor 3 APIC 0x6
[ 505.657426] smpboot cpu 3: start_ip = 98000
[ 505.657700] Switched to NOHz mode on CPU #2
[ 505.679626] calibrate_delay_direct() timer_rate_max=3292540 timer_rate_min=3292508 pre_start=2194838193 pre_end=2227763425
[ 505.691585] calibrate_delay_direct() timer_rate_max=3292517 timer_rate_min=3292495 pre_start=2234348291 pre_end=2267273323
[ 505.703546] calibrate_delay_direct() timer_rate_max=3292501 timer_rate_min=3292470 pre_start=2273858739 pre_end=2306783585
[ 505.715507] calibrate_delay_direct() timer_rate_max=3292506 timer_rate_min=3292480 pre_start=2313368937 pre_end=2346293861
[ 505.727468] calibrate_delay_direct() timer_rate_max=3292539 timer_rate_min=3292515 pre_start=2352879111 pre_end=2385804357
[ 505.747852] ACPI Warning: For \_PR_.P003._PSS: SubPackage[0,1] - suspicious power dissipation values (20110413/nsrepair2-573)
[ 505.747928] CPU3 is up
[ 505.748905] Switched to NOHz mode on CPU #3
[ 505.749053] ACPI: Waking up from system sleep state S3
[ 505.749550] pcieport 0000:00:01.0: restoring config space at offset 0xf (was 0x100, writing 0x18010b)
[ 505.749553] pcieport 0000:00:01.0: restoring config space at offset 0x9 (was 0x1fff1, writing 0xdbf1d001)
[ 505.749555] pcieport 0000:00:01.0: restoring config space at offset 0x8 (was 0x0, writing 0xfa00f800)
[ 505.749556] pcieport 0000:00:01.0: restoring config space at offset 0x7 (was 0x200000f0, writing 0xe0e0)
[ 505.749558] pcieport 0000:00:01.0: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
[ 505.749560] pcieport 0000:00:01.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[ 505.749579] mei 0000:00:16.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
[ 505.749596] mei 0000:00:16.0: restoring config space at offset 0x4 (was 0xfed0e004, writing 0xfa208004)
[ 505.749627] ehci_hcd 0000:00:1a.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
[ 505.749646] ehci_hcd 0000:00:1a.0: restoring config space at offset 0x4 (was 0x0, writing 0xfa207000)
[ 505.749653] ehci_hcd 0000:00:1a.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[ 505.749685] HDA Intel 0000:00:1b.0: restoring config space at offset 0xf (was 0x100, writing 0x105)
[ 505.749703] HDA Intel 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[ 505.749708] HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[ 505.749742] pcieport 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x10010a)
[ 505.749753] pcieport 0000:00:1c.0: restoring config space at offset 0x9 (was 0x10001, writing 0x1fff1)
[ 505.749757] pcieport 0000:00:1c.0: restoring config space at offset 0x8 (was 0x0, writing 0xfff0)
[ 505.749761] pcieport 0000:00:1c.0: restoring config space at offset 0x7 (was 0x20000000, writing 0x200000f0)
[ 505.749769] pcieport 0000:00:1c.0: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
[ 505.749774] pcieport 0000:00:1c.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[ 505.749827] pcieport 0000:00:1c.4: restoring config space at offset 0xf (was 0x100, writing 0x10010a)
[ 505.749838] pcieport 0000:00:1c.4: restoring config space at offset 0x9 (was 0x10001, writing 0xdc21dc21)
[ 505.749842] pcieport 0000:00:1c.4: restoring config space at offset 0x8 (was 0x0, writing 0xfff0)
[ 505.749846] pcieport 0000:00:1c.4: restoring config space at offset 0x7 (was 0x20000000, writing 0xd0d0)
[ 505.749854] pcieport 0000:00:1c.4: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
[ 505.749859] pcieport 0000:00:1c.4: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[ 505.749912] pcieport 0000:00:1c.5: restoring config space at offset 0xf (was 0x100200, writing 0x10020b)
[ 505.749932] pcieport 0000:00:1c.5: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
[ 505.749937] pcieport 0000:00:1c.5: restoring config space at offset 0x1 (was 0x100007, writing 0x100407)
[ 505.749990] pcieport 0000:00:1c.6: restoring config space at offset 0xf (was 0x300, writing 0x100305)
[ 505.750001] pcieport 0000:00:1c.6: restoring config space at offset 0x9 (was 0x10001, writing 0x1fff1)
[ 505.750005] pcieport 0000:00:1c.6: restoring config space at offset 0x8 (was 0x0, writing 0xfff0)
[ 505.750009] pcieport 0000:00:1c.6: restoring config space at offset 0x7 (was 0x20000000, writing 0x200000f0)
[ 505.750017] pcieport 0000:00:1c.6: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
[ 505.750022] pcieport 0000:00:1c.6: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[ 505.750075] pci 0000:00:1c.7: restoring config space at offset 0xf (was 0x400, writing 0x100405)
[ 505.750086] pci 0000:00:1c.7: restoring config space at offset 0x9 (was 0x10001, writing 0xdc11dc11)
[ 505.750090] pci 0000:00:1c.7: restoring config space at offset 0x8 (was 0x0, writing 0xfff0)
[ 505.750094] pci 0000:00:1c.7: restoring config space at offset 0x7 (was 0x20000000, writing 0x200000f0)
[ 505.750102] pci 0000:00:1c.7: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
[ 505.750107] pci 0000:00:1c.7: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[ 505.750140] ehci_hcd 0000:00:1d.0: restoring config space at offset 0xf (was 0x100, writing 0x103)
[ 505.750159] ehci_hcd 0000:00:1d.0: restoring config space at offset 0x4 (was 0x0, writing 0xfa206000)
[ 505.750166] ehci_hcd 0000:00:1d.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[ 505.750241] ahci 0000:00:1f.2: restoring config space at offset 0xf (was 0x200, writing 0x205)
[ 505.750262] ahci 0000:00:1f.2: restoring config space at offset 0x1 (was 0x2b00007, writing 0x2b00407)
[ 505.750294] i801_smbus 0000:00:1f.3: restoring config space at offset 0xf (was 0x300, writing 0x305)
[ 505.750314] i801_smbus 0000:00:1f.3: restoring config space at offset 0x1 (was 0x2800001, writing 0x2800003)
[ 505.750328] nvidia 0000:01:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
[ 505.750333] nvidia 0000:01:00.0: restoring config space at offset 0x9 (was 0x1, writing 0xe001)
[ 505.750336] nvidia 0000:01:00.0: restoring config space at offset 0x7 (was 0xc, writing 0xd800000c)
[ 505.750339] nvidia 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xd000000c)
[ 505.750341] nvidia 0000:01:00.0: restoring config space at offset 0x4 (was 0x0, writing 0xf8000000)
[ 505.750345] nvidia 0000:01:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[ 505.750375] HDA Intel 0000:01:00.1: restoring config space at offset 0xf (was 0x200, writing 0x20a)
[ 505.750384] HDA Intel 0000:01:00.1: restoring config space at offset 0x4 (was 0x0, writing 0xfa080000)
[ 505.750386] HDA Intel 0000:01:00.1: restoring config space at offset 0x3 (was 0x800000, writing 0x800010)
[ 505.750389] HDA Intel 0000:01:00.1: restoring config space at offset 0x1 (was 0x100000, writing 0x100002)
[ 505.750444] r8169 0000:03:00.0: restoring config space at offset 0xf (was 0x1ff, writing 0x10b)
[ 505.750463] r8169 0000:03:00.0: restoring config space at offset 0x8 (was 0xc, writing 0xdc20000c)
[ 505.750470] r8169 0000:03:00.0: restoring config space at offset 0x6 (was 0xc, writing 0xdc20400c)
[ 505.750478] r8169 0000:03:00.0: restoring config space at offset 0x4 (was 0x1, writing 0xd001)
[ 505.750483] r8169 0000:03:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[ 505.750491] r8169 0000:03:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[ 505.750588] xhci_hcd 0000:04:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[ 505.750622] xhci_hcd 0000:04:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[ 505.750630] xhci_hcd 0000:04:00.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100402)
[ 505.750698] pci 0000:06:00.0: restoring config space at offset 0xf (was 0x100, writing 0x100105)
[ 505.750715] pci 0000:06:00.0: restoring config space at offset 0x9 (was 0x10001, writing 0xdc11dc11)
[ 505.750721] pci 0000:06:00.0: restoring config space at offset 0x8 (was 0x0, writing 0xfff0)
[ 505.750727] pci 0000:06:00.0: restoring config space at offset 0x7 (was 0x20200101, writing 0x202001f1)
[ 505.750732] pci 0000:06:00.0: restoring config space at offset 0x6 (was 0x20020201, writing 0x20070706)
[ 505.750743] pci 0000:06:00.0: restoring config space at offset 0x3 (was 0x10000, writing 0x10010)
[ 505.750751] pci 0000:06:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[ 505.750788] bttv 0000:07:00.0: restoring config space at offset 0xf (was 0x28100100, writing 0x28100105)
[ 505.750821] bttv 0000:07:00.0: restoring config space at offset 0x4 (was 0x8, writing 0xdc101008)
[ 505.750827] bttv 0000:07:00.0: restoring config space at offset 0x3 (was 0x800000, writing 0x802000)
[ 505.750836] bttv 0000:07:00.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900006)
[ 505.750879] pci 0000:07:00.1: restoring config space at offset 0xf (was 0xff040100, writing 0xff040105)
[ 505.750912] pci 0000:07:00.1: restoring config space at offset 0x4 (was 0x8, writing 0xdc100008)
[ 505.750918] pci 0000:07:00.1: restoring config space at offset 0x3 (was 0x800000, writing 0x802000)
[ 505.750986] PM: early resume of devices complete after 1.463 msecs
[ 505.751094] ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 505.751097] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 505.751107] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[ 505.751109] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 505.751137] pci 0000:00:1c.7: PCI INT D -> GSI 19 (level, low) -> IRQ 19
[ 505.751146] ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[ 505.751147] pci 0000:00:1c.7: setting latency timer to 64
[ 505.751160] ahci 0000:00:1f.2: setting latency timer to 64
[ 505.751162] ehci_hcd 0000:00:1d.0: setting latency timer to 64
[ 505.751185] HDA Intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 505.751190] pcieport 0000:00:1c.4: wake-up capability disabled by ACPI
[ 505.751192] HDA Intel 0000:01:00.1: setting latency timer to 64
[ 505.751200] r8169 0000:03:00.0: PME# disabled
[ 505.751209] ALSA sound/pci/hda/hda_intel.c:1089 Clearing TCSEL
[ 505.751212] HDA Intel 0000:00:1b.0: irq 48 for MSI/MSI-X
[ 505.751214] ALSA sound/pci/hda/hda_intel.c:1105 Enabling Nvidia snoop
[ 505.751244] ALSA sound/pci/hda/hda_intel.c:1089 Clearing TCSEL
[ 505.751254] xhci_hcd 0000:04:00.0: setting latency timer to 64
[ 505.751273] pci 0000:06:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 505.751277] xhci_hcd 0000:04:00.0: // Setting command ring address to 0x2420001
[ 505.751283] pci 0000:06:00.0: setting latency timer to 64
[ 505.751290] bttv0: reset, reinitialize
[ 505.751361] bttv0: PLL: 28636363 => 35468950 .
[ 505.752439] usb usb1: usb resume
[ 505.752442] ehci_hcd 0000:00:1a.0: resume root hub
[ 505.752448] usb usb2: usb resume
[ 505.752452] ehci_hcd 0000:00:1d.0: resume root hub
[ 505.752605] usb usb3: usb resume
[ 505.752660] usb usb4: usb resume
[ 505.761386] .
[ 505.761540] sd 0:0:0:0: [sda] Starting disk
[ 505.761545] sd 1:0:0:0: [sdb] Starting disk
[ 505.763394] hub 3-0:1.0: hub_resume
[ 505.763401] xhci_hcd 0000:04:00.0: get port status, actual port 0 status = 0x663
[ 505.763402] xhci_hcd 0000:04:00.0: Get port status returned 0x107
[ 505.763405] hub 3-0:1.0: port 1: status 0107 change 0000
[ 505.763409] xhci_hcd 0000:04:00.0: get port status, actual port 1 status = 0x2a0
[ 505.763410] xhci_hcd 0000:04:00.0: Get port status returned 0x100
[ 505.763416] hub 4-0:1.0: hub_resume
[ 505.763420] xhci_hcd 0000:04:00.0: get port status, actual port 0 status = 0x2a0
[ 505.763421] xhci_hcd 0000:04:00.0: Get port status returned 0x2a0
[ 505.763427] xhci_hcd 0000:04:00.0: get port status, actual port 0 status = 0x663
[ 505.763429] xhci_hcd 0000:04:00.0: Get port status returned 0x107
[ 505.763433] xhci_hcd 0000:04:00.0: get port status, actual port 1 status = 0x2a0
[ 505.763434] xhci_hcd 0000:04:00.0: Get port status returned 0x2a0
[ 505.763442] xhci_hcd 0000:04:00.0: clear USB_PORT_FEAT_SUSPEND
[ 505.763443] xhci_hcd 0000:04:00.0: PORTSC 0663
[ 505.764706] Extended CMOS year: 2000
[ 505.772332] hub 2-0:1.0: hub_resume
[ 505.772338] hub 1-0:1.0: hub_resume
[ 505.772340] hub 2-0:1.0: port 1: status 0507 change 0000
[ 505.772343] hub 1-0:1.0: port 1: status 0507 change 0000
[ 505.772357] ok
[ 505.772359] usb 2-1: usb resume
[ 505.772369] usb 1-1: usb resume
[ 505.784315] usb 3-1: usb resume
[ 505.799322] ehci_hcd 0000:00:1a.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 505.799445] ehci_hcd 0000:00:1d.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 505.810213] xhci_hcd 0000:04:00.0: get port status, actual port 0 status = 0x400603
[ 505.810214] xhci_hcd 0000:04:00.0: Get port status returned 0x40103
[ 505.810222] usb 1-1: finish resume
[ 505.810240] usb 2-1: finish resume
[ 505.810317] hub 1-1:1.0: hub_resume
[ 505.810322] hub 2-1:1.0: hub_resume
[ 505.810809] hub 1-1:1.0: port 4: status 0307 change 0000
[ 505.811054] ehci_hcd 0000:00:1a.0: reused qh ffff8802315a1b80 schedule
[ 505.811055] usb 1-1: link qh256-0001/ffff8802315a1b80 start 1 [1/0 us]
[ 505.811294] usb 1-1.4: usb resume
[ 505.811306] ehci_hcd 0000:00:1d.0: reused qh ffff8802315a1e80 schedule
[ 505.811308] usb 2-1: link qh256-0001/ffff8802315a1e80 start 1 [1/0 us]
[ 505.821201] xhci_hcd 0000:04:00.0: clear port suspend/resume change, actual port 0 status = 0x603
[ 505.821205] usb 3-1: finish resume
[ 505.821216] xhci_hcd 0000:04:00.0: Queueing ctrl tx for slot id 1, ep 0
[ 505.848194] usb 1-1.4: finish resume
[ 505.849072] ehci_hcd 0000:00:1a.0: reused qh ffff880231b05d00 schedule
[ 505.849074] usb 1-1.4: link qh8-0e01/ffff880231b05d00 start 3 [1/2 us]
[ 505.849086] ehci_hcd 0000:00:1a.0: reused qh ffff880231b05c00 schedule
[ 505.849087] usb 1-1.4: link qh8-0e01/ffff880231b05c00 start 4 [1/2 us]
[ 505.893438] r8169 0000:03:00.0: eth0: link down
[ 506.065417] ata6: SATA link down (SStatus 0 SControl 300)
[ 506.067401] ata4: SATA link down (SStatus 0 SControl 300)
[ 506.069376] ata3: SATA link down (SStatus 0 SControl 300)
[ 506.071388] ata5: SATA link down (SStatus 0 SControl 300)
[ 506.075365] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 506.076174] ata2.00: configured for UDMA/133
[ 507.462454] r8169 0000:03:00.0: eth0: link up
[ 510.699349] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 510.805001] xhci_hcd 0000:04:00.0: Cancel URB ffff8801c7a0ae40
[ 510.805005] xhci_hcd 0000:04:00.0: Event ring:
[ 510.805009] xhci_hcd 0000:04:00.0: @0000000002420400 01000000 00000000 01000000 00008801
[ 510.805012] xhci_hcd 0000:04:00.0: @0000000002420410 02420b80 00000000 01000000 01018001
[ 510.805015] xhci_hcd 0000:04:00.0: @0000000002420420 02409170 00000000 01000000 01038001
[ 510.805017] xhci_hcd 0000:04:00.0: @0000000002420430 02409180 00000000 01000000 01038001
[ 510.805020] xhci_hcd 0000:04:00.0: @0000000002420440 02409190 00000000 01000000 01038001
[ 510.805023] xhci_hcd 0000:04:00.0: @0000000002420450 024091a0 00000000 01000000 01038001
[ 510.805026] xhci_hcd 0000:04:00.0: @0000000002420460 024091b0 00000000 01000000 01038001
[ 510.805029] xhci_hcd 0000:04:00.0: @0000000002420470 024091c0 00000000 01000000 01038001
[ 510.805031] xhci_hcd 0000:04:00.0: @0000000002420480 024091d0 00000000 01000000 01038001
[ 510.805034] xhci_hcd 0000:04:00.0: @0000000002420490 024091e0 00000000 01000000 01038001
[ 510.805037] xhci_hcd 0000:04:00.0: @00000000024204a0 024091f0 00000000 01000000 01038001
[ 510.805047] xhci_hcd 0000:04:00.0: @00000000024204b0 02409200 00000000 01000000 01038001
[ 510.805048] xhci_hcd 0000:04:00.0: @00000000024204c0 02409210 00000000 01000000 01038001
[ 510.805049] xhci_hcd 0000:04:00.0: @00000000024204d0 02409220 00000000 01000000 01038001
[ 510.805050] xhci_hcd 0000:04:00.0: @00000000024204e0 02409230 00000000 01000000 01038001
[ 510.805051] xhci_hcd 0000:04:00.0: @00000000024204f0 02409240 00000000 01000000 01038001
[ 510.805052] xhci_hcd 0000:04:00.0: @0000000002420500 02409250 00000000 01000000 01038001
[ 510.805053] xhci_hcd 0000:04:00.0: @0000000002420510 02409260 00000000 01000000 01038001
[ 510.805054] xhci_hcd 0000:04:00.0: @0000000002420520 02409270 00000000 01000000 01038001
[ 510.805055] xhci_hcd 0000:04:00.0: @0000000002420530 02409280 00000000 01000000 01038001
[ 510.805056] xhci_hcd 0000:04:00.0: @0000000002420540 02409290 00000000 01000000 01038001
[ 510.805057] xhci_hcd 0000:04:00.0: @0000000002420550 024092a0 00000000 01000000 01038001
[ 510.805058] xhci_hcd 0000:04:00.0: @0000000002420560 024092b0 00000000 01000000 01038001
[ 510.805059] xhci_hcd 0000:04:00.0: @0000000002420570 024092c0 00000000 01000000 01038001
[ 510.805060] xhci_hcd 0000:04:00.0: @0000000002420580 024092d0 00000000 01000000 01038001
[ 510.805061] xhci_hcd 0000:04:00.0: @0000000002420590 024092e0 00000000 01000000 01038001
[ 510.805062] xhci_hcd 0000:04:00.0: @00000000024205a0 024092f0 00000000 01000000 01038001
[ 510.805063] xhci_hcd 0000:04:00.0: @00000000024205b0 02409300 00000000 01000000 01038001
[ 510.805063] xhci_hcd 0000:04:00.0: @00000000024205c0 02409310 00000000 01000000 01038001
[ 510.805064] xhci_hcd 0000:04:00.0: @00000000024205d0 02409320 00000000 01000000 01038001
[ 510.805065] xhci_hcd 0000:04:00.0: @00000000024205e0 02409330 00000000 01000000 01038001
[ 510.805066] xhci_hcd 0000:04:00.0: @00000000024205f0 02409340 00000000 01000000 01038001
[ 510.805067] xhci_hcd 0000:04:00.0: @0000000002420600 02409350 00000000 01000000 01038001
[ 510.805068] xhci_hcd 0000:04:00.0: @0000000002420610 02409360 00000000 1a000008 01038001
[ 510.805069] xhci_hcd 0000:04:00.0: @0000000002420620 02420100 00000000 01000000 01008401
[ 510.805070] xhci_hcd 0000:04:00.0: @0000000002420630 02420110 00000000 01000000 01008401
[ 510.805071] xhci_hcd 0000:04:00.0: @0000000002420640 02409400 00000000 1a000014 01058001
[ 510.805072] xhci_hcd 0000:04:00.0: @0000000002420650 02420120 00000000 01000000 01008401
[ 510.805073] xhci_hcd 0000:04:00.0: @0000000002420660 02420130 00000000 01000000 01008401
[ 510.805074] xhci_hcd 0000:04:00.0: @0000000002420670 02420140 00000000 13000000 01008401
[ 510.805075] xhci_hcd 0000:04:00.0: @0000000002420680 02420150 00000000 13000000 01008401
[ 510.805076] xhci_hcd 0000:04:00.0: @0000000002420690 02420160 00000000 01000000 01008401
[ 510.805077] xhci_hcd 0000:04:00.0: @00000000024206a0 024093e0 00000000 01000000 01038000
[ 510.805078] xhci_hcd 0000:04:00.0: @00000000024206b0 02409000 00000000 01000000 01038000
[ 510.805079] xhci_hcd 0000:04:00.0: @00000000024206c0 02409010 00000000 01000000 01038000
[ 510.805080] xhci_hcd 0000:04:00.0: @00000000024206d0 02409020 00000000 01000000 01038000
[ 510.805081] xhci_hcd 0000:04:00.0: @00000000024206e0 02409030 00000000 01000000 01038000
[ 510.805082] xhci_hcd 0000:04:00.0: @00000000024206f0 02409040 00000000 01000000 01038000
[ 510.805083] xhci_hcd 0000:04:00.0: @0000000002420700 02409050 00000000 01000000 01038000
[ 510.805083] xhci_hcd 0000:04:00.0: @0000000002420710 02409060 00000000 01000000 01038000
[ 510.805084] xhci_hcd 0000:04:00.0: @0000000002420720 02409070 00000000 01000000 01038000
[ 510.805085] xhci_hcd 0000:04:00.0: @0000000002420730 02409080 00000000 01000000 01038000
[ 510.805086] xhci_hcd 0000:04:00.0: @0000000002420740 02409090 00000000 01000000 01038000
[ 510.805087] xhci_hcd 0000:04:00.0: @0000000002420750 024090a0 00000000 01000000 01038000
[ 510.805088] xhci_hcd 0000:04:00.0: @0000000002420760 024090b0 00000000 01000000 01038000
[ 510.805089] xhci_hcd 0000:04:00.0: @0000000002420770 024090c0 00000000 01000000 01038000
[ 510.805090] xhci_hcd 0000:04:00.0: @0000000002420780 024090d0 00000000 01000000 01038000
[ 510.805091] xhci_hcd 0000:04:00.0: @0000000002420790 024090e0 00000000 01000000 01038000
[ 510.805092] xhci_hcd 0000:04:00.0: @00000000024207a0 024090f0 00000000 01000000 01038000
[ 510.805093] xhci_hcd 0000:04:00.0: @00000000024207b0 02409100 00000000 01000000 01038000
[ 510.805094] xhci_hcd 0000:04:00.0: @00000000024207c0 02409110 00000000 01000000 01038000
[ 510.805095] xhci_hcd 0000:04:00.0: @00000000024207d0 02409120 00000000 01000000 01038000
[ 510.805096] xhci_hcd 0000:04:00.0: @00000000024207e0 02409130 00000000 01000000 01038000
[ 510.805097] xhci_hcd 0000:04:00.0: @00000000024207f0 02409140 00000000 01000000 01038000
[ 510.805098] xhci_hcd 0000:04:00.0: Endpoint ring:
[ 510.805099] xhci_hcd 0000:04:00.0: @0000000002420800 01000680 00080000 00000008 00030841
[ 510.805100] xhci_hcd 0000:04:00.0: @0000000002420810 c34379e0 00000001 00000008 00010c05
[ 510.805101] xhci_hcd 0000:04:00.0: @0000000002420820 00000000 00000000 00000000 00001021
[ 510.805102] xhci_hcd 0000:04:00.0: @0000000002420830 01000680 00120000 00000008 00030841
[ 510.805103] xhci_hcd 0000:04:00.0: @0000000002420840 c34379e0 00000001 00000012 00010c05
[ 510.805104] xhci_hcd 0000:04:00.0: @0000000002420850 00000000 00000000 00000000 00001021
[ 510.805105] xhci_hcd 0000:04:00.0: @0000000002420860 06000680 000a0000 00000008 00030841
[ 510.805106] xhci_hcd 0000:04:00.0: @0000000002420870 d43c2ab0 00000001 0000000a 00010c05
[ 510.805106] xhci_hcd 0000:04:00.0: @0000000002420880 00000000 00000000 00000000 00001021
[ 510.805107] xhci_hcd 0000:04:00.0: @0000000002420890 06000680 000a0000 00000008 00030841
[ 510.805108] xhci_hcd 0000:04:00.0: @00000000024208a0 d43c2ab0 00000001 0000000a 00010c05
[ 510.805109] xhci_hcd 0000:04:00.0: @00000000024208b0 00000000 00000000 00000000 00001021
[ 510.805110] xhci_hcd 0000:04:00.0: @00000000024208c0 06000680 000a0000 00000008 00030841
[ 510.805111] xhci_hcd 0000:04:00.0: @00000000024208d0 d43c2ab0 00000001 0000000a 00010c05
[ 510.805112] xhci_hcd 0000:04:00.0: @00000000024208e0 00000000 00000000 00000000 00001021
[ 510.805113] xhci_hcd 0000:04:00.0: @00000000024208f0 02000680 00090000 00000008 00030841
[ 510.805114] xhci_hcd 0000:04:00.0: @0000000002420900 d43c2ab0 00000001 00000009 00010c05
[ 510.805115] xhci_hcd 0000:04:00.0: @0000000002420910 00000000 00000000 00000000 00001021
[ 510.805116] xhci_hcd 0000:04:00.0: @0000000002420920 02000680 003b0000 00000008 00030841
[ 510.805117] xhci_hcd 0000:04:00.0: @0000000002420930 d4123a00 00000001 0000003b 00010c05
[ 510.805118] xhci_hcd 0000:04:00.0: @0000000002420940 00000000 00000000 00000000 00001021
[ 510.805119] xhci_hcd 0000:04:00.0: @0000000002420950 03000680 00ff0000 00000008 00030841
[ 510.805120] xhci_hcd 0000:04:00.0: @0000000002420960 c3506500 00000001 000000ff 00010c05
[ 510.805121] xhci_hcd 0000:04:00.0: @0000000002420970 00000000 00000000 00000000 00001021
[ 510.805122] xhci_hcd 0000:04:00.0: @0000000002420980 03020680 00ff0409 00000008 00030841
[ 510.805123] xhci_hcd 0000:04:00.0: @0000000002420990 c3506500 00000001 000000ff 00010c05
[ 510.805124] xhci_hcd 0000:04:00.0: @00000000024209a0 00000000 00000000 00000000 00001021
[ 510.805124] xhci_hcd 0000:04:00.0: @00000000024209b0 03010680 00ff0409 00000008 00030841
[ 510.805125] xhci_hcd 0000:04:00.0: @00000000024209c0 c3506500 00000001 000000ff 00010c05
[ 510.805126] xhci_hcd 0000:04:00.0: @00000000024209d0 00000000 00000000 00000000 00001021
[ 510.805127] xhci_hcd 0000:04:00.0: @00000000024209e0 00010900 00000000 00000008 00000841
[ 510.805128] xhci_hcd 0000:04:00.0: @00000000024209f0 00000000 00000000 00000000 00011021
[ 510.805129] xhci_hcd 0000:04:00.0: @0000000002420a00 03040680 00ff0409 00000008 00030841
[ 510.805130] xhci_hcd 0000:04:00.0: @0000000002420a10 c3506000 00000001 000000ff 00010c05
[ 510.805131] xhci_hcd 0000:04:00.0: @0000000002420a20 00000000 00000000 00000000 00001021
[ 510.805132] xhci_hcd 0000:04:00.0: @0000000002420a30 00000a21 00000000 00000008 00000841
[ 510.805133] xhci_hcd 0000:04:00.0: @0000000002420a40 00000000 00000000 00000000 00011021
[ 510.805134] xhci_hcd 0000:04:00.0: @0000000002420a50 22000681 00430000 00000008 00030841
[ 510.805135] xhci_hcd 0000:04:00.0: @0000000002420a60 11091de0 00000002 00000043 00010c05
[ 510.805136] xhci_hcd 0000:04:00.0: @0000000002420a70 00000000 00000000 00000000 00001021
[ 510.805137] xhci_hcd 0000:04:00.0: @0000000002420a80 00000a21 00000001 00000008 00000841
[ 510.805138] xhci_hcd 0000:04:00.0: @0000000002420a90 00000000 00000000 00000000 00011021
[ 510.805139] xhci_hcd 0000:04:00.0: @0000000002420aa0 22000681 004f0001 00000008 00030841
[ 510.805140] xhci_hcd 0000:04:00.0: @0000000002420ab0 c7aa2cc0 00000001 0000004f 00010c05
[ 510.805141] xhci_hcd 0000:04:00.0: @0000000002420ac0 00000000 00000000 00000000 00001021
[ 510.805142] xhci_hcd 0000:04:00.0: @0000000002420ad0 010301a1 00050001 00000008 00030841
[ 510.805143] xhci_hcd 0000:04:00.0: @0000000002420ae0 0240a280 00000000 00000008 00010c05
[ 510.805143] xhci_hcd 0000:04:00.0: @0000000002420af0 00000000 00000000 00000000 00001021
[ 510.805144] xhci_hcd 0000:04:00.0: @0000000002420b00 011001a1 00070001 00000008 00030841
[ 510.805145] xhci_hcd 0000:04:00.0: @0000000002420b10 0240a280 00000000 00000008 00010c05
[ 510.805146] xhci_hcd 0000:04:00.0: @0000000002420b20 00000000 00000000 00000000 00001021
[ 510.805147] xhci_hcd 0000:04:00.0: @0000000002420b30 011101a1 00140001 00000008 00030841
[ 510.805148] xhci_hcd 0000:04:00.0: @0000000002420b40 0240a280 00000000 00000018 00010c05
[ 510.805149] xhci_hcd 0000:04:00.0: @0000000002420b50 00000000 00000000 00000000 00001021
[ 510.805150] xhci_hcd 0000:04:00.0: @0000000002420b60 00000080 00020000 00000008 00030841
[ 510.805151] xhci_hcd 0000:04:00.0: @0000000002420b70 f640ef40 00000001 00000002 00010c05
[ 510.805152] xhci_hcd 0000:04:00.0: @0000000002420b80 00000000 00000000 00000000 00001021
[ 510.805153] xhci_hcd 0000:04:00.0: @0000000002420b90 00000000 00000000 00000000 00000000
[ 510.805154] xhci_hcd 0000:04:00.0: @0000000002420ba0 00000000 00000000 00000000 00000000
[ 510.805155] xhci_hcd 0000:04:00.0: @0000000002420bb0 00000000 00000000 00000000 00000000
[ 510.805156] xhci_hcd 0000:04:00.0: @0000000002420bc0 00000000 00000000 00000000 00000000
[ 510.805157] xhci_hcd 0000:04:00.0: @0000000002420bd0 00000000 00000000 00000000 00000000
[ 510.805158] xhci_hcd 0000:04:00.0: @0000000002420be0 00000000 00000000 00000000 00000000
[ 510.805158] xhci_hcd 0000:04:00.0: @0000000002420bf0 02420800 00000000 00000000 00001802
[ 510.805160] xhci_hcd 0000:04:00.0: // Ding dong!
[ 510.814376] ata1.00: configured for UDMA/133
[ 515.794819] xhci_hcd 0000:04:00.0: xHCI host not responding to stop endpoint command.
[ 515.794823] xhci_hcd 0000:04:00.0: Assuming host is dying, halting host.
[ 515.794830] xhci_hcd 0000:04:00.0: // Halt the HC
[ 515.794840] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 0
[ 515.794847] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 2
[ 515.794850] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 4
[ 515.794854] xhci_hcd 0000:04:00.0: Calling usb_hc_died()
[ 515.794856] xhci_hcd 0000:04:00.0: HC died; cleaning up
[ 515.794860] xhci_hcd 0000:04:00.0: xHCI host controller is dead.
[ 515.794876] usb 3-1: kworker/u:52 timed out on ep0in len=0/2
[ 515.794886] usb 3-1: retry with reset-resume
[ 515.794887] usb 3-1: device reset not allowed in state 0
[ 515.794888] usb 3-1: gone after usb resume? status -22
[ 515.794889] usb 3-1: can't resume, status -22
[ 515.794890] hub 3-0:1.0: logical disconnect on port 1
[ 515.794891] hub 3-0:1.0: cannot disable port 1 (err = -19)
[ 515.794895] pm_op(): usb_dev_resume+0x0/0x20 returns -22
[ 515.794899] PM: Device 3-1 failed to resume async: error -22
[ 515.794940] PM: resume of devices complete after 10076.571 msecs
[ 515.795037] PM: Finishing wakeup.
[ 515.795038] Restarting tasks ...
[ 515.795801] hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 515.795805] hub 2-1:1.0: state 7 ports 8 chg 0000 evt 0000
[ 515.795808] hub 3-0:1.0: state 0 ports 2 chg 0002 evt 0000
[ 515.795811] usb 3-1: USB disconnect, device number 2
[ 515.795813] usb 3-1: unregistering device
[ 515.795814] usb 3-1: unregistering interface 3-1:1.0
[ 515.799727] done.
[ 515.807820] usb 3-1: unregistering interface 3-1:1.1
[ 515.817743] drivers/usb/core/file.c: removing 0 minor
[ 515.817831] usb 3-1: usb_disable_device nuking all URBs
[ 515.817887] xhci_hcd 0000:04:00.0: Freeing ring at ffff8801de65d420
[ 515.817888] xhci_hcd 0000:04:00.0: Freeing DMA segment at ffff880002420800 (virtual) 0x2420800 (DMA)
[ 515.817890] xhci_hcd 0000:04:00.0: Freeing priv segment structure at ffff8801c3437e60
[ 515.817892] xhci_hcd 0000:04:00.0: Freeing ring at ffff8801de65d780
[ 515.817893] xhci_hcd 0000:04:00.0: Freeing DMA segment at ffff880002409000 (virtual) 0x2409000 (DMA)
[ 515.817894] xhci_hcd 0000:04:00.0: Freeing priv segment structure at ffff8801c34379e0
[ 515.817895] xhci_hcd 0000:04:00.0: Freeing ring at ffff8801de65dc00
[ 515.817896] xhci_hcd 0000:04:00.0: Freeing DMA segment at ffff880002409400 (virtual) 0x2409400 (DMA)
[ 515.817897] xhci_hcd 0000:04:00.0: Freeing priv segment structure at ffff8801c3437900
[ 515.817909] hub 4-0:1.0: state 0 ports 2 chg 0000 evt 0000
[ 515.817913] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 515.817917] hub 1-1:1.0: state 7 ports 6 chg 0000 evt 0000
[ 516.148148] ALSA sound/pci/hda/hda_intel.c:1727 azx_pcm_prepare: bufsize=0x10000, format=0x4011
[ 516.148158] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011
[ 516.149593] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011
[ 516.151590] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x25, stream=0x5, channel=0, format=0x4011
[ 516.153574] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011
[ 516.155569] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011
[ 516.157560] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011
[ 516.159578] ALSA sound/pci/hda/hda_intel.c:1727 azx_pcm_prepare: bufsize=0x10000, format=0x4011
[ 516.159586] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011
[ 516.159592] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011
[ 516.159593] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x25, stream=0x5, channel=0, format=0x4011
[ 516.159594] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011
[ 516.159596] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011
[ 516.159597] ALSA sound/pci/hda/hda_codec.c:1295 hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011
[ 516.221714] EXT4-fs (dm-1): re-mounted. Opts: commit=300,commit=0
[ 518.035480] hub 2-1:1.0: hub_suspend
[ 518.035490] usb 2-1: unlink qh256-0001/ffff8802315a1e80 start 1 [1/0 us]
[ 518.035752] usb 2-1: usb auto-suspend
[ 520.039959] hub 2-0:1.0: hub_suspend
[ 520.039968] usb usb2: bus auto-suspend
[ 520.039971] ehci_hcd 0000:00:1d.0: suspend root hub
[ 521.858323] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x2
[ 521.858328] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x3
[ 521.858331] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x4
[ 521.858334] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x5
[ 521.858337] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x25
[ 521.858340] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x6
[ 521.858361] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x2
[ 521.858364] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x3
[ 521.858367] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x4
[ 521.858370] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x5
[ 521.858373] ALSA sound/pci/hda/hda_codec.c:1358 hda_codec_cleanup_stream: NID=0x25
[ 550.386322] xhci_hcd 0000:04:00.0: Poll event ring: 4295219456
[ 550.386329] xhci_hcd 0000:04:00.0: op reg status = 0x9
[ 550.386332] xhci_hcd 0000:04:00.0: HW died, polling stopped.


2011-06-15 15:40:44

by Greg KH

[permalink] [raw]
Subject: Re: device plugged into xhci port not detected after a resume

On Wed, Jun 15, 2011 at 09:07:11AM +0200, Maarten Lankhorst wrote:
> I plugged a simple usb mouse in xhci that isn't found after a resume.

What kernel version are you using?

2011-06-15 16:17:18

by Maarten Lankhorst

[permalink] [raw]
Subject: Re: device plugged into xhci port not detected after a resume

Op 15-06-11 17:38, Greg KH schreef:
> On Wed, Jun 15, 2011 at 09:07:11AM +0200, Maarten Lankhorst wrote:
>> I plugged a simple usb mouse in xhci that isn't found after a resume.
> What kernel version are you using?
>
3.0rc3

2011-06-15 16:58:47

by Sarah Sharp

[permalink] [raw]
Subject: Re: device plugged into xhci port not detected after a resume

On Wed, Jun 15, 2011 at 09:07:11AM +0200, Maarten Lankhorst wrote:
> I plugged a simple usb mouse in xhci that isn't found after a resume.
>
> It's with the same lovely controller as I used with the previous bug.
> Plugging in the controller to the same port doesn't cause it to be
> detected again, I need to remodprobe xhci-hcd

I will have to look at the log closely to be sure that this isn't a
software issue, but it seems like the host controller just died after
being suspended.


> [ 505.821216] xhci_hcd 0000:04:00.0: Queueing ctrl tx for slot id 1, ep 0
...
> [ 510.805001] xhci_hcd 0000:04:00.0: Cancel URB ffff8801c7a0ae40

The xHCI driver submits a control transfer (probably to read the
descriptor from your mouse) and the host doesn't give it back. It times
out, so the xHCI driver issues a Stop Endpoint command to allow the
driver to take the control transfer off the endpoint ring.

> [ 515.794819] xhci_hcd 0000:04:00.0: xHCI host not responding to stop endpoint command.

But the host doesn't respond to that command, so the xHCI driver assumes
the hardware is hosed:

> [ 515.794823] xhci_hcd 0000:04:00.0: Assuming host is dying, halting host.
> [ 515.794830] xhci_hcd 0000:04:00.0: // Halt the HC
> [ 515.794840] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 0
> [ 515.794847] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 2
> [ 515.794850] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 4
> [ 515.794854] xhci_hcd 0000:04:00.0: Calling usb_hc_died()
> [ 515.794856] xhci_hcd 0000:04:00.0: HC died; cleaning up
> [ 515.794860] xhci_hcd 0000:04:00.0: xHCI host controller is dead.

Does the host controller work when you don't have any devices plugged
in during resume? I.e. unplug the mouse and then re-plug it in on
resume. Does suspend work when other devices are left plugged in?

Does hibernate work, either with no devices plugged in, or the mouse
plugged in? If it does work, the host controller may not be able to
handle the context save and restore during suspend/resume, and we may
need to unconditionally tell the USB core that the host lost power
across suspend.

Sarah Sharp

2011-06-15 17:37:31

by Maarten Lankhorst

[permalink] [raw]
Subject: Re: device plugged into xhci port not detected after a resume

Hey,

Op 15-06-11 18:58, Sarah Sharp schreef:
> On Wed, Jun 15, 2011 at 09:07:11AM +0200, Maarten Lankhorst wrote:
>> I plugged a simple usb mouse in xhci that isn't found after a resume.
>>
>> It's with the same lovely controller as I used with the previous bug.
>> Plugging in the controller to the same port doesn't cause it to be
>> detected again, I need to remodprobe xhci-hcd
> I will have to look at the log closely to be sure that this isn't a
> software issue, but it seems like the host controller just died after
> being suspended.
That's what I gathered as well.
>> [ 505.821216] xhci_hcd 0000:04:00.0: Queueing ctrl tx for slot id 1, ep 0
> ...
>> [ 510.805001] xhci_hcd 0000:04:00.0: Cancel URB ffff8801c7a0ae40
> The xHCI driver submits a control transfer (probably to read the
> descriptor from your mouse) and the host doesn't give it back. It times
> out, so the xHCI driver issues a Stop Endpoint command to allow the
> driver to take the control transfer off the endpoint ring.
>
>> [ 515.794819] xhci_hcd 0000:04:00.0: xHCI host not responding to stop endpoint command.
> But the host doesn't respond to that command, so the xHCI driver assumes
> the hardware is hosed:
>
>> [ 515.794823] xhci_hcd 0000:04:00.0: Assuming host is dying, halting host.
>> [ 515.794830] xhci_hcd 0000:04:00.0: // Halt the HC
>> [ 515.794840] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 0
>> [ 515.794847] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 2
>> [ 515.794850] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 4
>> [ 515.794854] xhci_hcd 0000:04:00.0: Calling usb_hc_died()
>> [ 515.794856] xhci_hcd 0000:04:00.0: HC died; cleaning up
>> [ 515.794860] xhci_hcd 0000:04:00.0: xHCI host controller is dead.
> Does the host controller work when you don't have any devices plugged
> in during resume? I.e. unplug the mouse and then re-plug it in on
> resume. Does suspend work when other devices are left plugged in?
Yikes, it doesn't seem to work even without any devices plugged in.
It's frozen. This is with suspend-to-ram, not to disk.

> Does hibernate work, either with no devices plugged in, or the mouse
> plugged in? If it does work, the host controller may not be able to
> handle the context save and restore during suspend/resume, and we may
> need to unconditionally tell the USB core that the host lost power
> across suspend.
It works after a resume from suspend-to-disk.

~Maarten

2011-06-15 17:39:50

by Maarten Lankhorst

[permalink] [raw]
Subject: Re: device plugged into xhci port not detected after a resume

Op 15-06-11 18:58, Sarah Sharp schreef:
> On Wed, Jun 15, 2011 at 09:07:11AM +0200, Maarten Lankhorst wrote:
>> I plugged a simple usb mouse in xhci that isn't found after a resume.
>>
>> It's with the same lovely controller as I used with the previous bug.
>> Plugging in the controller to the same port doesn't cause it to be
>> detected again, I need to remodprobe xhci-hcd
> I will have to look at the log closely to be sure that this isn't a
> software issue, but it seems like the host controller just died after
> being suspended.
>
>
>> [ 505.821216] xhci_hcd 0000:04:00.0: Queueing ctrl tx for slot id 1, ep 0
> ...
>> [ 510.805001] xhci_hcd 0000:04:00.0: Cancel URB ffff8801c7a0ae40
> The xHCI driver submits a control transfer (probably to read the
> descriptor from your mouse) and the host doesn't give it back. It times
> out, so the xHCI driver issues a Stop Endpoint command to allow the
> driver to take the control transfer off the endpoint ring.
>
>> [ 515.794819] xhci_hcd 0000:04:00.0: xHCI host not responding to stop endpoint command.
> But the host doesn't respond to that command, so the xHCI driver assumes
> the hardware is hosed:
>
>> [ 515.794823] xhci_hcd 0000:04:00.0: Assuming host is dying, halting host.
>> [ 515.794830] xhci_hcd 0000:04:00.0: // Halt the HC
>> [ 515.794840] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 0
>> [ 515.794847] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 2
>> [ 515.794850] xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 4
>> [ 515.794854] xhci_hcd 0000:04:00.0: Calling usb_hc_died()
>> [ 515.794856] xhci_hcd 0000:04:00.0: HC died; cleaning up
>> [ 515.794860] xhci_hcd 0000:04:00.0: xHCI host controller is dead.
> Does the host controller work when you don't have any devices plugged
> in during resume? I.e. unplug the mouse and then re-plug it in on
> resume. Does suspend work when other devices are left plugged in?
>
> Does hibernate work, either with no devices plugged in, or the mouse
> plugged in? If it does work, the host controller may not be able to
> handle the context save and restore during suspend/resume, and we may
> need to unconditionally tell the USB core that the host lost power
> across suspend.
Yeah, manually overriding the resume function works. Tested with

- if ((temp & STS_SRE) || hibernated) {
+ if ((temp & STS_SRE) || hibernated || 1) {

~Maarten

2011-06-15 19:59:33

by Sarah Sharp

[permalink] [raw]
Subject: Re: device plugged into xhci port not detected after a resume

On Wed, Jun 15, 2011 at 07:39:46PM +0200, Maarten Lankhorst wrote:
> Op 15-06-11 18:58, Sarah Sharp schreef:
> > Does hibernate work, either with no devices plugged in, or the mouse
> > plugged in? If it does work, the host controller may not be able to
> > handle the context save and restore during suspend/resume, and we may
> > need to unconditionally tell the USB core that the host lost power
> > across suspend.
> Yeah, manually overriding the resume function works. Tested with
>
> - if ((temp & STS_SRE) || hibernated) {
> + if ((temp & STS_SRE) || hibernated || 1) {

Can you send me the lspci -vvv for this device? I'll cook up a proper
patch with a new quirk for it.

Sarah Sharp

2011-06-15 20:19:25

by Sarah Sharp

[permalink] [raw]
Subject: Re: device plugged into xhci port not detected after a resume

On Wed, Jun 15, 2011 at 12:59:28PM -0700, Sarah Sharp wrote:
> On Wed, Jun 15, 2011 at 07:39:46PM +0200, Maarten Lankhorst wrote:
> > Op 15-06-11 18:58, Sarah Sharp schreef:
> > > Does hibernate work, either with no devices plugged in, or the mouse
> > > plugged in? If it does work, the host controller may not be able to
> > > handle the context save and restore during suspend/resume, and we may
> > > need to unconditionally tell the USB core that the host lost power
> > > across suspend.
> > Yeah, manually overriding the resume function works. Tested with
> >
> > - if ((temp & STS_SRE) || hibernated) {
> > + if ((temp & STS_SRE) || hibernated || 1) {
>
> Can you send me the lspci -vvv for this device? I'll cook up a proper
> patch with a new quirk for it.

Oh, nevermind, I found the output from your previous mail:

04:00.0 USB Controller: Device 1b6f:7023 (rev 01) (prog-if 30 [XHCI])
Subsystem: ASRock Incorporation Device 7023

Sarah Sharp

2011-06-15 20:29:09

by Maarten Lankhorst

[permalink] [raw]
Subject: [PATCH] xhci: Add reset on resume quirk for asrock p67 host

The asrock p67 xhci controller completely dies on resume,
add a quirk for this, to bring the host back online after a suspend.

This should be backported to stable kernels as far back as 2.6.34.

Signed-off-by: Maarten Lankhorst <[email protected]>
Cc: [email protected]
---
I have no idea if the vendor name is correct. lspci didn't list it.

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index 17541d0..cb16de2 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -29,6 +29,9 @@
#define PCI_VENDOR_ID_FRESCO_LOGIC 0x1b73
#define PCI_DEVICE_ID_FRESCO_LOGIC_PDK 0x1000

+#define PCI_VENDOR_ID_ETRON 0x1b6f
+#define PCI_DEVICE_ID_ASROCK_P67 0x7023
+
static const char hcd_name[] = "xhci_hcd";

/* called after powerup, by probe or system-pm "wakeup" */
@@ -134,6 +137,11 @@ static int xhci_pci_setup(struct usb_hcd *hcd)
xhci->quirks |= XHCI_EP_LIMIT_QUIRK;
xhci->limit_active_eps = 64;
}
+ if (pdev->vendor == PCI_VENDOR_ID_ETRON &&
+ pdev->device == PCI_DEVICE_ID_ASROCK_P67) {
+ xhci->quirks |= XHCI_RESET_ON_RESUME;
+ xhci_dbg(xhci, "QUIRK: Resetting on resume\n");
+ }

/* Make sure the HC is halted. */
retval = xhci_halt(xhci);
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 06e7023..42fd032 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -759,6 +759,8 @@ int xhci_resume(struct xhci_hcd *xhci, bool hibernated)
msleep(100);

spin_lock_irq(&xhci->lock);
+ if (xhci->quirks & XHCI_RESET_ON_RESUME)
+ hibernated = 0;

if (!hibernated) {
/* step 1: restore register */
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 7d1ea3b..b769a75 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1308,6 +1308,7 @@ struct xhci_hcd {
*/
#define XHCI_EP_LIMIT_QUIRK (1 << 5)
#define XHCI_BROKEN_MSI (1 << 6)
+#define XHCI_RESET_ON_RESUME (1 << 7)
unsigned int num_active_eps;
unsigned int limit_active_eps;
/* There are two roothubs to keep track of bus suspend info for */

2011-06-15 20:36:49

by Sarah Sharp

[permalink] [raw]
Subject: Re: [PATCH] xhci: Add reset on resume quirk for asrock p67 host

On Wed, Jun 15, 2011 at 10:29:01PM +0200, Maarten Lankhorst wrote:
> The asrock p67 xhci controller completely dies on resume,
> add a quirk for this, to bring the host back online after a suspend.
>
> This should be backported to stable kernels as far back as 2.6.34.

Why 2.6.34? Only kernels as old as 2.6.37 had xHCI suspend and resume
support. Before 2.6.37, the xHCI driver would prevent the system from
suspending at all.

Otherwise looks fine.

Sarah Sharp

> Signed-off-by: Maarten Lankhorst <[email protected]>
> Cc: [email protected]
> ---
> I have no idea if the vendor name is correct. lspci didn't list it.
>
> diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
> index 17541d0..cb16de2 100644
> --- a/drivers/usb/host/xhci-pci.c
> +++ b/drivers/usb/host/xhci-pci.c
> @@ -29,6 +29,9 @@
> #define PCI_VENDOR_ID_FRESCO_LOGIC 0x1b73
> #define PCI_DEVICE_ID_FRESCO_LOGIC_PDK 0x1000
>
> +#define PCI_VENDOR_ID_ETRON 0x1b6f
> +#define PCI_DEVICE_ID_ASROCK_P67 0x7023
> +
> static const char hcd_name[] = "xhci_hcd";
>
> /* called after powerup, by probe or system-pm "wakeup" */
> @@ -134,6 +137,11 @@ static int xhci_pci_setup(struct usb_hcd *hcd)
> xhci->quirks |= XHCI_EP_LIMIT_QUIRK;
> xhci->limit_active_eps = 64;
> }
> + if (pdev->vendor == PCI_VENDOR_ID_ETRON &&
> + pdev->device == PCI_DEVICE_ID_ASROCK_P67) {
> + xhci->quirks |= XHCI_RESET_ON_RESUME;
> + xhci_dbg(xhci, "QUIRK: Resetting on resume\n");
> + }
>
> /* Make sure the HC is halted. */
> retval = xhci_halt(xhci);
> diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
> index 06e7023..42fd032 100644
> --- a/drivers/usb/host/xhci.c
> +++ b/drivers/usb/host/xhci.c
> @@ -759,6 +759,8 @@ int xhci_resume(struct xhci_hcd *xhci, bool hibernated)
> msleep(100);
>
> spin_lock_irq(&xhci->lock);
> + if (xhci->quirks & XHCI_RESET_ON_RESUME)
> + hibernated = 0;
>
> if (!hibernated) {
> /* step 1: restore register */
> diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
> index 7d1ea3b..b769a75 100644
> --- a/drivers/usb/host/xhci.h
> +++ b/drivers/usb/host/xhci.h
> @@ -1308,6 +1308,7 @@ struct xhci_hcd {
> */
> #define XHCI_EP_LIMIT_QUIRK (1 << 5)
> #define XHCI_BROKEN_MSI (1 << 6)
> +#define XHCI_RESET_ON_RESUME (1 << 7)
> unsigned int num_active_eps;
> unsigned int limit_active_eps;
> /* There are two roothubs to keep track of bus suspend info for */
>
>

2011-06-15 20:38:40

by Maarten Lankhorst

[permalink] [raw]
Subject: Re: [PATCH] xhci: Add reset on resume quirk for asrock p67 host

Hi Sarah,

Op 15-06-11 22:36, Sarah Sharp schreef:
> On Wed, Jun 15, 2011 at 10:29:01PM +0200, Maarten Lankhorst wrote:
>> The asrock p67 xhci controller completely dies on resume,
>> add a quirk for this, to bring the host back online after a suspend.
>>
>> This should be backported to stable kernels as far back as 2.6.34.
> Why 2.6.34? Only kernels as old as 2.6.37 had xHCI suspend and resume
> support. Before 2.6.37, the xHCI driver would prevent the system from
> suspending at all.
Oh my bad, I was just looking at my previous commit, expected
resume to already be available since xhci was in the kernel for so long.

Should I resend or will you amend the commit message?

~Maarten

2011-06-15 20:39:31

by Sarah Sharp

[permalink] [raw]
Subject: Re: [PATCH] xhci: Add reset on resume quirk for asrock p67 host

On Wed, Jun 15, 2011 at 10:38:34PM +0200, Maarten Lankhorst wrote:
> Hi Sarah,
>
> Op 15-06-11 22:36, Sarah Sharp schreef:
> > On Wed, Jun 15, 2011 at 10:29:01PM +0200, Maarten Lankhorst wrote:
> >> The asrock p67 xhci controller completely dies on resume,
> >> add a quirk for this, to bring the host back online after a suspend.
> >>
> >> This should be backported to stable kernels as far back as 2.6.34.
> > Why 2.6.34? Only kernels as old as 2.6.37 had xHCI suspend and resume
> > support. Before 2.6.37, the xHCI driver would prevent the system from
> > suspending at all.
> Oh my bad, I was just looking at my previous commit, expected
> resume to already be available since xhci was in the kernel for so long.
>
> Should I resend or will you amend the commit message?

I'll just amend it. No worries. :)

Sarah Sharp

2011-06-15 21:00:21

by Alan Stern

[permalink] [raw]
Subject: Re: [PATCH] xhci: Add reset on resume quirk for asrock p67 host

On Wed, 15 Jun 2011, Sarah Sharp wrote:

> On Wed, Jun 15, 2011 at 10:29:01PM +0200, Maarten Lankhorst wrote:
> > The asrock p67 xhci controller completely dies on resume,
> > add a quirk for this, to bring the host back online after a suspend.
> >
> > This should be backported to stable kernels as far back as 2.6.34.
>
> Why 2.6.34? Only kernels as old as 2.6.37 had xHCI suspend and resume
> support. Before 2.6.37, the xHCI driver would prevent the system from
> suspending at all.
>
> Otherwise looks fine.
>
> Sarah Sharp
>

> > diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
> > index 06e7023..42fd032 100644
> > --- a/drivers/usb/host/xhci.c
> > +++ b/drivers/usb/host/xhci.c
> > @@ -759,6 +759,8 @@ int xhci_resume(struct xhci_hcd *xhci, bool hibernated)
> > msleep(100);
> >
> > spin_lock_irq(&xhci->lock);
> > + if (xhci->quirks & XHCI_RESET_ON_RESUME)
> > + hibernated = 0;

Shouldn't this be "hibernated = true;"? You want the driver to treat
suspend as though it were hibernation, not the other way around.

Alan Stern

2011-06-15 21:21:51

by Sarah Sharp

[permalink] [raw]
Subject: Re: [PATCH] xhci: Add reset on resume quirk for asrock p67 host

On Wed, Jun 15, 2011 at 05:00:17PM -0400, Alan Stern wrote:
> On Wed, 15 Jun 2011, Sarah Sharp wrote:
>
> > On Wed, Jun 15, 2011 at 10:29:01PM +0200, Maarten Lankhorst wrote:
> > > The asrock p67 xhci controller completely dies on resume,
> > > add a quirk for this, to bring the host back online after a suspend.
> > >
> > > This should be backported to stable kernels as far back as 2.6.34.
> >
> > Why 2.6.34? Only kernels as old as 2.6.37 had xHCI suspend and resume
> > support. Before 2.6.37, the xHCI driver would prevent the system from
> > suspending at all.
> >
> > Otherwise looks fine.
> >
> > Sarah Sharp
> >
>
> > > diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
> > > index 06e7023..42fd032 100644
> > > --- a/drivers/usb/host/xhci.c
> > > +++ b/drivers/usb/host/xhci.c
> > > @@ -759,6 +759,8 @@ int xhci_resume(struct xhci_hcd *xhci, bool hibernated)
> > > msleep(100);
> > >
> > > spin_lock_irq(&xhci->lock);
> > > + if (xhci->quirks & XHCI_RESET_ON_RESUME)
> > > + hibernated = 0;
>
> Shouldn't this be "hibernated = true;"? You want the driver to treat
> suspend as though it were hibernation, not the other way around.

Yes, good catch. Maarten, can you respin this patch (and with the
note that it should be backported as far as 2.6.37).

Sarah Sharp

2011-06-15 21:41:28

by Maarten Lankhorst

[permalink] [raw]
Subject: Re: [PATCH] xhci: Add reset on resume quirk for asrock p67 host

Op 15-06-11 23:21, Sarah Sharp schreef:
> On Wed, Jun 15, 2011 at 05:00:17PM -0400, Alan Stern wrote:
>> On Wed, 15 Jun 2011, Sarah Sharp wrote:
>>
>>> On Wed, Jun 15, 2011 at 10:29:01PM +0200, Maarten Lankhorst wrote:
>>>> The asrock p67 xhci controller completely dies on resume,
>>>> add a quirk for this, to bring the host back online after a suspend.
>>>>
>>>> This should be backported to stable kernels as far back as 2.6.34.
>>> Why 2.6.34? Only kernels as old as 2.6.37 had xHCI suspend and resume
>>> support. Before 2.6.37, the xHCI driver would prevent the system from
>>> suspending at all.
>>>
>>> Otherwise looks fine.
>>>
>>> Sarah Sharp
>>>
>>>> diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
>>>> index 06e7023..42fd032 100644
>>>> --- a/drivers/usb/host/xhci.c
>>>> +++ b/drivers/usb/host/xhci.c
>>>> @@ -759,6 +759,8 @@ int xhci_resume(struct xhci_hcd *xhci, bool hibernated)
>>>> msleep(100);
>>>>
>>>> spin_lock_irq(&xhci->lock);
>>>> + if (xhci->quirks & XHCI_RESET_ON_RESUME)
>>>> + hibernated = 0;
>> Shouldn't this be "hibernated = true;"? You want the driver to treat
>> suspend as though it were hibernation, not the other way around.
> Yes, good catch. Maarten, can you respin this patch (and with the
> note that it should be backported as far as 2.6.37).
>
> Sarah Sharp
Odd! I could have sworn I had a succesful suspend with the quirk printed
in dmesg. The hang appears to not happen 100% of the time then. Weird,
wish I had saved the log. Will respin the patch.

Of course the act of observing made it impossible to reproduce. :-/

~Maarten

2011-06-15 22:15:20

by Maarten Lankhorst

[permalink] [raw]
Subject: Re: [PATCH] xhci: Add reset on resume quirk for asrock p67 host

Op 15-06-11 23:41, Maarten Lankhorst schreef:
> Op 15-06-11 23:21, Sarah Sharp schreef:
>> On Wed, Jun 15, 2011 at 05:00:17PM -0400, Alan Stern wrote:
>>> On Wed, 15 Jun 2011, Sarah Sharp wrote:
>>>
>>>> On Wed, Jun 15, 2011 at 10:29:01PM +0200, Maarten Lankhorst wrote:
>>>>> The asrock p67 xhci controller completely dies on resume,
>>>>> add a quirk for this, to bring the host back online after a suspend.
>>>>>
>>>>> This should be backported to stable kernels as far back as 2.6.34.
>>>> Why 2.6.34? Only kernels as old as 2.6.37 had xHCI suspend and resume
>>>> support. Before 2.6.37, the xHCI driver would prevent the system from
>>>> suspending at all.
>>>>
>>>> Otherwise looks fine.
>>>>
>>>> Sarah Sharp
>>>>
>>>>> diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
>>>>> index 06e7023..42fd032 100644
>>>>> --- a/drivers/usb/host/xhci.c
>>>>> +++ b/drivers/usb/host/xhci.c
>>>>> @@ -759,6 +759,8 @@ int xhci_resume(struct xhci_hcd *xhci, bool hibernated)
>>>>> msleep(100);
>>>>>
>>>>> spin_lock_irq(&xhci->lock);
>>>>> + if (xhci->quirks & XHCI_RESET_ON_RESUME)
>>>>> + hibernated = 0;
>>> Shouldn't this be "hibernated = true;"? You want the driver to treat
>>> suspend as though it were hibernation, not the other way around.
>> Yes, good catch. Maarten, can you respin this patch (and with the
>> note that it should be backported as far as 2.6.37).
>>
>> Sarah Sharp
> Odd! I could have sworn I had a succesful suspend with the quirk printed
> in dmesg. The hang appears to not happen 100% of the time then. Weird,
> wish I had saved the log. Will respin the patch.
>
> Of course the act of observing made it impossible to reproduce. :-/
>
> ~Maarten
I cannot be 100% sure, but normally on suspend I saw 'HC died'. This
time I *think* a urb submit timed out instead, but I cannot reproduce
it now. I just assume it was user error though, still weird.

Fixed patch reliably works without errors, surviving 20 suspends.
The other one only worked once it seems, discard as anomaly please.