Skip to contentSkip to conversation

New: System freeze while rsyncing whole system from ext4 to ext4 via USB 2.0

Bug 29662 [email protected] 1 participant 4 messages Feb 22, 2011 – Feb 23, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: System freeze while rsyncing whole system from ext4 to
ext4 via USB 2.0
Product: File System
Version: 2.5
Kernel Version: 2.6.38-rc6
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ext4
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

This morning I rsynced my system to an USB HDD via some scripts utilizing rsync. The machine froze when a big file was transfered (updated on the backup device). The host as well as the backup use ext4.

My machine froze with no logs at all. The system just stalled and anything using the host disk was unusable. No new shell, no closing of running apps (probably due to stalled config writes on exit).

acpid shutdown via power button worked but the init scripts suffered a lot of problems. Finally (after some minutes) the disk could be unmounted by the init script and the machine powered off.

I don't know what I could do to repeat that problem. I was unable to ssh in and switch to vt1 as well.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#1 lore raw

[Bug 29662] System freeze while rsyncing whole system from ext4 to ext4 via USB 2.0

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

--- Comment #1 from Marc <[email protected]> 2011-02-22 13:50:47 --- Please advise how to test again/what info is required. Logs are 'empty' besides this:

=== 2.6.38-rc6

Feb 22 08:32:36 marc kernel: [   41.527852] ADDRCONF(NETDEV_CHANGE): wlan0:
link becomes ready
Feb 22 08:32:46 marc kernel: [   52.104662] wlan0: no IPv6 routers present
Feb 22 08:33:33 marc kernel: [   99.008401] fuse init (API version 7.16)
Feb 22 08:42:34 marc kernel: [  638.643602] usb 2-1.1: new high speed USB
device using ehci_hcd and address 5
Feb 22 08:42:35 marc kernel: [  638.732119] usb 2-1.1: New USB device found,
idVendor=04cf, idProduct=8818
Feb 22 08:42:35 marc kernel: [  638.732125] usb 2-1.1: New USB device strings:
Mfr=1, Product=2, SerialNumber=3
Feb 22 08:42:35 marc kernel: [  638.732130] usb 2-1.1: Product: USB Mass
Storage Device
Feb 22 08:42:35 marc kernel: [  638.732133] usb 2-1.1: Manufacturer: Myson
Century, Inc.
Feb 22 08:42:35 marc kernel: [  638.732137] usb 2-1.1: SerialNumber: 100
Feb 22 08:42:35 marc kernel: [  638.733036] scsi6 : usb-storage 2-1.1:1.0
Feb 22 08:42:36 marc kernel: [  639.733360] scsi 6:0:0:0: Direct-Access    
SAMSUNG  HM160HC          LQ10 PQ: 0 ANSI: 0 CCS
Feb 22 08:42:36 marc kernel: [  639.734122] sd 6:0:0:0: [sdb] 312581808
512-byte logical blocks: (160 GB/149 GiB)
Feb 22 08:42:36 marc kernel: [  639.734586] sd 6:0:0:0: [sdb] Write Protect is
off
Feb 22 08:42:36 marc kernel: [  639.734592] sd 6:0:0:0: [sdb] Mode Sense: 00 14
00 00
Feb 22 08:42:36 marc kernel: [  639.735484] sd 6:0:0:0: [sdb] Write cache:
enabled, read cache: enabled, doesn't support DPO or FUA
Feb 22 08:42:36 marc kernel: [  639.793900]  sdb: sdb1
Feb 22 08:42:36 marc kernel: [  639.796339] sd 6:0:0:0: [sdb] Attached SCSI
disk
Feb 22 08:42:40 marc kernel: [  644.366257] EXT4-fs (sdb1): mounted filesystem

with ordered data mode. Opts: (null)

... rsync no ran for ~ 10 minutes ...

=== hang + acpid shutdown

=== reboot into stable again immediately

Feb 22 09:06:06 marc kernel: [    0.000000] Linux version 2.6.37-ck2-dezzy
(marc@marc) (gcc version 4.5.2 (Gentoo 4.5.2 p1.0) ) #1 SMP PREEMPT Mon Feb 14
06:05:25 CET 2011
Feb 22 09:06:06 marc kernel: [    0.000000] BIOS-provided physical RAM map:
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#2 lore raw

[Bug 29662] System freeze while rsyncing whole system from ext4 to ext4 via USB 2.0

In reply to [email protected]

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

--- Comment #2 from Marc <[email protected]> 2011-02-23 07:17:09 --- OK, I retested some more and think this was related to #29022. When no X is running there were no probs.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#3 lore raw

[Bug 29662] System freeze while rsyncing whole system from ext4 to ext4 via USB 2.0

In reply to [email protected]

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

Marc <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.