Cp is segfaulting


Results 1 to 5 of 5

Thread: Cp is segfaulting

  1. #1
    Join Date
    Dec 2002
    Location
    Seattle, WA USA
    Posts
    797

    Cp is segfaulting

    Im trying to backup a partition to another partition.

    I run "cp -a /mnt/hda6 /mnt/hda9/backup6" and it gives a Segmentation Fault.

    Tried running "ulimit -c unlimited" beforehand, then running "gdb exe -c core" afterwards. No core file is found.

    Tried running "gdb cp" and the command and it gives:

    No debugging symbols found
    No debugging symbols found
    No debugging symbols found
    No debugging symbols found
    No debugging symbols found

    Program terminated with signal SIGSEGV. Segmentation fault.
    The program no longer exists.

    Then run "bt" inside and "No Stack" found again

    This has occured under Kanotix 2005-03, Debian Unstable, Debian Testing, and Knoppix 3.6

    Afterwards, hda9 is forever busy, and have to manually reset after rebooting and getting to the "unmounting partitions" stage.
    Last edited by timothykaine; 07-23-2005 at 04:54 PM.
    Install the Justlinux.com search plugin for Mozilla/Firefox!

    G4L: Your best friend and your worst enemy
    Distrowatch: (Nearly) Complete profile listing of popular Linux distributions
    Lest you want a tonguelashing, Read the posting guidelines first
    Jabber: creepyt at jabber.org IRC: #justlinux
    Now 100% MSTD free! Enjoy the onslaught of Microsoft transmitted diseases, suckers!

  2. #2
    Join Date
    Oct 2003
    Location
    Finland
    Posts
    231
    Have you tried running fsck on hda9?

  3. #3
    Join Date
    Oct 2000
    Location
    Calgary, Alberta, Canada
    Posts
    8,116
    ^^ I agree... was just thinking it is likely there is hard disk corruption going on.

  4. #4
    Join Date
    Dec 2002
    Location
    Seattle, WA USA
    Posts
    797
    That solved it, thanks.
    Install the Justlinux.com search plugin for Mozilla/Firefox!

    G4L: Your best friend and your worst enemy
    Distrowatch: (Nearly) Complete profile listing of popular Linux distributions
    Lest you want a tonguelashing, Read the posting guidelines first
    Jabber: creepyt at jabber.org IRC: #justlinux
    Now 100% MSTD free! Enjoy the onslaught of Microsoft transmitted diseases, suckers!

  5. #5
    Join Date
    Oct 2003
    Location
    Finland
    Posts
    231
    You might also want to run badblocks on hda (or just hda9) just to make sure the disk isn't physically damaged.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •