LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem mounting 2nd cdrom (https://www.linuxquestions.org/questions/linux-newbie-8/problem-mounting-2nd-cdrom-109187/)

NeoY2k 10-27-2003 03:08 PM

Problem mounting 2nd cdrom
 
Hi
I got a DVD reader and a cd burner
So to access de DVD reader I just
mount /cdrom
If i take off the DVD reader, i can mount the cd burner by
mount /cdrom

So, now, i plugged the two devices.
So when i
mount /cdrom
It mounts my DVD reader: ok, no prob
It gets more complicated to mount the cd burner
First, it's no more recognised by cdrecord
cdrecord-scanbus
neoy2k# cdrecord -scanbus
Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
cdrecord.mmap: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord.mmap: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord.mmap: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord.mmap: Also make sure that you have loaded the sg driver and the driver for
cdrecord.mmap: SCSI hardware, eg. ide-scsi if you run IDE/ATAPI drives over
cdrecord.mmap: ide-scsi emulation. Read /usr/share/doc/cdrecord/README.ATAPI.setup!

I try to mount it
neoy2k# mount -r -t iso9660 /dev/hdc /cdrom2
mount: Aucun medium trouvé (No medium found)

It's really a stupid question but why doesn't it works?

Demonbane 10-27-2003 03:20 PM

how are they connected?
ie which one's on primary/secondary master/slave?

superbondbond 10-27-2003 03:21 PM

could be that the jumper settings on both drives is set to the same (ie both are set to "master" or "slave")

Have you had them both hooked up in the same box in the past?

NeoY2k 10-27-2003 03:21 PM

DVD: secondary master
Burner: secondary slave

thx

NeoY2k 10-27-2003 03:22 PM

No I did'nt make mistakes in jumper config.
And they are successfully detected by the BIOS

Demonbane 10-27-2003 03:26 PM

Ok you should be able to mount the burner using /dev/hdd
but in order to use cdrecord you need to enable ide-scsi emulation, append kernel parameter "hdd=ide-scsi" to grub/lilo config file
After it's enabled you need to mount /dev/sr0 for the burner instead, because its now a scsi device.

NeoY2k 10-27-2003 03:31 PM

Ooooooh!: I'm so stupid!
hdD not hdC! i'm really stupid!

Ok for that point.

BUT

Cd burning (eroaster or k3b) don't find the cd burner
ide-scsi is loaded, and it worked when the cd burner was single.
But it doesn't works now...
any idea?

Demonbane 10-27-2003 03:42 PM

Did you change lilo/grub.conf/menu.lst so that its "hdd=ide-scsi" not "hdc=ide-scsi"?
try "dmesg | grep scsi" to see if it is enabled on the right device.

NeoY2k 10-28-2003 04:46 AM

dmesg | grep scsi doesn't answer anything.
I didn't found hdc=ide-scsi in my lilo.conf file. I'm gonna add it.

NeoY2k 10-28-2003 04:48 AM

Lilo says that hdd=ide-scsi isn't a correct lilo command.

Demonbane 10-28-2003 05:03 AM

under the image= section of your kernel
add:
append="hdd=ide-scsi"
if there's already something in the append option then add a space and add hdd=ide-scsi
close it with double quotes
don't forget to run lilo again
hope this helps

NeoY2k 10-28-2003 06:04 AM

Hmm... thx. But... the problem seems to come from something else.
Why?
I tried DVD master / Recorder Slave - DVD salve / Recorder master
The problem was the same.
I plugged the Recorder single, so it should have worked (it worked before)... and the problem is already the same!
Don't know from what does that problem comes!
The only thing I made before it stops working was setting up iptables...

NeoY2k 10-28-2003 06:06 AM

I did the lilo.conf modification, gonna reboot now...

NeoY2k 10-28-2003 06:17 AM

It really doesn't want to work :(

NeoY2k 10-28-2003 07:54 AM

Hm... it works now!
But k3b spents... oh at least 50 sec to detect the drive!
It's slow...
But it works :/
But it's slow....
Ah shit


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