Package: rsync
Version: 3.0.3-2
Severity: important

When I thrown a bash script, which contains a Rsync command, the computer hangs.
I'v tried to remove "noapic" in Grub, put eth0's autonegotiation to "off", use 
the --bwlimlit, every time it hangs!

The only modification I've made to the basic install, is to use LVM2.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rsync depends on:
ii  base-files                    5lenny4    Debian base system miscellaneous f
ii  libacl1                       2.2.47-2   Access control list shared library
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libpopt0                      1.14-4     lib for parsing cmdline parameters
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client                1:5.1p1-5  secure shell client, an rlogin/rsh
ii  openssh-server                1:5.1p1-5  secure shell server, an rshd repla

-- no debconf information

The screen give me:
<!--
[  412.227710] Call Trace:
[  412.227787]  [<c0133e56>] enqueue-hrtimer+0xc9/0xd4
[  412.227868]  [<c0133ece>] __run_hrtimer+0x6d/0x76
[  412.227944]  [<c01346e0>] hrtimer_interrupt+0xed/0x155
[  412.228008]  [<c01101c4>] smp_apic_timer_interrupt+0x66/0x76
[  412.228008]  [<c0104364>] apic_timer_interrupt+0x28/0x30
[  412.228008]  [<f8b93a3f>] CIFSFindNext+0x174/0x2dc [cifs]
[  412.228008]  [<f8ba813a>] cifs_readdir+0x2fe/0xed0 [cifs]
[  412.228008]  [<c017e910>] filldir64+0x0/0xc5
[  412.228008]  [<c01773d8>] sys_lstat64+0x1e/0x23
[  412.228008]  [<c017eaf0>] vfs_readdir+0x62/0x8c
[  412.228008]  [<c017e910>] filldir64+0x0/0xc5
[  412.228008]  [<c017eb7d>] sys_getdents64+0x63/0xa5
[  412.228008]  [<c0103853>] sysenter_past_esp+0x78/0xb1
[  412.228008]  ======================
[  412.228008] Code: 56 04 eb 07 89 56 08 eb 02 89 17 8b 03 83 e0 03 09 d0 89 03
 5b 5e 5f c3 55 57 89 c7 56 53 83 ec 04 89 14 24 eb 7e 89 c6 83 e6 fc <8b> 56 08
 39 d3 75 34 8b 56 04 85 d2 74 06 8b 02 a8 01 74 31 8b
[  412.228008]  EIP: [<c01dff97>] rb_insert_color+0x13/0xad SS:ESP 0068:f56e9dfc
[  412.228008]  kernel panic - not syncing: Fatal exception in interrupt
-->

/etc/default/grub
<!--
 This file is sourced by update-grub, and its variables are propagated
# to its children in /etc/grub.d/
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX=

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
-->

uname -a
<!--
Linux olympe 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux
-->

cat /proc/interrupts
<!--
           CPU0
  0:         67   IO-APIC-edge      timer
  1:          2   IO-APIC-edge      i8042
  6:          5   IO-APIC-edge      floppy
  8:          2   IO-APIC-edge      rtc0
  9:          0   IO-APIC-fasteoi   acpi
 14:        435   IO-APIC-edge      ide0
 15:      20830   IO-APIC-edge      ide1
 21:         52   IO-APIC-fasteoi   uhci_hcd:usb1, uhci_hcd:usb2, 
uhci_hcd:usb3, ehci_hcd:usb4
 23:       5966   IO-APIC-fasteoi   eth0
NMI:          0   Non-maskable interrupts
LOC:      31367   Local timer interrupts
RES:          0   Rescheduling interrupts
CAL:          0   function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
SPU:          0   Spurious interrupts
ERR:          0
MIS:          0
-->

cat  /proc/cpuinfo
<!--
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 6
model name      : AMD Athlon(TM) XP 1800+
stepping        : 2
cpu MHz         : 1525.866
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up
bogomips        : 3055.07
clflush size    : 32
power management: ts
-->

Mother Board = Asus A7V8X-X

ethtool eth0
<!--
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: d
        Current message level: 0x00000001 (1)
        Link detected: yes
-->

cat /etc/fstab
<!--
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/mapper/olympe-root /               ext3    errors=remount-ro 0       1
/dev/hdd1       /boot           ext2    defaults        0       2
/dev/mapper/olympe-swap none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
# Bob
//10.0.0.2/SAVES /media/bob cifs    
file_mode=07777,dir_mode=0777,uid=0,gid=0,noauto,ro,nouser,credentials=/etc/smbcreds
   0       0
-->

df -H
<!--
Sys. de fich.          Tail.  Occ.  Disp. %Occ. Monté sur
/dev/mapper/olympe-root
                       994G   312G   632G  34% /
tmpfs                  531M      0   531M   0% /lib/init/rw
udev                    11M   705k   9,8M   7% /dev
tmpfs                  531M      0   531M   0% /dev/shm
/dev/hdd1              263M    20M   230M   8% /boot
-->

The Bash file with the Rsync command line
<!--
#!/bin/sh

NULL_STRING=""
SRC_NAME="bob"
SRC_IP="10.0.0.2"
SRC="/media/$SRC_NAME"

SRC_FOLDER="SAVES"
LOCAL="/home/user/BACKUP_BOB"

# Mount Bob, an USB disk mounted on an Apple Airport Extreme
# Via the /etc/fstab
mount /media/bob

sleep 5

MOUNTED='df | grep "/$SRC_NAME"'

if [ "$MOUNTED" == "$NULL_STRING" ]; then
        exit
fi

# DEBUG
#rsync -av --rsync-path=/home/fortuna/rsync-debug.sh "$SRC/" "$LOCAL/"

# BUG
rsync -rtlzv --bwlimit=800 --progress --delete-during --exclude=".*" 
--exclude="Desktop DB" --exclude="Desktop DF" --exclude="Thumbs.db"  "$SRC/" 
"$LOCAL/"

# Sync filesystem, then pause and unmount
sync

chown -R user:user $LOCAL/
chmod -R 775 $LOCAL/
# Make sure things settle
sleep 5
-->



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to