<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Не работает TRIM - Kernel 3.2]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=22558&amp;type=atom" />
	<updated>2012-06-03T07:51:48Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=22558</id>
		<entry>
			<title type="html"><![CDATA[Re: Не работает TRIM - Kernel 3.2]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=279236#p279236" />
			<content type="html"><![CDATA[<p>Пробовал разные конфигурации SATA - отключал ACHI и так далее. Результат такой же <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /><br />Быть может, дело в ядре? Всё-таки оно из бекпортов.</p>]]></content>
			<author>
				<name><![CDATA[Erdees]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1955</uri>
			</author>
			<updated>2012-06-03T07:51:48Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=279236#p279236</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не работает TRIM - Kernel 3.2]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=279149#p279149" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Vascom пишет:</cite><blockquote><p>А поддерживает ли сам SSD эту команду?</p></blockquote></div><p>Да, поддерживает <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[Erdees]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1955</uri>
			</author>
			<updated>2012-06-02T17:49:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=279149#p279149</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не работает TRIM - Kernel 3.2]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=279021#p279021" />
			<content type="html"><![CDATA[<p>А поддерживает ли сам SSD эту команду?</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2012-06-02T05:52:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=279021#p279021</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не работает TRIM - Kernel 3.2]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=279009#p279009" />
			<content type="html"><![CDATA[<p>гм... не знаю... с виду всё правильно, да и ошибок нет...</p><p>[added]<br />как вариант, sync вроде не гарантирует посылку trim&#039;а. попробуйте проверить сектор после некоторого времени или перезагрузки.</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-06-02T03:39:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=279009#p279009</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не работает TRIM - Kernel 3.2]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=278945#p278945" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>покажите <strong>dmesg | grep -С2 fs</strong><br />ЗЫ: как проверяли, что TRIM не работает?</p></blockquote></div><div class="codebox"><pre><code>root@erdees-netbook:/home/erdees# dmesg | grep -C2 fs
[    0.156347] Brought up 2 CPUs
[    0.156425] Total of 2 processors activated (6666.08 BogoMIPS).
[    0.157046] devtmpfs: initialized
[    0.157046] PM: Registering ACPI NVS region at 7f69e000 (270336 bytes)
[    0.157046] print_constraints: dummy: 
--
[    0.312573] pci 0000:00:1d.7: PCI INT A disabled
[    0.312677] PCI: CLS 32 bytes, default 64
[    0.312798] Unpacking initramfs...
[    0.812392] Freeing initrd memory: 9320k freed
[    0.820263] audit: initializing netlink socket (disabled)
--
[    1.383550] atl1c 0000:01:00.0: PCI INT A -&gt; GSI 19 (level, low) -&gt; IRQ 19
[    1.383665] atl1c 0000:01:00.0: setting latency timer to 64
[    1.457277] usbcore: registered new interface driver usbfs
[    1.457436] usbcore: registered new interface driver hub
[    1.459375] SCSI subsystem initialized
--
[    4.046459]  sda: sda1
[    4.047279] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.431266] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[    4.780181] udev[278]: starting version 164
[    4.947507] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input1
--
[    6.451865] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1a0b1, caps: 0xd04733/0xa40000/0xa0000
[    6.531948] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input10
[    6.567201] EXT4-fs (sda1): re-mounted. Opts: (null)
[    6.615786] EXT4-fs (sda1): re-mounted. Opts: discard,errors=remount-ro
[    6.660193] loop: module loaded
[    7.150429] fuse init (API version 7.17)</code></pre></div><p>Проверял вот так:</p><p>dd if=/dev/urandom of=tempfile count=10 bs=512k oflag=direct<br />hdparm --fibmap tempfile<br />hdparm --read-sector [ADDRESS] /dev/sda<br />rm tempfile<br />sync</p><p>После набираю hdparm --read-sector [ADDRESS] /dev/sda - все осталось на прежнем месте, нулей нет (</p>]]></content>
			<author>
				<name><![CDATA[Erdees]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1955</uri>
			</author>
			<updated>2012-06-01T15:16:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=278945#p278945</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не работает TRIM - Kernel 3.2]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=278901#p278901" />
			<content type="html"><![CDATA[<p>покажите <strong>dmesg | grep -С2 fs</strong><br />ЗЫ: как проверяли, что TRIM не работает?</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-06-01T11:36:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=278901#p278901</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Не работает TRIM - Kernel 3.2]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=278865#p278865" />
			<content type="html"><![CDATA[<p>Всем привет! Итак, у меня по непонятной причине не работает трим. Установил себе SSD а дальше...</p><div class="codebox"><pre><code>$ uname -a
$ Linux erdees-netbook 3.2.0-0.bpo.2-686-pae #1 SMP Mon Apr 23 09:33:57 UTC 2012 i686 GNU/Linux</code></pre></div><p>Система Debian Squeeze, установлено ядро 3.2.0-0.bpo.2-686-pae из Baskports и включена поддежка TRIM при помощи параметра discard. Вот мой fstab:</p><div class="codebox"><pre><code>$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use &#039;blkid&#039; to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=eb07b6cb-e4ed-47a7-9518-19272a91a01a /               ext4   noatime,discard,errors=remount-ro 0    1
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/tmp tmpfs defaults 0 0
tmpfs /var/lock tmpfs defaults 0 0</code></pre></div><p>ФС ext4, журналирование не отключал, файловая система не синхронизируется. В чем может быть дело?</p>]]></content>
			<author>
				<name><![CDATA[Erdees]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1955</uri>
			</author>
			<updated>2012-06-01T08:51:42Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=278865#p278865</id>
		</entry>
</feed>
