<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Gentoo: повреждение ext4 после гибернейта]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=26638&amp;type=atom" />
	<updated>2013-02-11T20:11:39Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=26638</id>
		<entry>
			<title type="html"><![CDATA[Re: Gentoo: повреждение ext4 после гибернейта]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=326750#p326750" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>zenon пишет:</cite><blockquote><p>Тут как-то не понял откуда resume?</p></blockquote></div><p>Ну этот параметр в стандартном ядре<br /></p><div class="codebox"><pre><code>cat /usr/src/linux/Documentation/kernel-parameters.txt|grep resume</code></pre></div><p>Для <strong>Tuxonice</strong> параметр немного другой.</p><p>У меня например в Tuxonice, спящий режим с сохранением на диск сам по себе работает нормально, только если использовать ноут как будильник, то через утилиту <strong>rtcwake</strong>, просыпаться то просыпается, но комп виснит(<br />Приходится использовать для будильника спящий режим с сохранением в ОЗУ.</p>]]></content>
			<author>
				<name><![CDATA[ormorph]]></name>
				<uri>https://linuxforum.ru/profile.php?id=221</uri>
			</author>
			<updated>2013-02-11T20:11:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=326750#p326750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gentoo: повреждение ext4 после гибернейта]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=326491#p326491" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>ядро смени... 3.5.7 содержит баг: <a href="http://linuxforum.ru/viewtopic.php?id=24864">Любителям свежих ядер советую откатиться...</a></p></blockquote></div><p>Большое спасибо, так я и знал.</p>]]></content>
			<author>
				<name><![CDATA[Dr House]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20299</uri>
			</author>
			<updated>2013-02-10T12:49:04Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=326491#p326491</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gentoo: повреждение ext4 после гибернейта]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=326490#p326490" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Dr House пишет:</cite><blockquote><p>Гугл говорит что это ядерный баг</p></blockquote></div><p>возможно, ибо с диском все впорядке</p>]]></content>
			<author>
				<name><![CDATA[riso]]></name>
				<uri>https://linuxforum.ru/profile.php?id=14972</uri>
			</author>
			<updated>2013-02-10T12:43:44Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=326490#p326490</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gentoo: повреждение ext4 после гибернейта]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=326489#p326489" />
			<content type="html"><![CDATA[<p>ядро смени... 3.5.7 содержит баг: <a href="http://linuxforum.ru/viewtopic.php?id=24864">Любителям свежих ядер советую откатиться...</a></p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2013-02-10T12:41:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=326489#p326489</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gentoo: повреждение ext4 после гибернейта]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=326486#p326486" />
			<content type="html"><![CDATA[<p>Забыл уточнить, но ядро gentoo-sources стандартное.<br />Без resume= не просыпается, а грузится заново.</p><p>С этим же параметром на Большом брате все ОК. Проблема только с нетбучной гентой.</p><div class="codebox"><pre><code>user@atom ~ $ sudo smartctl -a /dev/sda
smartctl 5.42 2011-10-20 r3458 [i686-linux-3.5.7-gentoo] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint M5
Device Model:     SAMSUNG HM160HI
Serial Number:    S1WWJ9AZA21594
LU WWN Device Id: 5 0f0000 01a121594
Firmware Version: HH100-06
User Capacity:    160 041 885 696 bytes [160 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 0
Local Time is:    Sat Feb  9 18:09:53 2013 ALMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (   56) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  56) minutes.
SCT capabilities:              (0x003f) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   100   100   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0007   252   252   025    Pre-fail  Always       -       2000
  4 Start_Stop_Count        0x0032   073   073   000    Old_age   Always       -       28079
  5 Reallocated_Sector_Ct   0x0033   252   252   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000e   252   252   051    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0024   252   252   015    Old_age   Offline      -       0
  9 Power_On_Hours          0x0032   099   099   000    Old_age   Always       -       668
 10 Spin_Retry_Count        0x0032   100   100   051    Old_age   Always       -       30
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       1125
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       1251
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       86
194 Temperature_Celsius     0x0022   145   097   000    Old_age   Always       -       31 (Min/Max 7/48)
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   252   252   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   252   252   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   252   252   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0036   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x000a   100   100   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x0032   252   252   000    Old_age   Always       -       0
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       449
225 Load_Cycle_Count        0x0032   096   096   000    Old_age   Always       -       49075

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


Note: selective self-test log revision number (0) not 1 implies that no selective self-test has ever been run
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.</code></pre></div><p>Гугл говорит что это ядерный баг.</p>]]></content>
			<author>
				<name><![CDATA[Dr House]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20299</uri>
			</author>
			<updated>2013-02-10T12:03:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=326486#p326486</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gentoo: повреждение ext4 после гибернейта]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=326480#p326480" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Dr House пишет:</cite><blockquote><p>Да, знаю что не в правильном порядке, но так получилось.</p></blockquote></div><p>Без разницы на самом деле.<br /></p><div class="quotebox"><cite>Dr House пишет:</cite><blockquote><p>Может ли такое происходить из-за того, что корневая фс находится не на первом разделе?</p></blockquote></div><p>Нет, не может.<br /></p><div class="quotebox"><cite>Dr House пишет:</cite><blockquote><p>Первограб и resume=/dev/sda5.</p></blockquote></div><p>Тут как-то не понял откуда resume? <br /><a href="http://ru.gentoo-wiki.com/wiki/TuxOnIce">Tuxonice</a>?<br /></p><div class="quotebox"><cite>riso пишет:</cite><blockquote><p>нет, smart в студию</p></blockquote></div><p>Да, надо посмотреть #smartctl -a /dev/sda</p>]]></content>
			<author>
				<name><![CDATA[zenon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6867</uri>
			</author>
			<updated>2013-02-10T10:24:49Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=326480#p326480</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gentoo: повреждение ext4 после гибернейта]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=326478#p326478" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Dr House пишет:</cite><blockquote><p>Может ли такое происходить из-за того, что корневая фс находится не на первом разделе?</p></blockquote></div><p>нет, smart в студию</p>]]></content>
			<author>
				<name><![CDATA[riso]]></name>
				<uri>https://linuxforum.ru/profile.php?id=14972</uri>
			</author>
			<updated>2013-02-10T10:09:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=326478#p326478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Gentoo: повреждение ext4 после гибернейта]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=326477#p326477" />
			<content type="html"><![CDATA[<p>Всем привет.</p><p>Сабж: Есть нетбук и Gentoo на нем.</p><p>Установлена на sda6 а swap на sda5. Да, знаю что не в правильном порядке, но так получилось.</p><p>После выхода из спячки часто повреждается корневая фс ext4 и переходит в read-only.</p><p>Сам нетбук часто включается и выключается, обычная загрузка [openrc такой openrc] занимает 1-2 минуты включая прогрузку kde и без гибернейта не обойтись.</p><p>Каждый второй гибернейт и такая фигня.</p><p>В спящий отправляется нормально.</p><p>Первограб и resume=/dev/sda5.</p><p>Ядро: 3.5.7</p><p>Вопрос: Может ли такое происходить из-за того, что корневая фс находится не на первом разделе? И как это вылечить? </p><p>P.S. подумал об обновлении ядра.</p>]]></content>
			<author>
				<name><![CDATA[Dr House]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20299</uri>
			</author>
			<updated>2013-02-10T10:04:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=326477#p326477</id>
		</entry>
</feed>
