LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   can't find cdrom on 13.1 (https://www.linuxquestions.org/questions/slackware-14/can%27t-find-cdrom-on-13-1-a-839073/)

Ben Cobb 10-19-2010 11:12 AM

can't find cdrom on 13.1
 
music players can't find the cd player on slackware 13.1.
system still works with 13.0. With 13.1 I can boot off the CD.

tried mounting a data cd with (as root) mount -t iso9660 /dev/sr0 /mnt/cdrom and replacing sr0 with anything I could think of but kept getting message that the device did not exist.

Larry Webb 10-19-2010 02:08 PM

Try ls /dev that should give you available devices.

Ben Cobb 10-19-2010 04:16 PM

tried ls /dev and tried to mount with anything that looked remotely promising with no success - think it is supposed to be sr0 - I did an upgrade from 13.0 maybe I neglected to change something (there was a list of things to change manually some of which I did and some I let slide).

onebuck 10-20-2010 08:25 AM

Hi,

Quote:

Originally Posted by Ben Cobb (Post 4132616)
music players can't find the cd player on slackware 13.1.
system still works with 13.0. With 13.1 I can boot off the CD.

tried mounting a data cd with (as root) mount -t iso9660 /dev/sr0 /mnt/cdrom and replacing sr0 with anything I could think of but kept getting message that the device did not exist.

Do you have the user in the proper groups?
Quote:

suggested groups for 'users';

users floppy audio video cdrom plugdev power netdev
:hattip:

Ben Cobb 10-20-2010 12:06 PM

groups are OK - good thought tho - must have left that alone when I upgraded to 13.1

onebuck 10-20-2010 07:00 PM

Hi,

What do you see with 'ls -al /dev/cdrom'?
:hattip:

Ben Cobb 10-21-2010 07:56 AM

bash-4.1$ su
Password:
bash-4.1# ls -al /dev/cdrom
ls: cannot access /dev/cdrom: No such file or directory
bash-4.1#

onebuck 10-21-2010 08:13 AM

Hi,

Quote:

Originally Posted by Ben Cobb (Post 4134727)
bash-4.1$ su
Password:
bash-4.1# ls -al /dev/cdrom
ls: cannot access /dev/cdrom: No such file or directory
bash-4.1#

Try 'su -'.
Or
'/bin/ls -al /dev/cdrom'.
:hattip:

Ben Cobb 10-21-2010 02:01 PM

bash-4.1$ su -
Password:

Drew's Law of Highway Biology:
The first bug to hit a clean windshield
lands directly in front of your eyes.

root@cellar:~# /bin/ls -al /dev/cdrom
/bin/ls: cannot access /dev/cdrom: No such file or directory
root@cellar:~#

Ben Cobb 10-22-2010 06:19 AM

when all else fails read the instructions.

from the slackware notes on upgrading I found:

You will almost surely want to remove the udev rules file for cdrom
devices (it will be regenerated on the next boot with correct
information reflecting the new libata stuff):
# rm -f /etc/udev/rules.d/70-persistent-cd.rules

I did that then rebooted but the 70-persistent-cd.rules didn't get regenerated.

so I tried:

bash-4.1# /lib/udev/write_cd_rules
Missing $DEVPATH.

don't know what the dollar sign means or how to fix the DEVPATH error

Ben Cobb 10-23-2010 08:09 AM

do these lines from dmesg have anything to do with this?

ata2.01: failed to IDENTIFY (I/O error, err_mask=0x1)
ata2.01: failed to IDENTIFY (I/O error, err_mask=0x1)
ata2.01: failed to IDENTIFY (I/O error, err_mask=0x1)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x100)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x100)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x100)

onebuck 10-23-2010 08:09 AM

Hi,

Quote:

Originally Posted by Ben Cobb (Post 4133742)
groups are OK - good thought tho - must have left that alone when I upgraded to 13.1

Over looked the 'upgrade' portion.

How did you upgrade? You should follow 'UPGRADE.TXT' & 'CHANGES_AND_HINTS.TXT'.
:hattip:

onebuck 10-23-2010 08:24 AM

Hi,

Quote:

Originally Posted by Ben Cobb (Post 4136803)
do these lines from dmesg have anything to do with this?

ata2.01: failed to IDENTIFY (I/O error, err_mask=0x1)
ata2.01: failed to IDENTIFY (I/O error, err_mask=0x1)
ata2.01: failed to IDENTIFY (I/O error, err_mask=0x1)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x100)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x100)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x100)

Looks like libata_switchover HOWTO will be of use here. 'libata_switchover' has been around since 13.0 but some new users are not aware. A new user should look at rworkman's 'libata_switchover HOWTO' to understand and be aware of the changes when using Slackware 13.0 & Slackware 13.1. Especially when performing upgrades or introduction to Slackware 13/13.1.

How do you have things configured?

XavierP 10-23-2010 10:29 AM

Moved to the main Slackware forum as it's not an installation question.

Ben Cobb 10-24-2010 07:56 AM

yes I did read all that stuff. plot thickens as had upgraded all three of my computers to 13.1. on a second one had no trouble accessing sr0 (cd player) the player workbone went right to work.could also mount and read a data CD.

the /etc/udev/rules.d/70-persistent-cd.rules had been updated on that machine - don't think I did that manually.

refreshing to have a project as everything works/installs so good these day have to search real hard for something to fiddle with.

if no solution appears will wait till slackware 13.2 and do a clean install.


All times are GMT -5. The time now is 01:29 PM.