Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

Running a Samsung SSD with openSuse

Linux on ThinkPads
Post Reply
Message
Author
portsample
Sophomore Member
Posts: 153
Joined: Wed Sep 19, 2007 11:38 pm
Location: Alaska (not Anchorage)

Running a Samsung SSD with openSuse

#1 Post by portsample » Sat Sep 02, 2017 10:39 am

I've been using Samsung solid state drives (SSDs) in (2) of my T61 laptops with no problems. OS is current version of openSuse. Recently I have been having a variety of problems with these units that appear to be related to the SSDs.
Question: In the Middleton BIOS, I have set "SATA Controller Mode Option" to "Compatibility", are other people using this setting? TIA...
T61, 14.1", X9000 2.8ghz, Intel GM965, 8gb RAM, 250gb SSD, 1tb SATA Ubay, openSuse 15.1/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 15.1/Win8 (spares)

RealBlackStuff
Admin Emeritus
Admin Emeritus
Posts: 23812
Joined: Mon Sep 18, 2006 5:17 am
Location: Loch Garman, Éire

Re: Running a Samsung SSD with openSuse

#2 Post by RealBlackStuff » Sat Sep 02, 2017 11:21 am

Set it to AHCI, that's the proper way to go.

portsample
Sophomore Member
Posts: 153
Joined: Wed Sep 19, 2007 11:38 pm
Location: Alaska (not Anchorage)

Re: Running a Samsung SSD with openSuse

#3 Post by portsample » Sat Sep 02, 2017 12:04 pm

RealBlackStuff wrote:
Sat Sep 02, 2017 11:21 am
Set it to AHCI, that's the proper way to go.
My thoughts as well. But problems appear to increase, (failed boots, increased freeze-ups, etc) when I do this.
Are you running a linux OS? SSD? What types of each? Thanks.
T61, 14.1", X9000 2.8ghz, Intel GM965, 8gb RAM, 250gb SSD, 1tb SATA Ubay, openSuse 15.1/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 15.1/Win8 (spares)

ajkula66
SuperUserGeorge
SuperUserGeorge
Posts: 17303
Joined: Sun Feb 25, 2007 11:28 am
Location: Belgrade, Serbia

Re: Running a Samsung SSD with openSuse

#4 Post by ajkula66 » Sat Sep 02, 2017 12:30 pm

portsample wrote:
Sat Sep 02, 2017 12:04 pm

My thoughts as well. But problems appear to increase, (failed boots, increased freeze-ups, etc) when I do this.
That should not be the case. I would suspect that your issues could be related to the way that the drive has been partitioned. How much of an unallocated space is there in percents?
Are you running a linux OS? SSD? What types of each? Thanks.
I'll answer for myself since I'm replying to your thread...

CentOS 6.9 (32-bit) on a Micron P300 SLC SSD in a Z61m, no issues.

CentOS 6.5 (32-bit) on an Intel X-25E SLC SSD in a T43pSF, no issues. This particular install has been working for well over 18 months at this point, although that system gets very little use, TBT.
...Knowledge is a deadly friend when no one sets the rules...(King Crimson)

Cheers,

George (your grouchy retired FlexView farmer)

One FlexView to rule them all: A31p

Abused daily: T520, X200s


PMs requesting personal tech support will be ignored.

portsample
Sophomore Member
Posts: 153
Joined: Wed Sep 19, 2007 11:38 pm
Location: Alaska (not Anchorage)

Re: Running a Samsung SSD with openSuse

#5 Post by portsample » Sat Sep 02, 2017 1:30 pm

ajkula66 wrote:
Sat Sep 02, 2017 12:30 pm
That should not be the case. I would suspect that your issues could be related to the way that the drive has been partitioned. How much of an unallocated space is there in percents?
Tried a variety...from 10-20%.
T61, 14.1", X9000 2.8ghz, Intel GM965, 8gb RAM, 250gb SSD, 1tb SATA Ubay, openSuse 15.1/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 15.1/Win8 (spares)

ajkula66
SuperUserGeorge
SuperUserGeorge
Posts: 17303
Joined: Sun Feb 25, 2007 11:28 am
Location: Belgrade, Serbia

Re: Running a Samsung SSD with openSuse

#6 Post by ajkula66 » Sat Sep 02, 2017 1:43 pm

I tend to leave the unallocated space at the very minimum of 25%, usually way more than that. But that's me.

However, given that you've tried 20% and are still experiencing the same set of issues, it's quite likely that your problem is elsewhere.

My first guess: partitioning.

My second guess: the actual AHCI driver.

Good luck.
...Knowledge is a deadly friend when no one sets the rules...(King Crimson)

Cheers,

George (your grouchy retired FlexView farmer)

One FlexView to rule them all: A31p

Abused daily: T520, X200s


PMs requesting personal tech support will be ignored.

Dekks
Senior Member
Senior Member
Posts: 583
Joined: Thu Jun 26, 2014 9:38 am
Location: Birmingham, UK

Re: Running a Samsung SSD with openSuse

#7 Post by Dekks » Sat Sep 02, 2017 1:50 pm

portsample wrote:
Sat Sep 02, 2017 10:39 am
I've been using Samsung solid state drives (SSDs) in (2) of my T61 laptops with no problems. OS is current version of openSuse. Recently I have been having a variety of problems with these units that appear to be related to the SSDs.
Question: In the Middleton BIOS, I have set "SATA Controller Mode Option" to "Compatibility", are other people using this setting? TIA...
Which model and whats your fstab say? error logs in more detail? set trim up correctly?
Home - Win 10 MSi GF63 Gaming Laptop /Arch GNOME 3/X230 Tablet /X61 [Korean] - Debian 10/T60p - Ubuntu 20.10 Helix 2
Work - Win10/Thinkpad X1 Tablet Gen 2

portsample
Sophomore Member
Posts: 153
Joined: Wed Sep 19, 2007 11:38 pm
Location: Alaska (not Anchorage)

Re: Running a Samsung SSD with openSuse

#8 Post by portsample » Sat Sep 02, 2017 2:10 pm

Dekks wrote:
Sat Sep 02, 2017 1:50 pm
Which model and whats your fstab say? error logs in more detail? set trim up correctly?
/etc/fstab...
UUID=df2cffd2-6298-45e4-be05-8c0bd759b919 swap swap noatime,defaults 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 / btrfs noatime,defaults 0 0
UUID=0ab88e35-74ee-4368-9c32-be0e23afd982 /home ext4 noatime,acl,user_xattr 1 2
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /boot/grub2/i386-pc btrfs subvol=@/boot/grub2/i386-pc 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /boot/grub2/x86_64-efi btrfs subvol=@/boot/grub2/x86_64-efi 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /opt btrfs subvol=@/opt 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /srv btrfs subvol=@/srv 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /usr/local btrfs subvol=@/usr/local 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /var/cache btrfs subvol=@/var/cache 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /var/crash btrfs subvol=@/var/crash 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /var/lib/libvirt/images btrfs subvol=@/var/lib/libvirt/images 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /var/lib/machines btrfs subvol=@/var/lib/machines 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /var/lib/mailman btrfs subvol=@/var/lib/mailman 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /var/lib/mariadb btrfs subvol=@/var/lib/mariadb 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /var/lib/mysql btrfs subvol=@/var/lib/mysql 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /var/lib/named btrfs subvol=@/var/lib/named 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /var/lib/pgsql btrfs subvol=@/var/lib/pgsql 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /var/opt btrfs subvol=@/var/opt 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0
UUID=ac801452-3c6a-458d-8896-5f5bd09777d8 /.snapshots btrfs subvol=@/.snapshots 0 0
UUID=6eafd37c-84a0-4432-95f1-9f79ea8f3b60 /externalSpinningHD ext4 defaults 1 2

Trim runs at every boot. Which model? T61 w/intel GPU, CPU is T9500 with 8gb RAM.
T61, 14.1", X9000 2.8ghz, Intel GM965, 8gb RAM, 250gb SSD, 1tb SATA Ubay, openSuse 15.1/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 15.1/Win8 (spares)

Dekks
Senior Member
Senior Member
Posts: 583
Joined: Thu Jun 26, 2014 9:38 am
Location: Birmingham, UK

Re: Running a Samsung SSD with openSuse

#9 Post by Dekks » Sat Sep 02, 2017 2:17 pm

No the samsung SSD

ahh x1 thats a very complex fstab
ahh x 2 btrfs - do you routine filesystem maintenance from the likes of https://github.com/kdave/btrfsmaintenance

EDIT: dont run /var/tmp in RAM its meant for permanent tmp files that are active over boots
EDIT: why are your grub partitions btrfs? ie using a journaled fs?
Home - Win 10 MSi GF63 Gaming Laptop /Arch GNOME 3/X230 Tablet /X61 [Korean] - Debian 10/T60p - Ubuntu 20.10 Helix 2
Work - Win10/Thinkpad X1 Tablet Gen 2

portsample
Sophomore Member
Posts: 153
Joined: Wed Sep 19, 2007 11:38 pm
Location: Alaska (not Anchorage)

Re: Running a Samsung SSD with openSuse

#10 Post by portsample » Sat Sep 02, 2017 3:33 pm

Dekks wrote:
Sat Sep 02, 2017 2:17 pm
No the samsung SSD

ahh x1 thats a very complex fstab
ahh x 2 btrfs - do you routine filesystem maintenance from the likes of https://github.com/kdave/btrfsmaintenance

EDIT: dont run /var/tmp in RAM its meant for permanent tmp files that are active over boots
EDIT: why are your grub partitions btrfs? ie using a journaled fs?
I have (3) separate SSDs that I've been using: a Samsung 750, an 850 and an 840. All are 250GB.
T61, 14.1", X9000 2.8ghz, Intel GM965, 8gb RAM, 250gb SSD, 1tb SATA Ubay, openSuse 15.1/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 15.1/Win8 (spares)

Dekks
Senior Member
Senior Member
Posts: 583
Joined: Thu Jun 26, 2014 9:38 am
Location: Birmingham, UK

Re: Running a Samsung SSD with openSuse

#11 Post by Dekks » Sat Sep 02, 2017 4:12 pm

Are you aware of the samsung 840 performance problem with its TLC NAND? Why all the subvolumes under var/lib? cant you start with a simplified set up
Home - Win 10 MSi GF63 Gaming Laptop /Arch GNOME 3/X230 Tablet /X61 [Korean] - Debian 10/T60p - Ubuntu 20.10 Helix 2
Work - Win10/Thinkpad X1 Tablet Gen 2

portsample
Sophomore Member
Posts: 153
Joined: Wed Sep 19, 2007 11:38 pm
Location: Alaska (not Anchorage)

Re: Running a Samsung SSD with openSuse

#12 Post by portsample » Tue Sep 05, 2017 10:25 pm

This resolved my freezing problem,
edit /etc/default/grub. Change the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash blah-blah"
to
GRUB_CMDLINE_LINUX_DEFAULT="intel_idle.max_cstate=1 quiet splash blah-blah"
then update Grub by running,
grub2-mkconfig -o /boot/grub2/grub.cfg
as SU and reboot.
See https://bugzilla.kernel.org/show_bug.cgi?id=109051 for further information. Thanks.
T61, 14.1", X9000 2.8ghz, Intel GM965, 8gb RAM, 250gb SSD, 1tb SATA Ubay, openSuse 15.1/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 15.1/Win8 (spares)

axur-delmeria
Senior ThinkPadder
Senior ThinkPadder
Posts: 3810
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: Running a Samsung SSD with openSuse

#13 Post by axur-delmeria » Wed Sep 06, 2017 4:06 am

portsample wrote:
Tue Sep 05, 2017 10:25 pm
GRUB_CMDLINE_LINUX_DEFAULT="intel_idle.max_cstate=1 quiet splash blah-blah"
Won't that severely reduce your battery runtime?
Planned Purchase: T480s i5-8350 FHD Touch
Impulse Buy: Thinkpad not named for safety reasons :lol:
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E :cry:

portsample
Sophomore Member
Posts: 153
Joined: Wed Sep 19, 2007 11:38 pm
Location: Alaska (not Anchorage)

Re: Running a Samsung SSD with openSuse

#14 Post by portsample » Wed Sep 06, 2017 3:53 pm

portsample wrote:
Tue Sep 05, 2017 10:25 pm
This resolved my freezing problem,
edit /etc/default/grub. Change the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash blah-blah"
to
GRUB_CMDLINE_LINUX_DEFAULT="intel_idle.max_cstate=1 quiet splash blah-blah"
then update Grub by running,
grub2-mkconfig -o /boot/grub2/grub.cfg
as SU and reboot.
See https://bugzilla.kernel.org/show_bug.cgi?id=109051 for further information. Thanks.
Note: Error message associated w/above problem is,
"drm/i915: Resetting chip after gpu hang".
TIA.
T61, 14.1", X9000 2.8ghz, Intel GM965, 8gb RAM, 250gb SSD, 1tb SATA Ubay, openSuse 15.1/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 15.1/Win8 (spares)

axur-delmeria
Senior ThinkPadder
Senior ThinkPadder
Posts: 3810
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: Running a Samsung SSD with openSuse

#15 Post by axur-delmeria » Thu Sep 07, 2017 1:30 am

Wait, GPU hang? Maybe it's the Intel graphics driver. The current Debian release defaults to the generic modesetting driver for any Intel GPU newer than the GMA 900/950, due to bugs in the Intel driver.
Planned Purchase: T480s i5-8350 FHD Touch
Impulse Buy: Thinkpad not named for safety reasons :lol:
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E :cry:

portsample
Sophomore Member
Posts: 153
Joined: Wed Sep 19, 2007 11:38 pm
Location: Alaska (not Anchorage)

Re: Running a Samsung SSD with openSuse

#16 Post by portsample » Tue Sep 12, 2017 4:01 pm

Reverting to the previous kernel driver per section 1.4 of below link
https://doc.opensuse.org/release-notes/ ... Leap/42.3/
resolved the problem.
This is NOT a SSD issue, this is purely a driver problem.
T61, 14.1", X9000 2.8ghz, Intel GM965, 8gb RAM, 250gb SSD, 1tb SATA Ubay, openSuse 15.1/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 15.1/Win8 (spares)

axur-delmeria
Senior ThinkPadder
Senior ThinkPadder
Posts: 3810
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: Running a Samsung SSD with openSuse

#17 Post by axur-delmeria » Tue Sep 12, 2017 10:30 pm

^
I think it's a combination of the 4.9 kernel and the Intel driver in mesa. In one of my X61's I reverted to the stock kernel after encountering problems with kernel 4.9 and the latest Intel mesa driver from backports.
Planned Purchase: T480s i5-8350 FHD Touch
Impulse Buy: Thinkpad not named for safety reasons :lol:
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E :cry:

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 27 guests