Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Aquila
Jan 24, 2003

Xenomorph posted:

So Ubuntu 15.10 just came out, and it's forcing TRIM on a system that doesn't support it.

Over and over I have these kernel errors:


Similar issue as seen here:
https://bbs.archlinux.org/viewtopic.php?id=197597
http://forums.anandtech.com/showthread.php?t=2208949
https://bbs.archlinux.org/viewtopic.php?id=142855

With Ubuntu 12.04 and 14.04, I could wipe my drive and install the system without issue. With 15.10, I'm getting the TRIM errors.

Running "mkfs.ext4 -E nodiscard" on a partition quickly formats. GParted and the Ubuntu installer default to using "discard", which pushes a quick format to nearly half an hour as it has dozens of timeouts.

Even during the install it tries to TRIM blocks.

While there are 1,000,000 guides on enabling TRIM, I'd like to know how to DISABLE TRIM.

When I run this, the command returns TRIM support:

# hdparm -I /dev/sda | grep TRIM

Is there a way to make the drive NOT report TRIM support? Is there a way to make the Kernel NOT try to issue discards or "DATA SET MANAGEMENT" commands?

I've worked through kinda the opposite issue, but can't think of anything except compiling the kernel with that option turned off.

Adbot
ADBOT LOVES YOU

Aquila
Jan 24, 2003

Is anyone aware of changes to the policy/philosophy of "apt-get dist-upgrade". I imaged a server today with 14.04.1 LTS and was surprised to find lsb_release reporting 14.04.4. Unhappy with a short support (five months) release I locked it down a bit more and reimaged it to straight 14.04.1 from the iso, which did report as such. When I went to apply updates dist-upgrade wanted to pull in base-files, which updates reported release to current. This behavior certainly differs from 10.04 and 12.04 LTS/HWE behavior, though I doubt they ever stated a policy clear enough to hold them to. Since these servers are for production I can't have them going out of support after a few months, or changing kernel lines on me, so 14.04.4 is really not what I'm after. It seems as though it might be 14.04.4 in name only, as it still has the 14.04.1 3.13 kernel.

Well gently caress, I checked https://wiki.ubuntu.com/Kernel/LTSEnablementStack "Kernel/LTSEnablementStack (last edited 2016-02-19 09:09:11" indicates all 14.04.x less then .5 will go out of support once that is out except for critical cve/secruity. gently caress ubuntu for servers.

e: didn't scroll over far enough still gently caress ubuntu server.

Aquila fucked around with this message at 18:54 on Mar 8, 2016

Aquila
Jan 24, 2003

Applebees posted:

The minor version reported by lsb_release doesn't matter; it's bumped every six months when they update base-files. What matters is if you have a HWE kernel installed, which is brought in by linux-generic-lts-* packages. The v3.13 kernel (Trusty 14.04 GA kernel) is supported for five years.

You're right, I tested it on some old systems in need of upgrade. I guess I've been living in a bizarre world where servers are out of date before I'm even hired. I still don't like it.

ShadowHawk posted:

:confused: Those updates you are forcefully reverting are the support you say you want

I've not force reverting anything, I'm installing the OS as distributed on the ISO and then testing what happens with and without letting it pull packages during and after install.

  • Locked thread