Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been trying to burn an iso dvd (video), but when I start it up in k3b, it tells me that I have the wrong medium type. I am using the right type dvd. Here is the exact message:
Code:
:-( unable to open64("/dev/ide/host0/bus1/target0/lun0/cd",O_RDONLY): Wrong medium type
Make sure you are using a new version of dvd+rw-tools and that the medium is formatted first if and only if it is dvd+rw. Only virgin media needs to be formatted, otherwise dvd+rw-tools will reformat it for you initially.
Also, you should use scsi emulation during boot:
append="hdc=ide-scsi"
I added the ide-scsi simulation, but when I put I still get errors. Growisofs output ":-( /dev/hdc: media is not recognized as recordable DVD: 0". I think it's because the drive is in read only (O-RDONLY), but I can't quite figure out what the problem is.
I'm sorry, I didn't realize you were running mandrake! You must take it out of it's automounter control. I would edit /etc/fstab and see if it is ro and contains supermount. Comment out that line and exit. Then, umount the device in question. Now burning should work. What dvd format are you trying to burn? dvd-r[w] dvd+r[w] dvd-ram, or what? That's important.
I killed automount and ro, but am still getting the error. When I try to mount the drive, I get:
Code:
mount: block device /dev/hdc is write-protected, mounting read-only
mount: No medium found
Still Read-only. When I now try to get umount the drive, I get:
Code:
umount: /dev/hdc: not mounted
Okay, it seems that the drive isn't mount at all. Regardless, I go to k3b and try to burn a cd. I get the exact same error meessage as if it were supermount and ro, and I don't think the thing is mount at all! I'm really perplexed here. Thanks for the help.
If you have scsi emulation turned on you can't mount /dev/hdc you must mount like this:
# mount -t iso9660 /dev/scd0 /mnt/cdrom
or:
# mount -t iso9660 /dev/sg0 /mnt/cdrom
or:
# mount -t iso9660 /dev/sda /mnt/cdrom
assuming /mnt/cdrom exists and the cd or dvd contains an iso9660 fs, if not try "-t udf" for video dvds.
Are you trying to mount an empty cd or dvd. Obviously that won't work! I still don't know what type of dvd you are trying to burn, please let me know.
Regardless of what mounting does the following commands should work if
lsmod lists the ide-scsi module in its output:
# growisofs -Z /dev/scd0=/location/and/name/of/dvd.iso
# growisofs -Z /dev/sg0=/location/and/name/of/dvd.iso
# growisofs -Z /dev/sda=/location/and/name/of/dvd.iso
Hmm... It seems that I've been relatively stupid about this the whole time. I never had ide-scsi on, depsite my think I did. So I actually have ito n now, and use /dev/scd0. I tried with supermount and ro; failure. I tried supermount and no ro; failure. I tried no supermount, and now I can't mount it at all, I get permission denied as root.
On bootup, a message comes up saying that it is mounting it as read-only, as well as that it can't read superblock.
Last edited by Inexactitude; 02-27-2004 at 05:41 PM.
Very strange....I was able to burn a regular cd on the dvd drive, but I get medium errors when usinga dvd. I've tried dvd-r and dvd+r, all to no avail. What can I do to fix this up?
Originally posted by Inexactitude Very strange....I was able to burn a regular cd on the dvd drive, but I get medium errors when usinga dvd. I've tried dvd-r and dvd+r, all to no avail. What can I do to fix this up?
I take it it doesn't actually start the burn?
What's the error message exactly?
Is there anything in /var/log/messages or in the output from the dmesg command?
Do you run another OS that you could check out the drive with?
I'm using growisofs 5.17, k3b 0.11, with an MSI DR8-A DVD burner on RH9. So far DVD+RW and CD-RW/CD-R have all worked. This is under RH9 with kernel 2.4.20(RH) and 2.6.3.
The only problem I've had is when the unit was too hot and dmesg reported a tracking servo failure in the middle of a burn - this was after using the drive continuously for an hour including two simulated burns. After it cooled down it was fine.
I was able to fix the problem. I tried burning the dvd from knoppix, which worked. So I then got the newest version of dvd-rw tools and compiled it from source, and then everything worked fine. I guess that the rpm package thar ships with mandrake is messed up.
The rpm that comes with Mandrake 9.2 for dvd+rw-tools was givin me hell too! I kept getting an error about the write speed being incorrect and it would refuse to burn. I spent 2 days trying to figure it out, finally I downloaded and compiled from source and I was burnin dvds within one minute!
Play back on what?
If you mean a standalone dvd video player then do:
# growisofs -dvd-compat
That command alone won't work, but if you add the -dvd-compat option to growisofs, it should work. Also, some media, dvd+rw I think needs:
# dvd+rw-format -lead-out /dev/your_device
after a burn in order to work!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.