[Kernel-packages] [Bug 1269777] Re: [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 PRO 512GB] Sudden Read-Only Filesystem

2014-07-07 Thread Christopher M. Penalver
Augusto Bortoluzzi, thank you for your comment. So your hardware and problem 
may be tracked, could you please file a new report with Ubuntu by executing the 
following in a terminal while booted into the default Ubuntu kernel (not a 
mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: 
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: 
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: 
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

-- 
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 PRO 512GB] Sudden Read-
  Only Filesystem

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  
  [UPDATE 05th March 2014]

  The lenovo service was here and changed the mainboard.
  No problems any more with a Crucial M500 480 GB and therefore
  I think witch any other SSD on the W510.

  So the problem turned out a real hardware problem.
  The lenovo diagnostic cd however did not turn out any problem.
  So to make a long story short: If you encounter any problems like in 
  this thread, don't heasitate to contact the lenovo service and insist for
  a repair. In my case, I had to contact the service twice because I am using
  hardware that is not part of the supported lenovo device list.

  


  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 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 0x0800, 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 

[Kernel-packages] [Bug 1269777] Re: [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 PRO 512GB] Sudden Read-Only Filesystem

2014-07-07 Thread Augusto Bortoluzzi
Thanks Christopher, I filed a new bug as you suggested
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1338706

-- 
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 PRO 512GB] Sudden Read-
  Only Filesystem

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  
  [UPDATE 05th March 2014]

  The lenovo service was here and changed the mainboard.
  No problems any more with a Crucial M500 480 GB and therefore
  I think witch any other SSD on the W510.

  So the problem turned out a real hardware problem.
  The lenovo diagnostic cd however did not turn out any problem.
  So to make a long story short: If you encounter any problems like in 
  this thread, don't heasitate to contact the lenovo service and insist for
  a repair. In my case, I had to contact the service twice because I am using
  hardware that is not part of the supported lenovo device list.

  


  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 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 0x0800, 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 

[Kernel-packages] [Bug 1269777] Re: [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 PRO 512GB] Sudden Read-Only Filesystem

2014-07-06 Thread Augusto Bortoluzzi
I confirm I have a similar problem on Ubuntu 14.04 amd64 with similar
hardware, the error is failed to get NCQ Send/Recv Log Emask 0x1. In
my case the disk is not available, it is not listed with lshw.

My HDD Model: ATA Samsung SSD 840 Series (250GB)
My sysboard is an Asus M3N78-EM, with updated BIOS.

Some details:
$ lspci -vvnn | grep -i sata
00:09.0 IDE interface [0101]: NVIDIA Corporation MCP78S [GeForce 8200] SATA 
Controller (non-AHCI mode) [10de:0ad0] (rev a2) (prog-if 85 [Master SecO PriO])

$ tail -n 2000 /var/log/syslog | grep -B 3 -A 1 -i samsung
Jul  6 16:38:08 user-pc kernel: [1.432094] ata4: SATA link up 3.0 Gbps 
(SStatus 123 SControl 300)
Jul  6 16:38:08 user-pc kernel: [1.432109] ata5: SATA link up 1.5 Gbps 
(SStatus 113 SControl 300)
Jul  6 16:38:08 user-pc kernel: [1.432638] ata4.00: failed to get NCQ 
Send/Recv Log Emask 0x1
Jul  6 16:38:08 user-pc kernel: [1.432641] ata4.00: ATA-9: Samsung SSD 840 
Series, DXT06B0Q, max UDMA/133
Jul  6 16:38:08 user-pc kernel: [1.432643] ata4.00: 488397168 sectors, 
multi 16: LBA48 NCQ (depth 31/32)
--
Jul  6 17:27:05 user-pc kernel: [1.512031] ata4: SATA link up 3.0 Gbps 
(SStatus 123 SControl 300)
Jul  6 17:27:05 user-pc kernel: [1.512051] ata3: SATA link up 3.0 Gbps 
(SStatus 123 SControl 300)
Jul  6 17:27:05 user-pc kernel: [1.512798] ata4.00: failed to get NCQ 
Send/Recv Log Emask 0x1
Jul  6 17:27:05 user-pc kernel: [1.512801] ata4.00: ATA-9: Samsung SSD 840 
Series, DXT06B0Q, max UDMA/133
Jul  6 17:27:05 user-pc kernel: [1.512804] ata4.00: 488397168 sectors, 
multi 16: LBA48 NCQ (depth 31/32)

***I quickly test with Ubuntu 12.04  and the Bug wasn't present:
This is from lshw output with Ubuntu 12.04 amd64:

*-disk:1
 description: ATA Disk
 product: Samsung SSD 840
 physical id: 1
 bus info: scsi@1:0.0.0
 logical name: /dev/sdb
 version: DXT0
 serial: S14GNEACA42011P
 size: 232GiB (250GB)
 capabilities: partitioned partitioned:dos
 configuration: ansiversion=5 signature=00048686
   *-volume:0
description: Linux filesystem partition
vendor: Linux
physical id: 1
bus info: scsi@1:0.0.0,1
logical name: /dev/sdb1
version: 1.0

-- 
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 PRO 512GB] Sudden Read-
  Only Filesystem

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  
  [UPDATE 05th March 2014]

  The lenovo service was here and changed the mainboard.
  No problems any more with a Crucial M500 480 GB and therefore
  I think witch any other SSD on the W510.

  So the problem turned out a real hardware problem.
  The lenovo diagnostic cd however did not turn out any problem.
  So to make a long story short: If you encounter any problems like in 
  this thread, don't heasitate to contact the lenovo service and insist for
  a repair. In my case, I had to contact the service twice because I am using
  hardware that is not part of the supported lenovo device list.

  


  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 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 0x0800, 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 

[Kernel-packages] [Bug 1269777] Re: [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 PRO 512GB] Sudden Read-Only Filesystem

2014-07-06 Thread Augusto Bortoluzzi
I missed to mention that I also switched BIOS setting forcing AHCI mode,
but the disk is not available.

$ dmesg | egrep ata4
[1.195248] ata4: SATA max UDMA/133 abar m8192@0xfcf76000 port 0xfcf76180 
irq 40
[1.512031] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[1.512798] ata4.00: failed to get NCQ Send/Recv Log Emask 0x1
[1.512801] ata4.00: ATA-9: Samsung SSD 840 Series, DXT06B0Q, max UDMA/133
[1.512804] ata4.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[6.512027] ata4.00: qc timeout (cmd 0x2f)
[6.512034] ata4.00: failed to get Identify Device Data, Emask 0x5
[6.512043] ata4.00: failed to set xfermode (err_mask=0x40)
[6.832022] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[6.832784] ata4.00: failed to get NCQ Send/Recv Log Emask 0x1
[   11.832036] ata4.00: qc timeout (cmd 0x2f)
[   11.832043] ata4.00: failed to get Identify Device Data, Emask 0x5
[   11.832054] ata4.00: failed to set xfermode (err_mask=0x40)
[   11.832058] ata4: limiting SATA link speed to 1.5 Gbps
[   11.832060] ata4.00: limiting speed to UDMA/133:PIO3
[   12.152021] ata4: SATA link up unknown (SStatus 103 SControl 310)
[   12.152182] ata4.00: failed to get NCQ Send/Recv Log Emask 0x1
[   17.152034] ata4.00: qc timeout (cmd 0x2f)
[   17.152039] ata4.00: failed to get Identify Device Data, Emask 0x5
[   17.152045] ata4.00: failed to set xfermode (err_mask=0x40)
[   17.152047] ata4.00: disabled
[   17.152057] ata4: hard resetting link
[   17.472022] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[   17.472027] ata4: EH complete

-- 
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 PRO 512GB] Sudden Read-
  Only Filesystem

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  
  [UPDATE 05th March 2014]

  The lenovo service was here and changed the mainboard.
  No problems any more with a Crucial M500 480 GB and therefore
  I think witch any other SSD on the W510.

  So the problem turned out a real hardware problem.
  The lenovo diagnostic cd however did not turn out any problem.
  So to make a long story short: If you encounter any problems like in 
  this thread, don't heasitate to contact the lenovo service and insist for
  a repair. In my case, I had to contact the service twice because I am using
  hardware that is not part of the supported lenovo device list.

  


  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 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 0x0800, 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 

[Kernel-packages] [Bug 1269777] Re: [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 PRO 512GB] Sudden Read-Only Filesystem

2014-04-29 Thread Mateusz Gryzzli
This is a regression from kernel 3.12 and 3.13 onwards (i can't
reproduce the 'failed to get NCQ Send/Recv Log Emask 0x1' in kernel
3.11 on samsung 840 ssd). I think those ncq changes upstream make some
spotty ssd's firmware's go nuts, like samsung (which for example has ncq
disabled for their macbook pcie-express ssd's). For the time being as a
workaround you can either disable power saving on sata link, downgrade
the kernel or disable ncq altogether. This has nothing to do with bios
manufacturer afaik, because even disabling acpi or other aspm features
still produces those errors. Maybe this has to be reopened, because that
bug can cause data-loss in laptops (and pc's) and seems not to be vendor
specific (i have an asus mobo for example).

-- 
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 PRO 512GB] Sudden Read-
  Only Filesystem

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  
  [UPDATE 05th March 2014]

  The lenovo service was here and changed the mainboard.
  No problems any more with a Crucial M500 480 GB and therefore
  I think witch any other SSD on the W510.

  So the problem turned out a real hardware problem.
  The lenovo diagnostic cd however did not turn out any problem.
  So to make a long story short: If you encounter any problems like in 
  this thread, don't heasitate to contact the lenovo service and insist for
  a repair. In my case, I had to contact the service twice because I am using
  hardware that is not part of the supported lenovo device list.

  


  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 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 0x0800, 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
  - 

[Kernel-packages] [Bug 1269777] Re: [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 PRO 512GB] Sudden Read-Only Filesystem

2014-02-20 Thread Axel Pospischil
Hi,

[Crucial M500 - a hope? - NO]
---

after returning the Samsung and found this  thread in the lenovo forum:

http://forums.lenovo.com/t5/W-Series-ThinkPad-Laptops/W510-SSD-My-
Story/m-p/1402387

my hope was the Crucial M500 should be compatible to the W510:

http://www.crucial.com/store/mpartspecs.aspx?mtbpoid=AC617B31A5CA7304

Unfortunately, I encounterd the very same problems like with the other SSD's.
The ata port hard resets and the SSD goes into read-only state after a certain 
amount of time. 

More or less stable I could get things running with turning PCIe
powermanagement off in the BIOS an using libata.force=noncq as kernel
boot parameters. Nevertheless the system freezes from time to time.

I will open a new bug report for this drive as soon as the

[Contacting Lenovo support]
---

The lenovo support stated, that only very special SSDs from Intel with a 
capacity of 160GB are compatible with this device.
So no help from lenovo.

[FURTHER TESTING]
-

Since the fact, that an older drive, the Samsung 830 is running fine in
a laptop (Lenovo X201, i7)  with the same laptop, I tested all drives
(Samsung 840 EVO, PRO and the Crucial M500 480) in the X201. Same
problem there. So it IS DEFINITELY an incompatibility with the drive and
the machine / chipset / kernel.


Within the next weeks, I will try an older Crucial M4 256GB in the W510.
This is an older drive model like the Samsung 830 and probably will work.

[OPINION]
---

Comming across certain threads, this problem is very common an occurs here and 
there with certain chipsets.
I don't think it is a problem of the linux kernel, but probably could be fixed?

I will post my results about the Crucial M4 and the problems with the
Crucial M500 and link here.

-- 
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 PRO 512GB] Sudden Read-
  Only Filesystem

Status in “linux” package in Ubuntu:
  Opinion

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 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 0x0800, 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 

[Kernel-packages] [Bug 1269777] Re: [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 PRO 512GB] Sudden Read-Only Filesystem

2014-01-24 Thread Axel Pospischil

Fri, 24 Jan 2014 08:54:15 +0100
 08:54:15 up 1 day, 20:49,  4 users,  load average: 0,90, 2,21, 1,61

Hi again,

as said in comment #50, I put a clone of the SSD, Seagate Momentus XT Hypbrid 
into the laptop.
As you can see, the system is running without any problems: no NCQ warnings, no 
problems after supspend, hibernation, docking.
And this this tlp enabled and ACPI powermanagement in the bios.

I also tested the SSD in a Thinkpad X201 yesterday evening which has the the 
same chipset.
There I had exact the same problems!

I filed a question in lenovos forum and the answer is clear:
nothing but trouble with the Samsung 840 series with this Cipset!
People did not have trouble with the 830 series and capacities of 256 GB:

- http://forums.lenovo.com/t5/W-Series-ThinkPad-Laptops/W510-SSD-My-
Story/td-p/1401955/highlight/false

The only drive which is guarantied by manufactor to run with the
Thinkpad W510 with a capacity of more than 256GB (!)  - there is none of
this size  in the hardware specifications mentioned by lenovo - is the
crucial M500 480GB.

- http://www.crucial.com/store/mpartspecs.aspx?mtbpoid=AC617B31A5CA7304

#
CONCLUSION
--

I have to return the Samsung 840 Pro 512 GB (as I did with the Samsung
840 EVO) and have to state that it is not compatible with the Thinkpad
W510 and the Intel 5/3400 Chipset and the BIOS 6NET84WW (1.45 )
10/03/2012.

All efforts to get things running stable where - in the end - not
successfull.

Probably this bug report might help to fix things in future kernels or lenovo 
will fix this.
Sorry that I can't wait until this will happen ;-)

Cheers, over and out.
Closing bug.

Axel

** Attachment added: dmesg running Seagate Momentus XT 512GB for 2 days
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1269777/+attachment/3955572/+files/dmesg_MomentusXT_512GB.log

** Changed in: linux (Ubuntu)
   Status: Confirmed = Opinion

-- 
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 PRO 512GB] Sudden Read-
  Only Filesystem

Status in “linux” package in Ubuntu:
  Opinion

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 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 0x0800, 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 

[Kernel-packages] [Bug 1269777] Re: [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 PRO 512GB] Sudden Read-Only Filesystem

2014-01-22 Thread Axel Pospischil
** Summary changed:

- [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 PRO] Sudden Read-Only 
Filesystem
+ [ Ubuntu 14.04 - Lenovo W510 - SSD Samsung 840 PRO 512GB] Sudden Read-Only 
Filesystem

-- 
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 PRO 512GB] 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 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 0x0800, 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:
   USERPID 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)