LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-23-2003, 04:12 PM   #1
pdmackenzie
Member
 
Registered: Dec 2002
Location: toronto
Distribution: mandrake 10
Posts: 135

Rep: Reputation: 15
Odd behaviour when copying files from cdrom to hard drive...


Hello!
Using konqueror, I have no problems moving a very large file from a 'professionally' created cdrom (for example RtCW's 630 MB setup.exefile) to the hard-drive. Yet when I attempt to copy files from home-created cds (roxio was used to create them, back when my computer was w2k) one of two errors occurs:

1. Larger files will transfer between 5 and 10 MB of data almost instantly, then 'stall' for a certain period, then konqueror gives up and offers me the choice of skipping the file, autoskipping, or cancelling the move. If I attempt to copy the file using a terminal, the transfer stalls (I can tell by the cdrom noise) and eventually I get the error "cp: reading 'whatever' : Input/output error."

2. Smaller files will copy over, for a while, until inevitably I will encounter a swathe of files which, I am informed by konqueror, do not exist (even thought they are being displayed in konqueror, which was how I highlighted them for copying. How could they not be there? (All in question are normally named, for instance 'ert450.jpg'.
)

Furthermore, I would like to stress that these cds functioned properly in windows.

regards,
doug
 
Old 02-23-2003, 06:09 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
What do you see when you tail your "messages" syslog file at the same time? Any errors about timeouts? Could be DMA related AFAIK.
 
Old 02-23-2003, 08:41 PM   #3
pdmackenzie
Member
 
Registered: Dec 2002
Location: toronto
Distribution: mandrake 10
Posts: 135

Original Poster
Rep: Reputation: 15
Hello!
What command do I give to do this? At work I often use the command "tail -f nohup.out" to view web app messages, but even after reading "man nohup" I am still not sure what it does... will it 'tail' all log messages?

Also, what is 'DMA'? I know what 'DRM' is, but they are probably not related ;-)

regards,
doug !
 
Old 03-21-2003, 09:45 AM   #4
amulheirn
LQ Newbie
 
Registered: Mar 2003
Location: Reading, UK
Distribution: Mandrake 9.0
Posts: 17

Rep: Reputation: 0
Try:

tail /var/log/messages

I am getting the same problem as you are and haven't found a solution yet. I get messages like:

scsi: aborting command due to timeout
kernel: SCSI host 0 abort (pid 4081) timed out- resetting.

I have two CD drives - both on the secondary IDE channel, one as master one as slave. They are both set up for SCSI emulation (because one is a CDRW). I have upgraded my kernel to 2.4.19-24, turned off supermount and a variety of other things to no avail.
Permissions on /mnt/cdrom are OK.

DMA is "Direct Memory Access" I think - a way for peripherals (like CDs) to write directly to RAM rather than having to send data to the processor first. It is used to enhance performance.

Not sure how to switch it off for the CD drive under Linux though. Anyone got any ideas?

A.
 
Old 03-21-2003, 09:55 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Would that be Roxio Easy CD that you used in win2k? You do know that the CD in Easy CD stands for Coaster Designer?
 
Old 03-21-2003, 10:09 AM   #6
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
I have seen the same thing with CD's written in windoze, when reading on CD's from both linux and AIX . These work fine on microS**t machines (I guess that just shows the superiority of that operating system, not). Interestingly though, these would read fine on linux with a new DVD writer. My current working hypothesis, untested, is that perhaps Juliet extensions or other standard changes, sure to be written by windoze machines change the formatting slightly as to make reading slow, or worse. Newer cdroms may compensate for this within the hardware, while older cdroms may not be able to as well. Mind you, just a guess.
 
Old 03-21-2003, 10:12 AM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
One thing that you can try is fixating the disk in linux, it can trash the disk though and should only be used as a last resort.
 
Old 03-21-2003, 12:03 PM   #8
pdmackenzie
Member
 
Registered: Dec 2002
Location: toronto
Distribution: mandrake 10
Posts: 135

Original Poster
Rep: Reputation: 15
Hello!
What does this mean, 'fixating a disk"?
 
Old 03-21-2003, 06:28 PM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
It means finishing a multi session disk so it can be read normally.
 
Old 03-21-2003, 06:34 PM   #10
pdmackenzie
Member
 
Registered: Dec 2002
Location: toronto
Distribution: mandrake 10
Posts: 135

Original Poster
Rep: Reputation: 15
Aha!
In that case, the disks were already 'fixated' when they were created in w2k... I guess early on I assumed that I was having problems with roxio because I was attempting to use unfixated, rather than fixated, cds on other computers. If unfixated disks can be used, why would anyone bother fixating them?

doug
 
  


Reply



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
Strange hard drive behaviour Draiocht Linux - Security 2 10-18-2005 04:28 AM
need help copying a hard drive valueduser Linux - General 6 10-17-2003 08:26 AM
copying current setup to new hard-drive noshellswill Linux - Hardware 3 10-14-2003 09:43 PM
Error copying large files from cdrom patrickyeo Linux - Hardware 1 11-03-2002 06:46 PM
input/output error copying from cdrom to hard drive aredshaw Linux - Hardware 4 07-16-2002 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:56 AM.

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
Open Source Consulting | Domain Registration