Bug 29662 - System freeze while rsyncing whole system from ext4 to ext4 via USB 2.0
Summary: System freeze while rsyncing whole system from ext4 to ext4 via USB 2.0
Status: RESOLVED INVALID
Alias: None
Product: File System
Classification: Unclassified
Component: ext4 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_ext4@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 13:46 UTC by Marc B.
Modified: 2011-02-23 07:17 UTC (History)
0 users

See Also:
Kernel Version: 2.6.38-rc6
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Marc B. 2011-02-22 13:46:23 UTC
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.
Comment 1 Marc B. 2011-02-22 13:50:47 UTC
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:
Comment 2 Marc B. 2011-02-23 07:17:09 UTC
OK, I retested some more and think this was related to #29022. When no X is running there were no probs.

Note You need to log in before you can comment on or make changes to this bug.