Windows/Cygwin total hang
Posted: Fri Oct 19, 2012 3:50 pm
I am trying to get an automatic backup set up for my wife on her laptop.
The backup drive is hosted on the Linux machine, and I have my stuff automatically backing up via rsync.
So, a while back I tried to get rsync going on her computer and was getting complete hangs... I couldn't figure it out, so eventually I gave up and didn't do the backups. I was pretty convinced that it was the rsync executable itself.
The other day she starts bugging me about her computer not being backed up (especially now that I have two drives and keep one in the fire box in case of a fire...) so I decide to give it another shot... this time with just scp. I got the script all set up and runnable, and behold, mid stream I get another total hang.
Some background info:
I completely wiped cygwin back when I gave up on rsync, and did a fresh install now when I tried scp
It's Window Vista home premium on a gateway craptop
I'm getting a total freeze... only way out is to do a hard-shutdown by holding the power button to a while
I'm only trying to copy the contents of her home folder
So, my latest theory is that it has to do with bad blocks on the hard drive. I've scanned the disk several times using the windows utility on startup, and haven't particularly kept track of the results.... could it be that windows has a bad blocks table of some sort that cygwin isn't respecting, and the crash is caused when the hard drive throws an error concerning it? I'm thinking that my next step ought to be to break out the disk recovery utilities and give the drive a good, solid scan to see what it tells me.
Anyone of you guys have any good ideas?
[edit]HD tune claims no bad blocks. I could try badblocks off of a rescue disk....
The backup drive is hosted on the Linux machine, and I have my stuff automatically backing up via rsync.
So, a while back I tried to get rsync going on her computer and was getting complete hangs... I couldn't figure it out, so eventually I gave up and didn't do the backups. I was pretty convinced that it was the rsync executable itself.
The other day she starts bugging me about her computer not being backed up (especially now that I have two drives and keep one in the fire box in case of a fire...) so I decide to give it another shot... this time with just scp. I got the script all set up and runnable, and behold, mid stream I get another total hang.
Some background info:
I completely wiped cygwin back when I gave up on rsync, and did a fresh install now when I tried scp
It's Window Vista home premium on a gateway craptop
I'm getting a total freeze... only way out is to do a hard-shutdown by holding the power button to a while
I'm only trying to copy the contents of her home folder
So, my latest theory is that it has to do with bad blocks on the hard drive. I've scanned the disk several times using the windows utility on startup, and haven't particularly kept track of the results.... could it be that windows has a bad blocks table of some sort that cygwin isn't respecting, and the crash is caused when the hard drive throws an error concerning it? I'm thinking that my next step ought to be to break out the disk recovery utilities and give the drive a good, solid scan to see what it tells me.
Anyone of you guys have any good ideas?
[edit]HD tune claims no bad blocks. I could try badblocks off of a rescue disk....