You are not logged in.

#1 2014-03-07 09:44:53

pschmitt
Member
From: Saarbrücken-Burbach, Germany
Registered: 2012-10-31
Posts: 2
Website

Thinkpad Yoga - SSD gets remounted read only when plugging in charger

Hi,

I've been using Arch on my Thinkpad S1 Yoga for a few weeks now.
Everything works great out of the box (except the accelerometer / HDAPS), but from time to time when I plug in the charger my SSD gets (re)mounted in read only mode.

Here's the journal: https://gist.github.com/pschmitt/9408211

I don't have any clue whether this would be a BTRFS, laptop-mode-tools or a physical issue, especially since *this isn't happening every time* I plug the laptop. Any help is appreciated.

Additional info:

$ hdparm -I /dev/sda

-> https://gist.github.com/pschmitt/9408454


$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Device 0a0c (rev 09)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 1 (rev e4)
00:1c.2 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 (rev e4)
00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
04:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5227 (rev 01)
$ cat /etc/fstab
/dev/sda3           	/         	btrfs     	rw,relatime,ssd,space_cache	0 0
/dev/sda4           	/var      	btrfs     	rw,relatime,ssd,space_cache	0 0
/dev/sda2           	/boot     	ext4      	rw,relatime,data=ordered	0 2
/dev/sda1           	/boot/efi 	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro	0 2
/dev/sda5           	/home     	btrfs     	rw,relatime,ssd,space_cache	0 0
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        30G   13G   17G  44% /
dev             3.9G     0  3.9G   0% /dev
run             3.9G  648K  3.9G   1% /run
tmpfs           3.9G   88K  3.9G   1% /dev/shm
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs           3.9G   16K  3.9G   1% /tmp
/dev/sda4        30G  3.5G   27G  12% /var
/dev/sda5       179G   49G  129G  28% /home
/dev/sda2       120M   36M   76M  32% /boot
/dev/sda1       256M  119K  256M   1% /boot/efi

Offline

#2 2014-09-27 13:03:20

eigrad
Member
Registered: 2009-12-02
Posts: 8

Re: Thinkpad Yoga - SSD gets remounted read only when plugging in charger

I have the same issue on Thinkpad Yoga S1 with SSD with ext4 filesystem. It never appeared while running Windows 8, only with Linux.

Offline

#3 2014-09-28 02:08:14

Pse
Member
Registered: 2008-03-15
Posts: 383

Re: Thinkpad Yoga - SSD gets remounted read only when plugging in charger

Well, according to the journal something is causing the SATA link to fail. It may or may not be related to some sort of hardware/firmware problem. Can you confirm that messages like the ones from the journal do not appear when not plugging/unplugging the cable?

Offline

#4 2014-10-03 03:31:48

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 55

Re: Thinkpad Yoga - SSD gets remounted read only when plugging in charger

Pls see this link which might help explain the situation:

https://github.com/linrunner/TLP/issues/84

The short story: if laptop-mode-tools is configured to place the SATA interface into a low power state (i.e., min_power) on battery, plugging in the power cable then switches the interface to a high power state (i.e., max_performance) with possibility of remounting the SSD as read-only:

https://bugzilla.kernel.org/show_bug.cgi?id=72191


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.7
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.7
Latitude 3150; Pentium N3540; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

Board footer

Powered by FluxBB