CD-ROM drive is dead: It works with other distros
Hi,
Just installed a Knoppix-like Debian, doing a full apt-get dist-upgrade to Debian Sid. Amazingly smooth, only irritating problem is, the CD didn't work with the initial distro., and it doesn't work with a full Debian either. I've tried changing /etc/fstab, replacing /dev/cdrom with /dev/hdc and /dev/hdd, but none works (with a reboot and with a mount -a command without a reboot for both). Anybody knows a fix?. Cheers, Arthur1968 :confused: :newbie: P.S. My CDROM drive is OK: it works with other Linux distros. and Winblow$ |
What CD-ROM drive are you using?
# Managing drives LNAG - Accessing my drives Rute - Device Mounting |
It is a Samsung DVD-CD/RW on a Samsung X10, and it's been OK with everything I've installed (Fedora 1, RH 9, Mandrake 9.2, Libranet 2.7, ...)
Why do you ask? |
what /dev/hdX is it tied to?
dmesg | grep hd^ dmesg | grep CD-ROM should tell you. Is that what you edited /etc/fstab with? Is it a SCSI drive? /dev/scdX, /dev/sg0? Do you have an append line in lilo.conf like: append="hdb=ide-scsi" |
I will run dmesg to find out
I am not using LiLo, but Grub through my Fedora install. Glad to see you again, llamakc, the ubiquitous helping hand ;) ;) |
The output from dmesg | grep hd*
hdc: Samsung CD-RW/DVD-ROM SU-408B, ATAPI CD/DVD-ROM drive In that case, using /dev/hdc ... in /etc/fstab should be OK, shouldn't it? (The audio programme complaining is gnome-cd) My grub line to boot Debian doesn't include references to the CD-ROM drive, should it? Sorry, it does include it: hdc=ide-scsi Should it be any different? Thanks |
I think the problem is you are trying to mount an audio cd. Is that it? Because audio cd's do not have filesystems on them, therefore you can not mount them.
Debian doesn't set new users up in the audio group by default. You must add the user. usermod -G audio username Logout/In. If you are putting a data cd in, then there is a different problem. Can root play music cd's? Have you tried mounting another data cd to see if the cd-rom works at all? Stick in one of the Debian cd's and do mount /cdrom Provided your /etc/fstab looks like: /dev/cdrom /cdrom iso9660 ro,user,noauto 0 0 or /dev/hdc /cdrom iso9660 ro,user,noauto 0 0 Yo should be a-okay. I usually create a symlink like: ln -s /dev/hdc /dev/cdrom the hdc=ide-scsi provides emulation for your burner to work. It's a-okay to have. |
Root cannot play audio CDs either (Error in Drive)
Data CDs are not mounted automatically, and when accessing the folder for /cdrom and /mnt/cdrom, they both show nothing (non-root) What does this sound like to you? |
On Debian we don't use /mnt/cdrom, we use /cdrom. Do you have a separate filesystem/tree/disk for the Debian(Knoppix) install from other o/s's currently installed? Are you sharing partitions? Let's see your /etc/fstab WHILE in Debian (and if you dualboot RH or other Linux, when booted in that too), and the contents of GRUB's grub.conf (or menu.lst, whatever it is these days).
Those /cdrom and /mnt/cdrom folders WILL be empty if you have an audio cd in. Have you tried playing cd's from the command line? cdplay To be honest, this is a new one to me. But like all problems, its solvable. |
I am not sharing partitions, but remember this very CD drive did work under other Debian-based distros:
Knoppix, Gnoppix, Libranet The current Debian install is not necessarily the final one on my laptop: should this issue become too much of a nuisance, I can always do a dist-upgrade starting from one of the others. Don't push yourself for an answer if this is too new for you... Thanks all the same :) :) |
Did you like Gnoppix? I haven't tried it yet. I use Knoppix as my toolkit to save other systems. Now that ntfs.sys can be used for write-access to NTFS partitions, I'm excited about it even moreso.
|
To be honest, Gnoppix is the distro. I got least to use of them all.
One impression, though: unless your German is bloody good, you might need a little dictionary by your side; I got the feeling they didn't cover all menus and submenus, so some things are still there in my rusty German (been studying German for so long I can't believe my command of this is crap). Anyway, why not an HDD install of Knoppix and then maybe switching to Gnome? ;) |
That could work. How long does the Knoppix hdinstall take? A Debian install is done in 20 minutes w/broadband. I don't use GNOME or KDE as DE's, but I do use alot of their programs (quanta+ from KDE, galeon from GNOME). My Windowmanager of choice is Openbox3 (http://www.icculus.org/openbox) which is in Debian Unstable. I only want a root menu, a bsetbg background and no icons.
But that's what rocks about Linux: the choices are wide and different with each new project. |
That's what I call austere...
Knoppix took some 20-25 minutes on my laptop unit (Centrino 1.6, 512 MB 266 DDRAM, 4200 rpm HDD). BTW, since you might do this, what happens exactly if a Debian-based distro with KDE is installed, and then an # apt-get dist-upgrade is executed?. I understand only KDE would get upgraded, since Gnome wasn't there in the first place. Would it be then just a matter of running # apt-get install gnome? As simple as that? |
Yes. However in order to properly dist-upgrade one must edit the /etc/apt/sources.list file.
WHERE a stable distro has: deb http://ftp.us.debian.org/debian/ stable main non-free contrib to dist-upgrade you change the instance of "stable" to "testing" (to move to Sarge) or "unstable" to move to Sid. SO editing the /etc/apt/sources.list and doing apt-get update && apt-get dist-upgrade will move all installed packages up to their Sarge/Sid counterpart, and freshen the packages archive. THEN, doing apt-get install gnome would indeed install Gnome 2.4. apt-get upgrade upgrades packages apt-get dist-upgrade upgrades the distro flavor from stable to testing/unstable. HTH |
Quote:
I see you are already passing hdc=ide-scsi to the kernel. Examine /dev/cdrom. It should be a symbolic link that points to /dev/scd0. Does it? DVD HOWTO # CD burning copying ripping info Is it configured and what is the device? Command this to find out: cdrecord -scanbus Adding an IDE CD-Writer to Linux CD Writing HOWTO Burning CDs on Linux # Burn an ISO to disk cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso # Burn from disk to disk cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom # ISO information isoinfo -i -d /dev/cdrom # Generate an ISO from a directory. mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory # Generate an ISO from a CD dd if=/dev/cdrom of=foo.iso # cdparanoia - search for a drive with reporting of autosense: cdparanoia -vsQ # Rip a complete audio CD with cdparanoia cdparanoia -B "1-" Linux MP3 CD Burning mini-HOWTO # Convert mp3 to wav with lame for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done # Burn a CD from wav files cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav # Erase a CDRW cdrecord -v dev=<your device> speed=<burning speed> blank=fast |
I suppose it does, because Nautilus talks about /dev/scd0 when trying to open /dev/cdrom
|
You need to be certain. Do it this way. Open your favorite x terminal app and:
Code:
Sat Dec 6 08:10pm fancy@tinwhistle ~$ su - Code:
lrwxrwxrwx 1 root root 9 Nov 17 20:26 cdrom -> /dev/scd0 |
Sorry, fancypiper,
My Zyxel router decided to quit on me and so got me no network for quite a few hours. I ran that command, and cdrom is shown as a pointer to sr0: lrwxrwxrwx 1 root root 3 2003-12-07 03:21 cdrom -> sr0 What should we do next, then? |
Either remove /dev/cdrom and make a new link or force a new link
ln -sf /dev/scd0 /dev/cdrom |
Done! (ln -sf /dev/scd0 /dev/cdrom)
CD player still not working, anything else necessary? |
Is the cable from your drive to the soundcard connected?
Will any other player app work? Can you now mount a known good data CD as you were unable before? |
Is the cable from your drive to the soundcard connected?
No idea, this is my new laptop, never opened it Will any other player app work? No, both xmms and Linux media player refuse to play Can you now mount a known good data CD as you were unable before? No, I've used several data disks, and they are shown as blank folders The amazing thing is, the distro got installed using the very same CD drive which is now refusing to work... Where is the logic behind this? :mad: :mad: :mad: |
try without the ide-scsi option...
that is what i do if i don't know what... ;) |
Thanks for that suggestion.
I also tried it and it didn't work, either. One basic question, out of curiosity: The distro. installed is Knoppix-based. I have installed 3 different versions of Knoppix on this machine. All 3 Knoppix versions had the CD player working correctly. Why should it NOT work now?. This is really one of the most annoying problems of Linux :mad: :mad: :mad: |
is your cd-drive recognized in the dmesg boot up?
|
It does get recognized, that's the thing!!!!
What's your impression on this time-waster? |
i'd compile my own kernel...
than if it does not get recognized, i'd change to sarge. than I would go for knoppix and apt-get my way up to woody/sarge/sid. |
Cheers, I think I'll go for a Knoppix install and then upgrade to Sid.
Stupid and irritating, isn't it? Regards, Arthur1968 :mad: :mad: :mad: :mad: |
indeed it is :rolleyes:
|
All times are GMT -5. The time now is 06:33 AM. |