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: 133
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 42.3/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 42.3/Win8 (spares)

RealBlackStuff
Admin
Admin
Posts: 19140
Joined: Mon Sep 18, 2006 5:17 am
Location: Mt. Cobb, PA
Contact:

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: 133
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 42.3/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 42.3/Win8 (spares)

ajkula66
SuperUserGeorge
SuperUserGeorge
Posts: 16114
Joined: Sun Feb 25, 2007 11:28 am
Location: Brodheadsville, Pennsylvania, USA

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)

AARP club members:A31p, T42, T43pSF

Abused daily: T61p

PMs requesting personal tech support will be ignored.

portsample
Sophomore Member
Posts: 133
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 42.3/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 42.3/Win8 (spares)

ajkula66
SuperUserGeorge
SuperUserGeorge
Posts: 16114
Joined: Sun Feb 25, 2007 11:28 am
Location: Brodheadsville, Pennsylvania, USA

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)

AARP club members:A31p, T42, T43pSF

Abused daily: T61p

PMs requesting personal tech support will be ignored.

Dekks
Senior Member
Senior Member
Posts: 531
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 Win10/i5 Arch//i3-gaps T61//GNOME 3/X230 Tablet //Spectrwm X61 Bunsenlabs 9.4/X32/X201i
Work - Win7/X220T BunsenLabs 9.4 T60p
Retired T60/X30/X31/X61S RIP R61/T400/T21/T43/X61T/X200T

portsample
Sophomore Member
Posts: 133
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 42.3/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 42.3/Win8 (spares)

Dekks
Senior Member
Senior Member
Posts: 531
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 Win10/i5 Arch//i3-gaps T61//GNOME 3/X230 Tablet //Spectrwm X61 Bunsenlabs 9.4/X32/X201i
Work - Win7/X220T BunsenLabs 9.4 T60p
Retired T60/X30/X31/X61S RIP R61/T400/T21/T43/X61T/X200T

portsample
Sophomore Member
Posts: 133
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 42.3/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 42.3/Win8 (spares)

Dekks
Senior Member
Senior Member
Posts: 531
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 Win10/i5 Arch//i3-gaps T61//GNOME 3/X230 Tablet //Spectrwm X61 Bunsenlabs 9.4/X32/X201i
Work - Win7/X220T BunsenLabs 9.4 T60p
Retired T60/X30/X31/X61S RIP R61/T400/T21/T43/X61T/X200T

portsample
Sophomore Member
Posts: 133
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 42.3/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 42.3/Win8 (spares)

axur-delmeria
ThinkPadder
ThinkPadder
Posts: 1869
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?
Daily driver: X220 4291-C91 i7-2620M

Backup: X220 4291-P79 i5-2520M
Toy: X60F Core Solo U1300
In pieces: two retired but working X61Ts
RIP: 760XD 9546-U9E; X61 7676-A24; and a BOE-Hydis HV121P01-100 in failed SXGA+ mod
:cry:

portsample
Sophomore Member
Posts: 133
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 42.3/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 42.3/Win8 (spares)

axur-delmeria
ThinkPadder
ThinkPadder
Posts: 1869
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.
Daily driver: X220 4291-C91 i7-2620M

Backup: X220 4291-P79 i5-2520M
Toy: X60F Core Solo U1300
In pieces: two retired but working X61Ts
RIP: 760XD 9546-U9E; X61 7676-A24; and a BOE-Hydis HV121P01-100 in failed SXGA+ mod
:cry:

portsample
Sophomore Member
Posts: 133
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 42.3/Win8
(2) T61, 14.1", T9500 2.6ghz, Intel GM965, 4gb RAM, 250gb SSD, openSuse 42.3/Win8 (spares)

axur-delmeria
ThinkPadder
ThinkPadder
Posts: 1869
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.
Daily driver: X220 4291-C91 i7-2620M

Backup: X220 4291-P79 i5-2520M
Toy: X60F Core Solo U1300
In pieces: two retired but working X61Ts
RIP: 760XD 9546-U9E; X61 7676-A24; and a BOE-Hydis HV121P01-100 in failed SXGA+ mod
:cry:

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: Bing [Bot] and 5 guests