On Thu, Dec 6, 2018 at 3:52 PM Jonathan Proulx <j...@jonproulx.com> wrote:
>
> Hi All,
>
> New to Qubes so hopefully I just missed some thing obvious.  When
> resuming from suspend on Lenovo X1 Carbon (gen3) with fresh Qubes 4.0
> install I'm loosing access to the physical disk on resume.

With a few clever suggestions from ThomasWaldmann and busu on IRC I've
gotten a bit more detail but no resolution yet.

copying binaries and libraries to /tmp before suspend keeps them
usable on resume.

dmesg shows additional messages that were't making it to the console:

ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300 )
ata1.00: qc timeout (cmd 0xec)
ata1.00: failed to IDENTIFY (I/O error, err mask=0x4)
ata1.00: revalidation failed (errno=-5)
ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300 )
ata1.00: qc timeout (cmd 0xec)
ata1.00: failed to IDENTIFY (I/O error, err mask=0x4)
ata1.00: revalidation failed (errno=-5)
ata1: limiting SATA link speed to 3.0 Gbps
ata1: SATA link sown (SStatus 0 SControl 320 )
ata1.00: disabled
sd 0:0:0:0: rejecting I/O to off line device
<etc...>

reverting from 4.14.74 to the default 4.14.18 kernel doesn't change anything

echo "- - -" > /sys/class/scsi_host/host0/scan

does show bus reset in dmesg but doesn't rediscover the lost drive

rescan-scsi-bus.sh from sg3_utils (after much copying of dependencies
to tmpfs) executes and scans host0 but finds zero drives post resume

smartctl shows drive healthy and long selftest passed with no logged
errors in device lifetime and all counter at the good end of their
scales.

X1 is a fairly popular laptop and gen3's been a round a while so I
tend to suspect this is a setting on my side rather than a Qubes bug
especially as I was running a different linux 4.18 kernel on this
hardware recently, but not sure what else there is to poke.

The most obvious bios setting is the Intel Rapid Start which was "on"
though that should only take effect after 30min and my failures are
immediate so unsurprisingly switching this to "off" has no effect
either.

Thanks,
-Jon

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CABZB-shMQxM_wvOFMhOn76Y7emmq9kSDiga%3DQPXn5SeKNAsiSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to