LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2009, 06:55 AM   #1
nikunjbadjatya
Member
 
Registered: Sep 2009
Location: Bangalore
Posts: 33

Rep: Reputation: 0
Unable to copy files from CentOS to pendrive


Hi,
i am using CentOS 5.3.
output of "uname -a"
Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux

My kernal version is
kernel-2.6.18-92.el5

whenver i try to copy files from my centos to pendrive ( 2gb, kingston datatraveller) my system is gettin hanged leaving no option then to reboot. i tried from the terminal also, and as a diffrent user also. but same results.

please help...
Thnx.
 
Old 09-23-2009, 07:35 AM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Try the copy command in verbose mode to check the progress. Sometimes I have noticed that due to different file formats copying over a large file takes while.

Try
Code:
cp -v /filetocopy /destination
See which file it's getting stuck on.
 
Old 09-23-2009, 09:56 AM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,614

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
nikunjbadjatya,

This is common haldaemon problem.
To get report whether hald identifies your pendrive:

user@host--$: lshal | grep 'Kingston'
or
user@host--$: lshal [to get everything what your haldaemon currently handles.]

to find out what problem hald cannot handle use this command:

root@host--#: /usr/sbin/hald --daemon=no --verbose=yes

then try to use your pendrive copying whatever: hald should report to you if it is having any problem.

This thing really bugged my head before and almost got me discouraged until I understood a little about dbus.

also read hald manual:

user@host--$: man hald
user@host--$: man hal-set-property
-----------------

one stupid shortcut solution i did was to make my username as a member of following groups: haldaemon (or hald), messagebus and plugdev. It solved everything soon, but it made a big hole of security.

there are better advice we can get soon as better heads come here.

hope this helps mean time.

good luck.
 
Old 09-24-2009, 03:13 AM   #4
nikunjbadjatya
Member
 
Registered: Sep 2009
Location: Bangalore
Posts: 33

Original Poster
Rep: Reputation: 0
hiii,
it gave me following output :
$ /usr/sbin/hald --daemon=no --verbose=yes
10:38:05.448 [I] hald.c:479: hal 0.5.8.1
10:38:05.449 [I] hald.c:544: Will not daemonize
10:38:05.449 [I] hald_dbus.c:4058: local server is listening at unix:abstract=/var/run/hald/dbus-AHO1NOWd8F,guid=2bbe6b3f1f5f3d801f3a99004abafeb5
Runner started - allowed paths are '/usr/libexec:/usr/lib/hal/scripts:/usr/bin'
10:38:05.452 [I] hald_runner.c:220: Runner has pid 4774
Error binding udev_event socket: Address already in use

i am not able to interpret anything..!!
what to do next?
 
Old 09-24-2009, 03:15 AM   #5
nikunjbadjatya
Member
 
Registered: Sep 2009
Location: Bangalore
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ~sHyLoCk~ View Post
Try the copy command in verbose mode to check the progress. Sometimes I have noticed that due to different file formats copying over a large file takes while.

Try
Code:
cp -v /filetocopy /destination
See which file it's getting stuck on.

Its not about filetype.. whatever i try to copy after some 20% its getting stuck..yeah small files i can copy easily..but not above 20mb..??
 
Old 09-24-2009, 03:25 AM   #6
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
See if this helps.
 
Old 09-24-2009, 08:41 AM   #7
nikunjbadjatya
Member
 
Registered: Sep 2009
Location: Bangalore
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ~sHyLoCk~ View Post
See if this helps.


i am not getting this HAL thing..please bare with me, i am new to linux.. trying to learn it.

Thanx neways for your reply.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm unable to copy the *.dat files from VCD's sajinsj Linux - General 9 11-10-2011 09:53 AM
Unable to Copy Files To External Hard Drive rvijay Linux - General 17 07-18-2009 11:42 AM
Unable to copy or create files on samba Thaidog Linux - General 1 01-22-2007 12:54 AM
unable to copy files to pen drive(size problem)..pls help anant Linux - Newbie 8 12-28-2006 11:51 AM


All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration