LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-11-2004, 05:25 PM   #1
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 281

Rep: Reputation: 30
Mandrake disagreeing with DVD-ROM drive


I just got an old DVD-ROM drive. I confirmed that it works by booting into winxp first, it does.

When I boot into mandrake, it told me it will autoconfig it, then it does. I rebooted mandrake and while it's booting it gives something like "filesystem error with hdb, do you want to repair?" and then goes into the login prompt for fs repair, you know. (I didn't have a disc in the drive, btw.)

At the repair prompt, I deleted the entry for the dvd-rom from fstabs and rebooted and it booted ok.

So now how do I get my dvd-rom drive working in mandrake? In harddrake it lists the drive as a dvd-rom drive, just fine. I saved the entry it had autocreated in fstab for the dvd-rom:

/dev/hdb /mnt/cdrom ext2 user,suid,dev,exec 1 2

The drive is a Hitachi GD-7000.

TIA
 
Old 03-11-2004, 06:45 PM   #2
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
sounds like mandrakes installer isnt detecting it right. try this, tell it not to install it, then go into lilo.conf and at the top of it, right after the preliminary comments, type

append = "hdb=ide-scsi"

hopefully that will properly detect your dvd-rom. if that fails, try

append = "hdb=scsi"

but the first one should work.
 
Old 03-11-2004, 07:04 PM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
there isn't much to "detect" so to speak, except the linux kernel's ability to recogzine the drive

where is the dvd drive located? ie, primary master, primary slave, secondary master, etc?

take a look at dmesg output; see if the kernel is even recogzing the dvd drive's existence
 
Old 03-12-2004, 12:54 AM   #4
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 281

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by TheOneAndOnlySM

where is the dvd drive located? ie, primary master, primary slave, secondary master, etc?

take a look at dmesg output; see if the kernel is even recogzing the dvd drive's existence

It's primary slave (the hd is primary master).

Here is a line from dmesg:

hdb: HITACHI DVD-ROM GD-7000, ATAPI CD/DVD-ROM drive
 
Old 03-12-2004, 10:52 AM   #5
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
i just looked at your fstab entry in your first post; you are telling the kernel that your dvd drive uses the ext2 file system, which i am sure it does not....

you should definitely set that ext2 to auto

also, if you have ide-scsi emulation enabled in your lilo.conf file, you may need to use the device /dev/scd0 or /dev/sr0 instead of /dev/hdb

if your dvd drive is the only cd drive on your system, you should also make some symlinks as follows
ln -s /dev/hdb (or scd0/sr0) /dev/cdrom
ln -s /dev/hdb (or scd0/sr0) /dev/dvd

then give the following permissions command:
chmod 777 /dev/hdb /dev/cdrom /dev/dvd
 
Old 03-12-2004, 02:52 PM   #6
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 281

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by TheOneAndOnlySM
i just looked at your fstab entry in your first post; you are telling the kernel that your dvd drive uses the ext2 file system, which i am sure it does not....

you should definitely set that ext2 to auto
The fstab entry was written by Mandrake, not me.

Changing ext2 to auto caused two "Failed" messages to appear during boot, but it did follow through with booting. Is that really the right way to install a dvd-rom?

I am now able to mount cd-roms, but dvd-roms give this error:

mount /mnt/cdrom/
/dev/hdb: Invalid argument
mount: block device /dev/hdb is write-protected, mounting read-only
/dev/hdb: Invalid argument
mount: I could not determine the filesystem type, and none was specified

The dvd discs are formatted the same way as the cd-roms I was trying- the PC way (joliet?).
 
Old 03-12-2004, 03:07 PM   #7
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
that is extremely strange; the "auto" fileysystem detection should be available as a legitimate option (worked with me even for slackware...; i use auto for my dvd entry in fstab)

anyway, if when you mount with your dvd drive you can view your files, you should be okay

perhaps it is just the way mandrake handles itself, but your fstab entry looks strange, especially at the end with the 1 2 (those tell the kernel to run checks on the system, which is probably why mandrake is inclined to say that your dvd drive has an ext2 filesystem)
if those error messages are bothering you, you may want to completely change that line to this:
/dev/dvd /mnt/cdrom (or /mnt/dvd) auto auto,user 0 0

*edit: before you completely change your fstab entry, try changing the 1 2 to just 0 0, and see if the errors go away; if not, then use my entry above
 
Old 03-12-2004, 03:28 PM   #8
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 281

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by TheOneAndOnlySM
that is extremely strange; the "auto" fileysystem detection should be available as a legitimate option (worked with me even for slackware...; i use auto for my dvd entry in fstab)

anyway, if when you mount with your dvd drive you can view your files, you should be okay
No, I'm not able to view files, it only works if it's a CD. Mounting a dvd gives the error I gave before.

I tried:

/dev/hdb /mnt/cdrom auto user,dev,suid,exec 0 0

which didn't help, and I tried:

/dev/hdb /mnt/cdrom auto user 0 0

Which is as close as I could come to yours (I don't have a /dev/dvd) and it didn't fix either.
 
Old 03-12-2004, 03:43 PM   #9
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
this is all very strange....

**i don't know if you have posted this information here, but, do you currently have scsi emulation enabled?**

as for mounting dvd's, i have never tried mounting a dvd (since all of mine are movies) and so it is possible that you are not mounting a data dvd, but rather a movie (kind of like audio cd's; you don't mount them, just play them)

put in a dvd, don't try to mount it, and tell your movie player to play the dvd (you will probably have to set the option to tell it to look in /dev/hdb); if you have scsi-emulation, then you will have to do something different (specifically: tell your movie player to look in /dev/scd0 or /dev/sr0)
 
Old 03-12-2004, 04:29 PM   #10
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 281

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by TheOneAndOnlySM
this is all very strange....

**i don't know if you have posted this information here, but, do you currently have scsi emulation enabled?**

as for mounting dvd's, i have never tried mounting a dvd (since all of mine are movies) and so it is possible that you are not mounting a data dvd, but rather a movie (kind of like audio cd's; you don't mount them, just play them)

put in a dvd, don't try to mount it, and tell your movie player to play the dvd (you will probably have to set the option to tell it to look in /dev/hdb); if you have scsi-emulation, then you will have to do something different (specifically: tell your movie player to look in /dev/scd0 or /dev/sr0)
Thank you for staying with me,

The DVDs I'm trying to mount are data dvd's, in the same format as the cd's I was able to mount.

I do have SCSI on this machine, but the DVD drive is IDE. It's primary slave. I don't know if I have scsi "emulation". I have real live scsi. I just checked lilo.conf (although I use grub, not lilo), and "scsi" is not found in the entire file.

I'm not sure that I have a movie player to try, what would it be called in mandrake (in linux at all)? In any case I really just want to load data dvds.
 
Old 03-12-2004, 06:57 PM   #11
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
i am not sure what fileystem dvd's use, but i would assume that iso9660 is what would be used; if mandrake is still complaining about the "auto" option, then this is the next bet (this time, it is a guess)

since you use grub, take a look into your grub.conf file and see if you see anything that says ide-scsi; if there is, get rid of it; then reboot and try those mount commands again:
mount /dev/hdb /mnt/cdrom or mount -t iso9660 /dev/hdb /mnt/cdrom

*before you make any changes to grub, go ahead and try these:
mount /dev/scd0 /mnt/cdrom
mount /dev/sr0 /mnt/cdrom

if those don't work, continue on as described above (before the *)
 
Old 03-12-2004, 07:28 PM   #12
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 281

Original Poster
Rep: Reputation: 30
I don't have a /dev/scd0 or /dev/sr0. But here's what I did:

I did mount -t iso9660 /dev/hdb /mnt/cdrom

and it mounted my iso dvd disc just fine.

Then I went back to your instructions and looked for grub.conf. There is no grub.conf. I am definately running grub though, because it says so in the boot menu when I boot (and because I chose it when I installed mandrake 9.2).

[root@localhost rotwanf]# find / -name "grub*"
/etc/webmin/grub
/boot/grub
/usr/share/man/man8/grub-install.8.bz2
/usr/share/man/man8/grub-md5-crypt.8.bz2
/usr/share/man/man8/grub-terminfo.8.bz2
/usr/share/man/man8/grub.8.bz2
/usr/share/doc/grub-doc-0.93
/usr/share/info/grub.info-1.bz2
/usr/share/info/grub.info-2.bz2
/usr/share/info/grub.info-3.bz2
/usr/share/info/grub.info.bz2
/usr/share/loader/grub
/usr/share/vim/syntax/grub.vim
/usr/share/webmin/caldera/grub
/usr/share/webmin/grub
/usr/share/webmin/grub/images/grub.gif
/usr/share/webmin/grub/grub-lib.pl
/usr/sbin/grub-install
/usr/sbin/grub
/usr/sbin/grub-md5-crypt
/usr/sbin/grub-terminfo

So really the problem is how do I get "auto" to work like it should. Also, if this helps: http://tinyurl.com/3y9do
 
  


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
can't mount a dvd on a cd burner/dvd rom drive dr_zayus69 Linux - Hardware 7 12-09-2004 08:56 AM
can't read data DVD-R on my DVD-ROM/CD-RW combi drive bruceyboy Linux - Hardware 0 11-17-2004 11:25 AM
DVD Rom drive is not seen jeempc Slackware 2 08-13-2004 05:23 PM
dvd-rom drive won't play movies and dvd burner won't record calble Linux - Hardware 1 08-09-2004 07:35 AM
Will Mandrake 9.1 auto-configure my DVD-ROM drive? infidel Mandriva 2 11-16-2003 05:49 PM

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

All times are GMT -5. The time now is 10:31 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