lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <bug-16019-13602@https.bugzilla.kernel.org/>
Date:	Thu, 20 May 2010 22:49:47 GMT
From:	bugzilla-daemon@...zilla.kernel.org
To:	linux-ext4@...r.kernel.org
Subject: [Bug 16019] New: Resume from hibernate corrupts ext4

https://bugzilla.kernel.org/show_bug.cgi?id=16019

           Summary: Resume from hibernate corrupts ext4
           Product: Power Management
           Version: 2.5
    Kernel Version: 2.6.33.4-95
          Platform: All
        OS/Version: Linux
              Tree: Fedora
            Status: NEW
          Severity: high
          Priority: P1
         Component: Hibernation/Suspend
        AssignedTo: power-management_other@...nel-bugs.osdl.org
        ReportedBy: lowe@...wn.edu
                CC: fs_ext4@...nel-bugs.osdl.org
        Regression: No


Overview: System appears to hibernate successfully. Upon resume at first sight
all seems well until one discovers it is no longer possible to write to disk.

Steps to reproduce:

1) Hibernate system to disk. (Note suspend to ram seems to work ok).

2) Resume from disk.

3) System starts up ok, but disk seems to be mounted read only. Sometimes
resume just fails and system auto reboots itself and fixes the ext4 disk
errors.

4) Rebooting seems to fix the disk issues.

Expected result:
Resume from hibernate should work ok.

System info: Fedora 13 kernel  2.6.33.4-95.fc13.x86_64
Dell Latitude D630, 2G ram, 4G swap

Attached log messages from suspend/resume cycle. 

First ext4 error is

May 20 06:28:41 trillian kernel: EXT4-fs error (device dm-0):
ext4_mb_generate_buddy: EXT4-fs: group 26: 1161 blocks in bitmap, 1149 in gd
May 20 06:28:41 trillian kernel: JBD: Spotted dirty metadata buffer (dev =
dm-0, blocknr = 0). There's a risk of filesystem corruption in case of system
crash.

then it ends with lots of

May 20 06:50:20 trillian kernel: EXT4-fs error (device dm-0): mb_free_blocks:
double-free of inode 0's block 872631(bit 20663 in group 26)
May 20 06:50:20 trillian kernel: EXT4-fs error (device dm-0): mb_free_blocks:
double-free of inode 0's block 872632(bit 20664 in group 26)

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ