I rebooted with the paramters of comment #33 (
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1269777/comments/33).
PCIE powermanagement is DISABLED in the BIOS.

Then I did the undocking operation:
It  is working like expected without any problem!

[ 1866.096092] thinkpad_acpi: undocked from hotplug port replicator
[ 1866.816786] thinkpad_acpi: undocked from hotplug port replicator
[ 1868.539250] thinkpad_acpi: undocked from hotplug port replicator
[ 1869.262918] thinkpad_acpi: undocked from hotplug port replicator
[ 1871.740846] usb 1-1.5: new high-speed USB device number 5 using ehci-pci
[ 1871.837436] usb 1-1.5: New USB device found, idVendor=17ef, idProduct=100a
[ 1871.837446] usb 1-1.5: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
[ 1871.838073] hub 1-1.5:1.0: USB hub found
[ 1871.838218] hub 1-1.5:1.0: 6 ports detected
[ 1872.205253] e1000e 0000:00:19.0: irq 54 for MSI/MSI-X
[ 1872.237244] thinkpad_acpi: docked into hotplug port replicator
[ 1875.306042] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: 
Rx
[ 1875.306084] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1886.197392] wlan0: deauthenticating from 00:15:0c:25:3a:20 by local choice 
(reason=3)
[ 1886.209324] cfg80211: Calling CRDA to update world regulatory domain
[ 1886.213833] cfg80211: World regulatory domain updated:
[ 1886.213838] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[ 1886.213840] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[ 1886.213843] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[ 1886.213845] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[ 1886.213847] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[ 1886.213849] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[ 2278.442035] usb 1-1.5: USB disconnect, device number 5
[ 2278.715642] e1000e: eth0 NIC Link is Down
[ 2279.131886] thinkpad_acpi: undocked from hotplug port replicator
[ 2463.374118] usb 1-1.5: new high-speed USB device number 6 using ehci-pci
[ 2463.466471] usb 1-1.5: New USB device found, idVendor=17ef, idProduct=100a
[ 2463.466483] usb 1-1.5: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
[ 2463.467060] hub 1-1.5:1.0: USB hub found
[ 2463.467211] hub 1-1.5:1.0: 6 ports detected
[ 2463.814673] e1000e 0000:00:19.0: irq 54 for MSI/MSI-X
[ 2463.838596] thinkpad_acpi: docked into hotplug port replicator

I will try this again, after the system worked a few hours, e.g.
tomorrow morning.

** Attachment added: "dmesg.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1269777/+attachment/3950470/+files/dmesg.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1269777

Title:
  [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 EVO PRO] Sudden Read-
  Only Filesystem

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Like mentioned in bug #1266305 (and before in bug #1265309) the
  following problem occured:

  1. System
  --------------------------

  - Ubuntu 14 04 LTS (acutal development branch)
  - linux-image-generic v. 3.13.x,  mainline kernel 3.13.x (first testing the 
standard kernel), last 3.12 mainline kernel
  - lvm with trim support (batched discard)
  - tlp (currently disabled for testing purpose)

  2. Hardware:
  ---------------------------
  - Lenovo W510 i7 quad core
  - SSD Samsung 840 EVO Pro (former Samsung 840 EVO, was changed in hope that 
the problem disapears)
  - nvidia graphics

  BIOS (defaults F9) and:

  - BIOS Mode Standard 1: SATA: AHCI, POWER: pci and pcie power management 
AUTOMATIC
  - BIOS Mode Standard 2: SATA: AHCI, POWER: pci and pcie power management OFF

  - BIOS Mode Compat 1: SATA: Compatability Mode, POWER: pci and pcie power 
management AUTOMATIC
  - BIOS Mode Compat 2: SATA: Compatability Mode, POWER: pci and pcie power 
management OFF

  3. Problem descripton
  -----------------------------------------------

  The SSD randomly freezes with the following errors:
  ata1: EH complete
  ata1: limiting SATA link speed to 1.5 Gbps
  ata1.00: exception Emask 0x52 SAct 0x1 SErr 0x1a80d00 action 0x6 frozen
  ata1.00: irq_stat 0x08000000, interface fatal error
  ata1: SError: { UnrecovData Proto HostInt 10B8B BadCRC LinkSeq TrStaTrns }
  ata1.00: failed command: READ FPDMA QUEUED
  ata1.00: cmd 60/08:00:d8:b9:27/00:00:05:00:00/40 tag 0 ncq 4096 in
  ata1.00: status: { DRDY }
  ata1: hard resetting link
  ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)

  
  Probably affect other Thinkpad models too:

  - 
http://www.sevenforums.com/bsod-help-support/309288-bsod-after-few-minutes-5-55-minutes-samsung-ssd-840-evo.html
  - [GERMAN] 
http://thinkpad-forum.de/threads/168841-Freezes-nach-Einbau-einer-neuen-SSD?p=1698795#post1698795
  - 
http://www.howtoeverything.net/linux/hardware/ubuntu-freeze-issue-after-ssd-upgrade

  4. Troubleshooting so far
  ------------------------------------------------
  4.1. Kernel boot parameters:

  libata.force=1:3.0G,2:1,5G libata.force=noncq

  -> not working. DRDY, hard restting link.

  4.2. BIOS Mode Compat 2 (Compat, PCI powermangement OFF), no
  additional kernel boot parameters.

  System ran with standard generic kernel 3.13.x for over 12 hours usage 
without any problems.
  I did some suspend/ resume cycles: no problems.

  5. Further testing:
  --------------------------------------------------------
  Testing scenarios will be applied in the follwowing structure (if necessary)

  5.1 Testing the standard trusty kernel (linux-image-generic)
  5.1.1.  with all BIOS modes.
  5.1.2.  eventually kernel boot parameters

  5.2. Testing the latest mainline kernel  with all BIOS modes.
  5.2.1.  with all BIOS modes.
  5.2.2.  eventually kernel boot parameters

  This could take a few days, so be patient.

  Keeping fingers crossed ;-)

  P.S-.: Thanks a lot for Christopher M. Penalver for his excellent
  assistance so far!

  ######################################################################

  Wed, 15 Jan 2014 18:00:00 +0100

  - installed mainline kernel 3.13.0-031300rc8-generic
  - BIOS:
        SATA: Compatibility,
        POWER: pci / pcie power management OFF (!)
  - no tlp

  No problems until the next day (switched POWER management for pci and
  pcie on)

  ######################################################################

  Thu, 16 Jan 2014 13:18:45 +0100

  - installed linux-image-generic -> 3.13.0-3-generic
  - BIOS:
        SATA: AHCI,
        POWER:  pci/pcie power management AUTOMATIC
  - Reboot with new standard kernel
  - no tlp yet!

  ######################################################################

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-generic 3.13.0.3.6
  ProcVersionSignature: Ubuntu 3.13.0-3.18-generic 3.13.0-rc8
  Uname: Linux 3.13.0-3-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.13.1-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  apos       3069 F.... pulseaudio
   /dev/snd/controlC0:  apos       3069 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Thu Jan 16 12:35:13 2014
  HibernationDevice: RESUME=UUID=7290992b-11df-4d5c-a9bc-579dafe5eb61
  InstallationDate: Installed on 2014-01-08 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140105)
  MachineType: LENOVO 4391E46
  ProcFB:

  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-3-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-3-generic N/A
   linux-backports-modules-3.13.0-3-generic  N/A
   linux-firmware                            1.121
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/03/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 6NET84WW (1.45 )
  dmi.board.name: 4391E46
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvr6NET84WW(1.45):bd10/03/2012:svnLENOVO:pn4391E46:pvrThinkPadW510:rvnLENOVO:rn4391E46:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 4391E46
  dmi.product.version: ThinkPad W510
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1269777/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to