Click to See Complete Forum and Search --> : Mount: no media found


hop-frog
05-22-2004, 08:53 PM
My CD-recorder is not mounting, and as you can see from my other post, it can't burn disks.

$ mount /media/cdrecorder/
mount: No medium found

Some info:

- Line from /etc/fstab:/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0- File /dev/cdrecorder is a symlink to /dev/sr0

- Distro: SuSE 9.0

- Bootloader: Grub

- The CD burner appears to function: lights, open/close tray, and the disk spins when I put it in.

- Info from YaST2 hardware info:
Bus : SCSI
Class (spec) : CD-ROM
Class : Mass Storage Device
Device : YAMAHA CRW4261
Device name : /dev/sr0
Model : YAMAHA CRW4261
Prog. interface : 2
Rev : 1.0h
cdr : Yes
cdrw : Yes
dev_name2 : /dev/hdb
driver : ide-scsi
notready : Yes

I can post more data as requested.
Thanks.

gehidore
05-23-2004, 12:33 AM
i would say your burner is dead.

psi42
05-23-2004, 12:43 AM
Can you boot from the drive?

pezplaya
05-23-2004, 12:51 AM
Try picking up one of those cd cleaning discs and run it in the drive. I did that to one of my cd burners that was like completly dead, and that seemed to revive it.

mdwatts
05-23-2004, 08:26 AM
SuSE has been known to screw up the cdrom devices and mountpoints.

What else do you have in /etc/fstab that is cdrom related? With the cd still in the drive, try one of the other mountpoints.

i.e.

mount /media/cdrom

mount /media/dvd

<edit>

Have a look at this thread (http://www.justlinux.com/forum/showthread.php?s=&threadid=72043&highlight=cdrecorder) to see if it pertains to your particular cdrom setup.

hop-frog
05-23-2004, 04:38 PM
1) All of the other mount points listed in /etc/fstab mount other devices./dev/hdc6 / ext3 defaults 1 1
/dev/hdc5 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 02) I changed the symlinks, as described in the link mdwatts posted, so that /dev/cdrecorder points to /dev/sr1 and /dev/cdrom points to /dev/sr0 (and visa versa). This disables both drives. I also attempted to link either of these to /dev/hdb.

3) I do not believe this is distro specific. The CD recorder used to work with SuSE 8.0. Yesterday I tried my old 8.0 disks and the recorder no longer works with 8.0.

4) Where can I get instructions (with good pictures) installing the hardware end of the CD recorder to ensure that it is plugged in properly? I have it plugged in exactly as the CD-ROM is, except for the master/slave thing.

5) I noticed that the plugs in the back of the CD recorder are nearly the same as the CD-ROM, but there is one extra space for a plugin, on the far left if you are facing the CD recorder from the backside. Is this important?

6) I have a hoaky CD-ROM cleaner device. I do not know if I can trust it. It is just a CD with a half-inch long row of bristles on one part of it.

7) Can you boot from the drive?I do not see this option in the BIOS. It only has CDROM and then some drive letters. Perhaps I just don't know what I am doing. I can boot from the regular CDROM device, so I will try to switch their places and boot from the CD recorder.

mdwatts
05-23-2004, 05:05 PM
Originally posted by hop-frog
2) I changed the symlinks, as described in the link mdwatts posted, so that /dev/cdrecorder points to /dev/sr1 and /dev/cdrom points to /dev/sr0 (and visa versa). This disables both drives. I also attempted to link either of these to /dev/hdb.

3) I do not believe this is distro specific. The CD recorder used to work with SuSE 8.0. Yesterday I tried my old 8.0 disks and the recorder no longer works with 8.0.

4) Where can I get instructions (with good pictures) installing the hardware end of the CD recorder to ensure that it is plugged in properly? I have it plugged in exactly as the CD-ROM is, except for the master/slave thing.

5) I noticed that the plugs in the back of the CD recorder are nearly the same as the CD-ROM, but there is one extra space for a plugin, on the far left if you are facing the CD recorder from the backside. Is this important?

6) I have a hoaky CD-ROM cleaner device. I do not know if I can trust it. It is just a CD with a half-inch long row of bristles on one part of it.

7) I do not see this option in the BIOS. It only has CDROM and then some drive letters. Perhaps I just don't know what I am doing. I can boot from the regular CDROM device, so I will try to switch their places and boot from the CD recorder.

Maybe SuSE has fixed that problem. I didn't have that with 9.0, but I thought others might still run into the backwards cd devices/mountpoints.

All the plugs are the same for a cdrom/cdr/cdrw/dvd, so don't worry about it. Usually data (ribbon cable), power and audio (4pin wire) and sometimes the digital audio connection (can't remember the name now).

Don't worry about the cdrom cleaner as I doubt it would do anything to help.

Whatever is the first cd device (cdrom/cdr/cdrw/dvd) on the IDE channel will be the first boot device if the bios is set to boot from cdrom. I have my dvd as secondary/master (hdc) and cdrw as secondary/slave (hdd) and the dvd is the first cdrom boot device in the bios. Some bios have the option to select more than one cdrom device though of course one of them will come before the other in the boot device listing. Make sense?

With a data cd inserted in the cdwriter, try

mount -t iso9660 /dev/sr1 /media/cdrecorder

after you've put the symlinks back the way they were.

Bubba56
05-23-2004, 05:23 PM
one minor , minor possibility, double check the ribbon cable on the back of the cd-recorder, the edge of the cable with the red stripe MUST be plugged in so the stripe is closest to the 4 pin power connector. I don't know if you had changed any cables or moved the drive etc, but sometimes it is the simplest things that get overlooked. I have done similar things many times in the past when I wasn't paying enough attention to the hardware details.

Hope this may help

hop-frog
05-25-2004, 05:34 PM
I have attached a picture. Perhaps something is plugged in incorrectly.

NOTE: The CD recorder is on the top and the CD-ROM is below. The ribbon cable feeds first into the CD recorder, and then doubles back with a strange twist before entering the CD-ROM. This is so that the red stripe enters both devices from the same side.

delete
05-25-2004, 05:48 PM
SuSE has been known to screw up the cdrom devices and mountpoints.

I disagree, a buddie of mine had a Sony CRX225E, no other distro would make it work, suse 9.0 pro did it with ease......

mdwatts
05-26-2004, 11:16 AM
Originally posted by hop-frog
I have attached a picture. Perhaps something is plugged in incorrectly.

NOTE: The CD recorder is on the top and the CD-ROM is below. The ribbon cable feeds first into the CD recorder, and then doubles back with a strange twist before entering the CD-ROM. This is so that the red stripe enters both devices from the same side.

As long as the red stripe side of the ribbon cable is plugged into pin1, that should be fine.

What I don't understand is why you have one doubling back with a twist. Can you not reverse which cable is plugged into each drive?

It doesn't matter the order the cdroms are plugged into the ribbon cable as it's the master/slave jumpers that decide whether the cdrom is hda/hdb or hdc/hdd.

hop-frog
05-26-2004, 06:05 PM
I thought that I had read somewhere that the middle plug of the ribbon cable cooresponds to the Primary Slave and the end of the cable must go into the Primary Master. If I switch this around, should I also switch the jumpers and the other cables to coorespond? Does the OS need to be notified of these changes?

gehidore
05-26-2004, 07:57 PM
Originally posted by hop-frog
I thought that I had read somewhere that the middle plug of the ribbon cable cooresponds to the Primary Slave and the end of the cable must go into the Primary Master. If I switch this around, should I also switch the jumpers and the other cables to coorespond? Does the OS need to be notified of these changes?

it does not. doesnt matter where they are.

mdwatts
05-27-2004, 01:31 PM
Originally posted by hop-frog
I thought that I had read somewhere that the middle plug of the ribbon cable cooresponds to the Primary Slave and the end of the cable must go into the Primary Master. If I switch this around, should I also switch the jumpers and the other cables to coorespond? Does the OS need to be notified of these changes?

Only if the IDE drives jumpers are set to cable select.

Just switch the cable around so it's not twisted and leave the jumpers (master & slave) as is or else you will need to reconfigure a few things such as the devices/mountpoints in /etc/fstab, desktop icon access etc.

You really do not need to untwist the ribbon cable, but if you can connect both drives while still lining up the red stripe without having a twist in the cable, then all the better for the cable (not breaking internal wires) and easier access inside the case.

knute
05-27-2004, 02:11 PM
This is a rather elementary question, but I noticed that is has yet to be asked.

When you try to mount the drive, do you have a CD in it?

hop-frog
05-27-2004, 08:30 PM
1) When you try to mount the drive, do you have a CD in it?Yes, and I have tried it with many different data CDs. I could very well be overlooking something as obvious though.

2) I fixed the ribbon cable.

3) To make an attempt at booting from the CD recorder I simply switched the jumpers so that the CD recorder was read as Primary Master. Is this enough to make a proper attempt at booting from the drive?

4) I noticed that there are two small plugs that are not plugged into anything. These are part of the bundles of wires leading from the power supply to the CD ROM and recorder. What use are they?

5) The shined a flashlight into the tray end of the CD recorder, and there is a LOT of dust in there from the frequent dust storms here. How can I clean this out?

knute
05-27-2004, 09:23 PM
In re-reading this thread, the question popped into my mind about what was linked where.

Since your drives are on the secondary IDE channel they should be linked to /dev/hdc and /dev/hdd, rather than /dev/hdb, which you posted earlier.

The only reason that they should be on /dev/s<blah> that I know of is if they really are SCSI Drives. I know that the Recorder needs the boot option passed so that it's treated like a scsi device, but it's still recognized on the IDE bus, because that's where it is.

Speaking of which, what are your boot options anyway? Do you have the idescsi???? (I think that's what it is, not sure though), line as a parameter?

HTH

hop-frog
05-27-2004, 10:23 PM
1) In re-reading this thread, the question popped into my mind about what was linked where.

Since your drives are on the secondary IDE channel they should be linked to /dev/hdc and /dev/hdd, rather than /dev/hdb, which you posted earlier.When the computer starts up it prints:

hda: FX4820T, ATAPI CD/DVD-ROM drive
hdb: YAMAHA CRW4261, ATAPI CD/DVD-ROM drive
hdc: FUJITSU MPD3043AT, ATA DISK drive

Do the cables need to be physically rearranged so that the hard drive is at hda, like this:

hda: FUJITSU MPD3043AT, ATA DISK drive
hdb: FX4820T, ATAPI CD/DVD-ROM drive
hdc: YAMAHA CRW4261, ATAPI CD/DVD-ROM drive

2) /boot/grub/menu.lst (these are the boot options, right?):# Modified by YaST2. Last modification on Mon May 24 01:56:39 2004


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,5)/boot/vmlinuz root=/dev/hdc6 vga=0x314 splash=silent desktop h
db=ide-scsi hdblun=0 showopts
initrd (hd0,5)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
root (fd0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,5)/boot/vmlinuz root=/dev/hdc6 showopts ide=nodma apm=off acpi=o
ff vga=normal nosmp noapic maxcpus=0 33) I get some odd messages in /var/log/warn. I don't know what they mean or if they are related:
May 23 11:59:17 linux kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
May 23 11:59:17 linux kernel: sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
...
May 23 20:11:36 linux modprobe: modprobe: Can't open dependencies file
/lib/modules/2.4.21-144-default/modules.dep (No such file or directory)
...

JohnT
05-27-2004, 10:58 PM
May 23 20:11:36 linux modprobe: modprobe: Can't open dependencies file
/lib/modules/2.4.21-144-default/modules.dep (No such file or directory) That line is very significant. List output from the command lsmodIf no output, issue the commanddepmod -ae

hop-frog
05-27-2004, 11:41 PM
Output of lsmod:Module Size Used by Not tainted
snd-pcm-oss 45472 0 (autoclean)
snd-mixer-oss 13400 1 (autoclean) [snd-pcm-oss]
ipv6 210016 -1 (autoclean)
key 63256 0 (autoclean) [ipv6]
videodev 5696 0 (autoclean)
st 27760 0 (autoclean) (unused)
sr_mod 13432 0 (autoclean)
sg 32224 0 (autoclean)
isa-pnp 30664 0 (unused)
snd-seq-midi 4448 0 (unused)
snd-seq-midi-event 3616 0 [snd-seq-midi]
snd-opl3-synth 10024 0 (unused)
snd-seq-instr 4464 0 [snd-opl3-synth]
snd-seq-midi-emul 4928 0 [snd-opl3-synth]
snd-seq 36656 0 [snd-seq-midi snd-seq-midi-event
snd-opl3-synth snd-seq-instr snd-seq-midi-emul]
snd-ainstr-fm 964 0 [snd-opl3-synth]
snd-cmipci 20920 1
snd-pcm 65092 0 [snd-pcm-oss snd-cmipci]
snd-page-alloc 6004 0 [snd-pcm]
snd-opl3-lib 6052 0 [snd-opl3-synth snd-cmipci]
snd-timer 15040 0 [snd-seq snd-pcm snd-opl3-lib]
snd-hwdep 4800 0 [snd-opl3-lib]
snd-mpu401-uart 3584 0 [snd-cmipci]
snd-rawmidi 14208 0 [snd-seq-midi snd-mpu401-uart]
snd-seq-device 4048 0 [snd-seq-midi snd-opl3-synth snd-seq snd-opl3-lib snd-rawmidi]
snd 35172 0 [snd-pcm-oss snd-mixer-oss snd-seq-midi snd-seq-midi-event
snd-opl3-synth snd-seq-instr snd-seq-midi-emul snd-seq
snd-cmipci snd-pcm snd-opl3-lib snd-timer snd-hwdep
snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3588 0 [snd]
raw1394 16592 0 (unused)
ieee1394 183364 0 [raw1394]
af_packet 12200 0 (autoclean)
tulip 41184 1
ide-scsi 10000 0
scsi_mod 97524 4 [st sr_mod sg ide-scsi]
ide-cd 29664 0
cdrom 26752 0 [sr_mod ide-cd]
ext3 79144 1
jbd 47040 1 [ext3]

mdwatts
05-28-2004, 11:40 AM
Originally posted by hop-frog
Output of lsmod

Is that after running 'depmod -ae' (as root)?

Strange that you would be getting

May 23 20:11:36 linux modprobe: modprobe: Can't open dependencies file
/lib/modules/2.4.21-144-default/modules.dep (No such file or directory)

and those modules are still loaded.

Does

uname -r

show 2.4.21-144-default to be the kernel version you are running?

I'm using SuSE 9.0 Pro on nearly all of my home laptops and desktops and the DVD, CDwriters and USB External CD/DVD drives all work fine right out of the box.

JohnT
05-28-2004, 03:53 PM
Soryy about my typo in the post...as mdwatts has it"depmod -ae" :eek:...then check your logs after reboot and see if the message is gone.

hop-frog
05-28-2004, 07:13 PM
uname -r:2.4.21-215-defaultHmm, that is different from 2.4.21-144-default. When I ran YaST2 update it installed a kernel patch. There is an alternative kernel in YaST2 for AMD Athalon processors. I have an AMD K-6 400 MHz processor. Should I have this installed, or is "Athalon" only newer processors?

The modprobe is still listed several times in /var/log/warn, even after running that command and rebooting, but there are no new occurances after May 23rd. I reinstalled that day to test SuSE 8.0 for the problem and, after I found that the CD recorder didn't work in 8.0 either (as it did in the past), I reinstalled 9.0.

mdwatts
05-29-2004, 09:00 AM
YaST/YOU should automatically detect the processor and previous kernel source you were using and install the correct one. Mine always does with AMD MP's (SMP).

I don't know why you would still be getting those 'modules.dep' messages for 2.4.21-144-default when you are running the '215' version. Check your kernel image, System.map and initrd in /boot, the kernel source version in /usr/src and the files and modules in /lib/modules/2.4.21-215-default.

It must be correct as your modules are loading which would not if there was a inconsistency in the versioning.

Now back to the cdrom. Have you checked all the devices in /dev (including symlinks), still have hd?=ide-scsi in your Grub config and the device mountpoints and fstab are correct?