LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   cdrom ejects after burning (https://www.linuxquestions.org/questions/linux-hardware-18/cdrom-ejects-after-burning-177765/)

drigz 05-04-2004 11:41 AM

cdrom ejects after burning
 
i just copied a cd with X-CD-Roast, and then i tried to copy another one. However, whenever I put a cd in the drive I read from, it waits a while and ejects. When i tried to unmount the cdrom, i got "device is busy". This is from my dmesg:

hdb: tray open
end_request: I/O error, dev hdb, sector 0
Buffer I/O error on device hdb, logical block 0
hdb: tray open
end_request: I/O error, dev hdb, sector 4
Buffer I/O error on device hdb, logical block 1
hdb: tray open
end_request: I/O error, dev hdb, sector 8
Buffer I/O error on device hdb, logical block 2
hdb: tray open
end_request: I/O error, dev hdb, sector 12
Buffer I/O error on device hdb, logical block 3
hdb: tray open
end_request: I/O error, dev hdb, sector 16
Buffer I/O error on device hdb, logical block 4
hdb: tray open
end_request: I/O error, dev hdb, sector 20
Buffer I/O error on device hdb, logical block 5
hdb: tray open
end_request: I/O error, dev hdb, sector 24
Buffer I/O error on device hdb, logical block 6
hdb: tray open
end_request: I/O error, dev hdb, sector 28
Buffer I/O error on device hdb, logical block 7
hdb: tray open
end_request: I/O error, dev hdb, sector 32
Buffer I/O error on device hdb, logical block 8
hdb: tray open
end_request: I/O error, dev hdb, sector 36
Buffer I/O error on device hdb, logical block 9
hdb: tray open
end_request: I/O error, dev hdb, sector 40
Buffer I/O error on device hdb, logical block 10
hdb: tray open
end_request: I/O error, dev hdb, sector 44
Buffer I/O error on device hdb, logical block 11
hdb: tray open
end_request: I/O error, dev hdb, sector 48
Buffer I/O error on device hdb, logical block 12
hdb: tray open
end_request: I/O error, dev hdb, sector 52
Buffer I/O error on device hdb, logical block 13
hdb: tray open
end_request: I/O error, dev hdb, sector 56
Buffer I/O error on device hdb, logical block 14
hdb: tray open
end_request: I/O error, dev hdb, sector 60
Buffer I/O error on device hdb, logical block 15
hdb: tray open
end_request: I/O error, dev hdb, sector 64
Buffer I/O error on device hdb, logical block 16
hdb: tray open
end_request: I/O error, dev hdb, sector 68
Buffer I/O error on device hdb, logical block 17
hdb: tray open
end_request: I/O error, dev hdb, sector 72
Buffer I/O error on device hdb, logical block 18
hdb: tray open
end_request: I/O error, dev hdb, sector 76
Buffer I/O error on device hdb, logical block 19
hdb: tray open
end_request: I/O error, dev hdb, sector 80
Buffer I/O error on device hdb, logical block 20
hdb: tray open
end_request: I/O error, dev hdb, sector 84
Buffer I/O error on device hdb, logical block 21
hdb: tray open
end_request: I/O error, dev hdb, sector 88
Buffer I/O error on device hdb, logical block 22
hdb: tray open
end_request: I/O error, dev hdb, sector 92
Buffer I/O error on device hdb, logical block 23
hdb: tray open
end_request: I/O error, dev hdb, sector 96
Buffer I/O error on device hdb, logical block 24
hdb: tray open
end_request: I/O error, dev hdb, sector 100
Buffer I/O error on device hdb, logical block 25
hdb: tray open
end_request: I/O error, dev hdb, sector 104
Buffer I/O error on device hdb, logical block 26
hdb: tray open
end_request: I/O error, dev hdb, sector 108
Buffer I/O error on device hdb, logical block 27
hdb: tray open
end_request: I/O error, dev hdb, sector 112
Buffer I/O error on device hdb, logical block 28
hdb: tray open
end_request: I/O error, dev hdb, sector 116
Buffer I/O error on device hdb, logical block 29
hdb: tray open
end_request: I/O error, dev hdb, sector 120
Buffer I/O error on device hdb, logical block 30
hdb: tray open
end_request: I/O error, dev hdb, sector 124
Buffer I/O error on device hdb, logical block 31
hdb: tray open
end_request: I/O error, dev hdb, sector 0
Buffer I/O error on device hdb, logical block 0
hdb: tray open
end_request: I/O error, dev hdb, sector 4
Buffer I/O error on device hdb, logical block 1
hdb: tray open
end_request: I/O error, dev hdb, sector 64
Buffer I/O error on device hdb, logical block 16
hdb: tray open
end_request: I/O error, dev hdb, sector 68
Buffer I/O error on device hdb, logical block 17

I copied all of that for emphasis :)

drigz 05-04-2004 04:58 PM

note - a restart doesn't fix this

J.W. 05-05-2004 02:13 AM

xcdroast automatically ejects the CD after it has been burned. This is normal behavior. As for the "can't unmount" problem, most likely, either you or some process is still accessing the CD, which could be something as simple as having a terminal session open from your /mnt/cdrom directory. In other words, you can only unmount it if nothing at all is accessing the device. If you're doing directory listings from within it, or have a terminal session open from within it, etc, it won't work. Close them and/or move to a different directory and you should be able to unmount.

Example, if you: cd /mnt/cdrom (move to the CD directory)
then enter: ls -l (do a directory listing)
and then: umount /mnt/cdrom (unmount the CD)

you will get a failure message because your session is still in /mnt/cdrom. Move to your home directory (or wherever) and then the umount should work. -- J.W.

drigz 05-05-2004 09:56 AM

not, its not like that. whenever i put a cd in the drive (even after a restart), i wait a few seconds, and then it ejects it again. i burnt another cd using a different drive and that works fine. but this drive cant be used because it just ejects the cd before you can see it or anything.

J.W. 05-05-2004 01:39 PM

Hmm -- first, do you have a single CD-RW, or a CD plus a CD-RW? I'll assume it's just a single CD-RW. If so, are you saying that you will put the blank CD-R into the CD-RW, close the tray, and then a few seconds later the tray just opens? Are there any intervening steps, such as launching a program, etc? -- J.W.

Electro 05-05-2004 03:07 PM

J.W., I do not know what the heck you are saying.

drigz, it seems that the CD is a coaster. What speed did you write at? Did you set fifo buffer to equal or more of you CD-R/W drive cache. Did you set the burn-free option. Did you inspect the CD to see if it has any scraches or marks before writing to it?

Its best if you make an image of the CD and then write to a CD using the image. This way your computer does not have to do more work to access both CD drives at the same time. Also hard drives are much faster at access times and throughput. However, if you are copying from a program CD like a game, application, movie, or audio, it will not work well.

If you do not mind using Windows programs just for making an image, a program like Alcohol 120% will work well for games, applications, and many other CDs.

J.W. 05-05-2004 05:03 PM

???
Dude - from my point of view drigz's posts describe a situation in which he/she is unable to burn a new CD due to the fact that the CD device apparently keeps ejecting the blank CD only a few seconds after closing the tray. Your comments apply to a situation in which a newly-burned CD is unusable, and while I agree with your recommendation to make an image of the source CD and then burning it to the blank, that does not seem to be the condition drigz has described. Sorry if that point was unclear. -- J.W.

drigz 05-29-2004 07:04 AM

ok i kinda forgot about this thread, but the problem hasnt gona away. heres how it works.
i have 3 cd drives:
hdb cd reader and dvd reader drive
hdc cd writer
hdd dvd writer

i put an audio cd in hdb, and used xcdroast to burn it to a cd-r in hdc. this worked, and the audio cd is fine. however, not, if i put ANY cd in hdb, after a few seconds it will eject again, no matter what i do. hdc and d work fine. i have tried burning a cd with the cd-r in hdc and the normal cd in hdd and there are no problems.


All times are GMT -5. The time now is 02:00 AM.